oracle 12C 群集软件运行标准模式切换为flex模式

概述:oracle 12C相当多的新特性。此文针对原先rac中标准模式切换为新特性的flex模式做个切换记录。

[grid@host03 ~]$ crsctl get cluster mode status

Cluster is running in "standard" mode
[grid@host03 ~]$ asmcmd showclustermode

ASM cluster : Flex mode disabled

[root@host03 ~]# cd /u01/app/12.1.0/grid/bin/
[root@host03 bin]# ./crsctl set  cluster mode flex
CRS-4973: Flex ASM must be enabled before switching the cluster mode to 'flex'
CRS-4000: Command Set failed, or completed with errors.


[root@host03 bin]# /u01/app/grid/cfgtoollogs/asmca/scripts/converttoFlexASM.sh

CRS-2673: Attempting to stop 'ora.crsd' on 'host03'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'host03'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'host03'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'host03'
CRS-2673: Attempting to stop 'ora.mgmtdb' on 'host03'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'host03'
CRS-2677: Stop of 'ora.DATA.dg' on 'host03' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.host03.vip' on 'host03'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'host03'
CRS-2677: Stop of 'ora.scan3.vip' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'host04'
CRS-2677: Stop of 'ora.host03.vip' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.host03.vip' on 'host04'
CRS-2677: Stop of 'ora.mgmtdb' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.MGMTLSNR' on 'host03'
CRS-2677: Stop of 'ora.MGMTLSNR' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.MGMTLSNR' on 'host04'
CRS-2676: Start of 'ora.scan3.vip' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'host04'
CRS-2676: Start of 'ora.host03.vip' on 'host04' succeeded
CRS-2676: Start of 'ora.MGMTLSNR' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.mgmtdb' on 'host04'
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'host04' succeeded
CRS-2676: Start of 'ora.mgmtdb' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'host03'
CRS-2677: Stop of 'ora.ons' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'host03'
CRS-2677: Stop of 'ora.net1.network' on 'host03' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'host03' has completed
CRS-2677: Stop of 'ora.crsd' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'host03'
CRS-2673: Attempting to stop 'ora.evmd' on 'host03'
CRS-2673: Attempting to stop 'ora.storage' on 'host03'
CRS-2677: Stop of 'ora.storage' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'host03'
CRS-2677: Stop of 'ora.ctssd' on 'host03' succeeded
CRS-2677: Stop of 'ora.evmd' on 'host03' succeeded
CRS-2677: Stop of 'ora.asm' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'host03'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'host03'
CRS-2677: Stop of 'ora.cssd' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'host03'
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'host03'
CRS-2676: Start of 'ora.cssdmonitor' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'host03'
CRS-2672: Attempting to start 'ora.diskmon' on 'host03'
CRS-2676: Start of 'ora.diskmon' on 'host03' succeeded
CRS-2676: Start of 'ora.evmd' on 'host03' succeeded
CRS-2676: Start of 'ora.cssd' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'host03'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'host03'
CRS-2676: Start of 'ora.ctssd' on 'host03' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'host03'
CRS-2676: Start of 'ora.asm' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'host03'
CRS-2676: Start of 'ora.storage' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'host03'
CRS-2676: Start of 'ora.crsd' on 'host03' succeeded
Oracle Grid Infrastructure restarted in node host03
CRS-2673: Attempting to stop 'ora.crsd' on 'host04'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'host04'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'host04'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'host04'
CRS-2673: Attempting to stop 'ora.oc4j' on 'host04'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'host04'
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'host04'
CRS-2673: Attempting to stop 'ora.cvu' on 'host04'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'host04'
CRS-2677: Stop of 'ora.cvu' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.cvu' on 'host03'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.host04.vip' on 'host04'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'host04'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'host04'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'host04' succeeded
CRS-2677: Stop of 'ora.DATA.dg' on 'host04' succeeded
CRS-2676: Start of 'ora.cvu' on 'host03' succeeded
CRS-2677: Stop of 'ora.scan2.vip' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.scan2.vip' on 'host03'
CRS-2673: Attempting to stop 'ora.gns' on 'host04'
CRS-2673: Attempting to stop 'ora.mgmtdb' on 'host04'
CRS-2677: Stop of 'ora.scan3.vip' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'host03'
CRS-2677: Stop of 'ora.host04.vip' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.host04.vip' on 'host03'
CRS-2676: Start of 'ora.scan2.vip' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'host03'
CRS-2676: Start of 'ora.scan3.vip' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'host03'
CRS-2676: Start of 'ora.host04.vip' on 'host03' succeeded
CRS-2677: Stop of 'ora.mgmtdb' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.MGMTLSNR' on 'host04'
CRS-2677: Stop of 'ora.gns' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.gns.vip' on 'host04'
CRS-2677: Stop of 'ora.MGMTLSNR' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.MGMTLSNR' on 'host03'
CRS-2677: Stop of 'ora.gns.vip' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.gns.vip' on 'host03'
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'host03' succeeded
CRS-2676: Start of 'ora.gns.vip' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.gns' on 'host03'
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'host03' succeeded
CRS-2676: Start of 'ora.MGMTLSNR' on 'host03' succeeded
CRS-2672: Attempting to start 'ora.mgmtdb' on 'host03'
CRS-2677: Stop of 'ora.oc4j' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.oc4j' on 'host03'
CRS-2676: Start of 'ora.gns' on 'host03' succeeded
CRS-2676: Start of 'ora.mgmtdb' on 'host03' succeeded
CRS-2676: Start of 'ora.oc4j' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'host04'
CRS-2677: Stop of 'ora.ons' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'host04'
CRS-2677: Stop of 'ora.net1.network' on 'host04' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'host04' has completed
CRS-2677: Stop of 'ora.crsd' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'host04'
CRS-2673: Attempting to stop 'ora.evmd' on 'host04'
CRS-2673: Attempting to stop 'ora.storage' on 'host04'
CRS-2677: Stop of 'ora.storage' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'host04'
CRS-2677: Stop of 'ora.ctssd' on 'host04' succeeded
CRS-2677: Stop of 'ora.evmd' on 'host04' succeeded
CRS-2677: Stop of 'ora.asm' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'host04'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'host04'
CRS-2677: Stop of 'ora.cssd' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'host04'
CRS-2672: Attempting to start 'ora.evmd' on 'host04'
CRS-2676: Start of 'ora.cssdmonitor' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'host04'
CRS-2672: Attempting to start 'ora.diskmon' on 'host04'
CRS-2676: Start of 'ora.diskmon' on 'host04' succeeded
CRS-2676: Start of 'ora.evmd' on 'host04' succeeded
CRS-2676: Start of 'ora.cssd' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'host04'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'host04'
CRS-2676: Start of 'ora.ctssd' on 'host04' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'host04'
CRS-2676: Start of 'ora.asm' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'host04'
CRS-2676: Start of 'ora.storage' on 'host04' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'host04'
CRS-2676: Start of 'ora.crsd' on 'host04' succeeded

Oracle Grid Infrastructure restarted in node host04

[root@host03 bin]# ./crsctl get cluster mode status
Cluster is running in "standard" mode

[root@host03 bin]# ./asmcmd showclustermode
ASM cluster : Flex mode enabled
[root@host03 bin]# ./crsctl set cluster mode flex

CRS-4933: Cluster mode set to "flex"; restart Oracle High Availability Services on all nodes for cluster to run in "flex" mode.

[root@host03 bin]# ./crsctl set cluster mode flex
CRS-4933: Cluster mode set to "flex"; restart Oracle High Availability Services on all nodes for cluster to run in "flex" mode.
[root@host03 bin]# ./crsctl stop cluster -all
CRS-2673: Attempting to stop 'ora.crsd' on 'host04'
CRS-2673: Attempting to stop 'ora.crsd' on 'host03'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'host04'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'host04'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'host04'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'host04'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'host03'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'host03'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'host03'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'host03'
CRS-2673: Attempting to stop 'ora.cvu' on 'host03'
CRS-2673: Attempting to stop 'ora.gns' on 'host03'
CRS-2673: Attempting to stop 'ora.mgmtdb' on 'host03'
CRS-2673: Attempting to stop 'ora.oc4j' on 'host03'
CRS-2677: Stop of 'ora.DATA.dg' on 'host04' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.host04.vip' on 'host04'
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'host04'
CRS-2677: Stop of 'ora.cvu' on 'host03' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'host03'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.host03.vip' on 'host03'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'host03' succeeded
CRS-2677: Stop of 'ora.host04.vip' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'host03'
CRS-2677: Stop of 'ora.scan2.vip' on 'host03' succeeded
CRS-2677: Stop of 'ora.scan1.vip' on 'host04' succeeded
CRS-2677: Stop of 'ora.host03.vip' on 'host03' succeeded
CRS-2677: Stop of 'ora.scan3.vip' on 'host03' succeeded
CRS-2677: Stop of 'ora.mgmtdb' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.MGMTLSNR' on 'host03'
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'host03'
CRS-2677: Stop of 'ora.DATA.dg' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'host03'
CRS-2677: Stop of 'ora.MGMTLSNR' on 'host03' succeeded
CRS-2677: Stop of 'ora.gns' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.gns.vip' on 'host03'
CRS-2677: Stop of 'ora.gns.vip' on 'host03' succeeded
CRS-2677: Stop of 'ora.asm' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'host03'
CRS-2673: Attempting to stop 'ora.asm' on 'host04'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'host03' succeeded
CRS-2677: Stop of 'ora.asm' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'host04'
CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'host04'
CRS-2677: Stop of 'ora.ons' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'host04'
CRS-2677: Stop of 'ora.net1.network' on 'host04' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'host04' has completed
CRS-2677: Stop of 'ora.crsd' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'host04'
CRS-2673: Attempting to stop 'ora.evmd' on 'host04'
CRS-2673: Attempting to stop 'ora.storage' on 'host04'
CRS-2677: Stop of 'ora.storage' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'host04'
CRS-2677: Stop of 'ora.ctssd' on 'host04' succeeded
CRS-2677: Stop of 'ora.evmd' on 'host04' succeeded
CRS-2677: Stop of 'ora.asm' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'host04'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'host04' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'host04'
CRS-2677: Stop of 'ora.cssd' on 'host04' succeeded
CRS-2677: Stop of 'ora.oc4j' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'host03'
CRS-2677: Stop of 'ora.ons' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'host03'
CRS-2677: Stop of 'ora.net1.network' on 'host03' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'host03' has completed
CRS-2677: Stop of 'ora.crsd' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'host03'
CRS-2673: Attempting to stop 'ora.evmd' on 'host03'
CRS-2673: Attempting to stop 'ora.storage' on 'host03'
CRS-2677: Stop of 'ora.storage' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'host03'
CRS-2677: Stop of 'ora.ctssd' on 'host03' succeeded
CRS-2677: Stop of 'ora.evmd' on 'host03' succeeded
CRS-2677: Stop of 'ora.asm' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'host03'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'host03' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'host03'

CRS-2677: Stop of 'ora.cssd' on 'host03' succeeded

[root@host03 bin]# ./asmcmd showclustermode
ASM cluster : Flex mode enabled
[root@host03 bin]# ./crsctl get cluster mode status

Cluster is running in "flex" mode

总结:Cluster flex模式建立在ASM FLEX的模式基础上,ASM FLEX切换只需在asmca图形界面下点击convert to asm flex按照步骤进行就ok。切换是单方面的,不可以将FLEX模式重新切换回标准模式的;

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值