1、查看SCAN VIP配置
srvctl config scan ---集群名及3个SCAN VIP的配置。
2、查看SCAN VIP 状态
srvctl status scan
3、查看SCAN Listener
srvctl status scan
4、查看SCAN Listener的配置
srvctl config scan_listener
5、查看SCAN Listener的状态
srvctl status scan_listener
6、用lsnrctl 查看scan listener
lsnrctl status listener_scan
7、查看本地VIP
srvctl config vip -n rac-1
srvctl status vip -n rac-1
8、查看本地监听器
srvctl config listener
srvctl status listener
lsnrctl status
修改SCAN Listener的端口配置
1、修改前,先检查一下SCAN及SCAN Listener 的配置情况:
srvctl config scan
2、关闭SCAN Listener
srvctl stop scan_listener
3、检查是否被关闭
srvctl status scan_listener
4、修改端口
srvctl modify scan_listener -p 1526
5、检查修改是否生效
srvctl config scan_listener
6、启动SCAN Listener 资源:
srvctl start scan_listener
7、检查下,确保成功
srvctl status scan_listener
srvctl modify 命令除了能够修改SCAN端口,还可以修改SCAN的名字:
srvctl modify scan -n newname
网友评论