HP XC System Software Administration Guide Version 3.0
You may need to use other options to the discover command, depending on your system. See
discover(8).
10. Run the cluster_config utility:
# /opt/hptc/config/sbin/cluster_config
Be sure to use the analyze command and review the output. Ensure that the service's role is assigned
the correct number of servers. If the assigned number of servers is insufficient, edit the service.ini
file accordingly and repeat from step 7.
11. Reimage the applicable node or nodes. This is described in Chapter 8.: Distributing Software Throughout
the System (page 79).
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 head 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 stanza that lists all the roles:
roles = <<EOT
node_management
.
.
.
common
newrole
EOT
b. Add the name of the new service to the stanza that lists all the services:
services = <<EOT
cmf
.
.
.
swmlogger
newservice
EOT
c. At the end of the file, create a new stanza specifying the role and the service:
newrole = <<EOT
newservice
EOT
d. Save the file.
4. Create the service.ini file if the service is not assigned to the common role. The file is named
/opt/hptc/config/etc/services/newservice.ini in this example.
5. Optionally back up the configuration and management database. See “Backing Up the Configuration
Database” (page 59) for more information.
52 Managing System Services