VMware {code} Community
mdix
Contributor
Contributor

Defining startup rules for VMs in VI Client

Hi,

is it possible to define a policy or rule that will not allow powering on a virtual machine "A" in the VI Client, if virtual machine "B" is already running?

For example in such a way that the rule is triggered by pressing the power-on button for virtual machine "A", checks if "B" is already running, and if so, displays a message box to the user "A cannot be powered on".

My intention of having such a policy or rule is to be able to make VMs mutually exclusive.

I am using VMware ESX 3.0.1. on a single host with VI Client (no VirtualCenter).

Thanks

Marcel

Reply
0 Kudos
4 Replies
hrobinson
VMware Employee
VMware Employee

Unfortunately, this functionality is not available in ESX. The AutoStart feature (http://pubs.vmware.com/vi301/sdk/ReferenceGuide/vim.host.AutoStartManager.AutoPowerInfo.html) simply selects start and stop order but doesn't have thos rules built in. You could, of course, script something like this.

H

mdix
Contributor
Contributor

When writing an own script for this, would it be possible to incorporate it into the VI Client somehow as a plug-in, e.g. as an additional button on the power-toolbar?

Thanks

Marcel

Reply
0 Kudos
mdix
Contributor
Contributor

see question above

Reply
0 Kudos
hrobinson
VMware Employee
VMware Employee

Planned for a future release.