由于业务需求,需要进行业务地址变更,使用之前的业务地址。生产环境是rac,所以需要修改集群的scan ip。在正式生产环境操作前,提前在测试环境进行测试,整个修改测试过程如下:
本次测试是要将scan-ip:192.168.80.24 修改为:192.168.80.25
修改步骤如下:
查看scan_listener状态
[oracle@nxyddb1 ~]$ srvctl status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is running on node nxyddb2
SCAN Listener LISTENER_SCAN2 is enabled
SCAN listener LISTENER_SCAN2 is running on node nxyddb2
SCAN Listener LISTENER_SCAN3 is enabled
SCAN listener LISTENER_SCAN3 is running on node nxyddb2
查看scan_listener配置
[oracle@nxyddb1 ~]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1521
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1521
SCAN Listener LISTENER_SCA