This soft copy for use by IBM employees only.
6.4.2 SP Log Daemons
setup_logd
sets up the SP logging daemon (splogd) and is called by installation
scripts when the Control Workstation is installed. It can also be run by root on a
different workstation to have splogd spawned by the SCR (System Resource
Controller).
If you want to run the splogd logging daemon on a workstation other than the
Control Workstation, you must install the
ssp.clients option on that workstation
and run
setup_logd
. Do this in the following order:
1. Off-load error logging from the Control Workstation.
2. Have your own script called when a state on a particular variable or
variables occurs.
By default, the /spdata/sys1/spmon/hwevents file is set up to do error logging
and state change logging for all frames. If you are installing splogd on a
workstation besides the Control Workstation in order to call your own script, you
must edit the /spdata/sys1/spmon/hwevents file and remove the entries for
SP_STATE_LOG and SP_ERROR_LOG. You must also add a call for your own
script. If you do not want to perform any of the following steps on your
workstation, do not run
setup_logd
.
The
setup_logd
command performs the following steps:
1. It creates directories in / v a r / a d m that the logging daemon uses. (Of course
this will only be done if they do not already exist.)
2. It adds an entry to the file /etc/syslog.conf for the daemon.notice and sends
a HUP signal to syslogd to reread its configuration file.
3. It adds errlog templates for SP messages.
4. It adds the splogd daemon to SRC as the splogd subsystem.
5. It adds an entry for splogd to /etc/inittab.
Important
If you are only using syslogd to call your own script, perform only Step 4 and
Step 5: add syslogd to SRC and add an entry to /etc/inittab.
If you want to run the logging daemon on a separate workstation, you must add
(or change) the following line to the /etc/environment file:
SP_NAME=<Control Workstation>
If you want to move a subset of error logging off the Control Workstation, you
must edit /spdata/sys1/spmon/hwevents on the Control Workstation and define
the new subset that you want to monitor. Then issue
stopsrc
command to stop
the logging daemon on the Control Workstation, and issue
startscr
reread the
hwevents file at start time.
The SP logging daemon splogd has the following functions:
error logging
Reports the SP hardware errors to both the syslog and the
AIX error log.
state change logging Writes SP hardware state changes to a file.
user exits
Calls a user exit when a state change occurs.
Chapter 6. E r r o r Logging
191
Summary of Contents for RS/6000 SP
Page 2: ......
Page 14: ...This soft copy for use by IBM employees only xii SP PD Guide...
Page 16: ...This soft copy for use by IBM employees only xiv SP PD Guide...
Page 106: ...This soft copy for use by IBM employees only 86 SP PD Guide...
Page 178: ...This soft copy for use by IBM employees only 158 SP PD Guide...
Page 214: ...This soft copy for use by IBM employees only 194 SP PD Guide...
Page 248: ...This soft copy for use by IBM employees only 228 SP PD Guide...
Page 290: ...This soft copy for use by IBM employees only 270 SP PD Guide...
Page 292: ...This soft copy for use by IBM employees only 272 SP PD Guide...
Page 300: ...This soft copy for use by IBM employees only 280 SP PD Guide...
Page 304: ...This soft copy for use by IBM employees only 284 SP PD Guide...
Page 308: ...This soft copy for use by IBM employees only 288 SP PD Guide...
Page 310: ...This soft copy for use by IBM employees only 290 SP PD Guide...
Page 316: ...IBML This soft copy for use by IBM employees only Printed in U S A SG24 4778 00...