HP XC System Software Administration Guide Version 3.2

The shownode services node client command does not display any output if no client
exists.
Another keyword, servers, allows you to determine the node that provides a specified node
its services. In this example, the node n3 is found to supply itself with several services:
# shownode services n3 servers
cmf: n3
dhcp: n3
lsf: n3
munge: n3
nagios: n3
nagios_monitor: n3
nsca: n3
ntp: n3
slurm: n3
supermond: n3
syslogng_forward: n3
The shownode services node server command displays no output if no server exists.
For more information, see shownode(8).
4.3 Restarting a Service
The method to use to restart a service depends whether or not improved availability is in effect
for that service.
Improved Availability Is Not in Effect
Use the following command line syntax to restart an individual service on the current node:
# service servicename restart
Note:
Some services do not provide a restart option. For such services, you must issue a service
stop command followed by a service start command.
Use the pdsh command command with the service command to restart a service on the
designated nodes:
# pdsh -w nodename "/sbin/service servicename restart"
Use the following command from the head node to restart all services:
# service --full-restart
Improved Availability Is in Effect
If improved availability is in effect, you must restart the nagios service (that is, the Nagios
master) using your system's availability tool. Following is an example of how to restart the nagios
service using HP Serviceguard. This example restarts the Nagios master, which is running on
node n128.
1. Run the /usr/local/cmcluster/bin/cmviewcl command to determine which node
the Nagios master is running on.
# /usr/local/cmcluster/bin/cmviewcl | grep nagios
nagios.n128 up running enabled n128
2. Restart Nagios using the following Serviceguard commands.
# /usr/local/cmcluster/bin/cmhaltpkg nagios.n128
# /usr/local/cmcluster/bin/cmrunpkg -n n128 nagios.n128
# /usr/local/cmcluster/bin/cmmodpkg -e nagios.n128
4.3 Restarting a Service 63