ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xenserver 7 UPS monitoring

    IT Discussion
    8
    28
    7.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tiagom @BRRABill
      last edited by

      @BRRABill what about using http://networkupstools.org/index.html

      It supports the eaton 5s
      http://networkupstools.org/stable-hcl.html?manufacturer=Eaton&model=3S

      It should be in the Epel repo.

      1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @BRRABill
        last edited by

        @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.)

        M 1 Reply Last reply Reply Quote 0
        • M
          mazterjedi @travisdh1
          last edited by

          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.

          DashrenderD travisdh1T scottalanmillerS 3 Replies Last reply Reply Quote 0
          • DashrenderD
            Dashrender @mazterjedi
            last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • travisdh1T
              travisdh1 @mazterjedi
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @mazterjedi
                last edited by

                @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.

                1 Reply Last reply Reply Quote 1
                • DustinB3403D
                  DustinB3403
                  last edited by

                  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.

                  BRRABillB 1 Reply Last reply Reply Quote 1
                  • BRRABillB
                    BRRABill @DustinB3403
                    last edited by

                    @DustinB3403 said in Xenserver 7 UPS monitoring:

                    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.

                    That would be bad, mmmmm'k.

                    1 Reply Last reply Reply Quote 1
                    • 1
                    • 2
                    • 2 / 2
                    • First post
                      Last post