The easiest way to diagnose the hardware related problem on Oracle Sun server is by using of OBP OK Prompt commands, the Power On Self Test (POST), and the status LEDs on system boards.
ou can diagnose hardware related problems on Oracle Sun server and desktop products. With these low-level diagnostics, you can establish the state of the system and attached devices. For example, you can determine if a device is recognized by the system and working properly, or you can also obtain useful system configuration information.
OBP DIAGNOSTIC COMMANDS AND TOOLS
OBP is a powerful, low-level interface to the system and devices attached to the system (OBP is also known as the ok prompt). By entering simple OBP commands, you can learn system configuration details such as the ethernet address, the CPU and bus speeds, installed memory, and so on. Using OBP, you can also query and set system parameter values such as the default boot device, run tests on devices such as the network interface, and display the SCSI and SBUS devices attached to the system.
Below are the available commands in OBP OK prompt:
Displays the power on banner. The banner includes information such as CPU speed, OBP revision, total system memory, ethernet address and hostid.
devalias alias path
Defines a new device alias, where alias is the new alias name and path is the physical path of the device. If devalias is used without arguments, it displays all system device aliases (will run up to 120 MHz).
Displays the ethernet address
Turns the system led off or on.
Creates a new alias for a device, where name is the name of the alias and path is the physical path of the device. Note – Run the reset-all or the nvstore command to save the new alias in non-volatile memory (NVRAM).
nvunalias name path
Deletes a user-created alias (see nvalias), where name is the name of the alias and path is the physical path of the device. Note – Run the reset-all or nvstore command to save changes in NVRAM.
Copies the contents of the temporary buffer to NVRAM and discards the contents of the temporary buffer.
Powers the system off or on.
Displays all parameters, settings, and values
dentifies Fiber Channel Arbitrated Loop (FCAL) devices on a system. 1
Identifies devices attached to all SBUS slots. Note – This command works only on systems with SBUS slots.
Identifies devices attached to the onboard SCSI bus. 1
Identifies devices attached to all SCSI busses. 1
Resets the value of parameter to the default setting.
Resets the value of all parameters to the default settings. Tip – You can also press the Stop and N keys simultaneously during system power-up to reset the values to their defaults.
setenv parameter value
Sets parameter to specified value. Note – Run the reset-all command to save changes in NVRAM.
Displays all the devices recognized by the system.
Displays the physical device path for disk controllers.
Displays the physical device path for frame buffers.
Displays the physical device path for network interfaces
If run after Power On Self Test (POST) is completed, this command displays the findings of POST in a readable format.
Displays devices attached to all SBUS slots. Similar to probe-sbus .
Displays the physical device path for tape controllers.
Searches for OBP commands or methods that contain string. For example, the sifting probe command displays probe-scsi, probe-scsi-all, probe-sbus, and so on.
Displays CPU and bus speeds
Executes the selftest method for device-specifier. For example, the test net command tests the network connection.
Tests all devices that have a built-in test method.
Displays OBP and POST version information.
Tests a clock function.
Monitors the network connection for the primary interface.
Monitors all the network connections.
Displays all OBP commands and methods
OBDiag also displays diagnostic and error messages on the system console.
How To Run OBDiag
To run OBDiag, simply type obdiag at the Open Boot ok prompt.
You can also set up OBDiag to run automatically when the system is powered on using the following methods:
Set the OBP diagnostics variable: ok setenv diag-switch true
Press the Stop and D keys simultaneously while you power on the system.
On Ultra Enterprise servers, turn the key switch to the diagnostics position and power on the system.
POWER ON SELF TEST (POST)
POST is a program that resides in the firmware of each board in a system, and it is used to initialize, configure, and test the system boards. POST output is sent to serial port A (on an Ultra Enterprise server, POST output is sent only to serial port A on the system and clock board). The status LEDs of each system board on Ultra Enterprise servers indicate the POST completion status. For example, if a system board fails the POST test, the amber LED stays lit.
You can watch POST ouput in real-time by attaching a terminal device to serial port A. If none is available, you can use the OBP command show-post-results to view the results after POST completes.
How To Run POST
– connect to serial port
– set the dig-switch to ‘true’
ok setenv diag-switch true
– Set the desired testing level (min or max), example:
ok setenv diag-level max
– Set the auto-boot variable to ‘false’
ok setenv auto-boot false
– run ‘reset-all’ >> ok reset-all
– Reboot or Power cycle the system
SOLARIS OPERATING ENVIRONMENT DIAGNOSTIC COMMANDS
The following table describes OS commands you can use to display the system configuration, such as failed Field Replaceable Units (FRU), hardware revision information, installed patches, and so on
Displays system configuration and diagnostic information, and lists any failed Field Replaceable Units (FRU).
Displays revision information for the current hardware and software. When used with the -p option, displays installed patches.
Displays system configuration information.
Displays CPU information, including clock speed.
ref# Doc ID 1005946.1