beautypg.com

HP StorageWorks MSA 2.8 SAN Switch User Manual

Page 174

background image

Diagnostics and Status

174

Fabric OS Procedures Version 3.1.x/4.1.x User Guide

Example

The following entry in /etc/syslog.conf causes all messages (Debug, Info,
Warning, Error, Critical, and Panic) from the switch to be stored in the file
/var/adm/SilkWorm.

Example

The kern prefix identifies that the Core Switch 2/64 and SAN Switch 2/32 use
“kernel” syslogd facility to dispatch error log messages to the syslogd daemon.
The placement of entries is critical to this function. Refer to “

Configuring syslogd

on the Remote Host

” on page 173 and “

Configuring syslogd on the Remote Host

on page 173 for instructions.

Enabling syslogd on the Core Switch 2/64 or SAN Switch 2/32

This procedure explains how to configure the switch to dispatch error log
messages to a remote syslogd host.

To configure the switch to forward switch error log messages to a remote syslogd
host the following steps must be performed:

1. Log in to the switch as Admin user.

2. At the command line enter the

syslogdipadd

command using the

following syntax:

switch:admin>syslogdipadd “IP address of the remote
syslogd host”

3. Verify the IP address was entered correctly using the

syslogdipshow

command.

The following example shows how to configure the switch to dispatch error log
messages to a remote syslogd host whose IP address is 192.168.148.189

Example

kern.warning /var/adm/SilkWorm

kern.debug /var/adm/SilkWorm

switch:admin> syslogdipadd 192.168.148.189

switch:admin> syslogdipshow

syslog.IP.address.1 192.168.148.189