oracle数据库vip和priv,ORACLE RAC VIP飘到priv IP上的问题解决

前几天在安装RAC的时候遇到的问题,完全相同的环境,装了几次了,都没问题,最后一次的时候网卡选的不是ent0,在运行VIPCA的时候,把public(ent9)和private(ent11)俩块网卡都选了,然后有一台机器的vip就老是飘到priv-ip上,郁闷了一晚上。

以后还是规规矩矩的使用ent0做public吧

Make sure there is a recent copy of the OCR file before making any changes: ocrconfig –showbackup To fix an incorrect USR_ORA_IF attribute of the VIP resource do as follows: (1) Log in as root. (2) set the ORA_CRS_HOME in your environment to the crs home (2) Recreate a 'cap', file for the vips: crs_stat -p ora.dbserver1.vip > $ORA_CRS_HOME/crs/profile/ora.dbserver1.vip.cap crs_stat -p ora.dbserver2.vip > $ORA_CRS_HOME/crs/profile/ora.dbserver2.vip.cap (3) Stop the vips, this will also require you to stop resources that depending on them.(database,instance,asm ,service) crs_stop -f ora.dbserver1.vip crs_stop -f ora.dbserver2.vip (4) Edit the profiles(.cap files) manually .. modify the USR_ORA_IF=ipge0|ipge2 to USR_ORA_IF=ipge0 (5)Update the OCR records by re-registering the resource with the update option: crs_register -u ora.dbserver1.vip crs_register -u ora.dbserver2.vip (6) Print the resources to make sure it took ok: crs_stat -p ora.dbserver1.vip ora.dbserver2.vip (7) Then start them: crs_start ora.dbserver1.vip ora.dbserver2.vip

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值