rageek

A place for Unix Thoughts and Ideas

Turn on Locate LED for SAS Drive on HP-UX

Here is the process for Turning on the locate LED for a Drive on HP-UX

On my server EMS has indicated that drive 0/4/1/0.0.0.3.0 is experiencing errors.
I’m going to turn on the LED so I can easily locate it in my datacenter

root@testserver # sasmgr get_info -D /dev/sasd0 -v -q lun=all -q lun_locate
LUN LUN HW Path Enc Bay Locate LED
=== =========== === === ==========
/dev/rdsk/c1t0d0 0/4/1/0.0.0.0.0 1 5 OFF
/dev/rdsk/c1t1d0 0/4/1/0.0.0.1.0 1 6 OFF
/dev/rdsk/c1t2d0 0/4/1/0.0.0.2.0 1 7 OFF
/dev/rdsk/c1t3d0 0/4/1/0.0.0.3.0 1 8 OFF

RAID VOL ID is 1 :
LUN LUN HW Path
=== ===========
/dev/rdsk/c1t6d0 0/4/1/0.0.0.6.0

Physical disks in volume are :
Enc Bay Locate LED VendorID ProductID Revision
=== === ========== ======== ========= ========
1 4 OFF HP EG0146FARTR HPD5
1 1 OFF HP EG0146FARTR HPD5

root@testserver # sasmgr set_attr -D /dev/sasd0 -q lun=/dev/rdsk/c1t3d0 -q locate_led=on
Locate LED set to ON.

root@testserver # sasmgr get_info -D /dev/sasd0 -v -q lun=all -q lun_locate
LUN LUN HW Path Enc Bay Locate LED
=== =========== === === ==========
/dev/rdsk/c1t0d0 0/4/1/0.0.0.0.0 1 5 OFF
/dev/rdsk/c1t1d0 0/4/1/0.0.0.1.0 1 6 OFF
/dev/rdsk/c1t2d0 0/4/1/0.0.0.2.0 1 7 OFF
/dev/rdsk/c1t3d0 0/4/1/0.0.0.3.0 1 8 ON

RAID VOL ID is 1 :
LUN LUN HW Path
=== ===========
/dev/rdsk/c1t6d0 0/4/1/0.0.0.6.0

Physical disks in volume are :
Enc Bay Locate LED VendorID ProductID Revision
=== === ========== ======== ========= ========
1 4 OFF HP EG0146FARTR HPD5
1 1 OFF HP EG0146FARTR HPD5

To turn off, run the following:
root@testserver # sasmgr set_attr -D /dev/sasd0 -q lun=/dev/rdsk/c1t3d0 -q locate_led=off
Locate LED set to OFF.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: