Unsolved

This post is more than 5 years old

6 Posts

4442

October 14th, 2014 15:00

Vmax Host Capacity Reports

I know this has been asked before but does anyone have a script that can run on a windows SE host to loop through and pull all of the host capacity info?

2 Intern

 • 

1.2K Posts

October 14th, 2014 20:00

symmaskdb list capacity -host

will give the entire list.You can put script on this and you get your results.

6 Posts

October 15th, 2014 07:00

Can you help me with a script?

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

October 15th, 2014 09:00

have you attempted to script it yourself ?

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

October 15th, 2014 11:00

select a scripting language that you are familiar with (bash, perl, python, powershell) and try to parse output from symcli commands.

6 Posts

October 15th, 2014 11:00

No I have not attempted it.  I have a Windows SE host.  Not sure where to start.

4 Apprentice

 • 

465 Posts

October 15th, 2014 15:00

This might help get you started:

using scripting to run symcli commands

2 Intern

 • 

226 Posts

October 16th, 2014 07:00

Deb,

I have a script that will produce a report showing capacity information for each Storage Group in a VMAX -- I haven't tested this on Windows, but it might be a good starting point for you. You'll need to have Python installed on your host (version 2.7.6 should work), along with the 'prettytable' Python module. I generally run this from an offline host (see Offline SYMCLI Commands).

https://github.com/seancummins/sgcapreport

Thanks,

- Sean

October 16th, 2014 08:00

Please use below commands may help you ;-

symaccess -sid XXX list -type storage  -detail / symsg list ( if you device sizes is same you can get the details by using any of the commands)

Else :- Please use Unisphere for VMAX ( in the array you will have option to get the consolidated report for all the storage groups along with the capacity/storage assigned to them)

4 Apprentice

 • 

1.2K Posts

October 22nd, 2014 12:00

I'm curious about using the command in your example.  When I try to run it, I get:

astro# symmaskdb -sid 3775 list capacity -host 10000000c9a1a55a

Feature is not available for this microcode level.

astro# symcli

Symmetrix Command Line Interface (SYMCLI) Version V7.6.1.0 (Edit Level: 1755)

built with SYMAPI Version V7.6.1.0 (Edit Level: 1755)

My arrays are all running Enginuity 5876:

    Product Model                        : VMAX-1

    Symmetrix ID                         : 000192601234

    Microcode Version (Number)           : 5876 (16F40000)

    Microcode Registered Build           : 46

    Microcode Date                       : 06.06.2014

    Microcode Patch Date                 : 06.06.2014

    Microcode Patch Level                : 268

    Symmwin Version                      : 174

    Enginuity Build Version              : 5876.268.174

Thanks!

11 Legend

 • 

20.4K Posts

 • 

87.4K Points

October 22nd, 2014 12:00

does not work with VMAX, have to use symsg show or other options with symaccess

4 Apprentice

 • 

1.2K Posts

October 22nd, 2014 15:00

Doh!  Thanks much!  Looks like I'll be working on Sean's script in PowerShell....

No Events found!

Top