安装配置好RAC之后,启动节点1报错。
[oracle@rac1 racg]$ srvctl start nodeapps -n rac1
rac1:ora.rac1.vip:checkIf: Default gateway is not defined (host=rac1.kevin.com)
rac1:ora.rac1.vip:Interface eth0 checked failed (host=rac1.kevin.com)
rac1:ora.rac1.vip:Invalid parameters, or failed to bring up VIP (host=rac1.kevin.com)
rac1:ora.rac1.vip:checkIf: Default gateway is not defined (host=rac1.kevin.com)
rac1:ora.rac1.vip:Interface eth0 checked failed (host=rac1.kevin.com)
rac1:ora.rac1.vip:Invalid parameters, or failed to bring up VIP (host=rac1.kevin.com)
CRS-0215: Could not start resource 'ora.rac1.LISTENER_rac1.lsnr'.
经过检查,节点1上未设置公网IP网关,设置好网关,重启网络再次启动即可。
srvctl start nodeapps -n rac1
crs_stat -t
[oracle@rac1 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.kevin.db application ONLINE ONLINE rac2
ora....n1.inst application ONLINE OFFLINE
ora....n2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE OFFLINE
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application ONLINE ONLINE rac1
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip application ONLINE ONLINE rac1
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2
节点1的asm与实例未启动,因为需要先启动asm才能启动instance
[oracle@rac1 ~]$ crs_start ora.rac1.ASM1.asm
Attempting to start `ora.rac1.ASM1.asm` on member `rac1`
Start of `ora.rac1.ASM1.asm` on member `rac1` succeeded.
[oracle@rac1 ~]$ crs_start ora.kevin.kevin2.inst
Attempting to start `ora.kevin.kevin2.inst` on member `rac1`
Start of `ora.kevin.kevin2.inst` on member `rac1` succeeded.
vip和网关有很大关系,每个节点的公网ip一定要设置网关。
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11420681/viewspace-1041499/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/11420681/viewspace-1041499/