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 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 ]]
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.
Table 3-1 HP XC System Services
| Service | Function | Database Name |
|---|
| Console Management Facility Master | Communicates with node consoles. | cmfd |
| Database Server | Runs the management database server. | dbserver |
| DHCP Server | Assigns IP addresses to nodes. | dhcp |
| Myrinet Switch Monitor | Monitors the Myrinet switch. | gmmon |
| Hardware Information Gathering | Gathers information about hardware for the management database. | gather_data |
| Environment Monitoring for DL585 | Environmental monitor for ProLiant DL585 servers only. | hpasm |
| HPC File System Server | Serves the /hptc_cluster file systems. | hptc_cluster_fs |
| HPC File System Client | Mounts the /hptc_cluster file systems. | hptc_cluster_fs_client |
| License Manager | Manages licenses for HP XC components. | hptc-lm |
| Apache Web Server | Web server used by Nagios. | httpd |
| Image Server | Holds and distributes the system images. | systemimage-server-rsync |
| IP Firewall | Sets up IP firewalls on nodes. | iptables |
| LSF-HPC Master Node | Load Sharing Facility for HP XC master node. | lsf |
| LVS Director | Handles the placement of user login sessions on nodes when a user logs in to the cluster alias. | lvs |
| Supermon Monitoring | Monitors nodes. | mond |
| HP MPI system interconnect Setup | Sets up HP MPI to use the correct system interconnect for your system. | mpiic |
| Nagios Aggregator | Aggregates information from Nagios daemons on multiple nodes. | nagios |
| NAT Server | Network Address Translation server. | nat |
| NAT Client | Network Address Translation client. | nat_client |
| Network Adapter Setup | Gathers information about all network adapters and stores it in the management database. | network |
| NFS Server | Runs an NFS server for sharing file systems. | nfs_server |
| Nagios Remote Plugin Executer | Executes plugins on remote hosts. | nrpe |
| Nagios Service | Submits passive service check results to another server running Nagios. | nsca |
| Network Time Protocol | Synchronizes the clocks of nodes. | ntp |
| Parallel Distributed Shell | High-performance, parallel remote shell utility. | psdh |
| Power Daemon Server | Manages node power. | powerd |
| Slurm Compute | Runs the slurmd daemon to allow jobs to be scheduled by SLURM. | slurm_compute |
| Slurm Central Control Service | Manages nodes, partitions, and jobs. | slurm_controller |
| Slurm Launch | Allows user to launch jobs on nodes with slurm_compute service. | slurm_launch |
| Supermon | System Monitoring daemon. | mond |
| Supermon Aggregator | Gathers information from subordinate nodes running Supermon. | supermond |
| Syslog | System logging service. | syslog |
| Syslog-ng Aggregator | Gathers logging information from subordinate nodes running syslog. | syslogng_forward |
| Quadrics Switch Monitor | Monitors the Quadrics switch for problems. | swmlogger |
Management hubs are used to aggregate system information for a set of local nodes. Each management hub runs the following services:
Supermon aggregator (supermond)
Syslog-ng aggregator (syslogng_forward)
Console Management Facility (CMF)
“Displaying Services Information” describes commands that provide information on services, that is, how to display a list of services, which services are provided on a given node, and which nodes provide a given service.