分类: Oracle
2010-11-12 10:30:30
关于修改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 -n node1
[oracle@node2 ~]$ srvctl stop nodeapps -n node2
具体修改
[root@node1 bin]#./srvctl modify nodeapps -n node1 -A 192.168.19.140/255.255.255.0/eth0
[root@node1 bin]#./srvctl modify nodeapps -n node2 -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
chinaunix网友2011-06-05 02:09:19
大连法律咨询在线 http://www.fabowang.com 大连律师在线咨询 http://www.fabowang.com 大连法律顾问网 http://www.fabowang.com 大连律师咨询 http://www.fabowang.com