Automating VMWare NFS Datastore Creation using the NetApp Powershell Toolkit

20151023 powershell datastores

Let’s say the Widgets team asks you, the storage administrator for a new datastore to be added in VMWare…

What information do you need to collect about the nature of the datastore?

  • Do you want that on SAS or SATA (maybe these VMs run everything they need in RAM, and rely little on disk, but need a lot of it)?
  • In which datacenter will this datastore reside?
  • What’s the purpose of this datastore, ie, how can it be differentiated from the others, and therefore named?
  • Which environment is it for? Production, Test, Dev, DR, a specific team?

Great, now that we have the facts, what are the steps for delivering the new datastore? Continue reading

NetApp & The Powershell Toolkit – Building More Intelligent Aggregate Selection

Give me all the disks of a certain flavor
I am new to Powershell, but realize its value and significance in the future — after all, Windows Server Core has arrived, environments are growing in breadth and number, and there will be a tipping point where some degree of automation is going to be the only way a sysadmin can keep up.

To that end, I’ve been working with the NetApp Powershell Toolkit for some time. I’ve been using modified sample scripts to do things like create scheduled Flexclones of volumes containing SQL databases (and other no-SQL DB volumes) for Disaster Recovery or testing purposes. Now, with the help of my DevOps teammate I am attempting to leverage some Powershell voodoo to create more exciting home-grown scripts. Continue reading