ITPub博客

首页 > Linux操作系统 > Linux操作系统 > change the vip and eth0

change the vip and eth0

原创 Linux操作系统 作者:txt1124 时间:2010-11-12 17:39:37 0 删除 编辑

in my vmware,I install the asm+rac on rhel5.
one day,I want to modify the public(ech0) and vip for the rac. and I do the follow step by step.

1、first,I stop the resource of crs
srvctl stop nodeapps -n rac1;
srvctl stop nodeapps -n rac2;

2、then I change the IP of eth0(the node may be reboot in this step)
3、I change the config of crs
a、oifcfg delif -global eth0

b、oifcfg setif –global eth0/192.168.92.0:public

c、srvctl modify nodeapps -n rac1 -A 192.168.92.200/255.255.255.0/eth0

4、after that,I think I have finish all the steps.but,see that:
srvctl start nodeapps -n rac1;
there have errors on vip.when I see the vip log,I found that:

Broadcast message from root (pts/1) (Fri Nov 12 16:54:44 2010):432][ora.rac1.vip]: clsrcexecut: cmd = /opt/ora10g/product/10.2.0/crs_1/bin/racgeut -e _USR_ORA_DEBUG=0 54 /opt/ora10g/product/10.2.0/crs_1/bin/racgvip check rac1
The system is going down for reboot NOW!
2010-11-12 16:43:54.507: [    RACG][3065546432] [16974][3065546432][ora.rac1.vip]: clsrcexecut: rc = 1, time = 3.640s

2010-11-12 16:43:54.507: [    RACG][3065546432] [16974][3065546432][ora.rac1.vip]: end for resource = ora.rac1.vip, action = start, status = 1, time = 13.440s

2010-11-12 16:44:30.817: [    RACG][3065317056] [17324][3065317056][ora.rac1.vip]: ping to 192.168.92.254 via eth0 failed, rc = 1 (host=rac1)
ping to 192.168.92.254 via eth0 failed, rc = 1 (host=rac1)
Interface eth0 checked failed (host=rac1)
Invalid parameters, or failed to bring up VIP (host=rac1)


It shows that I cann't ping 192.168.92.254 what is the gateway of eth0(I use nat method for the ethernet,and 192.168.92.254 is the gateway in my own machine)
indeed,I cann't not ping 192.168.92.254,is it the problem!
yes,I change the vmware gateway to 192.168.92.3 which is the ip of the net8 in my own machine.
now ,vmware linux can ping the 192.168.92.3

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/14730395/viewspace-678024/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 低调低调
下一篇: dg learning
请登录后发表评论 登录
全部评论

注册时间:2008-12-15

  • 博文量
    91
  • 访问量
    162486