ECS 3.1: The command cs_hal can't illuminate or turn off DAE LED.

           

   Article Number:     514528                                   Article Version: 6     Article Type:    Break Fix 
   

 


Product:

 

Elastic Cloud Storage,ECS Appliance,ECS Appliance Hardware,ECS Appliance Software with Encryption 3.1,ECS Appliance Software without Encryption 3.1,ECS Software

 

Issue:

 

 

The command cs_hal can't illuminate or turn off DAE LED.   
    The command cs_hal does show the correct status of the DAE LED   
    The command cs_hal can't turn on or turn off DAE LED.   
   
    This article addresses the LED on the front of the DAE tray.   
    It does not deal with the LED's for any fan or PSU or disk modules.
                                                           

 

 

Cause:

 

 

Defect in cs_hal in all ECS 3.1 releases.                                                           

 

 

Change:

 

 

Upgrade to ECS 3.1                                                           

 

 

Resolution:

 

 

The issue is resolved in ECS 3.2   
   
    If a CE (or anyone for that matter) needs a DAE tray light turned on or off, one can follow these steps to help the CE.   
    You may simply want to illuminate the DAE LED to find the location of the ECS rack in your data center.   
   
    You will need to secure shell to the node where the LED needs to be checked or changed   
   
    First determine which sg device to use, always use the sg device with 0 drives associated with it, in this example /dev/sg2   
   
    admin@ussd-prd-ecs101:~> sudo cs_hal list daes   
    Enclosure(s):     
      SCSI Device Ext Disks     
      ----------- ---------     
      /dev/sg33    30     
      /dev/sg64    30     
      /dev/sg2     0
   
   
   
    Current status of the DAE tray LED:   
   
    admin@ecs01:~> sudo sg_ses -I 18,0 /dev/sg2 | grep Ident   
            Ident=0, Time until power cycle=0, Failure indication=0   
   
    Ident=0 means the LED is off and Ident=1 (or anything other than 0) means the LED is illuminated or blinking.   
   
    Set the DAE LED to on   
   
    admin@ecs01:~> sudo sg_ses -I 18,0 -S ident /dev/sg2   
    (no output)   
   
    admin@ecs01:~> sudo sg_ses -I 18,0 /dev/sg2 | grep Ident   
            Ident=1, Time until power cycle=0, Failure indication=0   
   
    Set the DAE LED to off   
   
    admin@ecs01:~> sudo sg_ses -I 18,0 -C ident /dev/sg2   
    (no output)   
   
    admin@ecs01:~> sudo sg_ses -I 18,0 /dev/sg2 | grep Ident   
            Ident=0, Time until power cycle=0, Failure indication=0   
   
    If you further assistance, please contact EMC Customer Service and reference this Knowledgebase Article, KB 514528.
                                                           

 

 

Notes:

 

 

The normal method for identifying the DAE is like so   
    (works in ECS 3.0.x and will again in ECS 3.2.x and higher.)   
   
    admin@ecs3:~> sudo cs_hal led sg2 blink   
    cs_hal: setting LED state of enclosure sg2 from 'OFF' to 'BLINK'   
   
    admin@ecs3:~> sudo cs_hal led sg2 off   
    cs_hal: setting LED state of enclosure sg2 from 'BLINK' to 'OFF'