2 manually configuring log consolidation – HP Linux Server Management Software User Manual
Page 59
When forwarding a cluster’s package logs, manual configuration is required on the consolidation
server in order to add the syslog-ng filtering lines to cause these package logs to be consolidated
into their own unique files. See
“Manually Configuring a Serviceguard Cluster as a Log
for details.
After all the questions have been answered, the clog_wizard displays the following summary
screen:
Summary of Log Consolidation Configuration:
You have chosen to configure
clustername as a Log Consolidation Client.
Logs will be forwarded to the remote consolidation server
clog.usa.xyz.com on port 1776 using the TCP protocol.
The TCP protocol will be used together with Secure Shell
Port Forwarding using port 1775, for added security.
The following logs will be forwarded for consolidation:
Syslog
Serviceguard package logs
Do you want to continue? (y/n) [y]:
Confirm your answers with a “yes” response and the wizard summarizes the configuration steps
that it performs:
Copying files that will be modified by the wizard to /var/opt/dsau/root_tmp/clog
on each cluster node.
These files will be used to restore the cluster to its current log consolidation
configuration, in the event of a failure.
Configuring
clustername as a log consolidation client.
The configuration will be done on all cluster nodes.
It will take a few minutes....
Creating the /etc/syslog-ng.conf.client configuration file.
Creating a symbolic link from /etc/syslog-ng.conf to the
/etc/syslog-ng.conf.client configuration file.
Creating the syslog-ng configuration file, the log
consolidation configuration file.
Registering the log consolidation ports in the /etc/services file.
Starting syslog-ng.
Successfully configured
clustername as a log consolidation client.
For additional information on the configuration actions performed by the clog_wizard, refer
to
“Manually Configuring a Serviceguard Cluster as a Log Consolidation Server” (page 62)
.
3.3.2 Manually Configuring Log Consolidation
If you choose not to use the Consolidated Logging Wizard, use the following sections for the
manual steps required to configure a log consolidation server and log forwarding clients. Because
there are many steps required to set up clients and servers, HP recommends using the
clog_wizard
.
3.3 Log Consolidation Configuration
59