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

31
d. Administration -> Halt Node (select eve)
Configure the Consolidated Log Package
The consolidated logging tool is used to consolidate syslog and package log files from all nodes in
the cluster. Configuration is done through a wizard in the Serviceguard Manager to create a clog
package in Serviceguard. This makes the consolidated logging tool highly available.
1. In your browser on the HP Serviceguard Manager Summary page, go to the Configuration
menu and select “Configure Log Consolidation Tool…
2. Enter the Package Storage Parameters, for example:
Volume Group /dev/vgclog
Logical Volume /dev/vgclog/lvol1
Mount Point /clog
Filesystem Type ext3
Mount Options -o rw
3. Enter the Package Network Parameters (Package Relocatable IP address and subnet mask),
for example:
IP Address 16.89.84.233
Subnet Address 16.89.84.128
4. Select “Perform package log consolidation by putting a check in the box.
5. Select “Use TCP? by putting a check in the box. Then enter TCP port number 1775, or
other port number identified earlier.
6. Click “OK”.
7. Click “Yes” in the pop-up dialog box to apply this configuration.
8. Check the operations log to verify success. The operations log should appear in a separate
pop-up window.
NOTE: You may see the following errors in the operations log:
ERROR: Command /etc/init.d/syslog-ng start
failed on node adam.
ERROR: Command /etc/init.d/syslog-ng start
failed on node eve.
To remedy this error, try starting the service manually on each node using the
following command:
/etc/init.d/syslog-ng start
Once syslog-ng has been started on each node, click OKon the “Configure Log
Consolidation Toolpage to reapply the configuration from Serviceguard Manager.
To test, try to run the clog package on each node in the cluster. From the Summary page, select the
clog package, then from the Administration menu, select Run Packageto run the package on the
first node, then Move Packageto run the package on the second node.
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 will reside on the shared
volume group, vgws, and will be accessed from a browser at a relocatable IP address. This way the
user browsing the content will not need to know which node is hosting the web server. He or she can
access the web browser from using a single URL, regardless of which node is hosting the web server.