change the vip and eth0

本文记录了在VMware环境下安装ASM+RAC并尝试修改公共IP和VIP过程中遇到的问题及解决步骤。作者详细描述了修改过程中的具体操作,并分享了在启动资源时遇到VIP错误的具体日志信息。通过排查发现无法Ping通网关地址导致VIP配置失败,最终通过调整VMware网关设置解决了问题。

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博客 ” ,链接:http://blog.itpub.net/14730395/viewspace-678024/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/14730395/viewspace-678024/

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值