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

    Installing apcupsd on XenServer 7

    IT Discussion
    xenserver
    5
    22
    6.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.
    • scottalanmillerS
      scottalanmiller @BRRABill
      last edited by

      @BRRABill said in Installing apcupsd on XenServer 7:

      The directions are basically the same for 6.5 and 7 with some small differences you will see at the start of the article, the first of which I already have a question about!

      It says

      Also, in Xenserver 7, you need the rpm package for Centos7 available here:
      https://pkgs.org/centos-7/epel-x86_64/apcupsd-3.14.12-1.el7.x86_64.rpm.html”
      

      Do I use wget to get that? How to I "use" that rpm package?

      Yes you could, but no you do not. You can see that that is listing the name as the EPEL repository. The issue that you have is that that repo is missing. In theory, and especially as a newer Linux user, you should never touch RPMs. You need to let YUM manage them for you. If you start messing around under the hood with RPMs they will not be properly managed and not come from the right sources. Remember... make Linux easier, not harder.

      So I'm going to answer to "yes you cans" and then provide the "what you actually do."

      1. You CAN use wget to download an RPM locally then install it using the RPM command. That will absolutely work. Don't do that.
      2. You CAN use the rpm command to install an RPM from the website directly, no need for the wget command. This will absolutely work, don't do this either.
      BRRABillB 1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        What you actually do is install the EPEL repo, then install the desired package. In this way YUM and the repos handle all the heavy lifting for you and you just let the system take care of itself. On CentOS (which is the only place that the EPEL exists) it's like this..

        yum -y install epel-release
        

        This sets up the EPEL repositories for you. Then you do this...

        yum -y install apcupsd
        

        Done

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

          @scottalanmiller said in Installing apcupsd on XenServer 7:

          @BRRABill said in Installing apcupsd on XenServer 7:

          The directions are basically the same for 6.5 and 7 with some small differences you will see at the start of the article, the first of which I already have a question about!

          It says

          Also, in Xenserver 7, you need the rpm package for Centos7 available here:
          https://pkgs.org/centos-7/epel-x86_64/apcupsd-3.14.12-1.el7.x86_64.rpm.html”
          

          Do I use wget to get that? How to I "use" that rpm package?

          Yes you could, but no you do not. You can see that that is listing the name as the EPEL repository. The issue that you have is that that repo is missing. In theory, and especially as a newer Linux user, you should never touch RPMs. You need to let YUM manage them for you. If you start messing around under the hood with RPMs they will not be properly managed and not come from the right sources. Remember... make Linux easier, not harder.

          So I'm going to answer to "yes you cans" and then provide the "what you actually do."

          1. You CAN use wget to download an RPM locally then install it using the RPM command. That will absolutely work. Don't do that.
          2. You CAN use the rpm command to install an RPM from the website directly, no need for the wget command. This will absolutely work, don't do this either.

          I think this is what I did, because that is what the directions said.

          localinstall
          
          1 Reply Last reply Reply Quote 0
          • BRRABillB
            BRRABill @JaredBusch
            last edited by

            @JaredBusch said

            You are making everything harder than it needs to be by adding networking into the mix.

            After about 10 minutes of working with apcupsd, I already agree with you and will be switching back. 🙂

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @BRRABill
              last edited by

              @BRRABill said in Installing apcupsd on XenServer 7:

              @JaredBusch said

              You are making everything harder than it needs to be by adding networking into the mix.

              After about 10 minutes of working with apcupsd, I already agree with you and will be switching back. 🙂

              Try NUT instead of apcupsd

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

                @JaredBusch said in Installing apcupsd on XenServer 7:

                @BRRABill said in Installing apcupsd on XenServer 7:

                @JaredBusch said

                You are making everything harder than it needs to be by adding networking into the mix.

                After about 10 minutes of working with apcupsd, I already agree with you and will be switching back. 🙂

                Try NUT instead of apcupsd

                First of all, thanks for the UPS reco. Worked like a charm!

                Second of all ... this NUT. While I am tempted to just follow the advice since you've proven yourself right already today on this thread. But, tell me more!

                1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch
                  last edited by

                  Assuming you have the EPEL available yum install nut

                  http://networkupstools.org/

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

                    @JaredBusch said in Installing apcupsd on XenServer 7:

                    Assuming you have the EPEL available yum install nut

                    http://networkupstools.org/

                    I mean ... why do you like NUT over apcupsd?

                    JaredBuschJ travisdh1T 2 Replies Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch @BRRABill
                      last edited by

                      @BRRABill said in Installing apcupsd on XenServer 7:

                      @JaredBusch said in Installing apcupsd on XenServer 7:

                      Assuming you have the EPEL available yum install nut

                      http://networkupstools.org/

                      I mean ... why do you like NUT over apcupsd?

                      Honestly, I have barely used both so far. But I like NUT better so far with the little I have setup.

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

                        @JaredBusch said in Installing apcupsd on XenServer 7:

                        @BRRABill said in Installing apcupsd on XenServer 7:

                        @JaredBusch said in Installing apcupsd on XenServer 7:

                        Assuming you have the EPEL available yum install nut

                        http://networkupstools.org/

                        I mean ... why do you like NUT over apcupsd?

                        Honestly, I have barely used both so far. But I like NUT better so far with the little I have setup.

                        Fair enough.

                        apcupsd was pretty easy to set up via USB. Now I just have to test to see if that XS setup really works.

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

                          @BRRABill said in Installing apcupsd on XenServer 7:

                          @JaredBusch said in Installing apcupsd on XenServer 7:

                          Assuming you have the EPEL available yum install nut

                          http://networkupstools.org/

                          I mean ... why do you like NUT over apcupsd?

                          NUT should work with any model UPS, not just APC like apcupsd.

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

                            @travisdh1 said

                            NUT should work with any model UPS, not just APC like apcupsd.

                            @JaredBusch said apcupsd works with other UPSes as well.

                            That was my first question. 🙂

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

                              @BRRABill said in Installing apcupsd on XenServer 7:

                              @travisdh1 said

                              NUT should work with any model UPS, not just APC like apcupsd.

                              @JaredBusch said apcupsd works with other UPSes as well.

                              That was my first question. 🙂

                              Huh, I'll have to give it another look then.

                              BRRABillB JaredBuschJ 2 Replies Last reply Reply Quote 0
                              • BRRABillB
                                BRRABill @travisdh1
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @travisdh1
                                  last edited by

                                  @travisdh1 said in Installing apcupsd on XenServer 7:

                                  @BRRABill said in Installing apcupsd on XenServer 7:

                                  @travisdh1 said

                                  NUT should work with any model UPS, not just APC like apcupsd.

                                  @JaredBusch said apcupsd works with other UPSes as well.

                                  That was my first question. 🙂

                                  Huh, I'll have to give it another look then.

                                  It is designed for APC, but you can use almost any UPS via USB if you set it to generic.

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