修改vip地址後,vip服務啟動不成功的處理過程

paulyibinyi發表於2009-12-09

問題簡述:yyk資料庫測試更改vip地址後,vip服務啟動不成功。

1.4.128.88   p595a2         --改為200.200.200.1

1.4.128.89   p595a2-vip     --改為200.200.200.2

192.168.4.100  p595a2-priv    --改為192.168.5.100

1.4.128.90   p595b2         --改為200.200.200.3

1.4.128.91   p595b2-vip     --改為200.200.200.4 

192.168.4.101  p595b2-priv    --改為192.168.5.101

作業系統:aix 5309

資料庫:oracle 10.2 rac+ asm

yyk測試更改VIP地址,vip服務啟動不了,啟動服務時報以下錯誤:

更改命令:

./srvctl modify nodeapps -n p595a2 -A 200.200.200.2/255.255.255.0/en0

./srvctl modify nodeapps -n p595b2 -A 200.200.200.4/255.255.255.0/en0

#./srvctl start nodeapps -n p595a2

p595a2:ora.p595a2.vip:Invalid parameters, or failed to bring up VIP (host=p595a2)

CRS-0215: Could not start resource 'ora.p595a2.LISTENER_P595A2.lsnr'.

#./srvctl start  nodeapps -n p595a2

p595a2:ora.p595a2.vip:Invalid parameters, or failed to bring up VIP (host=p595a2)

CRS-0215: Could not start resource 'ora.p595a2.LISTENER_P595A2.lsnr'.

 

 

 

1.      crs_stat  -t檢視狀態 vip服務offline

   ora.p595a2.gsd application    ONLINE    ONLINE    p595a2     

ora.p595a2.ons application    ONLINE    ONLINE    p595a2     

ora.p595a2.vip application    ONLINE    OFFLINE     

2.      檢查日誌

  Cd /crs/app/oracle/product/crs_1/log/p595a2/racg

  檢視ora.p595a2.vip.log日誌

  2009-12-08 20:40:26.024: [    RACG][1] [774270][1][ora.p595b2.vip]: clsrcexecut: cmd = /crs/app/oracle/product/crs_1/bin/racgeut -e

_USR_ORA_DEBUG=0 54 /crs/app/oracle/product/crs_1/bin/racgvip check p595b2

2009-12-08 20:40:26.024: [    RACG][1] [774270][1][ora.p595b2.vip]: clsrcexecut: rc = 1, time = 1.202s

2009-12-08 20:40:26.024: [    RACG][1] [774270][1][ora.p595b2.vip]: end for resource = ora.p595b2.vip, action = start, status = 1, time = 2.505s

2009-12-08 20:45:18.426: [    RACG][1] [606268][1][ora.p595b2.vip]

Invalid parameters, or failed to bring up VIP (host=p595a2)

4. srvctl config nodeapps命令檢視顯示更改vip命令成功

#./srvctl config nodeapps -n p595a2 -a

VIP exists.: /p595a2-vip/200.200.200.2/255.255.255.0/en0

#./srvctl config nodeapps -n p595b2 -a

VIP exists.: /p595b2-vip/200.200.200.4/255.255.255.0/en0

5.檢查public公網ip所對應的閘道器還是為1.45.128.254

  smitty tcpip 修改en0閘道器為200.200.200.254

  啟動vip服務成功

4          總結

修改VIP地址後,一定要注意更改public網路卡所對應的閘道器和public,vip地址在同一個網段。

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-621992/,如需轉載,請註明出處,否則將追究法律責任。

相關文章