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

HP-UX Handbook Rev 13.00 Page 15 (of 108)
Chapter 15 Serviceguard
October 29, 2013
Serviceguard commands
In order to understand explanations in the rest of the manual, it is helpful to have a Serviceguard
command reference. The following list of Serviceguard commands are arranged by category and typical
order of operation. Most Serviceguard commands can be run from any node in the cluster. NOTE:
Some of the commands (or options) are new with Serviceguard A.11.20.
=============================================================================
=
======================== CONFIGURATION COMMANDS
==========================
=============================================================================
=
cmpreparecl - modifies system files as required for cluster creation. - (new
with A.11.20)
Usage: cmpreparecl [-n node_name ]... [-t]
Option meaning:
-n Hostname of server intended to be a member of the cluster
-t Preview (test) system file changes
_____________________________________________________________________________
_
cmsetdsfgroup - Create and modify a cDSF (cluster device special file) group.
(new with A.11.20)
Usage: cmsetdsfgroup [-v] [-n node_name ] [-a [-n node_name ] ... ]
[-r [-f] [-n node_name ] ... ] [-v] [-f]
[[-n node_name ]...] [-c|-q]
Option meaning:
-n node_name Specifies the name of a node to include in the cDSF group.
-a Adds nodes specified by -n node_name arguments to an
existing cDSF group.
-r Removes the nodes specified by -n node_name arguments from
an existing cDSF group.
-c Creates a cDSF group from the members of the existing local
Serviceguard cluster.
-f When used with -r and -n, forces the removal of the
specified nodes, even if those nodes are unreachable or
have an inconsistent configuration.
-q Returns info on the current cDSF group.
_____________________________________________________________________________
_
cmpreparestg - Create or modify LVM or VxVM/CVM storage shared between
Serviceguard nodes. (new with A.11.20)
Usage: cmpreparestg {-l vgname | -g dgname} [{-p pv_path... |-P pvs_file}]
{-L [lvname] |-c lv_counts} [-m mountpoint]
[-o " option string " ... ] [-n node_name]... [-t]
Option meaning:
-l vgname Creates or modifies a LVM or a shared LVM (SLVM) VG group.
-g dgname Creates or modifies a VxVM/CVM disk group.
-p pv_path The device path names of a physical volume on the node
where the command is run.