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.
1$vcname = "vc01.my.lab"
2$vcuser = "[email protected]"
3$vcpass = "VMware1!"
4
5
6$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
7$cluster = "MyCluster"
8$vmnetwork = "MyNetwork"
9$datastore = "MyDatastore"
10$vmfolder = "MyFolder"
11$vmname = "pureplugin.my.lab"
12$vmip = "10.21.234.27"
13$netmask = "255.255.255.0"
14$gateway = "10.21.234.1"
15$dns1 = "10.21.234.10"
16$dns2 = "10.21.234.11"
17$appliancetype = "vSphere Remote Client Plugin" #"VM Analytics Collector","vSphere Remote Client Plugin", "None (Offline Installation)"
18$dhcp = $false #true if dhcp, false if static
Execute the Script
Run the following command.
1.\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