SunVTS 2.0.1 Test Supplement
  Cerca solo questo libro
Scarica il manuale in formato PDF

Environmental Sensing Card Test (sentest)

5

sentest checks the SCSI Environmental Sensing card (SEN) installed in the SPARCstorage RSM to monitor the enclosure environment. The SEN card monitors the enclosure's over-temperature condition, fan-failures, power-supply failures, and drive activity. sentest utilizes the uscsi command interface to send requests and receive status information from the SEN card. sentest verifies the SEN card by first setting each control function to a predetermined value, and then reading it back to verify if the value is correct.
sentest verifies the following control functions in the enclosure:
  • Alarm [enable/disable]: sentest toggles the alarm to the disable state, then to the enable state.
  • Alarm time (0-0xff seconds): sentest sets the time (from 0 to 4096), then reads it back to verify the time setting.
  • Drive fault LED (DL0-DL6): sentest toggles each LED to its OFF and ON states.
sentest is a nonscalable test. It cannot verify the setting correctly if another instance is changing the setting.

sentest Options

Grafica

Figure 5-1 sentest

Table 5-1 sentest
sentest OptionsDescription
Test TypeSpecifies the test to be performed. Norm test type performs normal testing as alarm enable/disable, alarm time setting, and drive LED on/off testing; Interactive test type reports the current enclosure status
Enc_stateSpecifies which subsystem's status in the enclosure is reported. Default is ALL. This test is only used with the inter test type and in Offline mode. The test options are: ·Alarm enable/disable status

·Drive present status

·Drive LED status

·Power modules status

·Fan modules status

·Over temperature, abs (abnormal, no immediate attention needed), chk (abnormal, immediate attention needed) status ·All of above

sentest Test Modes

sentest supports all three modes. Each mode performs a different test scheme on the SEN card.
Table 5-2 sentest
Test ModeDescription
Connectivity ModeChecks the device connection by opening the device. If the device does not open, the device is not connected.
Online ModePerforms the same test as Offline mode. sentest does not support interactive test types.
Offline ModeChecks three components within the enclosure. It checks alarm enable/disable, alarm time setting, and the drive's LEDs. It does not test the power on/off function (only functions whose values can be changed are tested).

sentest Command Line Syntax

Table 5-3 sentest Command Line Syntax
/opt/SUNWvts/bin/sentest [standard arguments] -o dev=interface,[test=type],[enc=component]
ArgumentExplanation
dev=interfaceSEN card device name; the default value is ses0.
test=typeSpecifies the test type; type Norm for normal testing or Inter for interactive testing; the default value is Norm.
enc=componentIndicates which part of the enclosure status is reported; the default value is ALL.

sentest Error Messages

Table 5-4 sentest
Error MessageProbable Cause(s)Recommended Action
6000Check alenb failed, exp=<value>, obs=<value>

6001Check alenb failed, exp=<value>, obs=<value>

6002Check alenb failed, exp=<value>, obs=<value>

6003Check altime failed, exp time=<value>, obs=<value>

6004Fan failed

6005Dual fan failed

6006Enclosure over temperature

6007Device failed, need immediate attention

6008Power module A failed

6009power module B failed

Table 5-4 sentest(Continued)
Error MessageProbable Cause(s)Recommended Action
8000power module B failed

8001ioctl get state failed, errmsg=<message>

8002ioctl get state failed, errmsg=<message>