AIX 安裝 RAC 錯誤集錦 5 之 VIP錯誤

2021-06-29 11:44:12 字數 4391 閱讀 4584

aix 安裝 rac 錯誤集錦(5)之-vip錯誤

環境:

作業系統:

aix 5.3.8

集群軟體: crs 10.2.0.1

資料庫:

oracle 10.2.0.1

錯誤現象

錯誤現象: ora.aix211.vip 啟動失敗(其中乙個節點vip 啟動失敗)

日誌:/u01/crs_1/log/aix211:

# tail -f ora.aix212.vip.log

invalid parameters, or failed to bring up vip (host=aix211)

2013-09-05 23:09:55.518: [    racg][1] [405660][1][ora.aix212.vip]: clsrcexecut: env oracle_config_home=/u01/crs_1

2013-09-05 23:09:55.518: [    racg][1] [405660][1][ora.aix212.vip]: clsrcexecut: cmd = /u01/crs_1/bin/racgeut -e _usr_ora_debug=0 54 /u01/crs_1/bin/racgvip check aix212

2013-09-05 23:09:55.518: [    racg][1] [405660][1][ora.aix212.vip]: clsrcexecut: rc = 1, time = 2.308s

2013-09-05 23:09:55.518: [    racg][1] [405660][1][ora.aix212.vip]: end for resource = ora.aix212.vip, action = start, status = 1, time = 5.071s

2013-09-05 23:46:27.830: [    racg][1] [422024][1][ora.aix212.vip]: inte***ce en2 checked failed (host=aix211)

invalid parameters, or failed to bring up vip (host=aix211)

2013-09-05 23:46:27.830: [    racg][1] [422024][1][ora.aix212.vip]: clsrcexecut: env oracle_config_home=/u01/crs_1

2013-09-05 23:46:27.830: [    racg][1] [422024][1][ora.aix212.vip]: clsrcexecut: cmd = /u01/crs_1/bin/racgeut -e _usr_ora_debug=0 54 /u01/crs_1/bin/racgvip start aix212

2013-09-05 23:46:27.830: [    racg][1] [422024][1][ora.aix212.vip]: clsrcexecut: rc = 1, time = 2.330s

2013-09-05 23:46:30.139: [    racg][1] [422024][1][ora.aix212.vip]: inte***ce en2 checked failed (host=aix211)

invalid parameters, or failed to bring up vip (host=aix211)

2013-09-05 23:46:30.139: [    racg][1] [422024][1][ora.aix212.vip]: clsrcexecut: env oracle_config_home=/u01/crs_1

2013-09-05 23:46:30.139: [    racg][1] [422024][1][ora.aix212.vip]: clsrcexecut: cmd = /u01/crs_1/bin/racgeut -e _usr_ora_debug=0 54 /u01/crs_1/bin/racgvip check aix212

2013-09-05 23:46:30.139: [    racg][1] [422024][1][ora.aix212.vip]: clsrcexecut: rc = 1, time = 2.308s

2013-09-05 23:46:30.139: [    racg][1] [422024][1][ora.aix212.vip]: end for resource = ora.aix212.vip, action = start, status = 1, time = 4.944s

原因:

在安裝crs 時,節點1 public inte***ce 為 en1,節點2 public inte***ce 為en2,在節點2 做vipca ,指定vip 位址繫結在en2.

節點1啟動vip服務時,也選擇en2 啟動vip,導致失敗。

解決方法:

1、調整兩邊節點 ,en0 為public inte***ce

2、通過srvctl 修改vip 位址

crs-0210: could not find resource 'ora.aix212.listener_aix212.lsnr'.

# crs_stat -t

------重新啟動 節點 crs 服務

aix 211:

-----檢視網絡卡配置資訊

aix211:

# ifconfig -a

en0: flags=5e080863,c0

inet 192.168.8.211 netmask 0xffffff00 broadcast 192.168.8.255

inet 192.168.8.11 netmask 0xffffff00 broadcast 192.168.8.255

en1: flags=5e080863,c0

inet 10.10.10.11 netmask 0xffffff00 broadcast 10.10.10.255

# crsctl stop crs

stopping resources.

successfully stopped crs resources

stopping cssd.

shutting down css daemon.

shutdown request successfully issued.

------- 檢視網絡卡資訊

# ifconfig -a

en0: flags=5e080863,c0

inet 192.168.8.211 netmask 0xffffff00 broadcast 192.168.8.255

inet 192.168.8.11 netmask 0xffffff00 broadcast 192.168.8.255

en1: flags=5e080863,c0

inet 10.10.10.11 netmask 0xffffff00 broadcast 10.10.10.255

aix212:

# crsctl stop crs

stopping resources.

successfully stopped crs resources

stopping cssd.

shutting down css daemon.

shutdown request successfully issued.

# crsctl start crs

attempting to start crs stack

the crs stack will be started shortly

# ifconfig -a

en0: flags=5e080863,c0

inet 192.168.8.212 netmask 0xffffff00 broadcast 192.168.8.255

inet 192.168.8.12 netmask 0xffffff00 broadcast 192.168.8.255

en2: flags=5e080863,c0

inet 10.10.10.12 netmask 0xffffff00 broadcast 10.10.10.255

------ 至此,crs服務啟動正常

# 本文出自 「天涯客的blog」 部落格,請務必保留此出處

AIX命令集錦(軟體安裝命令)

aix命令集錦八 軟體安裝命令 修訂包分類 ptf apar 維護包和推薦維護包,其中ptf apar是對檔案集的修訂,維護包和推薦維護包包含著大量的ptf和apar,主要是 對作業系統的修訂 ptf 是指檔案集的可單獨安裝的更新包 fileset update 它的作用是增強以前安裝的filese...

keil5錯誤集錦

user api led.h 4 error 11 d unrecognized preprocessing directive 預編譯出錯。可能是字母打錯了 fwlib src stm32f10x rcc.c 273 warning 223 d function assert param decl...

AIX命令集錦八(軟體安裝命令)

修訂包分類 ptf apar 維護包和推薦維護包,其中ptf apar是對檔案集的修訂,維護包和推薦維護包包含著大量的ptf和apar,主要是 對作業系統的修訂 ptf 是指檔案集的可單獨安裝的更新包 fileset update 它的作用是增強以前安裝的fileset的功能或更正以前fileset...