UNSOLVED

Deb Nelson

updated

12 years ago

0

4471

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?

  • Zhang_Jiawen

    2 Intern

    •

    1161 Posts

    2450

    1

    Posted 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.

  • 2461

    0

    Posted October 15th, 2014 07:00

    Can you help me with a script?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2461

    0

    Posted October 15th, 2014 09:00

    have you attempted to script it yourself ?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    2461

    1

    Posted 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.

  • 2461

    0

    Posted October 15th, 2014 11:00

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

  • PedalHarder

    4 Apprentice

    •

    465 Posts

    2461

    0

    Posted October 15th, 2014 15:00

    This might help get you started:

    using scripting to run symcli commands

  • seancummins

    2 Intern

    •

    226 Posts

    2461

    0

    Posted 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

  • 1862

    0

    Posted 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)

  • umichklewis

    4 Apprentice

    •

    1190 Posts

    2461

    0

    Posted 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!

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    984

    0

    Posted October 22nd, 2014 12:00

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