HP XC System Software Installation Guide Version 3.1

# script your_filename
2. Change to the configuration directory:
# cd /opt/hptc/config/sbin
CAUTION: Make sure that no other terminal windows or shells are actively open in the
/hptc_cluster directory. The cluster_config utility does not properly export the
/hptc_cluster directory if any processes are using the directory when the cluster_config
utility mounts the file system.
3. Begin the cluster configuration process:
# ./cluster_config
HP recommends that you back up the database before proceeding.
Do you want to back up the database? (yes/no) [y]: y
The default location for the backup file is the /var/hptc/database directory.
4. Proceed to “Task 8: Configure Availability Sets” to configure availability sets if you have installed
and configured an availability tool (such as HP Serviceguard).
Otherwise, proceed to “Task 9: Assign Node Roles” (page 68).
3.9 Task 8: Configure Availability Sets
This task is optional. If you have not installed and configured an availability tool, you are not prompted
to configure availability sets.
“Task 9: Plan a Service Availability Strategy” (page 26) described the advance planning that is required
to achieve improved availability of services. Planning includes determining the services for which you
want to configure improved availability, the nodes you want to associate in availability sets, and special
considerations for role assignments on the head node.
The first step to enable improved availability is to define nodes into availability sets now. Keep in mind
the default node role assignments and decide on the nodes you want to associate in an availability set.
For example, assume that you have decided that nagios and nat are the services for which you want to
enable improved availability. For the purposes of this example, use nodes n7 and n8. Thus, if one of those
nodes becomes unavailable, the services fail over to the other node.
When the cluster_config utility prompts you to configure availability sets, you configure nodes n7
and n8 into an availability set and assign node roles accordingly. Using this example, you assign the
external and management_server roles to both nodes.
The following criteria must be met to configure improved availability of services:
You have purchased, licensed, installed, and configured an availability tool (such as Serviceguard) .
You have written and positioned tool-specific translator and other related scripts in the
/opt/hptc/availability/availability_tool directory.
NOTE: Scripts for HP Serviceguard were automatically created and positioned for you when you
installed the HP XC Serviceguard RPM. You are responsible for writing and positioning these scripts
if you are using another availability tool.
As described in “Deciding on the Method to Achieve Quorum for Serviceguard Clusters” (page 41),
you have configured a lock LUN, or you know which node you plan to use as the quorum server (if
using Serviceguard).
Define Availability Sets
If all criteria have been satisfied, the cluster_config utility prompts you to define availability sets, as show
in the following procedure.
66 Configuring and Imaging the System