VMware View Deployment Spreadsheet

Update: Make sure to enter some text into the spreadsheet to make the fields populate.

This is a spreadsheet that automates almost all aspects of a VMware View deployment using Powershell and Concatenate. I built it mainly out of a desire to avoid using the Flash GUI that comes with View. It is slow and it makes me want to scream when I’m halfway through a 20-click wizard and I realize I need to look something up.

Be sure to keep this after using it- it doubles as your documentation. It is also everything you need to rebuild in a DR situation after restoring your templates and View servers.

It assumes you have deployed the View Infrastructure, have built some templates and taken snap shots. Look at each workbook left to right. Fill out the variables for you environment in the yellow fields, and use the grey fields to make scripts.  A further refinement would making a mail merge to spit all this into batch files for you. Copying and pasting into PowerGUI suffices for me.

Consistency

For each pool name entered, this will nest a Global AD Group into a Domain Local Group, add a space separated list of users to the Global Group, create an OU under a defined VDI OU, create a Resource Pool in vCenter, compose a Pool and then entitle the Global Group to the Pool.  This is set to create Floating Linked-Clone Automated Pools. If you wish to change this, feel free to edit this:

=IF(ISBLANK(‘Pool Sizing’!B9),””,CONCATENATE(“get-composerdomain | Add-AutomaticLinkedClonePool -pool_id “””, ‘Pool Sizing’!B9,”””  –displayName “””,’Pool Sizing’!C9, “”” -namePrefix “””,’Pool Sizing’!G9,”””  -resourcePoolPath “”/”,Datacenter,”/host/”,Cluster,”/Resources/”,’View Object Names’!C9,””” -parentVMPath “”/”,Datacenter,”/vm/”,BaseImages,”/”,’View Object Names’!D9,””” -parentSnapshotPath “”/”,’Pool Sizing’!F9,””” -datastorespecs “”[Moderate,replica]/”,Datacenter,”/host/”,Cluster,”/”,B9,”;[Moderate,OS,data]/”,Datacenter,”/host/”,Cluster,”/”,C9,””” -persistence “”Nonpersistent”””,” -organizationalUnit “”ou=”,’View Object Names’!E9,”,”,DesktopBaseOu,””” -minimumcount “””,’Pool Sizing’!H9,””” -maximumcount “””,’Pool Sizing’!I9,””” -headroomCount “””,’Pool Sizing’!J9,””” -refreshpolicytype “”Never”””,” -deletepolicy “”RefreshOnUse”””,” -powerpolicy “”AlwaysOn”””,” -vmFolderPath “”/”,Datacenter,”/vm”””))

Just make the GPOs for each Pool and you are set. Don’t create more than a Pool or two at a time, this will crater your environment if run too much at once.

Download the spreadsheet: vHipsterViewDeploymentTemplate

N.B. You have to start entering values to make code appear.

Be sure to consult the documentation if you need to modify anything.

Advertisements

, , , ,

  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Virtually Everywhere

Harsha Hosur - VCDX #135.

Notes from MWhite

Sharing of ideas and knowledge to empower people through easier and smarter technology use

Yellow Bricks

vSphere, View, PowerCli, VMUGs and Certifications

Welcome to vSphere-land!

vSphere, View, PowerCli, VMUGs and Certifications

vTexan

vSphere, View, PowerCli, VMUGs and Certifications

vTesseract

vSphere, View, PowerCli, VMUGs and Certifications

vSoup

All about virtualisation from vSoup to vNuts!

vReference

vSphere, View, PowerCli, VMUGs and Certifications

vNugglets

vSphere, View, PowerCli, VMUGs and Certifications

VMwareTips

vSphere, View, PowerCli, VMUGs and Certifications

VMware End-User Computing Blog

vSphere, View, PowerCli, VMUGs and Certifications

VMware Training and Certification

vSphere, View, PowerCli, VMUGs and Certifications

vSphere, View, PowerCli, VMUGs and Certifications

VMware Hands-On Lab (HOL) Blog

vSphere, View, PowerCli, VMUGs and Certifications

VMware Communities : All Content - Dallas Area VMware User Group

vSphere, View, PowerCli, VMUGs and Certifications

TechGenix

vSphere, View, PowerCli, VMUGs and Certifications

vmetc.com

vSphere, View, PowerCli, VMUGs and Certifications

VMpros

vSphere, View, PowerCli, VMUGs and Certifications

Virtualization Team

VMware ESX/ESXi - ESX server - Virtualization - vCloud Director, tutorials, how-to, video

Virtual Nomad

vSphere, View, PowerCli, VMUGs and Certifications

%d bloggers like this: