C H A P T E R  3

Monitoring the System

This chapter describes the Sun StorageTek 5800 system monitoring capabilities. It contains the following sections:


Obtaining System Version and Status

1. Obtain basic cluster state information with the sysstat command.

This command provides an estimate of free space in the cluster that is available for data storage. For a detailed breakdown of space usage per disk, refer to the df command described in Getting Disk Status.


hc $ sysstat 
Silo 1, Cell 1: Cluster Online. Estimated free space: 7T.
16 nodes online, 64 disks online, 0 disks unrecovered
Data VIP 10.7.225.222. Admin VIP 10.7.225.223.
Data services Online, Query Available
Failure Tolerance: Fault Tolerant
Last Recovery Cycle: Completed 5 hours ago.
Next Recovery Cycle: To complete in 9 hours.

The output that the sysstat command produces is as follows:

2. Obtain extended cluster state information with the -v (verbose) option of the sysstat command.

Verbose output includes the online/offline status of each node and disk in the cluster. The online/offline status reported by the command refers to the logical system status. To see the state of hardware components, refer to the hwstat command described in Obtaining FRU Listings.


hc $ sysstat -v
      
NODE-101     [ONLINE]
DISK-101:0   [ONLINE]
DISK-101:1   [OFFLINE]
DISK-101:2   [ONLINE]
DISK-101:3   [ONLINE]
NODE-102     [ONLINE]
DISK-102:0   [ONLINE]
DISK-102:1   [ONLINE]
DISK-102:2   [ONLINE]
DISK-102:3   [ONLINE]
NODE-103     [ONLINE]
DISK-103:0   [ONLINE]
.
.
.


Viewing the System Software Version

single-step bulletDisplay the version of the system software using the version command.


hc $ version
      
Sun StorageTek 5800 System release [1.0 -8246]


Obtaining FRU Listings

1. Obtain a list of field-replaceable units (FRUs) with the hwstat command.


hc $ hwstat 
 
NODE-101
[00E08159-7311-0000-CA80-11735981E000]
DISK-101:0
[HITACHI_HDS7250ASUN500G_0609K4MJHD=KRVN63ZAH4MJHD]
DISK-101:1
[HITACHI_HDS7250ASUN500G_0609K4NHRD=KRVN63ZAH4NHRD]
DISK-101:2
[HITACHI_HDS7250ASUN500G_0609K4USGD=KRVN63ZAH4USGD]
DISK-101:3
[HITACHI_HDS7250ASUN500G_0609K54SLD=KRVN63ZAH54SLD]
NODE-102
[00E08159-59FC-0000-7480-FC595981E000]
DISK-102:0
[HITACHI_HDS7250ASUN500G_0609K56DKD=KRVN63ZAH56DKD]
DISK-102:1
[HITACHI_HDS7250ASUN500G_0609K50VPD=KRVN63ZAH50VPD]
DISK-102:2
[HITACHI_HDS7250ASUN500G_0609K3P98D=KRVN63ZAH3P98D]
DISK-102:3
[HITACHI_HDS7250ASUN500G_0609K4UT8D=KRVN63ZAH4UT8D]
.
 
.
 

2. Obtain a list of all components (FRUs and others) and their statistics with the -v (verbose) option of the hwstat command.


hc $ hwstat -v
      
 
 
 
Component
----------
Type
----
FRU ID
------
Status
------
NODE-101
NODE
[00E08159-7311-0000-CA80-11735981E000]
[Online]
DISK-101:0
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K4MJHD=KRVN63ZAH4MJHD]
 
DISK-101:1
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K4NHRD=KRVN63ZAH4NHRD]
 
DISK-101:2
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K4USGD=KRVN63ZAH4USGD]
 
DISK-101:3
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K54SLD=KRVN63ZAH54SLD]
 
NODE-102
NODE
[00E08159-59FC-0000-7480-FC595981E00]
[Online]
DISK-102:0	
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K56DKD=KRVN63ZAH56DKD]
 
DISK-102:1
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K50VPD=KRVN63ZAH50VPD]
 
DISK-102:2	
[enabled]
DISK
[HITACHI_HDS7250ASUN500G_0609K3P98D=KRVN63ZAH3P98D]
 
DISK-102:3
[enabled]
DISK	
[HITACHI_HDS7250ASUN500G_0609K4UT8D=KRVN63ZAH4UT8D]
 
.
 
 
 
.
 
 
 


Getting Disk Status

1. Obtain a summary of disk usage with the df command.

The displayed numbers refer to the logical space used by, or available for, the user's data storage. Reserved space is reserved by the system for data recovery operations, and is not available to the user. Total space is a sum of Available + Used + Reserved. The use percentage is calculated as Used / (Used + Available).


hc $ df
      
Logical space: Total: 18T; Available: 5T; Used: 9T; Reserved: 4T

2. Obtain information on the physical space available on the disk with the -p option.


hc $ df -p
DISK-101:0 Total: 449,128,448; Avail: 361,584,640; Used: 87,543,808; Use%: 19%
DISK-101:1 Total: 449,128,448; Avail: 388,771,840; Used: 60,356,608; Use%: 13%
DISK-101:2 Total: 449,128,448; Avail: 385,692,672; Used: 63,435,776; Use%: 14%
DISK-101:3 Total: 449,128,448; Avail: 388,822,720; Used: 63,305,728; Use%: 14%


Obtaining SMTP Email Alerts

If you set up SMTP email alerts, the Sun StorageTek 5800 system delivers email alerts for the following conditions:

To configure the Sun StorageTek 5800 system to send email notifications, you must specify an SMTP server and the email address of the recipient.

1. Specify an SMTP server that the Sun StorageTek 5800 system will use.


hc $ netcfg smtp 10.7.224.20
      

2. Specify an email recipient.


hc $ alertcfg add to alerts@example.com
      

Optionally, you may also specify a cc email address, for example:


hc $ alertcfg add cc admin@example.com