Managing HP Serviceguard A.11.20.10 for Linux, December 2012

4.7.1 Easy Deployment: cmpreparecl
The cmpreparecl script allows you to ease the process of setting up the servers participating in
the cluster. It also checks for the availability of ports used by Serviceguard Linux, starts the xinetd
services, updates specific files, and sets up the firewall. As of Serviceguard A.11.20.10, the
cmpreparecl script is supported.
NOTE: After you run the cmpreparecl script, you can start the cluster configuration.
Advantages
Simple ways to configure the system before you create a cluster.
Configuration for all the nodes can be done from one of the nodes in the cluster.
Limitations
All the nodes that are part of the cluster must be known before hand.
NOTE: After the configuration is complete, you cannot add the nodes.
Does not set up lock LUN or quorum server.
Does not ensure that all other network connections between the servers are valid.
Before You Start
IMPORTANT: The nodes which are given as inputs should not have cluster configured in them.
Before you start, you should have done the planning and preparation as described in previous
sections. You must also do the following:
Install Serviceguard on each node that is to be configured into the cluster; see “Installing and
Updating Serviceguard ” (page 129).
You must have superuser capability on each node.
Make sure all the nodes have access to at least one fully configured network.
Make sure all the subnets used by the prospective nodes are accessible to all the nodes.
Using cmpreparecl to Configure the System
The following example illustrates how to prepare two nodes using the cmpreparecl command:
1. Verify the prerequisites for cluster configuration:
cmpreparecl n <node1> n <node2> -p
2. Run the cmpreparecl command with the nodes on which the cluster needs to be configured:
cmpreparecl n <node1> n <node2>
3. The cmpreparecl command performs the following actions:
a. Verifies the availability of ports required by Serviceguard. For information about port
requirements on Red Hat Enterprise Linux Server and SUSE Linux Enterprise Server, see
HP Serviceguard A.11.20.10 for Linux Release Notes.
b. Confirms the runlevels of xinetd and set xinetd to run at boot.
c. Enables the ident protocol daemon. Starts authd on Red Hat Enterprise Linux Server
and starts identd on SUSE Linux Enterprise Server.
d. Restarts the xinetd service.
e. Sets the Serviceguard manual pages paths.
82 Planning and Documenting an HA Cluster