HP XC System Software Administration Guide Version 3.2

Advance Planning” (page 72)
“Editing the roles_services.ini File” (page 72)
“Creating a service.ini File” (page 73)
Adding a New Service” (page 76)
“Verifying a New Service” (page 78)
4.6.1 Overview of the HP XC Services Configuration
HP XC System Software includes a predefined set of services that are delivered using node role
assignments; however, a third-party software installation might require you to add a service that
is not part of the default HP XC services model. On an HP XC system, you use the
cluster_config utility to assign node roles to nodes. Each node role delivers a specific set of
system services to the node. Both this document and the HP XC System Software Installation Guide
describe the set of predefined node roles and the services provided by them.
You can customize the services configured on your system by adding a new service to an existing
role or by creating a new role and adding a new service to it. You Customize services by using
the cluster_config utility and customized sconfigure, gconfigure, nconfigure, and
cconfigure configuration scripts that you write.
Table 4-3 provides a brief description of the scripts, utilities, and files that are involved in
customizing services.
Table 4-3 Components Used in Custom Services Configuration
Definition
Type of Configuration
PerformedItem
Configures systemwide functions and policies in the golden image,
the database, or both. Configures systemwide policies that are not
service specific. The script runs on the head node as part of
cluster_config processing.
Systemwide configuration
sconfigure script
Configures servers, clients, and their relationships and makes
service-specific changes in the golden image. The script runs on
the head node as part of cluster_config processing.
Global configuration
gconfigure script
Configures a node-specific instance of a server for a service. The
script runs on the head node as part of cluster_config
processing. It runs on other nodes when the nodes are reimaged
or rebooted to configure server-specific items that are not part of
the golden image
Node-specific instances of
a service
nconfigure script
Configures a node-specific instance of a client of a service. The
script runs on the head node as part of cluster_config
processing. The script runs on other nodes when the nodes are
reimaged or rebooted to configure client-specific items that are
not part of the golden image.
Node-specific instances of
a client
cconfigure script
Defines roles and the services delivered in each role.Services
roles_services.ini
file
Defines how a service is configured to the cluster_config
utility. The file name is based on the service name. If a service
does not have its own .ini file, the service can use the
default.ini file, if it is suitable.
Service configuration
details
service.ini files
Configures the system by invoking the service configuration
scripts, the roles_services.ini file, and the service.ini
files.
System configuration
utility
cluster_config
utility
4.6 Customizing Services and Roles 65