HP XC System Software Installation Guide Version 3.2.1
if [ -f $NEWF ]
then
echo "replacing $i with $NEWF"
rm $i
mv $NEWF $i
fi
fi
done
3.8 Task 7: Run the cluster_config Utility to Configure the System
The next step in the process is to configure the system. In this task, use the cluster_config
utility to review default role assignments and modify the role assignments on all nodes in the
system based on the size of the system (and other considerations, such as improved availability).
Depending upon the role assignments, the cluster_config utility prompts you to configure
services (such as NAT, NIS, LVS) and prompts you to configure software components such as
LSF (either LSF-HPC with SLURM or standard LSF), SLURM, and Nagios.
When you indicate that you are satisfied with the node role assignments and your configuration
choices, the cluster_config utility builds the configuration and management database, starts
all services on the head node and other service nodes, and creates the golden image from which
all other nodes are replicated.
NOTE:
The cluster_config utility processing time can take approximately ten minutes longer if it
is run on a head node that is configured for improved availability with Serviceguard when the
remaining nodes of the cluster are up and running.
After the entire system has been imaged and booted, you might need to re-run the
cluster_config procedure to modify the node configuration. If the other node in the availability
set with the head node is up and running, the Serviceguard daemons attempt to establish
Serviceguard related communication with the node when they are restarted. Because the other
node in the availability set is not actively participating in a Serviceguard cluster, it will not
respond to the Serviceguard communication.
The Serviceguard software on the head node retries this communication until the communication
times out. On a system running with the default Serviceguard availability configuration, the
time out is approximately ten minutes.
Follow this procedure to configure the system:
1. Start a script to capture command output into a file. This step is optional, but HP recommends
doing so.
# 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
4. Decide whether you want to back up the database before proceeding:
HP recommends that you back up the database before proceeding.
Do you want to back up the database? (yes/no) [y]: y
3.8 Task 7: Run the cluster_config Utility to Configure the System 87