Using ELS

remote workstation. However, a particular 2210 can log to one and only one remote workstation. The operating system used in this example is AIX 4.2. Your environment may be slightly different. For more information on syslog, refer to the documentation for your operating system.

To perform the con®guration on an AIX workstation, you must log in asroot. To con®gure the workstation:

1.Create or edit a syslog.conf ®le to specify where ELS messages with particular syslog_facility and syslog_level values are to be written. See the bottom of Figure 6 on page 157 for an example of how to specify the message destination. Note that the full pathname of the log ®les must be speci®ed. The default location for the syslog con®guration ®le is /etc/syslog.conf.

2.Create the ®les for logging syslog messages that you speci®ed in the syslog.conf ®le.

3.Start the syslog daemon by entering syslogd. To start the syslog daemon from SRC (System Resource Controller), enter startsrc -s syslogd. If the pathname of the con®guration ®le is not /etc/syslog.conf, then entersyslogd -fpathname. To start the syslog daemon in debug mode, enter syslogd -d.

Note: Running multiple instances of the syslog daemon is not supported.

4.If the syslog daemon is already running when you create or modify the syslog.conf ®le, it must be restarted so that the daemon reinitializes the con®guration from syslog.conf.

5.Verify the setup by using the logger command as follows:

logger -p user.alert THIS IS A TEST MESSAGE (user.alert) logger -p news.info THIS IS A TEST MESSAGE (news.info)

If the setup is correct, THIS IS A TEST MESSAGE... will be written to the ®les speci®ed in syslog.conf.

156MRS V3.2 Software User's Guide

Page 192
Image 192
IBM SC30-3681-08 manual Using ELS