Active IQ Unified Manager Discussions

Disk shelf serial numbers?

COREYG1323
34,452 Views

I am new to Netapp and looking for a way to get the serial numbers on the disk shelves we have attached to our filers without a physical visit to our Co-lo's. we have a fas2240-2, V3240, and a fas3140?

1 ACCEPTED SOLUTION

kpj
10,753 Views

more current command to get shelf serial numbers:

$ ssh netapp storage shelf show            
...
                                                                      
                                                       Module Operational
       Shelf Name Shelf ID Serial Number   Model       Type   Status
----------------- -------- --------------- ----------- ------ -----------
              1.0        0 SHFGD1234567890 DS224-12    IOM12E Normal
              1.1        1 SHJGD1234567891 DS212-12    IOM12  Normal
              1.2        2 SHJGD1234567892 DS212-12    IOM12  Normal
...

 

View solution in original post

5 REPLIES 5

mgoddard
34,453 Views

Hey Corey,

Are you intending on doing this regularly via automation? Or is this a once-off sort of thing? (You asked the question in the OnCommand Workflow Automation forum)

If it's a once off, you can use the "environment status" command to get the shelf serials, see "Product Serial Number", as well as the serials of the two modules in the shelf. You can also use "sysconfig -av" for a variety of serials within the controller itself.

I'm not sure what level of information you can get back from a V-series however.

If you have AutoSupport enabled, you can also use the AutoSupport visualizations to display shelf details (http://support.netapp.com/myautosupport/home.html). Find the system and select Virtualization on the left side. The default System View will show Shelf Serial numbers, and how everything's connected.

Hope that helps!

Michael.

adaikkap
34,453 Views

Hi Corey,

   Could you help us a little more in understanding what part of your workflow uses the same and why?

UM doesn't collect this information IIRC, and As Mike said you will have to use environmental status cli or system information.

If your need is just reporting for assets then this is not the right forum.

Regards,

Adai

Damian_Bento
32,347 Views

Sorry guys, I'm maybe a little bit late. !!

 

from storage:

fas3140> environment shelf

 

And the best, using a linux

#ssh root@10.10.20.100 environment shelf | grep -i 'Product Serial Number:'

 

Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHU0xxxxxxxxxx
Product Serial Number: SHU0xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: SHJ00xxxxxxxxxx
Product Serial Number: 60xxxxxxxxxx
Product Serial Number: 60xxxxxxxxxx
Product Serial Number: 60xxxxxxxxxx
Product Serial Number: 60xxxxxxxxxx
Product Serial Number: SHFMSxxxxxxxxxx
Product Serial Number: SHFMSxxxxxxxxxx
Product Serial Number: SHFMSxxxxxxxxxx
Product Serial Number: SHFMSxxxxxxxxxx

 

 

I hope that it will prove useful

Best regards

kpj
10,754 Views

more current command to get shelf serial numbers:

$ ssh netapp storage shelf show            
...
                                                                      
                                                       Module Operational
       Shelf Name Shelf ID Serial Number   Model       Type   Status
----------------- -------- --------------- ----------- ------ -----------
              1.0        0 SHFGD1234567890 DS224-12    IOM12E Normal
              1.1        1 SHJGD1234567891 DS212-12    IOM12  Normal
              1.2        2 SHJGD1234567892 DS212-12    IOM12  Normal
...

 

Public