HP-UX HB v13.00 Ch-15 - Serviceguard

HP-UX Handbook Rev 13.00 Page 77 (of 108)
Chapter 15 Serviceguard
October 29, 2013
importing and deporting disk groups on particular nodes.
Force Import and Deport After Node Failure
After certain failures, packages configured with VxVM disk groups will fail to start, and the
following error will be seen in the package log file:
vxdg: Error gd_01 may still be imported on Node1
ERROR: Function check_dg failed
This can happen if a package is running on a node which then fails before the package control
script can deport the disk group. In these cases, the host name of the node that had failed is still
written on the disk group header.
When the package starts up on another node in the cluster, a series of messages is printed in the
package log file, as in the following example (the hostname of the failed system is Node1, and
the disk group is dg_01):
check_dg: Error dg_01 may still be imported on Node1
To correct this situation, logon to node1 And execute the following command:
vxdg deport dg_01
Once dg_01 has been deported from Node1, this package may be restarted via either
cmmodpkg(1M) or cmrunpkg(1M).
In the event that Node1 is either powered offor unable to boot, then dg_01 must be force
imported.
******************* WARNING**************************
The use of force import can lead to data corruption if Node1 is still running and has dg_01
imported. It is imperative to positively determine that Node1 is not running prior to performing
the force import. See -C option on vxdg(1M).
*******************************************************
To force import dg_01, execute the following commands on the local system:
vxdg -tfC import $dg
vxdg deport $dg
Follow the instructions in the message to use the force import option (-C) to allow the current
node to import the disk group. Then deport the disk group, after which it can be used again by
the package. Example:
vxdg -tfC import dg_01
vxdg deport dg_01
The force import will clear the host name currently written on the disks in the disk group, after
which you can deport the disk group without error so it can then be imported by a package
running on a different node.