Upgrading to HP Serviceguard 11.17 with Cluster Volume Manager/Cluster File Systems, December 2005

New HP Serviceguard commands
Several new Serviceguard commands are available when one of the CFS bundles is installed to help
manage the storage infrastructure. Following is an overview of their syntax and functionality. All of
these commands are described in detail in their man pages and in Managing Serviceguard Twelfth
Edition.
The functionality offered by these commands is also accessible through the VERITAS Enterprise
Administrator (VEA) tool. VEA offers an intuitive graphical user interface and can simplify many
VERITAS and Serviceguard storage-related configuration tasks.
Normally, all the MNPs administered with these commands will be created with the AUTO_RUN
attribute set to YES, so they will be started and stopped automatically when nodes join and leave the
cluster.
The system MNP, SG-CFS-pkg, which provides the CVM infrastructure, is managed with the following
commands:
cfscluster config
cfscluster unconfig
cfscluster start
cfscluster stop
cfscluster status
No additional parameters are required by these commands. They allow the SMNP to be created,
deleted, started, stopped, and monitored in a simple manner. These commands always affect all
nodes of the cluster.
CVM disk groups are administered with the cfsdgadm command. The following is a syntax summary
for this command.
cfsdgadm add <shared_disk_group> [<package_name>]
<node_name>=<activation_mode> ...
cfsdgadm add <shared_disk_group> [<package_name>]
all=<activation_mode> [[node_name] ...]
cfsdgadm delete <shared_disk_group>
cfsdgadm modify <shared_disk_group> <node_name>=<activation_mode> ...
cfsdgadm modify <shared_disk_group> all=<activation_mode>
cfsdgadm modify <shared_disk_group> add <node_name>=<activation_mode> ...
cfsdgadm modify <shared_disk_group> delete <node_name> ...
cfsdgadm modify <shared_disk_group> dg <new_shared_disk_group_name>
cfsdgadm move <source_shared_disk_group> <target_shared_disk_group>
cfsdgadm show_package <shared_disk_group>
cfsdgadm show_autorun <shared_disk_group>
cfsdgadm display [-v] [<shared_disk_group>]
cfsdgadm set_autorun <shared_disk_group> {YES|NO}
cfsdgadm activate <shared_disk_group> [[<node_name>] ...]
cfsdgadm deactivate <shared_disk_group> [[<node_name>] ...]
To configure Serviceguard to manage a CVM disk group with the preceding commands, the disk
group must be created first with vxdg –s init on the CVM master node (as reported by
cfscluster status or by vxdctl –c mode). CVM disk groups can also be configured with
VEA, which provides a convenient graphical interface for this task.
CFS mount points, checkpoints, and snapshots are administered using the cfsmntadm command. The
following is a syntax summary, as applicable to mountpoints:
6