oracle flex cluster,【Ora12c-GI】将Standard集群修改为Flex集群

Oracle12C支持两种集群模式:Standard和Flex。

11G即是Standard的;Flex是12C的新特性。

当将Standard修改为Flex时,出现如下问题:

# crsctl set cluster mode flex

CRS-4937: Unable to set the cluster mode.

查看官方文档,发现需要配置GNS,Standard模式下不需要GNS,但是Flex模式是需要的。

下面是官方文档(加入翻译)。

1. Run the following command to determine the current mode of the cluster:

确认当前集群模式:

$ crsctl get cluster mode status

2. Run the following command to ensure that the Grid Naming Service (GNS) is configured with a fixed VIP:

确认GNS配置。

$ srvctl config gns

This procedure cannot succeed unless GNS is configured with a fixed VIP. If there is no GNS, then, as root, create one, as follows:

GNS需要配置flexed-VIP的,如果没有配置,需要使用root用户创建一个。

# srvctl add gns -vip vip_name | ip_address

注意:要与集群公网在同一个网段。

Run the following command as root to start GNS:

启动GNS。

# srvctl start gns

3. Use the Oracle Automatic Storage Management Configuration Assistant (ASMCA) to enable Oracle Flex ASM in the cluster before you change the cluster mode.

使用asmca将ASM存储转换为Flex ASM。

4. Run the following command as root to change the mode of the cluster to be an Oracle Flex Cluster:

以root身份,配置集群模式为flex的。

# crsctl set cluster mode flex

5. Stop Oracle Clusterware by running the following command as root on each node in the cluster:

以root身份在一个节点执行停止crs的命令。

# crsctl stop crs

6. Start Oracle Clusterware by running the following command as root on each node in the cluster:

以root身份在一个节点执行启动crs的命令,即重启集群。

# crsctl start crs -wait

Note: Use the -wait option to display progress and status messages.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值