Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 180923

Script to create VMs fails when trying to add disk on datastore cluster

$
0
0

Hello,

 

Attached is script that I have been using to create virtual machines and it works fine when the VMs are being created to single datastores but doesn't like clustered datastores. I think the reason is that it creates the VM through the esx host (which doesn't know about the cluter) and not through vCenter (which does know about it.) Unfortunately I don't know how to rectify it.

 

Thanks,

Astra


Viewing all articles
Browse latest Browse all 180923

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>