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

21
Go to the Network tab,
Enter in the “Subnets” section, for example:
Subnet: 16.89.84.128, Type: Heartbeat
Enter in the “Select Subnet Configuration” section, for example:
Node Network Address
adam bond0 16.89.84.245
eve bond0 16.89.84.247
Go to the Lock tab
For the Cluster Lock Type, Select “Lock Lun”
Enter the Lock Lun Path for each node, for example:
Node Lock Lun Path
adam /dev/mapper/mpath0p1
eve /dev/mapper/mpath0p1
Select Finish.
NOTE: When using Device Mapper Multipath, the path to the cluster Lock LUN, for example
/dev/mapper/mpath0p1, must be the same on each node.
Select Check Configuration. Look for any errors.
NOTE: You may get a warning about the default NODE_TIMEOUT value. This warning can
be ignored here, but refer to the documentation when finalizing your cluster.
Select Apply Configuration. Select “OK” in the pop-up dialog box.
To verify the cluster configuration, run the following options from Administration menu of the
HP Serviceguard Manager Summary page to test that each node can run the cluster in the
event that the other node fails:
a. Administration -> Run Cluster (on both nodes)
b. Administration -> Halt Node (select adam)
c. Administration -> Run Node (on adam)
d. Administration -> Halt Node (select eve)
Configure a Sample Package
In this section, you will configure a Serviceguard for Linux package, called ws, for an Apache web
server using scripts from the Apache Toolkit. The content for the web server resides on the shared
volume group, vgws, and is accessed from a browser at a relocatable IP address. This way the user
browsing the content does not need to know which node is hosting the web server. Users can access
the web browser from using a single URL, regardless of which node is hosting the web server.
Create Package from Serviceguard Manager
1. On the HP Serviceguard Manager Summarypage, go to the Configurationmenu and
select “Create a Modular Package…”.
2. Click Configuration in the menu toolbar, then select Create a Modular Package from the drop
down menu.
3. If toolkits are installed, the Toolkits Selection screen for selecting toolkits appears. Click yes
radio button following Do you want to use a toolkit?
4. Select Apache toolkit and click Next >>. The Package Selection screen appears.
5. In the Package Name text box field, enter a package name that is unique for the cluster - the
name can contain a maximum of 39 alphanumeric characters, dots, dashes, or underscores.
The Failover package type is pre-selected and Multi-Node is disabled. Apache does not
support Multi-Node. Click [Next >>]. The Modules Selection screen appears.
6. The recommended modules for Apache toolkit have been preselected.