Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP XC System Software : Administration Guide > Chapter 4 Managing and Customizing System Services

Stopping a Service

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The method to use to stop 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 stop an individual service on the current node:

# service servicename stop

Use the pdsh command with the service command, as shown here, to stop a service on one or more designated nodes:

# pdsh -w nodename "/sbin/service servicename stop"

Use the following command to stop the service on all nodes:

# pdsh -a "/sbin/service servicename stop"

Improved Availability Is in Effect

If improved availability is in effect, you must stop the service using your system's availability tool. Following is an example of how to stop the nagios service using HP Serviceguard. This example stops the Nagios master, which is running on node n128.

  1. Run the Serviceguard cmviewcl command to determine which node the Nagios master is running on:

    # cmviewcl | grep nagios
       nagios.n128     up           running      enabled      n128
  2. Stop the nagios service, nagios.n128, with the following Serviceguard command:

    # cmhaltpkg nagios.n128
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2003 Hewlett-Packard Development Company, L.P.