C H A P T E R  7

Using Disk Control and Monitor Utility (DCMU)

This chapter describes how to use the Disk Control and Monitor Utility (DCMU). It includes the following sections:

 


Overview of the Disk Control and Monitor Utility

The Disk Control and Monitor Utility (DCMU) is a utility designed for Sun Fire X4500 server that runs the Red Hat Enterprise Linux U4 64-bit operating system.
The DCMU controls and monitors all 48-disk drives and slots on the Sun Fire X4500 server and provides the following features:

The DCMU consist of three components. Each component updates the service processor:


Using DCMU

To use DCMU, you must install the application.

cfgdisk Command

cfgdisk is a command-line utility and that queries and provides status of all
48-disk drives. cfgdisk also allows you to connect and disconnect disk drives.

cfgdisk Command Options

Use the cfgdisk command to determine the disk drive status by using the parameters shown in TABLE 7-1. The following options are supported for the functions shown:


TABLE 7-1 cfgdisk Command Options

Option

Description

-h

Displays help information

-v

Displays utility version information

-o

Displays operation information <connect/disconnect>

-d

Displays disk drive information


Examples Using the cfgdisk Command

The following command shows the use of cfgdisk to disconnect a disk drive.


TABLE 7-2
# cfgdisk -o disconnect -d sata0/7
 Device sata0/7 has been successfully disconnected

The following command shows the use of cfgdisk to connect a disk drive


TABLE 7-3
# cfgdisk -o connect -d sata0/7
Command has been issued to connect sata0/7 device, it may take few seconds to connect sata0/7,

Use the cfgdisk command to display the status after disconnecting a disk drive:


TABLE 7-4
# cfgdisk

hotplugmon

The hotplugmon utility monitors disk drive hotplug events and then reports them to service processor. hotplugmon is not a command line utility. To verify a hotplug event, you should check the corresponding entry in service processor log using following ipmitool commands on the server:


TABLE 7-5
# ipmitool -I open sdr elist 

Or from another server type:


TABLE 7-6
# ipmitool -I lan -H SP-IP -U root -P changeme sdr elist 

faultmond Command

faultmond is a daemon that is started at boot time. It scans for faulted disk, pending disk failures, and FRU information.

Use the faultmond command to determine faulted disk drives by using the parameters shown in TABLE 7-7. The following options are supported for the functions shown:


TABLE 7-7 faultmond Command Options

Option

Description

-h

Displays help information

-t

Displays polling information <minutes>

-v

Displays version information

-D

Runs as a non-daemon process


Examples Using the faultmond Command

The following command shows the use of faultmond:


TABLE 7-8
# faultmond -h
faultmond version 1.0

The following command shows the use of faultmond running as a non-daemon:


TABLE 7-9
# faultmond -D -t 5 

The following commands can be used to faultmond from the command-line:


TABLE 7-10
# service faultmond start
# service ipmi start

For additional information about cfgdisk, hotplugmon, or faultmond, refer to the man pages for cfgdisk (1M), hotplugmon (1M), and faultmon(1M).