AIX 6.1 11g RAC数据库怎样改网段

来源:互联网 发布:php发送短信验证码 编辑:程序博客网 时间:2024/05/22 00:23


最近在AIX机器上安装一套11g RAC数据库,装好之后突然要改网段,下面简要记录了操作过程

1、环境信息:

说明下,加#号的是原来的IP,不加的是要改成的IP,两个节点分别是g3bi1070,g3bi1080,均为AIX机器

#10.8.7.35       g3bi1070        g3bi1070.szdc.paic.com.cn
#10.8.7.37       g3bi1080        g3bi1080.szdc.paic.com.cn
#192.168.1.35    g3bi1070-priv
#192.168.1.37    g3bi1080-priv
#10.8.7.45       g3bi1070-vip
#10.8.7.46       g3bi1080-vip
#10.8.7.47       fcrrpt-scan


192.168.2.35       g3bi1070        g3bi1070.szdc.paic.com.cn
192.168.2.37       g3bi1080        g3bi1080.szdc.paic.com.cn
192.168.1.35    g3bi1070-priv
192.168.1.37    g3bi1080-priv
192.168.2.45       g3bi1070-vip
192.168.2.46       g3bi1080-vip
192.168.2.47       fcrrpt-scan


2、首先改/etc/hosts文件中的IP信息,改成如上面所示的那样,两个节点都要改

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#ifconfig[/email] -a
en8: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.2.35 netmask 0xffffff00 broadcast 192.168.2.255
        inet 192.168.2.46 netmask 0xffffff00 broadcast 192.168.2.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en9: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.1.35 netmask 0xffffff00 broadcast 192.168.1.255
        inet 169.254.108.149 netmask 0xffff0000 broadcast 169.254.255.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1



[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#ifconfig[/email] -a
en8: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.2.37 netmask 0xffffff00 broadcast 192.168.2.255
        inet 192.168.2.45 netmask 0xffffff00 broadcast 192.168.2.255
        inet 10.8.7.47 netmask 0xffffff00 broadcast 10.8.7.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en9: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.1.37 netmask 0xffffff00 broadcast 192.168.1.255
        inet 169.254.32.76 netmask 0xffff0000 broadcast 169.254.255.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

3、修改PUBLIC IP

首先检查当前的配置信息,

[email=root@g3bi1070:/]root@g3bi1070:/>#cd[/email] /oracle_grid/11.2.0/grid/bin
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en8  10.8.7.0  global  public                              --原来所在的网段
en9  192.168.1.0  global  cluster_interconnect             --priv ip所在网段

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config nodeapps
Network exists: 1/10.8.7.0/255.255.255.0/en8, type static
VIP exists: /g3bi1070-vip/192.168.2.45/10.8.7.0/255.255.255.0/en8, hosting node g3bi1070
VIP exists: /g3bi1080-vip/192.168.2.46/10.8.7.0/255.255.255.0/en8, hosting node g3bi1080
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#

[email=root@g3bi1080:/]root@g3bi1080:/>#cd[/email] /oracle_grid/11.2.0/grid/bin
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en8  10.8.7.0  global  public
en9  192.168.1.0  global  cluster_interconnect
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config nodeapps
Network exists: 1/10.8.7.0/255.255.255.0/en8, type static
VIP exists: /g3bi1070-vip/192.168.2.45/10.8.7.0/255.255.255.0/en8, hosting node g3bi1070
VIP exists: /g3bi1080-vip/192.168.2.46/10.8.7.0/255.255.255.0/en8, hosting node g3bi1080
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] delif -global en8
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en9  192.168.1.0  global  cluster_interconnect
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] setif -global en8/192.168.2.0ublic
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en9  192.168.1.0  global  cluster_interconnect
en8  192.168.2.0  global  public

修改成功

4、修改VIP

检查当前VIP的配置信息:
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1070
VIP exists: /g3bi1070-vip/192.168.2.45/10.8.7.0/255.255.255.0/en8, hosting node g3bi1070
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1080
VIP exists: /g3bi1080-vip/192.168.2.46/10.8.7.0/255.255.255.0/en8, hosting node g3bi1080
修改VIP之前要先停掉依赖VIP的资源,如listener,停listener过程不返回状态,再执行一次可以确认命令是否成功执行

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1070
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1070
PRCC-1017 : LISTENER was already stopped on g3bi1070
PRCR-1005 : Resource ora.LISTENER.lsnr is already stopped
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1080
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1080
PRCC-1017 : LISTENER was already stopped on g3bi1080
PRCR-1005 : Resource ora.LISTENER.lsnr is already stopped

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] modify nodeapps -n g3bi1070 -A 192.168.2.45/255.255.255.0/en8
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] modify nodeapps -n g3bi1080 -A 192.168.2.45/255.255.255.0/en8
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1070
VIP exists: /g3bi1070-vip/192.168.2.45/192.168.2.0/255.255.255.0/en8, hosting node g3bi1070
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1080
VIP exists: /192.168.2.45/192.168.2.45/192.168.2.0/255.255.255.0/en8, hosting node g3bi1080
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#


5、修改SCAN-IP

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan_listener
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan_listener
PRCC-1016 : LISTENER_SCAN1 was already stopped
PRCR-1005 : Resource ora.LISTENER_SCAN1.lsnr is already stopped
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan_listener
PRCC-1016 : LISTENER_SCAN1 was already stopped
PRCR-1005 : Resource ora.LISTENER_SCAN1.lsnr is already stopped


[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan
PRCC-1016 : scan1 was already stopped
PRCR-1005 : Resource ora.scan1.vip is already stopped

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan
PRCC-1016 : scan1 was already stopped
PRCR-1005 : Resource ora.scan1.vip is already stopped

[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin[/email]>#


[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] modify scan -n fcrrpt-scan
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config scan
SCAN name: fcrrpt-scan, Network: 1/192.168.2.0/255.255.255.0/en8
SCAN VIP name: scan1, IP: /fcrrpt-scan/192.168.2.47
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config scan
SCAN name: fcrrpt-scan, Network: 1/192.168.2.0/255.255.255.0/en8
SCAN VIP name: scan1, IP: /fcrrpt-scan/192.168.2.47

6、最后一步重启crs,本来应该到此就结束了,都修改成功了,可以上面改VIP的时候红色的地方IP写错了导致忙活了好久才搞定,差点要重装GI,忽略那步错误修改过程到此结束,上面改错的地方的处理过程后续再发。

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./crsctl[/email] stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.crsd' on 'g3bi1070'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.OCRVD_DG.dg' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.g3bi1080.vip' on 'g3bi1070'
CRS-2677: Stop of 'ora.g3bi1080.vip' on 'g3bi1070' succeeded
CRS-2672: Attempting to start 'ora.g3bi1080.vip' on 'g3bi1080'
CRS-2676: Start of 'ora.g3bi1080.vip' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'g3bi1070'
CRS-2677: Stop of 'ora.scan1.vip' on 'g3bi1070' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'g3bi1080'
CRS-2677: Stop of 'ora.registry.acfs' on 'g3bi1070' succeeded
CRS-2676: Start of 'ora.scan1.vip' on 'g3bi1080' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080'
CRS-2677: Stop of 'ora.OCRVD_DG.dg' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1070'
CRS-2677: Stop of 'ora.asm' on 'g3bi1070' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'g3bi1070'
CRS-2677: Stop of 'ora.ons' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'g3bi1070'
CRS-2677: Stop of 'ora.net1.network' on 'g3bi1070' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'g3bi1070' has completed
CRS-2677: Stop of 'ora.crsd' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.ctssd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.evmd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'g3bi1070'
CRS-2677: Stop of 'ora.mdnsd' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.evmd' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.asm' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'g3bi1070'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'g3bi1070'
CRS-2677: Stop of 'ora.cssd' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.diskmon' on 'g3bi1070'
CRS-2677: Stop of 'ora.gipcd' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'g3bi1070'
CRS-2677: Stop of 'ora.diskmon' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'g3bi1070' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'g3bi1070' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[email=#root@g3bi1070:/oracle_grid/11.2.0/grid/bin]#root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./crsctl[/email] stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.crsd' on 'g3bi1080'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.oc4j' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.cvu' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.g3bi1080.vip' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.OCRVD_DG.dg' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'g3bi1080'
CRS-2677: Stop of 'ora.g3bi1080.vip' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.g3bi1070.vip' on 'g3bi1080'
CRS-2677: Stop of 'ora.g3bi1070.vip' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.cvu' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'g3bi1080'
CRS-2677: Stop of 'ora.scan1.vip' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.OCRVD_DG.dg' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1080'
CRS-2677: Stop of 'ora.asm' on 'g3bi1080' succeeded
CRS-2675: Stop of 'ora.oc4j' on 'g3bi1080' failed
CRS-2679: Attempting to clean 'ora.oc4j' on 'g3bi1080'
CRS-2681: Clean of 'ora.oc4j' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'g3bi1080'
CRS-2677: Stop of 'ora.ons' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'g3bi1080'
CRS-2677: Stop of 'ora.net1.network' on 'g3bi1080' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'g3bi1080' has completed
CRS-2677: Stop of 'ora.crsd' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.ctssd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.evmd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'g3bi1080'
CRS-2677: Stop of 'ora.evmd' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.asm' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'g3bi1080'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'g3bi1080'
CRS-2677: Stop of 'ora.cssd' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.diskmon' on 'g3bi1080'
CRS-2677: Stop of 'ora.gipcd' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'g3bi1080'
CRS-2677: Stop of 'ora.diskmon' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'g3bi1080' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'g3bi1080' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin[/email]>#

参考文档列表:
1. VIP配置(包括viphostname,ip_address)可以修改,参考:Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node [ID 276434.1]
2. public IP和interconnect IP可以修改,参考:How to Change Interconnect/Public Network (Interface or Subnet) in Oracle Clusterware [ID 283684.1]
   11gR2以上,interconnect IP修改需要参考:How to Modify Private Network Interface in 11.2 Grid Infrastructure [ID 1073502.1]
   但public hostname和private hostname不能修改,需要CRS重装
3. SCAN IP可以修改,参考:How to update the IP address of the SCAN VIP resources (ora.scan.vip) [ID 952903.1]
                          How to Modify SCAN Setting after Installation [ID 972500.1]
最近在AIX机器上安装一套11g RAC数据库,装好之后突然要改网段,下面简要记录了操作过程

1、环境信息:

说明下,加#号的是原来的IP,不加的是要改成的IP,两个节点分别是g3bi1070,g3bi1080,均为AIX机器

#10.8.7.35       g3bi1070        g3bi1070.szdc.paic.com.cn
#10.8.7.37       g3bi1080        g3bi1080.szdc.paic.com.cn
#192.168.1.35    g3bi1070-priv
#192.168.1.37    g3bi1080-priv
#10.8.7.45       g3bi1070-vip
#10.8.7.46       g3bi1080-vip
#10.8.7.47       fcrrpt-scan


192.168.2.35       g3bi1070        g3bi1070.szdc.paic.com.cn
192.168.2.37       g3bi1080        g3bi1080.szdc.paic.com.cn
192.168.1.35    g3bi1070-priv
192.168.1.37    g3bi1080-priv
192.168.2.45       g3bi1070-vip
192.168.2.46       g3bi1080-vip
192.168.2.47       fcrrpt-scan


2、首先改/etc/hosts文件中的IP信息,改成如上面所示的那样,两个节点都要改

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#ifconfig[/email] -a
en8: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.2.35 netmask 0xffffff00 broadcast 192.168.2.255
        inet 192.168.2.46 netmask 0xffffff00 broadcast 192.168.2.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en9: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.1.35 netmask 0xffffff00 broadcast 192.168.1.255
        inet 169.254.108.149 netmask 0xffff0000 broadcast 169.254.255.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1



[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#ifconfig[/email] -a
en8: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.2.37 netmask 0xffffff00 broadcast 192.168.2.255
        inet 192.168.2.45 netmask 0xffffff00 broadcast 192.168.2.255
        inet 10.8.7.47 netmask 0xffffff00 broadcast 10.8.7.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
en9: flags=1e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),LARGESEND,CHAIN>
        inet 192.168.1.37 netmask 0xffffff00 broadcast 192.168.1.255
        inet 169.254.32.76 netmask 0xffff0000 broadcast 169.254.255.255
         tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
lo0: flags=e08084b,c0<UP,BROADCAST,LOOPBACK,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,LARGESEND,CHAIN>
        inet 127.0.0.1 netmask 0xff000000 broadcast 127.255.255.255
        inet6 ::1%1/0
         tcp_sendspace 131072 tcp_recvspace 131072 rfc1323 1

3、修改PUBLIC IP

首先检查当前的配置信息,

[email=root@g3bi1070:/]root@g3bi1070:/>#cd[/email] /oracle_grid/11.2.0/grid/bin
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en8  10.8.7.0  global  public                              --原来所在的网段
en9  192.168.1.0  global  cluster_interconnect             --priv ip所在网段

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config nodeapps
Network exists: 1/10.8.7.0/255.255.255.0/en8, type static
VIP exists: /g3bi1070-vip/192.168.2.45/10.8.7.0/255.255.255.0/en8, hosting node g3bi1070
VIP exists: /g3bi1080-vip/192.168.2.46/10.8.7.0/255.255.255.0/en8, hosting node g3bi1080
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#

[email=root@g3bi1080:/]root@g3bi1080:/>#cd[/email] /oracle_grid/11.2.0/grid/bin
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en8  10.8.7.0  global  public
en9  192.168.1.0  global  cluster_interconnect
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config nodeapps
Network exists: 1/10.8.7.0/255.255.255.0/en8, type static
VIP exists: /g3bi1070-vip/192.168.2.45/10.8.7.0/255.255.255.0/en8, hosting node g3bi1070
VIP exists: /g3bi1080-vip/192.168.2.46/10.8.7.0/255.255.255.0/en8, hosting node g3bi1080
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] delif -global en8
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en9  192.168.1.0  global  cluster_interconnect
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] setif -global en8/192.168.2.0ublic
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./oifcfg[/email] getif
en9  192.168.1.0  global  cluster_interconnect
en8  192.168.2.0  global  public

修改成功

4、修改VIP

检查当前VIP的配置信息:
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1070
VIP exists: /g3bi1070-vip/192.168.2.45/10.8.7.0/255.255.255.0/en8, hosting node g3bi1070
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1080
VIP exists: /g3bi1080-vip/192.168.2.46/10.8.7.0/255.255.255.0/en8, hosting node g3bi1080
修改VIP之前要先停掉依赖VIP的资源,如listener,停listener过程不返回状态,再执行一次可以确认命令是否成功执行

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1070
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1070
PRCC-1017 : LISTENER was already stopped on g3bi1070
PRCR-1005 : Resource ora.LISTENER.lsnr is already stopped
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1080
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop listener -n g3bi1080
PRCC-1017 : LISTENER was already stopped on g3bi1080
PRCR-1005 : Resource ora.LISTENER.lsnr is already stopped

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] modify nodeapps -n g3bi1070 -A 192.168.2.45/255.255.255.0/en8
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] modify nodeapps -n g3bi1080 -A 192.168.2.45/255.255.255.0/en8
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1070
VIP exists: /g3bi1070-vip/192.168.2.45/192.168.2.0/255.255.255.0/en8, hosting node g3bi1070
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config vip -n g3bi1080
VIP exists: /192.168.2.45/192.168.2.45/192.168.2.0/255.255.255.0/en8, hosting node g3bi1080
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#


5、修改SCAN-IP

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan_listener
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan_listener
PRCC-1016 : LISTENER_SCAN1 was already stopped
PRCR-1005 : Resource ora.LISTENER_SCAN1.lsnr is already stopped
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan_listener
PRCC-1016 : LISTENER_SCAN1 was already stopped
PRCR-1005 : Resource ora.LISTENER_SCAN1.lsnr is already stopped


[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan
PRCC-1016 : scan1 was already stopped
PRCR-1005 : Resource ora.scan1.vip is already stopped

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] stop scan
PRCC-1016 : scan1 was already stopped
PRCR-1005 : Resource ora.scan1.vip is already stopped

[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] status scan_listener
SCAN Listener LISTENER_SCAN1 is enabled
SCAN listener LISTENER_SCAN1 is not running
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin[/email]>#


[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] modify scan -n fcrrpt-scan
[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config scan
SCAN name: fcrrpt-scan, Network: 1/192.168.2.0/255.255.255.0/en8
SCAN VIP name: scan1, IP: /fcrrpt-scan/192.168.2.47
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./srvctl[/email] config scan
SCAN name: fcrrpt-scan, Network: 1/192.168.2.0/255.255.255.0/en8
SCAN VIP name: scan1, IP: /fcrrpt-scan/192.168.2.47

6、最后一步重启crs,本来应该到此就结束了,都修改成功了,可以上面改VIP的时候红色的地方IP写错了导致忙活了好久才搞定,差点要重装GI,忽略那步错误修改过程到此结束,上面改错的地方的处理过程后续再发。

[email=root@g3bi1070:/oracle_grid/11.2.0/grid/bin]root@g3bi1070:/oracle_grid/11.2.0/grid/bin>#./crsctl[/email] stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.crsd' on 'g3bi1070'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.OCRVD_DG.dg' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.g3bi1080.vip' on 'g3bi1070'
CRS-2677: Stop of 'ora.g3bi1080.vip' on 'g3bi1070' succeeded
CRS-2672: Attempting to start 'ora.g3bi1080.vip' on 'g3bi1080'
CRS-2676: Start of 'ora.g3bi1080.vip' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'g3bi1070'
CRS-2677: Stop of 'ora.scan1.vip' on 'g3bi1070' succeeded
CRS-2672: Attempting to start 'ora.scan1.vip' on 'g3bi1080'
CRS-2677: Stop of 'ora.registry.acfs' on 'g3bi1070' succeeded
CRS-2676: Start of 'ora.scan1.vip' on 'g3bi1080' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080'
CRS-2677: Stop of 'ora.OCRVD_DG.dg' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1070'
CRS-2677: Stop of 'ora.asm' on 'g3bi1070' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'g3bi1070'
CRS-2677: Stop of 'ora.ons' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'g3bi1070'
CRS-2677: Stop of 'ora.net1.network' on 'g3bi1070' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'g3bi1070' has completed
CRS-2677: Stop of 'ora.crsd' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.ctssd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.evmd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'g3bi1070'
CRS-2677: Stop of 'ora.mdnsd' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.evmd' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.asm' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'g3bi1070'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'g3bi1070'
CRS-2677: Stop of 'ora.cssd' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'g3bi1070'
CRS-2673: Attempting to stop 'ora.diskmon' on 'g3bi1070'
CRS-2677: Stop of 'ora.gipcd' on 'g3bi1070' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'g3bi1070'
CRS-2677: Stop of 'ora.diskmon' on 'g3bi1070' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'g3bi1070' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'g3bi1070' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[email=#root@g3bi1070:/oracle_grid/11.2.0/grid/bin]#root@g3bi1070:/oracle_grid/11.2.0/grid/bin[/email]>#
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin>#./crsctl[/email] stop crs -f
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.crsd' on 'g3bi1080'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.oc4j' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.cvu' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.g3bi1080.vip' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.OCRVD_DG.dg' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'g3bi1080'
CRS-2677: Stop of 'ora.g3bi1080.vip' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.g3bi1070.vip' on 'g3bi1080'
CRS-2677: Stop of 'ora.g3bi1070.vip' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.cvu' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'g3bi1080'
CRS-2677: Stop of 'ora.scan1.vip' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.OCRVD_DG.dg' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1080'
CRS-2677: Stop of 'ora.asm' on 'g3bi1080' succeeded
CRS-2675: Stop of 'ora.oc4j' on 'g3bi1080' failed
CRS-2679: Attempting to clean 'ora.oc4j' on 'g3bi1080'
CRS-2681: Clean of 'ora.oc4j' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'g3bi1080'
CRS-2677: Stop of 'ora.ons' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'g3bi1080'
CRS-2677: Stop of 'ora.net1.network' on 'g3bi1080' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'g3bi1080' has completed
CRS-2677: Stop of 'ora.crsd' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.ctssd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.evmd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.asm' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'g3bi1080'
CRS-2677: Stop of 'ora.evmd' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.asm' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'g3bi1080'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'g3bi1080'
CRS-2677: Stop of 'ora.cssd' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'g3bi1080'
CRS-2673: Attempting to stop 'ora.diskmon' on 'g3bi1080'
CRS-2677: Stop of 'ora.gipcd' on 'g3bi1080' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'g3bi1080'
CRS-2677: Stop of 'ora.diskmon' on 'g3bi1080' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'g3bi1080' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'g3bi1080' has completed
CRS-4133: Oracle High Availability Services has been stopped.
[email=root@g3bi1080:/oracle_grid/11.2.0/grid/bin]root@g3bi1080:/oracle_grid/11.2.0/grid/bin[/email]>#

参考文档列表:
1. VIP配置(包括viphostname,ip_address)可以修改,参考:Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node [ID 276434.1]
2. public IP和interconnect IP可以修改,参考:How to Change Interconnect/Public Network (Interface or Subnet) in Oracle Clusterware [ID 283684.1]
   11gR2以上,interconnect IP修改需要参考:How to Modify Private Network Interface in 11.2 Grid Infrastructure [ID 1073502.1]
   但public hostname和private hostname不能修改,需要CRS重装
3. SCAN IP可以修改,参考:How to update the IP address of the SCAN VIP resources (ora.scan.vip) [ID 952903.1]
                          How to Modify SCAN Setting after Installation [ID 972500.1]
0 0