HP XC System Software Administration Guide Version 4.0

Table Of Contents
4 Managing and Customizing 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 57)
“Displaying Services Information” (page 59)
“Restarting a Service” (page 61)
“Stopping a Service” (page 62)
Adding a New Service” (page 74)
“Global System Services” (page 62)
“Customizing Services and Roles” (page 62)
4.1 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 8 (page 105) 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 4-1 lists key Linux system services and key services from third-party sources. These services
are listed alphabetically by their database name.
Table 4-1 Linux and third-party System Services
Database NameFunctionService
dbserver
Runs the management database server.Database Server
dhcp
Assigns IP addresses to nodes.DHCP Server
gmmon
Monitors the Myrinet switch.Myrinet Switch Monitor
gather_data
Gathers information about hardware for the
management database.
Hardware Information
Gathering
httpd
Web server used by Nagios.Apache Web Server
4.1 HP XC System Services 57