HP Serviceguard for Linux Version A.11.20.00 Deployment Guide, August 2012

22
7. Choose additional modules for extra Serviceguard capabilities.
8. The modules in the Required Modules table are set by default and cannot be changed. In the
Select Modules table, you can select additional modules (or deselect the default
recommended selections) by clicking the check box next to each module that you want to add
(or remove) from the package.
9. Click [Next >>]. The first of several consecutive sg/failover modules configuration screens
appears with the following message at the top of the screen:
Step 1 of X: Configure Failover module attributes (sg/failover)
X will vary, depending on how many modules you selected.
10. There are two tables in this screen, Select Nodes and Specify Parameters. By default, nodes
and node order are pre-selected in the Select Nodes table. You can deselect nodes, or
change the node order, to accommodate your configuration requirements. Alternatively, you
can select Enable package to run on any node configured in the cluster (node order defined
by Serviceguard) and allow Serviceguard to define the node order.
11. Move the cursor over each of the configurable parameters to reveal tool tips with more
information about the parameter, and make selections or edits to meet your requirements,
then click [Next >>].
12. Click Next >>. The second of several consecutive sg/failover modules configuration screens
will appear. Fill in the required fields and accept or edit the default settings.
Step 2 of X: Configure Apache web server parameters (tkit/apache/apache).
13. Fill in the required fields and accept or edit the default settings.
14. Click Next >> at the bottom of the screen to open the next screen in the series.
15. After completing all the configuration screens, the Verify and submit configuration change
screen will be displayed. Use the Check Configuration and Apply Configuration buttons at
the bottom of the screen to confirm and apply your changes.
Customize and Distribute Toolkit Files
To customize and distribute the Toolkit files and the httpd.conf file, perform the following steps:
1. Login to one of the cluster nodes, for example eve.
2. Change to the ws package directory.
cd /usr/local/cmcluster/conf/ws
3. Copy the Apache Toolkit files into the package directory.
cp /usr/local/cmcluster/apachetoolkit/*.
4. Edit hahttp.conf to change following line for the location of the httpd.conf file.
HTTPD_CONFIG_FILE="/usr/local/cmcluster/conf/ws/httpd.conf"
5. Copy the default httpd.conf file to the package directory, for example:
cp /etc/httpd/conf/httpd.conf .
6. Edit the package’s httpd.conf file. These tell the Apache instance (httpd) in the “ws” package
to use content from the shared volume group (/dev/vgws mounted at /ws) and specifies the
listen address to be the package’s relocatable IP address. Change the following directives,
for example:
DocumentRoot “/ws
Listen 16.89.84.218:80
7. Copy the Toolkit files and httpd.conf file to other node, for example adam:
scp ha* root@adam:/usr/local/cmcluster/conf/ws/.
scp toolkit.sh root@adam:/usr/local/cmcluster/conf/ws/.
scp httpd.conf root@adam:/usr/local/cmcluster/conf/ws/.
Start the Sample Package
You must run the package to complete the configuration:
1. From your browser, on the HP Serviceguard Manager Summarypage, select the ”ws”
package.
2. From the Administrationmenu, select “Run Package”.