Quantcast
Channel: VMware Communities : Discussion List - vSphere SDK for Perl
Viewing all articles
Browse latest Browse all 1577

Locking VMs to specific hosts to prevent migration.

$
0
0

Obviously the forums don't like chrome, had most of this typed then it locked up. Couldn't even do a copy/paste.

 

New at using perl SDK and deal with VMWare.

 

I'm trying to lock down a subset of VMs to specific hosts.

 

I currently have a list of mo_refs for the VMs grouped by hosts and I have an example of how to create the ClusterConfigSpec/ClusterRuleSpec.

 

The example I found uses a reference to a ClusterComputerResource.

 

Do I need to create one for each host or just one for the group of hosts I'm dealing with?

 

Can hosts be referenced by multiple ClusterComputerResources?

 

How do I create a ClusterComputerResource?

 

Some additional code/explanation to follow...


Viewing all articles
Browse latest Browse all 1577

Trending Articles



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