Xenserver 7 UPS monitoring
-
But if we are dealing with APC PowerChute, even thought officially APC does not provide non-Windows tools, they don't need to as Linux talks to it natively.
http://www.cyberciti.biz/faq/debian-ubuntu-centos-rhel-install-apcups/
This should work for XenServer as well, if it is APC.
-
I was under the impression that you could use apcupsd for linux?
-
@tiagom said in Xenserver 7 UPS monitoring:
I was under the impression that you could use apcupsd for linux?
You can, that's the link I just provided
-
Damn it @scottalanmiller ninja fast..
-
I am also wondering about this.
I have a non-networked Eaton.
-
@BRRABill said in Xenserver 7 UPS monitoring:
I have a non-networked Eaton.
What tools does Eaton provide?
-
Well, the software that came with this UPS is Windows only.
But perhaps something else will work.
They were really trying to push the higher end units to get the additional software and ability to install a network card. But we had a thread back in the day saying that probably could be worked around.
-
@BRRABill Looks like eaton supports xenserver
http://powerquality.eaton.com/Products-services/Power-Management/Software-Drivers/Intelligent-PM.asp
-
@tiagom said in Xenserver 7 UPS monitoring:
@BRRABill Looks like eaton supports xenserver
http://powerquality.eaton.com/Products-services/Power-Management/Software-Drivers/Intelligent-PM.asp
Not sure that works with my UPS. (The 5S.)
The software is one of the selling points of the higher level UPSes.
@scottalanmiller are any of the Eaton peeps still here?
-
@BRRABill said in Xenserver 7 UPS monitoring:
@scottalanmiller are any of the Eaton peeps still here?
Haven't seen them, maybe @Minion-Queen knows?
-
@scottalanmiller said in Xenserver 7 UPS monitoring:
@BRRABill said in Xenserver 7 UPS monitoring:
@scottalanmiller are any of the Eaton peeps still here?
Haven't seen them, maybe @Minion-Queen knows?
Yeah, me either, which is why I asked.
-
@BRRABill said in Xenserver 7 UPS monitoring:
rts xenserver
According to this
http://lit.powerware.com/ll_download.asp?file=IPSS-UPS-Connectivity-Compatibility-List-June2016.pdf
it does over usb.Nope im wrong.Only UPS Companion is supported.
-
@tiagom said in Xenserver 7 UPS monitoring:
@BRRABill said in Xenserver 7 UPS monitoring:
rts xenserver
According to this
http://lit.powerware.com/ll_download.asp?file=IPSS-UPS-Connectivity-Compatibility-List-June2016.pdf
it does over usb.Nope im wrong.Only UPS Companion is supported.
Yes, exactly the issue.
-
@BRRABill what about using http://networkupstools.org/index.html
It supports the eaton 5s
http://networkupstools.org/stable-hcl.html?manufacturer=Eaton&model=3SIt should be in the Epel repo.
-
@BRRABill We ended up with a 5C I think, great stuff for the price. So long as you can get it connected (usb/serial), you should be able to use apcupsd to monitor it. Eaton does have software available for Linux, but the one I installed is only monitoring and a GUI (I have it installed on one of the virtual machines.)
-
So, both of my UPS's have both USB and serial ports. If I were to connect the UPS's to the xenservers via serial, is there a way to establish comms? What about a USB to IP converter? My concern is that although I think I would be able to tell the VMs to shut down in a power failure, how would I tell the servers themselves? I know a power failure is a sure way to hose a RAID array. Since the array was created by Xen, it is fully software managed.
-
@mazterjedi said in Xenserver 7 UPS monitoring:
So, both of my UPS's have both USB and serial ports. If I were to connect the UPS's to the xenservers via serial, is there a way to establish comms? What about a USB to IP converter? My concern is that although I think I would be able to tell the VMs to shut down in a power failure, how would I tell the servers themselves? I know a power failure is a sure way to hose a RAID array. Since the array was created by Xen, it is fully software managed.
You're running a local software only RAID? why not RAID controller?
-
@mazterjedi You can have one of the vm's run
ssh user@xenserverip sudo poweroff
XenServer will take the time to gracefully power down all the VMs currently running on the host. So long as you don't just force power off on the host, it should work.
The only problems I've had with this are guests that don't shut down properly. Like @scottalanmiller says, it's important to reboot just as a test if nothing else.
-
@mazterjedi said in Xenserver 7 UPS monitoring:
So, both of my UPS's have both USB and serial ports. If I were to connect the UPS's to the xenservers via serial, is there a way to establish comms? What about a USB to IP converter? My concern is that although I think I would be able to tell the VMs to shut down in a power failure, how would I tell the servers themselves? I know a power failure is a sure way to hose a RAID array. Since the array was created by Xen, it is fully software managed.
Yup, Linux can read comms just fine and anything that Linux can see, the Dom0 (XenServer control) can see. It would be a problem if you wanted the VMs to see this. But not a problem for XenServer to see it.
-
Obviously HA functionality which would start the VM's has to be disabled as well.
Otherwise you'll end up in a loop with the system trying to power off the VM's until your UPS loses power.