RAC SCAN漂移

 

从节点1漂移到节点2,这里的i参数是scan号,如scan1,scan2
srvctl relocate scan -i 1 -n rac02

从节点2漂移到节点1
srvctl relocate scan -i 1 -n rac01

[grid@rac01 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac02 ##当前scan在节点2上
[grid@rac01 ~]$ srvctl relocate scan -i 1 -n rac01
[grid@rac01 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node rac01 ##漂移到了节点1

posted @ 2022-02-23 11:33  slnngk  阅读(246)  评论(0)    收藏  举报