hello,
i just installed a new vmware esxi 4 server with the free standalone server license.
i have an apc ups and i need to buy a smart slot ethernet card to be able to monitor ups status in an vm.
after searching around i found out that the ghettoShutDown.pl script does not work because of the restrictions of perl in the free licensed version.
but we are able to enable ssh. it is unsupported but not illegal. i rather have a legal esxi version with no support on it than a supported illegal version.
after looking around in the forums i found out that the available scripts were not that good.
so i made my own.... :smileyhappy:
save it on a vmfs volume. create ssh password less login and let apc daemon on a linux virtual machine fire up this script.
what is basically does: get list of all vm's on machine.
loop through that list to shutdown all vm's. loop will be run at least 1 time. it waits a specified interval to check if all machines are down. of not... power it down the hard way....
have fun using it.....