视频1 视频21 视频41 视频61 视频文章1 视频文章21 视频文章41 视频文章61 推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37 推荐39 推荐41 推荐43 推荐45 推荐47 推荐49 关键词1 关键词101 关键词201 关键词301 关键词401 关键词501 关键词601 关键词701 关键词801 关键词901 关键词1001 关键词1101 关键词1201 关键词1301 关键词1401 关键词1501 关键词1601 关键词1701 关键词1801 关键词1901 视频扩展1 视频扩展6 视频扩展11 视频扩展16 文章1 文章201 文章401 文章601 文章801 文章1001 资讯1 资讯501 资讯1001 资讯1501 标签1 标签501 标签1001 关键词1 关键词501 关键词1001 关键词1501 专题2001
Oracle11gR2RAC环境下修改主机名
2020-11-09 10:54:16 责编:小采
文档


Oracle 10g RAC修改主机名可参考:http://www.linuxidc.com/Linux/2013-01/78628.htm 相关平台:aix 6106+oracle 11203修改主机名

Oracle 10g RAC修改主机名可参考:

相关平台:
aix 6106+oracle 11203
修改主机名:
第一个节点:从dbrac1修改为dbrac100
第二个节点:从dbrac2修改为dbrac200

一、先卸载CRS
在非最后一个节点运行/oracle/asm/crs/install/rootcrs.pl -verbose -deconfig -force

Using configuration parameter file: /oracle/asm/crs/install/crsconfig_params
Network exists: 1/8.8.6.0/255.255.255.0/en0, type static
VIP exists: /dbrac1-vip/8.8.6.11/8.8.6.0/255.255.255.0/en0, hosting node dbrac1
VIP exists: /dbrac2-vip/8.8.6.21/8.8.6.0/255.255.255.0/en0, hosting node dbrac2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'dbrac1'
CRS-2677: Stop of 'ora.registry.acfs' on 'dbrac1' succeeded
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'dbrac1'
CRS-2673: Attempting to stop 'ora.crsd' on 'dbrac1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'dbrac1'
CRS-2673: Attempting to stop 'ora.oc4j' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.ASMCRS.dg' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.racdb.db' on 'dbrac1'
CRS-2677: Stop of 'ora.racdb.db' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.ASMVG1.dg' on 'dbrac1'
CRS-2677: Stop of 'ora.ASMVG1.dg' on 'dbrac1' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'dbrac1' succeeded
CRS-2672: Attempting to start 'ora.oc4j' on 'dbrac2'
CRS-2676: Start of 'ora.oc4j' on 'dbrac2' succeeded
CRS-2677: Stop of 'ora.ASMCRS.dg' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'dbrac1'
CRS-2677: Stop of 'ora.asm' on 'dbrac1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'dbrac1' has completed
CRS-2677: Stop of 'ora.crsd' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.crf' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.evmd' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.asm' on 'dbrac1'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'dbrac1'
CRS-2677: Stop of 'ora.crf' on 'dbrac1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'dbrac1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'dbrac1' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'dbrac1' succeeded
CRS-2677: Stop of 'ora.drivers.acfs' on 'dbrac1' succeeded
CRS-2677: Stop of 'ora.asm' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'dbrac1'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'dbrac1'
CRS-2677: Stop of 'ora.cssd' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'dbrac1'
CRS-2677: Stop of 'ora.gipcd' on 'dbrac1' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'dbrac1'
CRS-2677: Stop of 'ora.gpnpd' on 'dbrac1' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'dbrac1' has completed
CRS-4133: Oracle High Availability Services has been stopped.
This may take several minutes. Please wait ...
0518-307 odmdelete: 1 objects deleted.
0518-307 odmdelete: 1 objects deleted.
0518-307 odmdelete: 1 objects deleted.
Successfully deconfigured Oracle clusterware stack on this node

在最后一个节点运行/oracle/asm/crs/install/rootcrs.pl -verbose -deconfig -force -lastnode

Using configuration parameter file: /oracle/asm/crs/install/crsconfig_params
CRS resources for listeners are still configured
Network exists: 1/8.8.6.0/255.255.255.0/en0, type static
VIP exists: /dbrac2-vip/8.8.6.21/8.8.6.0/255.255.255.0/en0, hosting node dbrac2
GSD exists
ONS exists: Local port 6100, remote port 6200, EM port 2016
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'dbrac2'
CRS-2677: Stop of 'ora.registry.acfs' on 'dbrac2' succeeded
CRS-2673: Attempting to stop 'ora.crsd' on 'dbrac2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'dbrac2'
CRS-2673: Attempting to stop 'ora.oc4j' on 'dbrac2'
CRS-2673: Attempting to stop 'ora.ASMCRS.dg' on 'dbrac2'
CRS-2673: Attempting to stop 'ora.racdb.db' on 'dbrac2'
CRS-2677: Stop of 'ora.racdb.db' on 'dbrac2' succeeded
CRS-2673: Attempting to stop 'ora.ASMVG1.dg' on 'dbrac2'
CRS-2677: Stop of 'ora.ASMVG1.dg' on 'dbrac2' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'dbrac2' succeeded
CRS-2677: Stop of 'ora.ASMCRS.dg' on 'dbrac2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'dbrac2'
CRS-2677: Stop of 'ora.asm' on 'dbrac2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'dbrac2' has completed
CRS-2677: Stop of 'ora.crsd' on 'dbrac2' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'dbrac2'
CRS-2673: Attempting to stop 'ora.evmd' on 'dbrac2'
CRS-2673: Attempting to stop 'ora.asm' on 'dbrac2'
CRS-2677: Stop of 'ora.evmd' on 'dbrac2' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'dbrac2' succeeded
CRS-2677: Stop of 'ora.asm' on 'dbrac2' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'dbrac2'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'dbrac2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'dbrac2'
CRS-2677: Stop of 'ora.cssd' on 'dbrac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'dbrac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'dbrac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'dbrac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'dbrac2'
CRS-2676: Start of 'ora.diskmon' on 'dbrac2' succeeded
CRS-2676: Start of 'ora.cssd' on 'dbrac2' succeeded
CRS-4611: Successful deletion of voting disk +ASMCRS.
ASM de-configuration trace file location: /tmp/asmcadc_clean2012-11-20_10-05-15-AM.log
ASM Clean Configuration START
ASM Clean Configuration END

ASM with SID +ASM1 deleted successfully. Check /tmp/asmcadc_clean2012-11-20_10-05-15-AM.log for details.

下载本文
显示全文
专题