HP XC System Software Administration Guide Version 2.1
.
.
.
swmlogger
newservice
EOT
b. Add the name of the new service to the stanza for the ap
propriate role. This example
uses the common role.
common = <<EOT
cmf_client
.
.
.
syslogng
newservice
EOT
c. Save the file.
5. Update the configu ration and manag emen t database:
# reset_db
6. Restart and in itialize the cmdb w ith the cluster_prep command:
# /opt/hptc/config/sbin/cluster_prep
7. Execute the discover command to discover network components:
# /opt/hptc/config/sbin/discover --system --verbose
_______________________ Note _______________________
You m ay need to use other options to the discover command, depending
on your system. See the discover
(8) manpage.
8. Run the cluster_config utility:
# /opt/hptc/config/sbin/cluster_config
9. Reimage the applicable node or nodes. This is described in Chapter 7.
3.5.3 Creating a Role and Adding a Service to It
Use the following procedure to create a role for a new service, then add that service to that
role. This procedure uses the terms newrole and newservice to illustrate their placement in
the role_services.ini file.
_________________________ Note _________________________
Only perform this procedure when you have exclusive use of the HP XC system
and when no jobs are running on the system because the procedure requires that
you reimage nodes.
1. Log in as the superuser on the h ead node.
2. Copy the roles_services.ini file:
# cd /opt/hptc/config
# cp role_services.ini role_services.ini.BAK
3. Edit the roles_services.ini file as follows:
a. Add the name of the new role to the stanz a that l ists all t he roles:
roles = <<EOT
node_management
Managing System Services 3-7