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

    Final Call ... XenServer Boot Media

    IT Discussion
    10
    178
    17.4k
    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 Final Call ... XenServer Boot Media:

      @stacksofplates
      @JaredBusch

      XS still logs locally even if you send the logs elsewhere.

      I was under the impression that constant writing to a USB would kill it pretty quickly.

      Can you show the entire configuration file for that situation?

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

        @stacksofplates said in Final Call ... XenServer Boot Media:

        @BRRABill said in Final Call ... XenServer Boot Media:

        @stacksofplates
        @JaredBusch

        XS still logs locally even if you send the logs elsewhere.

        I was under the impression that constant writing to a USB would kill it pretty quickly.

        It just uses rsyslog. If you remove all of the local log info from /etc/rsyslog.conf it will only send to the remote server. You have to restart the rsyslog server after you do your edits.

        This is important, XS uses rsyslog, the questions are purely ones about rsyslog, not XS. Don't think of this as how "XS behaves", it's just a matter of configuring rsyslog. It's identical to any OS that uses rsyslog.

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

          @BRRABill said in Final Call ... XenServer Boot Media:

          XS rewrote the rsyslog.conf every time.

          Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

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

            @scottalanmiller said in Final Call ... XenServer Boot Media:

            @BRRABill said in Final Call ... XenServer Boot Media:

            XS rewrote the rsyslog.conf every time.

            Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

            Nothing. I followed the instructions in the above mentioned article.

            This one...
            http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • DanpD
              Danp
              last edited by

              @BRRABill said in Final Call ... XenServer Boot Media:

              Nothing. I followed the instructions in the above mentioned article.

              This one...
              http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

              That's a really old post from well before XS7 came out. According to this recent post by a Citrix employee, the proper file to be editing is /etc/rsyslog.d/xenserver.conf

              BRRABillB stacksofplatesS 2 Replies Last reply Reply Quote 2
              • BRRABillB
                BRRABill @Danp
                last edited by

                @Danp said in Final Call ... XenServer Boot Media:

                @BRRABill said in Final Call ... XenServer Boot Media:

                Nothing. I followed the instructions in the above mentioned article.

                This one...
                http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                That's a really old post from well before XS7 came out. According to this recent post by a Citrix employee, the proper file to be editing is /etc/rsyslog.d/xenserver.conf

                According to that post, XS7 has logging turned off be default?

                Or am I reading that wrong?

                DanpD 1 Reply Last reply Reply Quote 0
                • DanpD
                  Danp @BRRABill
                  last edited by

                  @BRRABill By default, the messages file isn't being used for the system logs.

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

                    @Danp said in Final Call ... XenServer Boot Media:

                    @BRRABill By default, the messages file isn't being used for the system logs.

                    But the logs themselves are still writing, correct?

                    So you think if I comment out the xenserver.conf file, that might maintain the changes?

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

                      @BRRABill said in Final Call ... XenServer Boot Media:

                      @scottalanmiller said in Final Call ... XenServer Boot Media:

                      @BRRABill said in Final Call ... XenServer Boot Media:

                      XS rewrote the rsyslog.conf every time.

                      Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

                      Nothing. I followed the instructions in the above mentioned article.

                      This one...
                      http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                      If this article isn't for doing what you want, why expect it to do something different than it is intended to do?

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

                        @BRRABill said in Final Call ... XenServer Boot Media:

                        @Danp said in Final Call ... XenServer Boot Media:

                        @BRRABill By default, the messages file isn't being used for the system logs.

                        But the logs themselves are still writing, correct?

                        So you think if I comment out the xenserver.conf file, that might maintain the changes?

                        If that is what Citrix says, then yes.

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

                          Just try editing that file, reboot and see.

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

                            I'd say A.

                            You can always make backups of the metadata for the VMs as well. I'd know where to go looking in XenCenter, and I'd be very surprised if you can't do the same thing through Xen Orchestra. I don't feel like trying to configure access from home here just to go look for you tho, sorry.

                            DanpD 1 Reply Last reply Reply Quote 0
                            • DanpD
                              Danp @travisdh1
                              last edited by Danp

                              @travisdh1 said in Final Call ... XenServer Boot Media:

                              I'd know where to go looking in XenCenter, and I'd be very surprised if you can't do the same thing through Xen Orchestra.

                              Actually, XO doesn't yet offer that option. See https://github.com/vatesfr/xo-web/issues/808.

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

                                @Danp said in Final Call ... XenServer Boot Media:

                                @travisdh1 said in Final Call ... XenServer Boot Media:

                                I'd know where to go looking in XenCenter, and I'd be very surprised if you can't do the same thing through Xen Orchestra.

                                Actually, XO doesn't yet offer that option. See https://github.com/vatesfr/xo-web/issues/808.

                                :slight_frown:

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

                                  @scottalanmiller said in Final Call ... XenServer Boot Media:

                                  @BRRABill said in Final Call ... XenServer Boot Media:

                                  @scottalanmiller said in Final Call ... XenServer Boot Media:

                                  @BRRABill said in Final Call ... XenServer Boot Media:

                                  XS rewrote the rsyslog.conf every time.

                                  Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

                                  Nothing. I followed the instructions in the above mentioned article.

                                  This one...
                                  http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                                  If this article isn't for doing what you want, why expect it to do something different than it is intended to do?

                                  I'm not.

                                  I don't understand your question/comment.

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

                                    @BRRABill said in Final Call ... XenServer Boot Media:

                                    @scottalanmiller said in Final Call ... XenServer Boot Media:

                                    @BRRABill said in Final Call ... XenServer Boot Media:

                                    @scottalanmiller said in Final Call ... XenServer Boot Media:

                                    @BRRABill said in Final Call ... XenServer Boot Media:

                                    XS rewrote the rsyslog.conf every time.

                                    Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

                                    Nothing. I followed the instructions in the above mentioned article.

                                    This one...
                                    http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                                    If this article isn't for doing what you want, why expect it to do something different than it is intended to do?

                                    I'm not.

                                    I don't understand your question/comment.

                                    Why were you following the instructions in that article? What was the end goal?

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

                                      @scottalanmiller said in Final Call ... XenServer Boot Media:

                                      @BRRABill said in Final Call ... XenServer Boot Media:

                                      @scottalanmiller said in Final Call ... XenServer Boot Media:

                                      @BRRABill said in Final Call ... XenServer Boot Media:

                                      @scottalanmiller said in Final Call ... XenServer Boot Media:

                                      @BRRABill said in Final Call ... XenServer Boot Media:

                                      XS rewrote the rsyslog.conf every time.

                                      Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

                                      Nothing. I followed the instructions in the above mentioned article.

                                      This one...
                                      http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                                      If this article isn't for doing what you want, why expect it to do something different than it is intended to do?

                                      I'm not.

                                      I don't understand your question/comment.

                                      Why were you following the instructions in that article? What was the end goal?

                                      To prevent XS from logging locally when I have it set up to log externally.

                                      In XS it was an issue because the smaller logging partition filled up. So that article touched on how to use log rotating, or just simply disable local logging.

                                      Their tips did not work for everyone, as evidenced by me and it the comments. They they suggesyed just making the file read-only.

                                      Let me check how XS7 does logs. Maybe it is totally different.

                                      I know @DustinB3403 had a thread about the logging as well.

                                      I'd love to get this figured out and make it into a XS best practice, because it seems like every week there is a thread about it.

                                      scottalanmillerS 2 Replies Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @BRRABill
                                        last edited by

                                        @BRRABill said in Final Call ... XenServer Boot Media:

                                        @scottalanmiller said in Final Call ... XenServer Boot Media:

                                        @BRRABill said in Final Call ... XenServer Boot Media:

                                        @scottalanmiller said in Final Call ... XenServer Boot Media:

                                        @BRRABill said in Final Call ... XenServer Boot Media:

                                        @scottalanmiller said in Final Call ... XenServer Boot Media:

                                        @BRRABill said in Final Call ... XenServer Boot Media:

                                        XS rewrote the rsyslog.conf every time.

                                        Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

                                        Nothing. I followed the instructions in the above mentioned article.

                                        This one...
                                        http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                                        If this article isn't for doing what you want, why expect it to do something different than it is intended to do?

                                        I'm not.

                                        I don't understand your question/comment.

                                        Why were you following the instructions in that article? What was the end goal?

                                        To prevent XS from logging locally when I have it set up to log externally.

                                        But the files to do that were not yet modified, right? So we aren't up to step one yet. That's my point. There are config files that make this happen, but those were not changed. Only the ones that they change, were changed, but that won't do anything.

                                        BRRABillB DashrenderD 2 Replies Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @BRRABill
                                          last edited by

                                          @BRRABill said in Final Call ... XenServer Boot Media:

                                          Their tips did not work for everyone, as evidenced by me and it the comments. They they suggesyed just making the file read-only.

                                          Sounds like they were just clueless and not even looking into the problem.

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

                                            @scottalanmiller said in Final Call ... XenServer Boot Media:

                                            @BRRABill said in Final Call ... XenServer Boot Media:

                                            @scottalanmiller said in Final Call ... XenServer Boot Media:

                                            @BRRABill said in Final Call ... XenServer Boot Media:

                                            @scottalanmiller said in Final Call ... XenServer Boot Media:

                                            @BRRABill said in Final Call ... XenServer Boot Media:

                                            @scottalanmiller said in Final Call ... XenServer Boot Media:

                                            @BRRABill said in Final Call ... XenServer Boot Media:

                                            XS rewrote the rsyslog.conf every time.

                                            Ah, I never saw that mentioned and that means that you were addressing the wrong thing. You needed to stop it changing rsyslog.conf. What did you do to stop it from doing that?

                                            Nothing. I followed the instructions in the above mentioned article.

                                            This one...
                                            http://xenserver.org/discuss-virtualization/virtualization-blog/entry/log-rotation-and-syslog-forwarding.html

                                            If this article isn't for doing what you want, why expect it to do something different than it is intended to do?

                                            I'm not.

                                            I don't understand your question/comment.

                                            Why were you following the instructions in that article? What was the end goal?

                                            To prevent XS from logging locally when I have it set up to log externally.

                                            But the files to do that were not yet modified, right? So we aren't up to step one yet. That's my point. There are config files that make this happen, but those were not changed. Only the ones that they change, were changed, but that won't do anything.

                                            Step one is to point XS loggin external. I did that.

                                            Step two is two edit the config file (which is different in XS as we have seen) to remove the sections that still reference local logging. By doing this, XS should never log locally.

                                            However, this file keeps getting overwritten with an original copy.

                                            scottalanmillerS 3 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 8
                                            • 9
                                            • 1 / 9
                                            • First post
                                              Last post