UnixStudy之--AIX系统构建RAC通过ASM磁盘

Unix Study之--AIX系统构建RAC通过ASM磁盘共享

让客户满意是我们工作的目标,不断超越客户的期望值来自于我们对这个行业的热爱。我们立志把好的技术通过有效、简单的方式提供给客户,将通过不懈努力成为客户在信息化领域值得信任、有价值的长期合作伙伴,公司提供的服务项目有:主机域名雅安服务器托管、营销软件、网站建设、交口网站维护、网站推广。


Unix Study之--AIX系统构建RAC通过ASM磁盘


如上图所示:hdisk0支持reserve_policy,而hdisk1却不支持reserve_policy。


在AIX系统上,构建ASM磁盘共享的RAC环境,需要设置reserve_policy。

安装rac要将reserve_lock(reserve_policy)设置成NO或no_reserve,目的是因为RAC 需要 并发的共享盘 ,所以盘不能被一台机器锁住

如果不设置说不上什么时候会出问题。

操作:

======================================================

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
=====================================================


网站名称:UnixStudy之--AIX系统构建RAC通过ASM磁盘
URL分享:http://myzitong.com/article/jpdidj.html