{共有サーバ}ディスパッチャを非デフォルトのローカル・リスナーに登録

https://docs.oracle.com/cd/F19136_01/admin/managing-processes.html#GUID-E2EF4159-1B0F-49FB-B34B-3A7BB1A83561__i1011347


alter system set shared_servers = 10;

cdh
cd network/admin

vim listener.ora

LISTENER_PROD2s =
  (ADDRESS_LIST=
       (ADDRESS=(PROTOCOL=tcp)(HOST=mmm111)(PORT=1421)))

lsnrctl start LISTENER_PROD2s
lsnrctl status LISTENER_PROD2s


vim tnsnames.ora

listener_PROD2s= 
 (DESCRIPTION = 
  (ADDRESS = (PROTOCOL=tcp)(HOST=mmm111)(PORT=1421)))


ALTER SYSTEM SET LOCAL_LISTENER=listener_PROD2s;
ALTER SYSTEM SET DISPATCHERS="(PROTOCOL=tcp)(LISTENER=listener_PROD2s)";

shutdown immediate;
startup

show parameter listen
show parameter dispa
show parameter shared

sqlplus system/oracle@mmm111:1421/PROD2.example.com