HP XC System Software Administration Guide Version 3.1
4.6.8 Editing the roles_services.ini File
Adding a new service to the roles model requires you to do one of the following:
• Add the service to an existing role or roles
• Add a new role or roles for the new service and add the new service into the new role or roles
You can accomplish both these tasks by editing the /opt/hptc/config/roles_services.ini file
and adding the new service name to an existing role or a new role. This file is organized into stanzas as
follows:
• The first stanza lists all the roles:
[global]
roles = <<EOT
node_management
compute
.
.
.
common
management_server
EOT
• The second stanza lists all the services:
services = <<EOT
cmf
compute_engine
.
.
.
swmlogger
syslogng_forward
EOT
• The remaining stanzas, which are listed after the [roles_to_services] designator, each specify
a role and list all the services for that role. The stanzas for the compute, external, and disk_io
roles are shown here:
[roles_to_services]
compute = <<EOT
compute_engine
EOT
external = nat
disk_io = <<EOT
nfs_server
EOT
.
.
.
4.6.9 Creating a service.ini File
Services that are not assigned to the common role need a corresponding service.ini file that defines
its configuration needs to the cluster_config utility. The service.ini files for all services are located
in the /opt/hptc/config/etc/services directory.
The file name is based on the name of the service; for example, the cmf.ini and supermond.ini files
are the .ini files for the cmf and supermond services, respectively. Services assigned to the common role
68 Managing and Customizing System Services