Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
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?
Solved! See The Solution
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
...
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.
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
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
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
...