C H A P T E R  4

System Controller Message Logging

The SC generates timestamped messages for system events, processes such as when powering on, booting, powering off, changes to hot-pluggable units, environmental warnings, and so forth.

The messages are initially stored in the SC onboard memory in a circular 128-message buffer (note that a single message can span multiple lines). In addition, the SC sends the messages to the Solaris host when it is running Solaris software, and these are processed by the system log daemon (syslogd). When Solaris software is running, messages are sent at the time they are generated by the SC. Retrieval of messages not already copied from the SC takes place at Solaris OS boot time or when the SC is reset.

Messages can also be displayed at the Solaris prompt by using the lom(1m) utility (see Chapter 5).

Typically, the messages are stored on the Solaris host in the /var/adm/messages file, the only limiting factor being the available disk space.

Messages that are held in the SC message buffer are volatile. Messages are not retained if:

Messages stored on the system disk are available when the Solaris OS is rebooted.

The display of the messages on the shared Solaris/SC console port, when at the lom> prompt, is controlled by the seteventreporting command (see the Sun Fire Entry-Level Midrange System Controller Command Reference Manual). This determines whether a message is printed at the lom> prompt at the time the message is logged, and also whether it is posted to the Solaris logging system so that it is written to /var/adm/messages.

Note - Systems equipped with the enhanced memory SC (also known as SC V2), have an additional 112 Kbytes area of SC memory that is used to store firmware messages. This memory is nonvolatile; messages stored there are not deleted when the SC is powered off. The original LOM history buffer is dynamic, losing information when powered off. The messages stored in the persistent history logs of the SC V2 can be displayed at the lom> prompt by using the showlogs -p command or the showerrorbuffer -p command. See the appropriate sections in Sun Fire Entry-Level Midrange System Controller Command Reference Manual for their description.

FIGURE 4-1 illustrates the two message buffers.

FIGURE 4-1 System Controller Logging

Diagram showing how system logging works, as described in the preceding paragraphs.