temp.vm-help.com
http://www.vm-help.com/forum/

oem.tgz with native NUT client for ESXi (Network UPS Tools)
http://www.vm-help.com/forum/viewtopic.php?f=12&t=2124
Page 1 of 1

Author:  rene [ Mon Apr 26, 2010 5:57 am ]
Post subject:  oem.tgz with native NUT client for ESXi (Network UPS Tools)

I wrote a small oem.tgz including a NUT client to gracefully shutdown an ESXi host when a NUT server raises an alert on power failure.

It includes a small tool to send an email alert on poweroff.

The oem.tgz can't be used out of the box. You will have to extract files, edit the upsmon.conf file to match your NUT configuration and repack the archive.

You can also edit the notify.sh script to set the destination mail address for alerts (defaults to root@yourdomain, yourdomain is guessed fron ESXi hostname domain).

file can be downloaded here : oem.tgz
More explanations here (in french) : Client nut natif pour vmware esxi

Hope this will be useful.
René

Author:  Dave.Mishchenko [ Mon Apr 26, 2010 9:45 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Tools)

Hello René, thank you for taking the time to post this. Just to clarify, the binaries are 32 bit but ran OK with ESXi 4 (and you didn't have a chance to test with ESXi 3.5)?

Thanks.

Author:  rene [ Mon Apr 26, 2010 11:48 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Tools)

Yes you are right. Binaries are 32 bit. I first tried to compile 64 bit binaries but it does not work because ESXi 4.0 shared libraries (libc.so, etc...) are 32 bit.

I can't test on ESXi 3.5 because I don't have any.

Author:  Svein_Skogen [ Sun Dec 12, 2010 5:18 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Too

Will this oem package work with ESXi 4.1? (Essentials Licensed)

//Svein

Author:  rene [ Sun Dec 12, 2010 8:07 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Too

Yes, it works with ESXi 4.1 but be warned that this is not an official package from vmware and you will have no support from vmware if you break your ESXi installing this file.

Author:  Svein_Skogen [ Sun Dec 12, 2010 10:30 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Too

I won't get any support from them anyways, unless I hand over a lot more money. ;)

//Svein

Author:  Svein_Skogen [ Mon Dec 13, 2010 4:15 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Too

Oh, and before I forget:

A HUGE thank you for this. It solves the cheap NAS+iSCSI+VMWare issue permanently (since most of these NAS boxes run NUT)

//Svein

Author:  rene [ Mon Dec 13, 2010 4:57 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Too

I'm glad my contribution can help you. The NUT client was a need for my personal ESXi server. You still need a NUT server, ESXi cannot be the server as USB and RS232 can't be used from the hypervisor.

Author:  Svein_Skogen [ Mon Dec 13, 2010 7:59 am ]
Post subject:  Re: oem.tgz with native NUT client for ESXi (Network UPS Too

My situation is quite similar. A ReadyNAS2100 box serving iSCSI for my two ESXi hosts, the UPS connected to the ReadyNAS (who runs NUT), and quite a lot of hairpulling on finding a way to get the ESXi hosts to go down gracefully (including stopping _ALL_ guests) when power fails.

Your package solved the issue (and will solve it for most of the ReadyNAS users as well)

//Svein

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/