Using PowerCLI to Deploy the Pure Storage VMware Appliance
Now that the latest Pure Storage vSphere Client Plugin is available as a remote plugin is is now deployed as an OVA. I have put together this quick script to automate deploying of the Pure Storage VMware Appliance.
Table of Contents
Pre-Requsites
Link to Script
Preparing to Execute the Script
The script is pretty straight forward, you will need to fill in the appropriate variables on the script.
$vcname = "vc01.my.lab"
$vcuser = "[email protected]"
$vcpass = "VMware1!"
$ovffile = "C:\share\pure-vmware-appliance_3.2.0-prod-signed.ova" #Online OVA https://static.pure1.purestorage.com/vm-analytics-collector/pure-vmware-appliance_3.2.0-prod-signed.ova
$cluster = "MyCluster"
$vmnetwork = "MyNetwork"
$datastore = "MyDatastore"
$vmfolder = "MyFolder"
$vmname = "pureplugin.my.lab"
$vmip = "10.21.234.27"
$netmask = "255.255.255.0"
$gateway = "10.21.234.1"
$dns1 = "10.21.234.10"
$dns2 = "10.21.234.11"
$appliancetype = "vSphere Remote Client Plugin" #"VM Analytics Collector","vSphere Remote Client Plugin", "None (Offline Installation)"
$dhcp = $false #true if dhcp, false if static
Execute the Script
Run the following command.
.\deploy-pureova.ps1
Conclusion
Hope this script helps you out, leave any feedback or questions below.
comments powered by DisqusSee Also
- Installing and Updating the Pure Storage vSphere Plugin
- What's New in the 5.0.0 Pure Storage Plugin for the vSphere Client
- What's New in Pure1 VM Analytics and OVA Collector 3.1.0
- What's New in Pure1 VM Analytics and OVA Collector 3.0
- Using Pure1 Meta for Intelligent Datastore Selection and VM Provisioning