IBM Storwize: Get The Serial Number

KB ID 0001663

Problem

I’ve got a client that has a couple of Storwize V5000 storage arrays. I needed to get the serial numbers for them today, but I could not find them in the GUI?

Solution

As usual things are much simpler at command line, SSH into the storage array and simply use the following command;

[box]lsenclosure[/box]

Note: As you can see, I’ve got one Controller (with the cans in it,) and one expansion shelf. The first part of the serial denotes the model e.g. 2078-24C denotes v5000 Series controller, so in this case the serial number would be 2078-24C / 78A3381 and I’ve got an Expansion Shelf 2078-24E / 78D2CTT.

Related Articles, References, Credits, or External Links

IBM Storwize 3700 Recover Lost IP Address

Getting a Servers Serial Number (Remotely)

KB ID 0001493

Problem

If you have an iLO/iDRAC/EMM, then logging into these will give you the servers serial number, but what if they are not setup/connected, or you don’t know username or password?

Then you can use WMI to discover the serial number.

Solution

From PowerShell;

[box]

Get-Ciminstance -classname win32_bios -computername {Server-Name} | format-list serialnumber

[/box]

 

Or if you have RDP/Console access , then from an administrative command window, execute the following command;

[box]

wmic /node:%computername% bios get serialnumber

[/box]

Nice and simple!

Related Articles, References, Credits, or External Links

NA