C H A P T E R  18

Environmental Test (envtest)

envtest exercises the I2C bus on the Sun Enterprisetrademark 450 product line. envtest contains five subtests to test and report on the power supply status, system temperature status, fan speed, disk LEDs, and front panel and keyswitch.

envtest is not scalable.



Note - Do not run envtest while the system is under a heavy load or false failures may be reported.




envtest Options

To reach the dialog box below, right-click on the test name in the System Map and select Test Parameter Options. If you do not see this test in the System Map, you might need to expand the collapsed groups, or your system may not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.

FIGURE 18-1 envtest Test Parameter Options Dialog Box

Screenshot of the envtest Test Parameter Options dialog box.

TABLE 18-1 envtest Options

envtest Options

Description

Disk LEDs test

Illuminates each LED on the disk backplane(s) to green, then amber, and then back to its original state. The test then illuminates all disk LEDs to green, then amber, and then back to their original state. This test is only enabled in Functional test mode.

Fan test

Cycles each fanbank speed to low, medium, and high, then verifies the correct speed. Next, each fanbank is stopped, one at a time. The test then verifies that a fan fault has occurred. Next, the watchdog timer is invoked to simulate a catastrophic failure. The test verifies that the system set all fanbanks to high and then resets the fan speed to normal. This test is only enabled in Functional test.

Front Panel and Keyswitch test

Flashes each individual LED on the front panel to ON (green or amber), then OFF, and then back to its original state. The test then illuminates all front panel LEDs then sets them back to their original state. The power on LED is Read Only and will not be cycled. The test then displays the current keyswitch position. This test is only enabled in Functional test mode.

Power Supply Status

Identifies the number of power supplies that are in the system, and the state of each power supply, and verifies that the power supply temperatures are within normal operating parameters. This test is enabled in all modes.

Temperature Status

Identifies the current temperature of each CPU in the system, and the ambient temperature of the system, and envtest verifies that all temperatures are within normal operating parameters. This test
is enabled in all modes.



envtest Test Modes

envtest supports Connection and Functional tests.

TABLE 18-2 envtest Supported Test Modes

Test Mode

Description

Connection

Reports the status of the power supplies, the temperature sensors within the system, and verifies normal operating parameters.

Functional

(Offline)

Tests the disk back panel, front panel LEDs, and fan control circuitry. Also uses the same functionality as online Functional mode and connection mode



envtest Command-Line Syntax

/opt/SUNWvts/bin/envtest [standard arguments]
-o dev=raw_device_name,diskleds=E/D,fans=E/D,fpanel=E/D,
psupply
=E/D,temp=E/D

TABLE 18-3 envtest Command-Line Syntax

Argument

Description

dev=raw_device_name

Specifies the name of the raw device to test.

diskleds=enable|disable

Enables or disables the Disk LEDS test.

fans=enable|disable

Enables or disables the Fans test.

fpanel=enable|disable

Enables or disables the Front Panel test.

psupply=enable|disable

Enables or disables the Power Supply test

temp=enable|disable

Enables or disables the Temperature test.




Note - 64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to 32-Bit and 64-Bit Tests.