C H A P T E R  11

Netra-CT 820 DMC Test (dmctest)


dmctest Description

The dmctest tests major components in the drawer management controller (DMC) card of the Netratrademark CT server. The components tested on the card include flash memory, SDRAM, FPGA, RTC, I2C devices, UART chip, Fast Ethernet controller and PHY, Muxes, Alarm LEDs and so on. This test supports both the active (dmcatest) and standby (dmcstest) DMC card testing. The traces to be tested on the board include address bus, data bus, I2C bus, KCS, IPMI bus, interrupt lines, and the cPCI connector.


dmctest Subtests

dmctest has the following subtests:

The Ethernet test performs tests on the SCC Ethernet device. The test covers Phy, Internal, and External loopback. The Ethernet Ping test uses the FEC port. The Ethernet test is supported on both DMC active and DMC standby cards, and performs the following tests: External loopback test, Internal loopback test, Phy test, Ping test. The Ethernet test requires an external loopback connector to perform the External loopback test.

This test reads the entire 24-Mbyte flash area and performs a checksum test. The test is supported on both DMC active and standby cards.

This test toggles all four alarm ports, Critical, Major, Minor, and Warning, and reports Pass or Fail status. The test is supported on both DMC active and standby cards.

This test checks systems health and reports the state of each slot. dmctest reports the slot status, whether the slot is healthy or not-healthy, whether the slot is empty or occupied, whether the slot is powered-on or powered-off. The test reports their status according to the following table:


TABLE 11-1

Board Device

Health

Board Select

Status

Report

0

0

0

Slot occupied, but powered off

 

0

0

1

Slot Empty

 

0

1

0

Unpowered slot reporting healthy

Warning

0

1

1

Empty slot reporting healthy

Warning

1

0

0

Board select drive problem

Warning

1

0

1

Slot unhealthy

 

1

1

0

Board select drive

Warning

1

1

1

Slot powered on

 


This test checks for the IPMI connectivity by sending IPMI commands to all slots that are occupied, then waits for their response. The IPMI command is sent to 18 node cards, both switch cards and the DMC standby card. This test performs up to four retries whenever it fails to receive a response. The retries are according to PICMG IPMI (Intelligent Platform Management Interface) Specification. The IPMI test that runs on the DMC active card performs tests on all slots that are occupied. They are 18 node slots, two switch cards, and the DMC standby card. Whereas the IPMI test that runs on the DMC standby card tests only the IPMI connectivity between the DMC active and DMC standby cards.

This test runs on both DMC cards. The RTC test checks the real time clock device and reports pass or fail status. The RTC test then displays the time of the day the status was obtained from RTC.

This test checks the status for all three banks of three fans, and reports which fans are present and which fans are good. This test runs only on DMC active cards.

This test checks the Tachometer for all nine (three banks of three) fans. The test reports RPM value of each fan and whether a fan is operating at normal speed or at warning or critical speed. This test runs only on DMC active cards.

This test checks the status for all FRU devices available on Netra CT 820 systems. This test runs on DMC active cards only.


FRU Device

Number of FRUs

Midplane

2

DMC Cards

2

Fan Trays

3

Switch Cards

2

Node CP2300 Cards

18


The FRUID Checksum test traverses through all available FRU devices on Netra CT 820 systems and checks for the FRU data. The test reads FRU buffer, computes the checksum, and compares that with the checksum that is read from FRU devices. The test then reports pass or failure status. This test performs up to four retries whenever it fails to read requested FRU data. The retries loop performs according to the IPMI specification.

This I2C Temperature option performs tests on I2C devices. The test obtains sensor temperatures and reports the device status as Pass, Warning, or Critical.

There are eight midplane sensors and three fan sensors. This test reports pass status when any of the midplane or fan senses temperatures are near air temperature and rise from inlet to outlet at 55C ambient. Therefore a midplane or fan sensor emits a warning if it reaches 75C (20C over 55C inlet), and it reports critical at 85C (30C over 55C maximum inlet air temperature). This test runs only on DMC active cards.

This test reports the status for all eight power supplies. The status contains whether the Power Supply is powered on or off, whether the power supply is Derating or not, or whether it is Healthy or Not-Healthy.

This test toggles all eight power supplies by turning them off and on. The test toggles one power supply at a time, starting from the first power supply.



Note - Enable the Power Supply On/Off test for only a limited number of runs; this test might degrade the life cycle of power supplies. This test runs on DMC active cards only.



The single serial communication port on DMC cards is used for the console. The serial port test is covered to enable entering commands in the console window and receiving responses from CLI commands such as showhealth or showipmode, and ping.


dmcatest 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 11-1 dmcatest (Active) Test Parameter Options Dialog Box (Top of form)

Screenshot of the dmctest Test Parameter Options dialog box for dmcatest (top view)



FIGURE 11-2 dmcatest (Active) Test Parameter Options Dialog Box (Bottom of form)

Screenshot of the dmctest Test Parameter Options dialog box for dmcatest (bottom view)





TABLE 11-2 dmcatest Options

dmctestOptions

Description

Ethernet

Enables or disables the Ethernet test.

Edata Pattern Type

Indicates pattern type. Seq = Sequence, Rand = Random.

Num Packets

Indicates the number of packets to be tested.

Target IP Address

Required IP address for Ethernet ping test.

Etest Type

Indicates the type of data to test.

Flash Test

Enable or disable the flash test.

ALARMPORT

Enable or disable the alarmport.

ALARMNUM

Indicates the alarm number.

ALARM00N

Toggles the alarm00n option on or off.

ALARM10N

Toggles the alarm10n option on or off.

ALARM20N

Toggles the alarm20n option on or off.

ALARM30N

Toggles the alarm30n option on or off.

Health

Enable or disable the health test.

IPMI

Enables or disables the ipmi test.

Real Time Clock

Enables or disables the real time clock test.

Fan Status

Enables or disables the fan status test.

Fan Tachometer

Enables or disables the fan tachometer test.

FRU Presence

Enables or disables the FRU presence test.

FRU ID CheckSum

Enables or disables the FRU ID checksum test.

I2CTemperature

Enables or disables the i2c tempature test.

Power Supply Status

Enables or disables the power supply status test.

Power Supply On/Off

Enables or disables the power supply on/off test. The default is Disable.

DMCA IP Address

Required DMCA IP address



dmcstest 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 11-3 dmcstest (Standby) Test Parameter Options Dialog Box

Screenshot of the dmctest Test Parameter Options dialog box for dmcstest





TABLE 11-3 dmcstest Options

dmctestOptions

Description

Ethernet

Enables or disables the Ethernet test.

Edata Pattern Type

Indicates the pattern type. Seq = Sequence, Rand = Random.

Num Packets

Indicates the number of packets to be tested.

Target IP Address

Required IP address for Ethernet ping test.

Etest Type

Indicates the type of data to test.

Flash Test

Enable or Disable the Flash test.

ALARMPORT

Enable or Disable the ALARMPORT.

ALARMNUM

Indicates the Alarm Number.

ALARM00N

Toggles the alarm00n option on or off.

ALARM10N

Toggles the alarm10n option on or off.

ALARM20N

Toggles the alarm20n option on or off.

ALARM30N

Toggles the alarm30n option on or off.

Health

Enables or disables the Health test.

IPMI

Enables or disables the IPMI test.

Real Time Clock

Enables or disables the Real Time Clock test.

FRU ID CheckSum

Enables or disables the FRU ID Checksum test.

DMCS IP Address

Required DMCS IP address.



dmctest Test Modes

The following test modes are supported by dmcatest and dmcstest.


TABLE 11-4 dmctest Supported Test Modes

Test Mode

Description

Function

Establishes communication with the DMC Active Diag Daemon Actor, initiates all subtests that are enabled, and reports pass or fail status.

Connection

Attempts to establish communication with DMC Active Diag Daemon Actor and reports pass or fail status.



dmcatest Command-Line Syntax

/opt/SUNWvtshm/bin/dmctest -o option=value, enet={Enable| Disable}, epattype={Seq+Rand}, epkts={NUMERIC|1,5}, target={IP_Address}, etest={Internal+External+Ping+Phy}, flash={Enable | Disable}, aport={Enable | Disable}, anum={0+1+2+3}, a0on={On|Off|Toggle}, a1on={On|Off|Toggle}, a2on={On|Off|Toggle}, a3on={On|Off|Toggle}, health={Enable | Disable}, ipmi={Enable | Disable}, rtc={Enable | Disable}, fanstatus={Enable | Disable}, fantac={Enable | Disable}, frupres={Enable | Disable}, fruidchksum={Enable | Disable}, i2ctemp={Enable | Disable}, psupplystatus={Enable | Disable}, powersupply={Enable | Disable}, dmca_ip=IP_Address, dmcs_ip=IP_Address, dev={dmc-active | dmc-standby}


TABLE 11-5 dmcatest Command-Line Syntax

Argument

Description

enet={Enable| Disable}

Enables or disables the Ethernet test.

epattype={Seq+Rand}

Indicates pattern type. Seq = Sequence, Rand = Random.

epkts={NUMERIC|1,5}

Indicates the number of packets to be tested.

target={IP_Address}

Required IP address for the Ethernet Ping test.

etest={Internal+External+Ping+Phy}

Indicates the type of data to test.

flash={Enable | Disable}

Enable or Disable the Flash test.

aport={Enable | Disable}

Enable or Disable the ALARM port.

anum={0+1+2+3}

Indicates the Alarm Number.

a0on={On|Off|Toggle}

Toggles the a0on option on or off.

health={Enable | Disable}

Enables or disables the Health test.

ipmi={Enable | Disable}

Enables or disables the IPMI test.

rtc={Enable | Disable}

Enables or disables the Real Time Clock test.

fanstatus={Enable | Disable}

Enables or disables the Fan Status test.

fantac={Enable | Disable}

Enables or disables the Fan Tachometer test.

frupres={Enable | Disable}

Enables or disables the FRU Presence test.

fruidchksum={Enable | Disable}

Enables or disables the FRU ID Checksum test.

i2ctemp={Enable | Disable}

Enables or disables the I2C Tempature test.

psupplystatus={Enable | Disable}

Enable or disables the Power Supply Status test.

powersupply={Enable | Disable}

Enable or disables the Power Supply On/Off test. The default is Disable.

dmca_ip=IP_Address

Required DMCA IP address.

dmcs_ip=IP_Address

Required DMCS IP address.

dev={dmc-active | dmc-standby}

Specifies dmc-active or dmc-standby.



dmcstest Command-Line Syntax

/opt/SUNWvtshm/bin/dmctest -o option=value, enet={Enable| Disable}, epattype={Seq+Rand}, epkts={NUMERIC|1,5}, target={IP_Address}, etest={Internal+External+Ping+Phy}, flash={Enable | Disable}, aport={Enable | Disable}, anum={0+1+2+3}, a0on={On|Off|Toggle}, a1on={On|Off|Toggle}, a2on={On|Off|Toggle}, a3on={On|Off|Toggle}, health={Enable | Disable}, ipmi={Enable | Disable}, rtc={Enable | Disable}, fruidchksum={Enable | Disable}, dmcs_ip=IP_Address, dev={dmc-active | dmc-standby}


TABLE 11-6 dmcstest Command-Line Syntax

Argument

Description

enet={Enable| Disable}

Enable or disables the Ethernet test.

epattype={Seq+Rand}

Indicates pattern type; Seq = Sequence, Rand = Random.

epkts={NUMERIC|1,5}

Indicates the number of packets to be tested.

target={IP_Address}

Required IP address for the Ethernet ping test.

etest={Internal+External+Ping+Phy}

Indicates the type of data to test.

flash={Enable | Disable}

Enable or disables the Flash test.

aport={Enable | Disable}

Enable or disables the ALARM port.

anum={0+1+2+3}

Indicates the alarm number.

a0on={On|Off|Toggle}

Toggles the a0on option on or off.

health={Enable | Disable}

Enable or disables the Health test.

ipmi={Enable | Disable}

Enable or disables the IPMI test.

rtc={Enable | Disable}

Enable or disables the Real Time Clock test.

fruidchksum={Enable | Disable}

Enable or Disable the FRU ID Checksum test

dmcs_ip=IP_Address

Required DMCS IP address

dev={dmc-active | dmc-standby}

Specifies whether the DMC card is active or standby.