HP XC System Software Administration Guide Version 3.1

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. Ensure that the configuration scripts for newservice (gconfig, sconfig, nconfig, or cconfig)
are in the appropriate /etc/hptc/etc/*config.d directory.
6. Back up the system management database:
# managedb backup file_name
7. Run the cluster_config utility with the --init option:
# /opt/hptc/config/sbin/cluster_config --init
The cluster_config utility identifies the new role from the roles_services.ini file and makes
it available to be assigned on any of the nodes.
Be sure to use the [A]nalyze menu option and review the output. Ensure that the role is assigned the
correct number of servers. If the assigned number of servers is insufficient, edit the service.ini
file accordingly and repeat this step.
8. Reimage the applicable node or nodes as described in Chapter 10 (page 129).
4.6.11 Verifying a New Service
Follow this procedure to verify the correct configuration of the new service:
1. Use the [A]nalyze menu option of the cluster_config utility to verify that the service.ini file
is performing correctly and producing reasonable recommendations for the new service.
2. Look for any errors produced by the configuration scripts (sconfig, gconfig, nconfig, and
cconfig) for the new service.
Description of service.ini File Parameters 73