cabryant
Contributor
Contributor

Locking VMs to specific hosts to prevent migration.

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...

Reply
0 Kudos