Please help with the Python Script for Bulk VMdeployments VM Deployments.

20 views
Skip to first unread message

Bhupal Reddy

unread,
Feb 21, 2016, 12:16:36 AM2/21/16
to psphere

Hello All,

I have bulk of VM to be deployed.

Here is the design of our vcenter infrastructre.

Vmware Vsphere 5.5 > Multiple DataCenters > Multiple Clusters in each Datacenter > Multiple hosts in each Cluster.>Multiple Datastores for each cluster/host.

I would would want to do something like this ..

./vmdeploy.py -s <vcenter name> -u <Username>  -t <Template> -b <basename> -c <count> -n <number> -r <ResourcePool> -d <Datacenter> -C <Cluster> -D <Datastore> -f <Folder> -v -w 120

I tried with pysphere... but not sure how to mention <Datacenter>  <Cluster>  <Datastore>?


Please HELP!!


Regards,
sbr.

Jonathan Kinred

unread,
Feb 21, 2016, 5:45:19 PM2/21/16
to psphere
Hi Bhupal,

psphere is no longer maintained and is somewhat irrelevant now that VMware distributes their own Python bindings.

You should check out that project:
https://github.com/vmware/pyvmomi

Jonathan
Reply all
Reply to author
Forward
0 new messages