C H A P T E R  16

Environmental Test (env2test)

env2test Description

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. False failures might be reported.

env2test Options

To reach the following dialog box, 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 might not include the device appropriate to this test. Refer to the SunVTS User's Guide for more details.

FIGURE 16-1 env2test Test Parameter Options Dialog Box

Screenshot of the env2test Test Parameter Options dialog box


TABLE 16-1 env2test Options

env2test Options


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 yhe original state. The test then illuminates all disk LEDs to amber, and then back to the 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 the 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 is not 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 16-2 env2test Supported Test Modes

Test Mode



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


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

env2test Command-Line Syntax

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

TABLE 16-3 env2test Command-Line Syntax




Specifies the name of the raw device to test.


Enables or disables diskleds test.


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


Enables or disables the Fan test.


Enables or disables the Front Panel test.


Enables or disables the Power Supply test.


Enables or disables the Temperature test.