HP XC System Software Administration Guide Version 3.0

3. Managing System Services
This chapter describes the HP XC system services and the procedures for their use. This chapter addresses
the following topics:
HP XC System Services (page 43)
Displaying Services Information (page 45)
Restarting a Service (page 47)
Stopping a Service (page 47)
Adding a Service (page 47)
Global System Services (page 53)
HP XC System Services
A
service
is a process that monitors a specific condition but is usually otherwise inactive. When the condition
changes, the service activates itself to perform a given function. In addition to the Linux services, there are
HP XC system services, which are described in this chapter, and Nagios services. Chapter 6.: Monitoring
the System (page 61) contains information on Nagios.
The service command is the primary means for stopping and restarting services on the HP XC system.
The syntaxes of the service command are as follows:
service [servicename [subcommand ]]
service --status-all
In the [servicename [subcommand]] syntax statement, the available subcommands depend on the
individual servicename. Consider the following example, in which the user invokes the service snmpd
command, then invokes the service nagios command. In each instance, a usage note is returned.
# service snmpd
Usage: /etc/init.d/snmpd
{start|stop|status|restart|condrestart|reload}
# service nagios
Usage: nagios {[n]start|[n]stop|[n]restart|reload|status|condrestart}
{|[un]nconfigure|[un]gconfigure}
The options for each service differ. The snmpd and nagios services both have the start, stop, status,
restart, and reload subcommands in common, but other subcommands are unique to the individual
service.
Usually, the start, stop, restart, and status subcommands are available for all services.
Table 3-1. lists key HP XC system services and their corresponding service names.
HP XC System Services 43