前言:
如今兄弟们对“oracle 修改scanip”大体比较关心,咱们都想要分析一些“oracle 修改scanip”的相关内容。那么小编在网络上网罗了一些对于“oracle 修改scanip””的相关内容,希望各位老铁们能喜欢,咱们一起来学习一下吧!Oracle11gRAC集群修改节点IP地址操作
一、确认IP地址的规划
1. 查看原有hosts配置,并备份原有hosts文件:cp /etc/hosts{,.ba}
[root@rac1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.10.201 rac1
192.168.10.202 rac2
192.168.10.203 rac1-vip
192.168.10.204 rac2-vip
10.1.1.1 rac1-priv
10.1.1.2 rac2-priv
192.168.10.205 racscan
2.需要更改的IP规划:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.201 rac1
192.168.1.202 rac2
192.168.1.203 rac1-vip
192.168.1.204 rac2-vip
10.1.1.1 rac1-priv
10.1.1.2 rac2-priv
192.168.1.205 racscan
3. 获取原有rac的地址规划
[root@rac1 ~]# crs_stat -ls
Name Owner Primary PrivGrp Permission
-----------------------------------------------------------------
ora.DATA.dg grid oinstall rwxrwxr--
ora....ER.lsnr grid oinstall rwxrwxr--
ora....N1.lsnr grid oinstall rwxr-xr--
ora.OCR.dg grid oinstall rwxrwxr--
ora.asm grid oinstall rwxrwxr--
ora.cvu grid oinstall rwxrwxr--
ora.gsd grid oinstall rwxr-xr--
ora....network root root rwxr-xr--
ora.oc4j grid oinstall rwxrwxr--
ora.ons grid oinstall rwxr-xr--
ora....SM1.asm grid oinstall rwxrwxr--
ora....C1.lsnr grid oinstall rwxrwxr--
ora.rac1.gsd grid oinstall rwxr-xr--
ora.rac1.ons grid oinstall rwxr-xr--
ora.rac1.vip root root rwxr-xr--
ora....SM2.asm grid oinstall rwxrwxr--
ora..
标签: #oracle 修改scanip