AIX5.3在使用HACMP安装ORACLE RAC 10G时的错误解决 集中讨论37

 

Oracle大型数据库系统在AIX/UNIX上的实战详解  集中讨论37   文平

有几个读者在实施他们的RAC的时候,重启HACMP后发现另一个节点的并发卷组并没有激活(lsvg -o),查看PV发现没有激活(CONCURRENT ACTIVE)。

器可能原因如下(Oracle Release Notes):

To enable simultaneous access to a disk device from multiple nodes, you must set the appropriate Object Data Manager (ODM) attribute listed in the following table to the value shown, depending on the disk type:

Disk Type Attribute Value
SSA, FAStT, or non-MPIO-capable disks reserve_lock no

ESS, EMC, HDS, CLARiiON, or MPIO-capable disks
reserve_policy no_reserve

To determine whether the attribute has the correct value, enter a command similar to the following on all cluster nodes for each disk device that you want to use:
# /usr/sbin/lsattr -E -l hdiskn
If the required attribute is not set to the correct value on any node, then enter a command similar to one of the following on that node:
■ SSA and FAStT devices
# /usr/sbin/chdev -l hdiskn -a reserve_lock=no
■ ESS, EMC, HDS, CLARiiON, and MPIO-capable devices
# /usr/sbin/chdev -l hdiskn -a reserve_policy=no_reserve

所以,需要在2个节点上关闭HACMP后分别执行:

chdev -l hdisk2 -a reserve_lock=no
chdev -l hdisk3 -a reserve_lock=no
chdev -l hdisk4 -a reserve_lock=no
chdev -l hdisk5 -a reserve_lock=no

或者:

chdev -l hdisk2 -a reserve_policy=no_reserve
chdev -l hdisk3 -a reserve_policy=no_reserve
chdev -l hdisk4 -a reserve_policy=no_reserve
chdev -l hdisk5 -a reserve_policy=no_reserve

再重新启动HACMP,应该就没有问题了。

转载于:https://www.cnblogs.com/dbserver/articles/1716889.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值