1.添加监听

  1. srvctl add listener -listener listener_statics -endpoints "1522,1523" -oraclehome /u01/app/oracle/product/19.3.0.0/dbhome_1

2.启用/禁用监听

  1. srvctl enable listener -listener listener1 -node rac2
  2. srvctl disable listener -listener listener1 -node rac2

3.显示监听器配置

  1. srvctl config listener listener1

4.确定监听器状态

  1. srvctl status listener -node olrac2
  2. srvctl status listener

5.查看特定节点服务状态

  1. srvctl status nodeapps -node olrac1
  2. srvctl status nodeapps