HP-UX HB v13.00 Ch-15 - Serviceguard
HP-UX Handbook – Rev 13.00 Page 26 (of 108)
Chapter 15 Serviceguard
October 29, 2013
-o output_file Write configuration info to a specified output file.
-s Display the configuration info to the screen only.
--- end of command list ---
Preparation to build a cluster
Version of Serviceguard installed
Depending in the information sought; use one of the following methods:
# cmversion
A.11.19.00
# what /usr/lbin/cmcld | grep A.11
A.11.19.00 Date: 03/17/11 Patch: PHSS_41902
# swlist | grep guard ; swlist –l product | grep guard
B5140BA A.11.31.06 Serviceguard NFS Toolkit
T2775DB A.03.00 HP Serviceguard Cluster File
System
PHSS_41902 1.0 Serviceguard A.11.19.00
–snipped-
Network configuration
Serviceguard commands use networking ports identified with the ‘hacl’ string in /etc/services
and /etc/inetd.conf file. Commands are dependent on identd, called out in /etc/inetd.conf, to
authenticate Serviceguard commands. Before attempting to run Serviceguard commands, insure
the following:
- TO avoid Serviceguard command failure if DNS fails, configure /etc/nsswitch.conf with
this line:
hosts: files dns
- Each node’s /etc/hosts must list every Ethernet IP assigned to any node in the cluster and
those IPs must be aliased to the simple hostname of the host node.
- Create /etc/cmcluster/cmclnodelist, and populate it like .rhosts, listing every cluster
member. Example:
node1 root
Check whether Serviceguard network ports:
# netstat -a | grep hacl
tcp 0 0 *.hacl-probe *.* LISTEN
tcp 0 0 *.hacl-cfg *.* LISTEN
udp 0 0 *.hacl-cfg *.*
Check for clusters
The cmquerycl command can be used to either search for existing Serviceguard clusters in the
network or create a cluster configuration ASCII file. This basic cmquerycl command may take
some time to complete.