Hello....I'm hoping someone can provide me with a script that will do the following:
1) provision VMs from a template in vCenter (I need 125+ VMs created within the next day or two)
2) use existing guest customizations in vCenter
3) allow me to enter the available datastores in which the VMs need to be created on. Example: I want the VMs on specific datastores like LUN1, LUN2, LUN5, LUN6, LUN12, etc... However, the script would need to have the ability to know when a datastore is near the capacity threshold, say 90%, so it can use one of the other available datastores identified in the script....similar to Storage Profiles. We've yet to adopt storage profiles but plan on doing so once we upgrade to v5.1 within the next month or two. We're hoping it will help us keep our replicated LUNs more organized when using SRM and the remote copy groups our storage team has setup on 3PAR.
Additional Info: I'll be using 2 templates....WinXP and Win7. Their respective sizes are 40GB and 60GB due to all of the applications installed for DR testing. The datastores are 500GB ea.
Please let me know if additional info is needed....thanks!!!
Charles