IBM RS/6000 SP Problem Determination Manual page 183

Hide thumbs Also See for RS/6000 SP:
Table of Contents

Advertisement

This soft copy for use by IBM employees only.
The BSD syslog facility information appears as follows:
<timestamp, hostname, ID, PID>
LPP=<LPP name> Fn=<filename> <SID_level_of_the_file> L#=<line number>
Effect of Not Having a Battery on Error Logging
In a regular RS/6000 system, a battery is installed to maintain NVRAM. On an
RS/6000 SP system, there is no battery and NVRAM may be lost when the node
is powered off. AIX writes the last error log entry to NVRAM. During system
startup, the last entry is read from NVRAM and placed in the error log when the
error daemon is started. This last error log entry may be important in diagnosis
of a system failure.
On SP wide nodes, the NVRAM does have power to it as long as the node is
plugged into the frame and the frame is plugged into a power source with power.
On SP thin nodes, NVRAM is lost whenever the node is powered down. If the
last error entry is desired, the thin nodes should not be powered off. They
should reboot with the key in "Normal" position.
6.2.1 Install and Configure Error Log
Log management functions are built upon the sysctl facility, which uses the SP
authentication services. Generating parallel AIX Error Log and BSD syslog
reports and performing general log viewing require that the user issue the
command to be identified to the SP authentication services. All other log
management commands additionally require that the user be defined as a
principal in the /etc/logmgt.acl file. All users defined in this file must also be
placed in the authentication (PSSP or AFS) database as a principal.
Note: Log management mostly consists of administrative tasks normally
requiring root authority, and require a user defined in the logmgt.acl file to
execute commands as the root user.
The following is an example of the /etc/logmgt.acl file:
The file contains entries for the user root as principal root.admin and user Joe
as principal joe , giving them authority to execute log management commands.
The log management server functions executed by sysctl are located in
/usr/lpp/ssp/sysctl/bin/logmgt.cmds. During system initialization, an include
statement for this file is added to the default systctl configuration file
/etc/sysctl.conf.
If you want to use an alternate sysctl configuration file, it must be updated with a
statement to include the logmgt.cmds file, and the sysctld daemon must be
restarted to activate the change.
/etc/logmgt.acl
#acl#
# This sample acl file for log management commands contains
# a commented line for a principal
#_PRINCIPAL root.admin@HPSSL.KGN.IBM.COM
# The following principal is added to be able to trim SPdaemon.log
# from cleanup.logs.ws
_PRINCIPAL rcmd.localhost
_PRINCIPAL root.admin@HPSSL.KGN.IBM.COM
_PRINCIPAL joe@HPSSL.KGN.IBM.COM
kinit
163
Chapter 6. E r r o r Logging

Advertisement

Table of Contents
loading

Table of Contents