Monitoring the RAID Array for the JA2500 Junos Space Appliance
Purpose
For optimal performance of the JA2500 appliance, monitor the status of the RAID volume installed in the appliance.
Action
Monitor the RAID controller for RAID failure events:
Do the following:
Log in to the appliance as the admin user.
The Junos Space Settings Menu appears.
Type
6
, which is the(Debug) run shell
option.You are prompted to enter your password.
Type the password for the admin user and press Enter.
You are taken to the shell.
Obtain the current status of the RAID volume by executing the following command:
[root@host ~]# sas2ircu 0 status
The output of this command provides information about the RAID volume, like volume ID, volume status, volume state, and so on. The following is a sample output.
LSI Corporation SAS2 IR Configuration Utility. Version 16.00.00.00 (2013.03.01) Copyright (c) 2009-2013 LSI Corporation. All rights reserved. Background command progress status for controller 0... IR Volume 1 Volume ID : 1314 Current operation : None Volume status : Enabled Volume state : Optimal Volume wwid : 0ad030be716b5c70 Physical disk I/Os : Not quiesced SAS2IRCU: Command STATUS Completed Successfully. SAS2IRCU: Utility Completed Successfully.
(Optional) If the volume state (in the output of the preceding command) displays Degraded, then check the physical drive status using the following command:
[root@host ~]# sas2ircu 0 display
The following is a sample output.
LSI Corporation SAS2 IR Configuration Utility. Version 16.00.00.00 (2013.03.01) Copyright (c) 2009-2013 LSI Corporation. All rights reserved. Read configuration has been initiated for controller 0 ------------------------------------------------------------------------ Controller information ------------------------------------------------------------------------ Controller type : SAS2308_1 BIOS version : 7.25.00.00 Firmware version : 16.00.00.00 Channel description : 1 Serial Attached SCSI Initiator ID : 0 Maximum physical devices : 1007 Concurrent commands supported : 8192 Slot : 33 Segment : 0 Bus : 2 Device : 0 Function : 0 RAID Support : Yes ------------------------------------------------------------------------ IR Volume information ------------------------------------------------------------------------ IR volume 1 Volume ID : 1314 Volume Name : RAID-10 Status of volume : Okay (OKY) Volume wwid : 0ad030be716b5c70 RAID level : RAID10 Size (in MB) : 2858160 Physical hard disks : PHY[0] Enclosure#/Slot# : 1:4 PHY[1] Enclosure#/Slot# : 1:5 PHY[2] Enclosure#/Slot# : 1:6 PHY[3] Enclosure#/Slot# : 1:0 PHY[4] Enclosure#/Slot# : 1:1 PHY[5] Enclosure#/Slot# : 1:2 ------------------------------------------------------------------------ Physical device information ------------------------------------------------------------------------ Initiator at ID #0 Device is a Hard disk Enclosure # : 1 Slot # : 0 SAS Address : 5000c50-0-33e4-b421 State : Optimal (OPT) Size (in MB)/(in sectors) : 953869/1953525167 Manufacturer : SEAGATE Model Number : ST91000640SS Firmware Revision : 0003 Serial No : 9XG05HG600009131MUVA GUID : 5000c50033e4b423 Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 1 SAS Address : 5000c50-0-34d7-4269 State : Optimal (OPT) Size (in MB)/(in sectors) : 953869/1953525167 Manufacturer : SEAGATE Model Number : ST91000640SS Firmware Revision : 0003 Serial No : 9XG0N3ZJ00009202M9JV GUID : 5000c50034d7426b Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 2 SAS Address : 5000c50-0-33e6-0015 State : Optimal (OPT) Size (in MB)/(in sectors) : 953869/1953525167 Manufacturer : SEAGATE Model Number : ST91000640SS Firmware Revision : 0003 Serial No : 9XG05PBR00009131LUBB GUID : 5000c50033e60017 Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 4 SAS Address : 5000c50-0-40c6-29d9 State : Optimal (OPT) Size (in MB)/(in sectors) : 953869/1953525167 Manufacturer : SEAGATE Model Number : ST91000640SS Firmware Revision : 0003 Serial No : 9XG0WHZB00009208GMC9 GUID : 5000c50040c629db Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 5 SAS Address : 5000c50-0-34c2-72c5 State : Optimal (OPT) Size (in MB)/(in sectors) : 953869/1953525167 Manufacturer : SEAGATE Model Number : ST91000640SS Firmware Revision : 0003 Serial No : 9XG0LFKM00009201LER8 GUID : 5000c50034c272c7 Protocol : SAS Drive Type : SAS_HDD Device is a Hard disk Enclosure # : 1 Slot # : 6 SAS Address : 5000c50-0-33e5-cbf1 State : Optimal (OPT) Size (in MB)/(in sectors) : 953869/1953525167 Manufacturer : SEAGATE Model Number : ST91000640SS Firmware Revision : 0003 Serial No : 9XG05KP800009119LZRZ GUID : 5000c50033e5cbf3 Protocol : SAS Drive Type : SAS_HDD ------------------------------------------------------------------------ Enclosure information ------------------------------------------------------------------------ Enclosure# : 1 Logical ID : 50010f30:00002de0 Numslots : 8 StartSlot : 0 ------------------------------------------------------------------------ SAS2IRCU: Command DISPLAY Completed Successfully. SAS2IRCU: Utility Completed Successfully.
Run RAID consistency checks every month:
Note:You should run a consistency check on your JA2500 appliance at least once a month to make sure that grown drive defects are mapped out in case of a drive failure.
Do the following:
Log in to the appliance as the admin user.
The Junos Space Settings Menu appears.
Type
6
, which is the(Debug) run shell
option.You are prompted to enter your password.
Type the password for the admin user and press Enter.
You are taken to the shell.
(Optional) If you do not have the volume ID of the RAID volume, run the following command:
[root@host ~]# sas2ircu 0 status
To start the consistency check, execute the following command, where
volume-id
refers to the ID of the RAID volume:[root@host ~]# sas2ircu 0 constchk volume-id
Monitor the progress of the consistency check by executing the following command:
root@host # sas2ircu 0 status
If there is a problem found during the consistency check, the degraded state and the failed drive is displayed.
Meaning
The outputs of the various commands provide information about the status of the RAID volume.