1.If you want the syslog messages for the cluster to be forwarded to the log consolidator, do the following:
a.Start by configuring the standard syslogd to
/etc/rc.config.d/syslogd and change SYSLOGD_OPTS to add
b.Edit the system’s /etc/syslog.conf file to forward log messages to port 514 on the local host where they will be read by
mail.debug | @fully | qualified | hostname |
*.info;mail.none | @fully | qualified | hostname |
where fully qualified hostname is the fully qualified hostname of this cluster member. This name must be fully qualified or syslogd will not forward the messages properly.
If you have customized syslog.conf, make sure to add the forwarding lines for your customizations as well.
c.Stop and restart syslogd as follows for these changes to take effect:
#/sbin/init.d/syslogd stop
#/sbin/init.d/syslogd start
d.Since /etc/rc.config.d/syslogd is generic, it can be distributed
#cpp /etc/rc.config.d/syslogd /etc/rc.config.d/
e.The /etc/syslog.conf is specific to each member and the edits described above must be performed on each cluster member.
f.Making the above changes on each cluster member, syslogd must be restarted for these changes to take effect. Use cexec to do this on all members of the cluster:
#cexec “/sbin/init.d/syslogd stop;/sbin/init.d/syslogd start”
3.3 Log Consolidation Configuration | 69 |