Cluster-wide Device Special Files (cDSFs) ensure that each storage device used by the cluster has a unique device file name. Cluster-wide device special files (cDSFs) are persistent device special files applied across a set of nodes. That is, they ensure that the same piece of storage has the same device file name on all of the nodes that share it; no matter how many paths there are to the device, the same cluster DSF is used to address it. If the device is moved, the same cDSF still addresses it.
How to Create the Cluster-wide Device Special Files (cDSFs):
Important: Only configure cDSF if you are building a 2 or more nodes cluster. This is not applicable when building a single node cluster
Execute the following command:
# cmsetdsfgroup -c
Cluster device file group configuration set to 'clusternode1 clusternode2'.
Note: The option -c creates a cDSF group from the members of the existing local Serviceguard cluster. The command must be run on a member of the Serviceguard cluster. This option eliminates the need to explicitly list each node of the Serviceguard cluster on the command line.
Check cluster nodes are listed in the output of the following command
# cmsetdsfgroup -q
clusternode1
clusternode2
# ioscan -F -m cluster_dsf /dev/disk/disk#
# ioscan -F -m cluster_dsf /dev/disk/disk##
How to migrate/convert VG with vgcdsf
# strings /etc/lvmtab_p
/dev/vgpkg1
A0000000000000001Tue Feb 1 13:21:27 201103b950fa-2d66-11e0-bf02-00156004e156
/dev/disk/disk3
/dev/disk/disk5
# vgcdsf /dev/vgpkg1
Successfully converted persistent DSF(s) in VG /dev/vgpkg1.
# strings /etc/lvmtab_p
/dev/vgpkg1
A0000000000000001Tue Feb 1 13:21:27 201103b950fa-2d66-11e0-bf02-00156004e156
/dev/cdisk/disk1
/dev/cdisk/disk2