PDA

View Full Version : UPS on Xen Guests



stelgenkamp
22-May-2012, 18:58
Hello all,
Have recently purchased OES11 and installed on SLES11SP1 Xen host.
Now I have installed several Guests ( both Windows and Linux )

But need some advice on installing my UPS.
It is an APC with still a serial cable and I have Powerchute Business Edition with it.
What would be best practice to install the APC and software ?

And how do I connect the other XEN Guests and Xen host to also shutdown ?
Appriciate any advice.

Stephan

KBOYLE
22-May-2012, 19:40
stelgenkamp wrote:

>
> Hello all,
> Have recently purchased OES11 and installed on SLES11SP1 Xen host.
> Now I have installed several Guests ( both Windows and Linux )

Be aware that when you run OES on your Dom0 most services are
unsupported. Check the documentation to verify supported configurations.

My preference is to only run OES in a DomU and use native SLES for my
host/Dom0.

>
> But need some advice on installing my UPS.
> It is an APC with still a serial cable and I have Powerchute Business
> Edition with it.

That is not the correct solution to your problem. That is designed to
communicate with a single computer.

> What would be best practice to install the APC and software ?
>
> And how do I connect the other XEN Guests and Xen host to also
> shutdown ?


If you want to automatically shutdown multiple servers (virtual or
physical) you want:

The APC UPS Network Management Card
http://www.apcc.com/products/family/index.cfm?id=98
And the APC PowerChute® Network Shutdown software
http://www.apc.com/products/family/index.cfm?id=127





--
Kevin Boyle - Knowledge Partner
If you find this post helpful and are using the web interface,
show your appreciation and click on the star below...

stelgenkamp
23-May-2012, 13:37
Dear Kevin,

Maybe I miswrote, yes I am running XEN on SLES11 only.
OES is just the Guest.

But I have read some things about shutting all guests
with an "xe" command.
So that the Powerchute Software starts a batch file to shutdown all guests.

Stephan

KBOYLE
23-May-2012, 16:41
stelgenkamp wrote:

> But I have read some things about shutting all guests
> with an "xe" command.

Here is a TID that may help:
http://www.novell.com/support/kb/doc.php?id=3029956

You can also search the Knowledgebase for additional information.
http://www.novell.com/support/

Be aware that the "xm shutdown <DomU>" command only initiates a
shutdown and that the DomU may not actually shutdown if there are
problems. If you issue shutdown commands for all your DomU's and then
shutdown and power off your server after waiting "an appropriate period
of time", some of your DomU's could still be running...

--
Kevin Boyle - Knowledge Partner
If you find this post helpful and are using the web interface,
show your appreciation and click on the star below...

stelgenkamp
29-May-2012, 19:28
For shutting down multiple DOMU's i have found this excellent solution ( I knew I had read it somewhere ) :
APC UPC Deamon
http://www.apcupsd.org/

So what to do :
1) Install apcupcd on the dom0. With Suse this is available through the portal.
2) Setup the dom0 as apcupsd server by editing the config file :
NETSERVER on
NISIP 0.0.0.0 ( this is to listen on all ethernet cards, you can also specify your internal network ip )
NISPORT 3551
3) Check if the local machine works, by starting the deamon.
4) On the domu's install the same with :
UPSCABLE ether ( connection through ethernet )
UPSTYPE net
DEVICE server-network-address:3551

And volia ! Your done.
Work on both Linux and Windows.

More info can be found on :
http://www.apcupsd.org/

Good luck, Stephan