diff --git a/xml/ha_cluster_lvm.xml b/xml/ha_cluster_lvm.xml
index a877c45bc..0f6a53646 100644
--- a/xml/ha_cluster_lvm.xml
+++ b/xml/ha_cluster_lvm.xml
@@ -258,18 +258,61 @@
- Use shared activation mode for &ocfs; and add it to the cloned
- g-storage group:
+ Use shared activation mode for &ocfs;:
&prompt.root;crm configure primitive vg1 LVM-activate \
params vgname=vg1 vg_access_mode=lvmlockd activation_mode=shared \
op start timeout=90s interval=0 \
op stop timeout=90s interval=0 \
- op monitor interval=30s timeout=90s
-&prompt.root;crm configure modgroup g-storage add vg1
+ op monitor interval=30s timeout=90s
+
+
+ Make sure the VG can only be activated on nodes where the DLM and
+ lvmlockd resources are already running:
+
+
+
+
+ Exclusive activation mode:
+
+
+ Because this VG is only active on a single node, do not
+ add it to the cloned g-storage group. Instead, add
+ constraints directly to the resource:
+
+&prompt.root;crm configure colocation col-vg-with-dlm inf: vg1 cl-storage
+&prompt.root;crm configure order o-dlm-before-vg Mandatory: cl-storage vg1
+
+ For multiple VGs, you can add constraints to multiple resources at once:
+
+&prompt.root;crm configure colocation col-vg-with-dlm inf: ( vg1 vg2 ) cl-storage
+&prompt.root;crm configure order o-dlm-before-vg Mandatory: cl-storage ( vg1 vg2 )
+
+
+
+ Shared activation mode:
+
+
+ Because this VG is active on multiple nodes, you can add it to the cloned
+ g-storage group, which already has internal colocation
+ and order constraints:
+
+&prompt.root;crm configure modgroup g-storage add vg1
+
+ Do not add multiple VGs to the group, because this
+ creates a dependency between the VGs. For multiple VGs, clone the resources and add
+ constraints to the clones:
+
+&prompt.root;crm configure clone cl-vg1 vg1 meta interleave=true
+&prompt.root;crm configure clone cl-vg2 vg2 meta interleave=true
+&prompt.root;crm configure colocation col-vg-with-dlm inf: ( cl-vg1 cl-vg2 ) cl-storage
+&prompt.root;crm configure order o-dlm-before-vg Mandatory: cl-storage ( cl-vg1 cl-vg2 )
+
+
+
Check if the resources are running well: