HP Serviceguard for Linux Version A.11.19 Deployment Guide, September 2012

29
#nodes participating in the cluster, repeat these pairs
#for each cluster member node being configured.
#Note: The HOSTNAME and IP_ADDR parameters are a pair of
# parameters and need to be
# specified together.
############################################################
HOSTNAME= adam.cup.hp.com
IP_ADDR= 16.89.84.245
HOSTNAME= eve.cup.hp.com
IP_ADDR= 16.89.84.247
#*************************************************************
# "NON_ROOT_USER" specifies the non-root user account that
# is also allowed access to the cluster.
#
# Enter the list of non-root users allowed to access this
# cluster in the format :
# NON_ROOT_USER=SomeUserName
#
# Example:
# NON_ROOT_USER=abcd
#
# Repeat these 'non-root user name' for all users being
# allowed access to the cluster.#
#*************************************************************
NOTE: This last section is left blank indicating that only “root” users are enabled to manage the
cluster.
The script comes with its own README. Refer to the README for additional information.
2. Change to the directory containing the configuration script, for example:
cd /tmp/sglx_install
3. Make sure the configuration script is executable:
4. Run the script:
NOTE: Please note that if you are running the evaluation version of Serviceguard for Linux; please
purchase a license to continue using Serviceguard for Linux beyond 90 days. To update the
evaluation license key, please refer the instructions in the release notes.
Test Volume Group Activation On Each Node
This should be done for each volume group, vgws and vgclog, to verify volume group activation on
each server. The steps shown here are for vgws.
1. On the first server (for example, adam)
a. Activate volume group:
b. Write test file to volume group:
echo “Written by” `hostname` “on” `date` > /ws/test
cat /ws/test
NOTE: If you try to activate vgws on the other server, it should fail. For example:
vgchange -a y vgws
0 logical volume(s) in volume group "vgws" now active