C H A P T E R  19

Environmental Test (env2test)

env2test exercises and validates the I2C bus on the Sun Enterprise 250 systems.

Five subtests in env2test test and report the status of the power supply, system temperature, fan speed, disk LEDs, front panel, and keyswitch.

env2test is not scalable.



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




env2test 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 19-1 env2test Test Parameter Options Dialog Box

TABLE 19-1 env2test Options

env2test Options

Description

Disk LEDs test

Determines the number of disks that are present and the state of each disk. Illuminates each LED on the disk backplane to amber, and then back to its original state. The test then illuminates all disk LEDs to amber, and then back to their original state. This test is only enabled in Functional mode.

Fan test

Sets the fanbank speed to halfway between the current speed and max speed, then verifies the correct speed. Next, the fanbank speed is set to max speed, and the speed is verified. The fanbank speeds are then returned to normal, and then verified. This test is only enabled in Functional mode.

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 mode.

Power Supply Status

Identifies the number of power supplies that are in the system and the state of each power supply. This test is enabled in all modes.

Temperature Status

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



env2test Test Modes

env2test supports Connection and Functional tests as described in the table below.

TABLE 19-2 env2test Test Modes

Test Mode

Supported?

Description

Connection

Yes

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

Functional

(Offline)

Yes

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



env2test Command-Line Syntax

/opt/SUNWvts/bin/env2test [ standard arguments ]
-o dev= device_name ,diskleds= E/D ,env_mon= poll_interval ,fans= E/D,
fpanel=
E/D ,psupply= E/D ,temp= E/D

TABLE 19-3 env2test Command-Line Syntax

Argument

Description

dev= raw_device_name

Specifies the name of the raw device to test.

diskleds= enable|disable

Enables or disables diskleds test.

env_mon= poll_interval

Displays all system environmental statics every poll_interval seconds. (Display ONLY, does not test.)

fans= enable|disable

Enables or disables Fan test.

fpanel= enable|disable

Enables or disables Front Panel test.

psupply= enable|disable

Enables or disables Power Supply test.

temp= enable|disable

Enables or disables Temperature test.




Note 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.