Switch configuration, Syslogd configuration – HP HSG Array Controller User Manual
Page 76
3-42 StorageWorks Fibre Channel Storage Switch User's Guide
Compaq Confidential – Need to Know Required
Writer: Bill Reitz Project: StorageWorks Fibre Channel Storage Switch User's Guide Comments:
Part Number: AA-RHBYA-TE 135267-001 File Name: d-ch3 Managing the Switch Last Saved On: 4/7/99 11:59 AM
Switch configuration
To start the syslogd type the following command:
syslogdIp
The command with no parameter prints the IP address of the current target
syslogd machine. An IP address of
0.0.0.0
disables the forwarding of error
messages to syslogd. In this case, error messages are still logged internally to
the Switch, but it is not forwarded to the syslogd.
Examples,
Enable and verify syslogd support:
=> syslogdIp “10.0.0.1”
=> syslogdIp
syslog daemon’s address: 10.0.0.1
Disable syslogd support:
=> syslogdIp “0.0.0.0”
=> syslogdIp
syslog daemon’s address: 0.0.0.0
syslogd configuration
The syslog configuration provides the syslogd with instructions on how to
handle different messages. The following are example entries in a syslog
configuration file (
/ etc/syslog.conf
), on how to store Switch error
messages stored in different files. Please refer to the syslog manual pages on
your UNIX system for the full documentation of the syslog configuration file.
The following entry in
/etc/syslog.conf
causes all messages from the
Switch
of UNIX priority warning or higher (Switch severity
LOG_WARNING
or higher) to be stored in the file
/var/adm/silkworm
.
local7.warning /var/adm/silkworm
The following entries in
/etc/syslog.conf
causes the messages from the
silkworm
of UNIX priority alert (Switch severity
LOG_CRITICAL
) to be
stored in the file
/var/adm/alert
, and all other messages from the Switch
to be stored in the file
/var/adm/silkworm
.
local7.alert /var/adm/alert
local7.debug /var/adm/silkworm