Managing Serviceguard Eighteenth Edition, September 2010
When all disk groups have been deported, you must issue the following command on
all cluster nodes to allow them to access the disk groups:
vxdctl enable
Re-Importing Disk Groups
After deporting disk groups, they are not available for use on the node until they are
imported again either by a package control script or with a vxdg import command.
If you need to import a disk group manually for maintenance or other purposes, you
import it, start up all its logical volumes, and mount filesystems as in the following
example:
vxdg import dg_01
vxvol -g dg_01 startall
mount /dev/vx/dsk/dg_01/myvol /mountpoint
NOTE: Unlike LVM volume groups, VxVM disk groups are not entered in the cluster
configuration file, nor in the package configuration file.
Clearimport at System Reboot Time
At system reboot time, the cmcluster RC script does a vxdisk clearimport on
all disks formerly imported by the system, provided they have the noautoimport flag
set, and provided they are not currently imported by another running node. The
clearimport clears the host ID on the disk group, to allow any node that is connected
to the disk group to import it when the package moves from one node to another.
Using the clearimport at reboot time allows Serviceguard to clean up following a
node failure, for example, a system crash during a power failure. Disks that were
imported at the time of the failure still have the node’s ID written on them, and this ID
must be cleared before the rebooting node or any other node can import them with a
package control script.
Note that the clearimport is done for disks previously imported with noautoimport
set on any system that has Serviceguard installed, whether it is configured in a cluster
or not.
Configuring the Cluster
This section describes how to define the basic cluster configuration using traditional
Serviceguard commands. This must be done on a system that is not part of a
Serviceguard cluster (that is, on which Serviceguard is installed but not configured).
242 Building an HA Cluster Configuration