[grid@rac3 cssd]$ crs_stat -t
[grid@rac3 cssd]$ crsctl check has
CRS-4638: Oracle High Availability Services is online
[grid@rac3 cssd]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4533: Event Manager is online
查看crsd日志发现:
[grid@rac3 crsd]$ tail -f crsd.log
2014-03-26 20:55:20.743: [ GPnP][2026358512]clsgpnp_Init: [at clsgpnp0.c:837] GPnP client pid=4298, tl=3, f=0
2014-03-26 20:55:20.773: [ OCRAPI][2026358512]clsu_get_private_ip_addresses: no ip addresses found.
2014-03-26 20:55:20.773: [GIPCXCPT][2026358512] gipcShutdownF: skipping shutdown, count 2, from [ clsinet.c : 1732], ret gipcretSuccess (0)
2014-03-26 20:55:20.777: [GIPCXCPT][2026358512] gipcShutdownF: skipping shutdown, count 1, from [ clsgpnp0.c : 1021], ret gipcretSuccess (0)
2014-03-26 20:55:20.782: [ OCRAPI][2026358512]a_init:13!: Clusterware init unsuccessful : [44]
2014-03-26 20:55:20.783: [ CRSOCR][2026358512] OCR context init failure. Error: PROC-44: Error 2014-03-26 20:55:20.783: [ CRSD][2026358512][PANIC] CRSD exiting: Could not init OCR, code: 44
2014-03-26 20:55:20.783: [ CRSD][2026358512] Done.
获取priv-ip失败,于是查看rac3上的priv-ip网卡是否激活,发现没有激活
eth0是随着开机自动激活的,eth1(priv-ip)却没有激活
[root@rac3 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.1.255
HWADDR=08:00:27:43:21:03
IPADDR=192.168.1.179
NETMASK=255.255.255.0
NETWORK=192.168.1.0
GATEWAY=192.168.1.1
TYPE=Ethernet
[root@rac3 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82540EM Gigabit Ethernet Controller
DEVICE=eth1
BOOTPROTO=none
BROADCAST=172.168.1.255
HWADDR=08:00:27:0C:A7:DE
IPADDR=172.168.1.193
NETMASK=255.255.255.0
NETWORK=172.168.1.0
HOTPLUG=no
TYPE=Ethernet
重启rac3后一切正常。
[grid@rac3 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....SM1.asm application ONLINE ONLINE 11grac1
ora....C1.lsnr application ONLINE ONLINE 11grac1
ora....ac1.gsd application OFFLINE OFFLINE
ora....ac1.ons application ONLINE ONLINE 11grac1
ora....ac1.vip ora....t1.type ONLINE ONLINE 11grac1
ora....SM2.asm application ONLINE ONLINE 11grac2
ora....C2.lsnr application ONLINE ONLINE 11grac2
ora....ac2.gsd application OFFLINE OFFLINE
ora....ac2.ons application ONLINE ONLINE 11grac2
ora....ac2.vip ora....t1.type ONLINE ONLINE 11grac2
ora....P_DG.dg ora....up.type OFFLINE OFFLINE
ora.DATA_DG.dg ora....up.type OFFLINE OFFLINE
ora....N1.lsnr ora....er.type ONLINE ONLINE rac3
ora....ER.lsnr ora....er.type ONLINE ONLINE 11grac1
ora.SYS_DG.dg ora....up.type ONLINE ONLINE 11grac1
ora.asm ora.asm.type ONLINE ONLINE 11grac1
ora.db.db ora....se.type OFFLINE OFFLINE
ora.eons ora.eons.type ONLINE ONLINE 11grac1
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE 11grac1
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE 11grac1
ora....SM3.asm application ONLINE ONLINE rac3
ora....C3.lsnr application ONLINE ONLINE rac3
ora.rac3.gsd application OFFLINE OFFLINE
ora.rac3.ons application ONLINE ONLINE rac3
ora.rac3.vip ora....t1.type ONLINE ONLINE rac3
ora.scan1.vip ora....ip.type ONLINE ONLINE rac3
: