|C H A P T E R 8|
Managing the Host Using the CLI
This chapter describes how to use the ILOM's command-line interface (CLI) to manage the host. The sections include:
Escape + B (press the Escape key and type upper case B).
If the host is booting, you will see its bootup messages.
On the CLI, components, indicators (LEDs), and sensors are located in /SYS.
Note - When displayed on the WebGUI, the components, indicators, and sensors are divided into separate screens. They are described in:
The following display shows the contents of a typical /SYS.
To display information about a particular sensor, indicator or component, use the show command.
In this example, /SYS/SASBP represents the disk backplane. It has the following targets:
The following display shows a device (HDD0) and a temperature sensor (T_AMB).
The locate LED is a white LED that you can light to help you find your server in a crowded equipment room. It has two states, fast blink and Off.
set /SYS/LOCATE value=Off
set /SYS/LOCATE value=Fast_Blink
The system is equipped with a number of sensors that measure voltages, temperatures and other things. ILOM polls the sensors and posts an event in the event log (SEL) when they cross a threshold. Some of these readings are also used to perform actions such as adjusting fan speeds, illuminating LEDs, and powering off the chassis.
The alert management view allows you to configure the system to send alerts to IP addresses.
Caution - The ILOM tags all events or actions with LocalTime=GMT (or UDT). Browser clients show these events in LocalTime. This can cause apparent discrepancies in the event log. When an event occurs on the ILOM, the event log shows it in UDT, but a client would show it in local time.
An alert is an IPMI Platform Event Trap (PET) generated when a sensor crosses the specified threshold. For example, if you configure an alert for critical thresholds, the ILOM sends an IPMI trap to the specified destination when any sensor crosses the upper or lower critical (CT) threshold.
All alerts are IPMI PET traps, as defined in the Intelligent Platform Management Interface (IPMI) v2.0.
A special criteria, informational, is reserved for system events that are not related to sensors.
The mapping between alert levels and sensors is:
where N is 1 to 15.
Use the set command to change properties and values for alerts.
set target [propertyname=value]
The following targets, properties, and values are valid for IPMI PET alerts.
The parameters are:
To configure an alert, type:
-> set /SP/alert/rules/1 destination=18.104.22.168 level=critical
To change an alert level to critical, type:
-> set /SP/alert/rules/1 level=critical
To turn off an alert, type:
-> set /SP/alert/rules/1 level=disable
The CLI allows you to send test alerts. It sends one alert for every rule that is configured.
1. Navigate to /SP/alert/rules
2. Type the command set testalert=true.
This sends a test alert for every rule that is not disabled.
This section describes how to view and clear the system event log (SEL).
Caution - The system event log accumulates various events, including administration changes to the ILOM, software events, and warnings and alerts. It also accumulates events from the IPMI log.The ILOM tags all events or actions with LocalTime=GMT (or UDT). Browser clients show these events in LocalTime. This can cause apparent discrepancies in the event log. When an event occurs on the ILOM, the event log shows it in UDT, but a client would show it local time.
1. Navigate to /SP/logs/event.
2. From the CLI, type show list.
The event log scrolls onto your screen.
3. To scroll down, press any key except q.
4. To stop displaying the log, press q.
5. To clear the event log, type set clear=true.
The CLI asks you to confirm.
6. Type y.
The CLI clears the event log.
Note - The SEL accumulates many types of events, including copies of entries that IPMI posts to the IPMI log. Clearing the SEL clears all entries, including the copies of the IPMI log entries. However, clearing the SEL does NOT clear the actual IPMI log. You must use IPMI commands to view and clear the IPMI log.
You can send logs to other machines. After an address is configured, new messages are sent to the destination machine(s) in syslog format.
1. Navigate to /SP/clients/syslog.
2. Enter the IP address of the receiving machine: