Topic
2 replies Latest Post - ‏2013-04-22T19:00:08Z by chriscanto
TanwarKml
TanwarKml
2 Posts
ACCEPTED ANSWER

Pinned topic Capacity Management For SVC 6.1

‏2013-04-22T12:11:49Z |

Hi,

We have an SVC 6.1 with DS8300 as a backend. Some of my seniors have urged me to have capacity management for the SVC.

I don't need a full fledged software and all those details. I just need to maintain an excel file with the storage capacity divided among mdisks, luns, maybe hosts.etc. [You can suggest me here more :)  ]

I'm very new to all this. I have just read the redbooks on SVC and IBM DS8300 and nothing else. I;m not sure but I think few commands on SVC CLI will do the trick but I don't want to risk by trying out any command. It will be great if you guys could help me out.

  • TanwarKml
    TanwarKml
    2 Posts
    ACCEPTED ANSWER

    Re: Capacity Management For SVC 6.1

    ‏2013-04-22T14:51:34Z  in response to TanwarKml

    Is it possible to collect data for a month in day wise format with used capacity and available capacity. OR something like this

     

    Date & Time Storage Space (GB) Used Space (GB) Available Space (GB) Used Space (%) Date
    5/1/2012 0:05 33510.8 23197.26 10313.54 69.22 5/1/2012
    5/1/2012 0:36 33510.8 23206.58 10304.22 69.25 5/1/2012
    5/1/2012 1:07 33510.8 23217.75 10293.05 69.28 5/1/2012
    5/1/2012 1:38 33510.8 23229.48 10281.32 69.32 5/1/2012

    5/1/2012 2:09

    33510.8 23239.93 10270.87 69.35 5/1/2012
    5/1/2012 2:40 33510.8 23252 10258.8 69.39 5/1/2012

     

  • chriscanto
    chriscanto
    277 Posts
    ACCEPTED ANSWER

    Re: Capacity Management For SVC 6.1

    ‏2013-04-22T19:00:08Z  in response to TanwarKml

    I would suggest you could write a script which greps out the values of interest from the following couple of views:

    svcinfo lscluster <cluster_id/name>     (note that this CLI is deprecated in later releases, being replaced by "lssystem")

    svcinfo lsmdiskgrp

    To make parsing the output easier in a script you can use something like "-delim ," to get comma-delimited output.

    You will probably also want to use"-bytes" to specify that you want to display all capacities as bytes.  That way you don't have to worry about the units changing underneath you.

    Run your script from a cron job on a server with key based SSH access to the SVC, writing the output to a local log file.  You can create a new user with the "Monitor" role for this purpose (don't be tempted to be lazy and use the admin/superuser login as you'll be inviting a security hole if someone can gain access to the server you'll run your script on!)