View unanswered posts | View active topics It is currently Thu Dec 14, 2017 4:50 pm



Reply to topic  [ 9 posts ] 
 oem.tgz with native NUT client for ESXi (Network UPS Tools) 
Author Message

Joined: Mon Apr 26, 2010 5:38 am
Posts: 5
Reply with quote
Post 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é


Mon Apr 26, 2010 5:57 am
Profile
Site Admin

Joined: Mon Mar 16, 2009 10:13 pm
Posts: 3880
Reply with quote
Post 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.

_________________
Dave Mishchenko
VMware vExpert 2009-2013
Image
Now available - VMware ESXi: Planning, Implementation, and Security
Also available - vSphere Quick Start Guide


Mon Apr 26, 2010 9:45 am
Profile

Joined: Mon Apr 26, 2010 5:38 am
Posts: 5
Reply with quote
Post 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.


Mon Apr 26, 2010 11:48 am
Profile

Joined: Sat May 23, 2009 1:41 am
Posts: 24
Reply with quote
Post Re: oem.tgz with native NUT client for ESXi (Network UPS Too
Will this oem package work with ESXi 4.1? (Essentials Licensed)

//Svein


Sun Dec 12, 2010 5:18 am
Profile

Joined: Mon Apr 26, 2010 5:38 am
Posts: 5
Reply with quote
Post 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.


Sun Dec 12, 2010 8:07 am
Profile

Joined: Sat May 23, 2009 1:41 am
Posts: 24
Reply with quote
Post 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


Sun Dec 12, 2010 10:30 am
Profile

Joined: Sat May 23, 2009 1:41 am
Posts: 24
Reply with quote
Post 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


Mon Dec 13, 2010 4:15 am
Profile

Joined: Mon Apr 26, 2010 5:38 am
Posts: 5
Reply with quote
Post 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.


Mon Dec 13, 2010 4:57 am
Profile

Joined: Sat May 23, 2009 1:41 am
Posts: 24
Reply with quote
Post 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


Mon Dec 13, 2010 7:59 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.