HP XC System Software Administration Guide Version 2.1

The first stanza lists all the roles:
[global]
roles = <<EOT
node_management
compute
.
.
.
common
EOT
The second stanza lists all the services:
services = <<EOT
cmf
cmf_client
.
.
.
swmlogger
EOT
The rema ining stanzas, which follow the [roles_to_services] designator, each
specify a role and list all the services for that role; the stanzas for the compute,
external,anddisk_io roles are show n here:
[roles_to_services]
compute = <<EOT
slurm_compute
mond
nrpe
EOT
external = nat
disk_io = <<EOT
nfs_server
EOT
.
.
.
3.5.2 AddingaServicetoanExistingRole
_________________________ 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.
This procedure ad ds a service called newservice to the common role:
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. Determine the role that best suits the new service.
Use the shownode servers command to determ in e which nodes currently provide the
services for that role. This command is described in Section 3.2.2.
4. Edit the roles_services.ini file as follows:
a. Add the name of the new service to the stanza that lists the s ervices.
services = <<EOT
cmf
3-6 Managing System Services