两种模式配置基本相同,只有下面两点不同: 假设两台主机作hacmp: hosta,hostb 一:需要建立并发访问的VG 1.选定其中一台主机hosta作为主配置,建立并发卷组: #mkvg –c –t 2 –s 16 –y testvg hdisk2 (-t -s 根据实际情况选定,-c是必要的表示并发卷组) 2.然后在hostb中并发导入卷组信息 importvg –c –y myvg hdisk2 导入的vg具有并发属性 varyonvg –c myvg 利用并发模式激活myvg 这样两台机器用lsvg -o 都可以看到myvg. 二:定义资源组 1.建立两个cascading 的资源组 # smitty hacmp Cluster Configuration Cluster Resources Define Resource Groups Add a Resource Group * Resource Group Name [] rsgrp1/rsgrp2 资源组名称 * Node Relationship cascading 资源组关系 * Participating Node Names / Default Node Priority [] 节点次序 hosta hostb hostb hosta 2.建立一个concurrent的资源组 定义并发模式的资源组: *Resource Group Name congrp *Node Relationship concurrent *Participating Node Names hosta hostb |