LINUX AS 4+ORACLE 10.2.0.1
描述:安装好clusterware后,crs_stat -t 看到节点2的vip资源启动在节点1上
hosts文件
192.168.1.160 r1
192.168.1.161 r2
10.0.0.1 priv1
10.0.0.2 priv2
192.168.1.162 vip1
192.168.1.163 vip2
[root@r2 bin]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.r1.gsd application OFFLINE OFFLINE
ora.r1.ons application OFFLINE OFFLINE
ora.r1.vip application OFFLINE OFFLINE
ora.r2.gsd application ONLINE ONLINE r2
ora.r2.ons application ONLINE ONLINE r2
ora.r2.vip application ONLINE ONLINE r1
查看ora.r2.vip.log,位于$CRS_HOME/log/r2/racg/
2009-02-17 22:05:42.548: [ RACG][3086899968] [27523][3086899968][ora.r2.vip]: clsrcexecut: env ORACLE_CONFIG_HOME=/oracle/product/10.2.0/crs
2009-02-17 22:05:42.548: [ RACG][3086899968] [27523][3086899968][ora.r2.vip]: clsrcexecut: cmd = /oracle/product/10.2.0/crs/bin/racgeut -e _USR_ORA_DEBUG=0 54 /oracle/product/10.2.0/crs/bin/racgvip start r2
2009-02-17 22:05:42.548: [ RACG][3086899968] [27523][3086899968][ora.r2.vip]: clsrcexecut: rc = 1, time = 3.670s
2009-02-17 22:05:46.179: [ RACG][3086899968] [27523][3086899968][ora.r2.vip]: checkIf: Default gateway is not defined (host=r2)
Interface eth0 checked failed (host=r2)
Invalid parameters, or failed to bring up VIP (host=r2)
指出r2没有配置默认的网关,因此停掉CRS,修改网络配置,并重新启动nodeapps后,正常。
[root@r2 ~]# srvctl start nodeapps -n r2
[root@r2 ~]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.r1.gsd application ONLINE ONLINE r1
ora.r1.ons application ONLINE ONLINE r1
ora.r1.vip application ONLINE ONLINE r1
ora.r2.gsd application ONLINE ONLINE r2
ora.r2.ons application ONLINE ONLINE r2
ora.r2.vip application ONLINE ONLINE r2
阅读(2115) | 评论(1) | 转发(0) |