HP XC System Software Administration Guide Version 2.1
.
.
.
common
newrole
EOT
b. Add the name of the new service to t he stanza that lis
ts all the services:
services = <<EOT
cmf
.
.
.
swmlogger
newservice
EOT
c. At the end of the file, create a new stanza specifyin
g the role and the service:
newrole = <<EOT
newservice
EOT
d. Save the file.
4. Update the configu ration and manag emen t database:
# reset_db
5. Restart and in itialize the cmdb w ith the cluste
r_prep command:
# /opt/hptc/config/sbin/cluster_prep
6. Execute the discover command to discover network components:
# /opt/hptc/config/sbin/discover --system
_______________________ Note _______________________
You m ay need to use other options to the discover command, depending
on your system. See the discover
(8) manpage.
7. Run the cluster_config utility:
# /opt/hptc/config/sbin/cluster_config
--verbose
The cluster_config utility ident ifies t h e new role from the roles_services.ini
file and makes it available to b e assigned on any of the nodes.
8. Reimage the applicable node or nodes. This is described in Chapter 7.
3.6 Global System Services
Some system services need to run on all nodes. When the golden image is updated from the
golden client, the list of system services that are started automatically on each client is based on
a template file, /opt/hptc/systemimager/etc/chkconfig.map.
Entries in the chkconfig.map file indicate i f the named service is to be turned on or turned
off on all the nodes in an HP XC system at a given run level. The following entry describes the
disposition of the crond service:
crond 0:off 1:off 2:on 3:on 4:on 5:on 6
:off
The o utp ut of the chkconfig --list command displays data i n the same format.
See Section 7.5 for information on global system services from the perspective of updating the
golden image.
3-8 Managing System Services