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 8 Distributing Software Throughout the System

Maintaining Service Configuration Globally

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

When the golden image is updated from the golden client, the list of system services that are started automatically on each client is set based on a template file, /opt/hptc/systemimager/etc/chkconfig.map. This template attempts to turn on only those services that should be run on all nodes. This provides a common denominator for a golden image that must serve all client nodes.

The global and node-specific configuration framework (gconfig and nconfig) configures additional node-specific services, as the node is initially installed, based on how the HP XC system was defined during configuration.

If you are adding software that contains services that should run on all nodes, see “Propagating the Golden Image to All Nodes” for the instructions on updating the golden image and propagating it to client nodes if this software provides a system service that should be started automatically on all client nodes on system reboot. If the service is not automatically turned on as a result of the software installation process, use the chkconfig command to start the service on the head node before updating the golden image. For example:

# chkconfig --level 2345 service on

Add an entry in the /opt/hptc/systemimager/etc/chkconfig.map file whenever you add a new service, regardless of whether it applies globally to the HP XC system or is specific to one node or several nodes. This entry ensures that the correct service orientation (ON or OFF) in the golden image is always maintained.

To install software that contains services appropriate for only one or a handful of nodes, update the chkconfig.map file to add the name of the service, so that the golden image will maintain the service in the default OFF orientation, because few nodes run this service. Use the following procedure:

  1. Log in as the superuser on the head node.

  2. Use the squeue command to ensure that no current LSF-HPC jobs are running and that the SLURM queues are idle.

  3. Install the software on the golden client.

    Note the names of the services that are created as a result.

  4. Create global or node-specific configuration files (gconfig or nconfig) or both, if the services will run only on some specialized nodes.

  5. Place the gconfig files in /opt/hptc/etc/gconfig.d, the nconfig files in /opt/hptc/etc/nconfig.d, and the configuration files in /opt/hptc/etc/cconfig.d, using an appropriate priority ordering based on the prefix of the file name.

  6. Update the /opt/hptc/systemimager/etc/chkconfig.map file by adding the new service names, with the service orientation OFF for all run levels. The nconfig, the configuration script, or both, enable the service only on those nodes on which they are intended to run.

  7. Execute all gconfig scripts and update the golden image:

    # /opt/hptc/config/sbin/cluster_config
  8. Determine the name of the node that provides the imageserver service with the shownode command:

    # shownode servers imageserver

    The node name returned is used as the argument to the --server option in the next step.

  9. Distribute the golden image update to all nodes by using the information in “Propagating the Golden Image to All Nodes”.

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