Unix Study之--AIX系統構建RAC經過ASM磁盤共享node
如上圖所示:hdisk0支持reserve_policy,而hdisk1卻不支持reserve_policy。併發
在AIX系統上,構建ASM磁盤共享的RAC環境,須要設置reserve_policy。app
安裝rac要將reserve_lock(reserve_policy)設置成NO或no_reserve,目的是由於RAC 須要 併發的共享盤 ,因此盤不能被一臺機器鎖住ide
若是不設置說不上何時會出問題。ui
操做:spa
======================================================
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
=====================================================ip