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).
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.
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?
see question above
Planned for a future release.