暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

修改private ip

原创 肖雪松 2020-05-22
713
1,备份profile.xml 配置文件,grid 用户执行: $ cd $ORACLE_HOME/gpnp/`hostname`/profiles/peer/ $ cp profile.xml profile.xml.bak20171215 2,确保集群中的所有节点都已启动并正常运行 $ crsctl stat res -t 3,查看OCR的IP信息 $ oifcfg getif 加入新的集群私网通讯信息 $ oifcfg setif -global <interface>/<subnet>:cluster_interconnect Eg: $ oifcfg setif -global eth1/192.168.10.0:cluster_interconnect 校验修改后的值 4,使用 root 用户关闭集群中所有的节点并禁用集群: $ srvctl stop instance -d orcl -n rac1 $ srvctl stop instance -d orcl -n rac2 分别在两个节点执行 cd /u01/app/11.2.0/grid/bin # ./crsctl stop crs # ./crsctl disable crs 5,修改两个节点的OS配置信息,并验证 # vi /etc/hosts # vi /etc/sysconfig/network-scripts/ifcfg-eth1 # service network restart $ ifconfig -a $ ping <private hostname> 6, 使用 root 用户激活 oracle 集群并重新启动集群中的所有节点: # ./crsctl enable crs # ./crsctl start crs 7,如果需要去除旧接口卡信息 $ oifcfg delif -global <if_name>[/<subnet>] eg: $ oifcfg delif -global eth1/10.0.10.0 8,确认rac环境状态 $ crsctl stat res -t
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论