«

»

Mar 17

Quick SimpliVity OmniStack Capacity Script

This is a quick script, SVT-Fed-Capactiy.ps1, I put together using Powershell and the SimpliVity REST API to report available, free, and used capacity information for OmniStack Clusters in a SimpliVity Federation, and the OmniStack hosts in each Cluster.

Get the script here: https://github.com/herseyc/SVT/blob/master/SVT-Fed-Capacity.ps1

Just set a couple of simple configuration variables:

  • Line 12-14 – set the OVC mgmt IP ($ovc), username to use ($username), and password ($pass)
  • Line 22 – Here you can set what you want to convert the capacity information to, the REST API returns capacity information in Bytes. Just change the variable to one of the ones above the line. This is set to TiB in the script.
  • Line 23 – Set the number of decimal places to round the capacity conversion to. It is set to 2 in the script.

The script will output the total capacity of each SimpliVity OmniStack Cluster and the physical capacity of each host in the OmniStack Cluster. It looks a little something like this:

Happy Friday! Enjoy.

About the author

vHersey

Hersey Cartwright is an IT professional with extensive experience designing, implementing, managing, and supporting technologies that improve business processes. Hersey is Solutions Architect for SimpliVity covering Virginia, Washington DC, and Maryland. He holds the VMware Certified Design Expert (VCDX-DV #128) certification. Hersey actively participates in the VMware community and was awarded the VMware vExpert title in 2016, 2015, 2014, 2013, and 2012. He enjoys working with, teaching, and writing about virtualization and other data center technologies. Follow Hersey on Twitter @herseyc

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

five × two =