关于修改vip,由于安装阶段将,vip,没有设置成于public同一网段
导致,RAC重启一段时间后,vip服务资源offline
[oracle@node1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.node1.gsd application ONLINE ONLINE node1
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip application ONLINE OFFLINE
ora.node2.gsd application ONLINE ONLINE node2
ora.node2.ons application ONLINE ONLINE node2
ora.node2.vip application ONLINE OFFLINE
用srvctl工具修改vip地址
Step1
停止all database and ASM instance
Step2
Step the listener,and node application using srvctl stop nodeapps
Step 3
cluvfy comp nodecon -n all [-verbose]step 4
Run the srvctl modify nodeapps
Step 5 restart step 1and 2
由于,还没安装database,因此,省略了下面步骤
[oracle@node1~]$ srvctl stop nodeapps -nnode1
[oracle@node2~]$ srvctl stop nodeapps -nnode2
具体修改
[root@node1bin]#./srvctl modify nodeapps -nnode1-A 192.168.19.140/255.255.255.0/eth0[root@node1bin]#./srvctl modify nodeapps -nnode2-A 192.168.19.141/255.255.255.0/eth0
修改完后,以下状态,未安装Database
[oracle@node2 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.node1.gsd application ONLINE ONLINE node1
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip application ONLINE ONLINE node1
ora.node2.gsd application ONLINE ONLINE node2
ora.node2.ons application ONLINE ONLINE node2
ora.node2.vip application ONLINE ONLINE node2