Managing Serviceguard Eighteenth Edition, September 2010

Disabling Serviceguard
If for some reason you want to disable Serviceguard on a system, you can do so by
commenting out the following entries in /etc/inetd.conf:
hacl-cfg dgram udp wait root /usr/lbin/cmclconfd cmclconfd -p
hacl-cfg stream tcp nowait root /usr/lbin/cmclconfd cmclconfd -c
Then force inetd to re-read inetd.conf:
/usr/sbin/inetd -c
You can check that this did in fact disable Serviceguard by trying the following
command:
cmquerycl -n nodename
where nodename is the name of the local system. If the command fails, you have
successfully disabled Serviceguard.
NOTE: You should not disable Serviceguard on a system on which it is actually
running. If you are not sure, you can get an indication by means of the command:
ps -e | grep cmclconfd
If there are cmclconfd processes running, it does not mean for certain that Serviceguard
is running on this system (cmclconfd could simply be handling UDP queries from a
Serviceguard cluster on the same subnet) but it does mean you should investigate
further before disabling Serviceguard.
Removing Serviceguard from a System
To remove Serviceguard from a node, use the swremove command.
CAUTION: Remove the node from the cluster first. If you run the swremove command
on a server that is still a member of a cluster, it will cause that cluster to halt, and the
cluster configuration to be deleted.
To remove Serviceguard:
1. If the node is an active member of a cluster, halt the node.
2. If the node is included in a cluster configuration, remove the node from the
configuration.
3. If you are removing Serviceguard from more than one node, issue swremove on
one node at a time.
398 Cluster and Package Maintenance