It sucks, exactly.
Now they released seperate "PowerChute Network Shutdown for VMware ESX" software edition and they want money for it:
since I don't want to put those strange / buggy / beta soft/demons on my ESX, and since I have APC on my Virtual Center, I'm trying tu make this shutdown stuff remotly on the Windows script. Do anyone had the same idea ?
You can probably follow a similar logic to http://communities.vmware.com/docs/DOC-9531 and use variety of tools available VI Perl Toolkit for Windows, Powershell, VIX, etc. This is all dependent on where your vCenter is located at, if it's a physical system then you don't need to worry about powering down the host that is hosting the VM communicating to your UPS device, even then there are some potential work arounds. I know there are already some documented scripts in the Powershell forum for powering down VM(s), putting hosts into maintenance mode and also shutting a host and would requiring adding some logic and combining those steps.
VMware vExpert 2009
well the big question was time here. I didn't have that much time to do it and doing it in powershel implied that i learned powershell before !
so i decided to apply a shell script that was running on my ESX server. i used a script based on this :
and a plink command. The problem of Plink is that is must use a root pw passed written in clear text in my .bat AND need to activate root on SSH. It's quite easy to do but not very secure...
I'll now try to use a SSH public/private key system.
Then i'll try to sudo it and re-establish a SSH "root permitted" to no
After that i'll try to do the same with powershell.
And at the end i'll do the same with APC directly on my ESX with
and I think that i'll make a doc at the end to resume all of this
I would strongly prefer to use apcupsd if possible as I've already got it running on a bunch of other servers, virtual and physical.
What is the correct version of apcupsd to use with ESX 3.5?
Moved to ESX 3.5 forum.
Edward L. Haletky VMware Communities User Moderator, VMware vExpert 2009, Virtualization Practice Analyst[/url]
Now Available: 'VMware vSphere(TM) and Virtual Infrastructure Security: Securing the Virtual Environment'[/url]
Also available 'VMWare ESX Server in the Enterprise'[/url]
[url=http://www.astroarch.com/wiki/index.php/Blog_Roll]SearchVMware Pro[/url]|Blue Gears[/url]|Top Virtualization Security Links[/url]|Virtualization Security Round Table Podcast[/url]