Simple Provisioning Script to Create Multiple Volumes and Adding to a PGroup

Got this question today that a customer was looking for a provisioning script that allowed them to create several hundred volumes with assigned prefixes and then add them to a Protection Group to help them scale out a deployment.

The below script helps with that workflow and provides a basis for other feature additions.

Inputs

  • FlashArray IP/Name
  • Credentials, this can be automated using a previous blog post here.
  • Customer prefix, eg. XYZCorp
  • Volume size (GB)
  • # of volumes to create

 

Hope this is useful!

Thanks,
Barkz

Add Comment

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

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