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

    Stopping XenServer From Writing To A USB Boot Drive

    Scheduled Pinned Locked Moved IT Discussion
    20 Posts 4 Posters 1.5k Views
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      Followed by

      Debian Syslog Server and Centralized RSYSLOG Server monitoring

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

        Or even this last guide on the very same page, All-In-One-Guide.

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

          @DustinB3403 said

          Does the link here not already address this issue?

          "I mentioned before that Syslog can forward messages to other hosts. Furthermore, it can forward Syslog messages to other hosts without writing a copy of the log to local disk. What this means is that a single XenServer or a pool of XenServers can send their log data to a "Syslog Aggregator". "

          No, because further in the article, you will see...

          "Certain logs will still continue to record Syslog on the host, so it may be desirable to edit /var/lib/syslog.conf and add comments to lines where a "-/var/log/some_filename" is specified as lines with "@x.x.x.x" dictate to forward to the Syslog aggregator."

          And in XS7, that file has been totally replaced with the one I posted, which has different syntax.

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

            @BRRABill Wouldn't the same essentially apply to the log file you have there?

            Your file in /etc/rsyslog.d/xenserver.conf:

            # Save boot messages also to boot.log
            local7.*	
            

            Would be changed to:

            # Save boot messages also to boot.log
            local7.*      @your-syslog-ip
            #local7.*
            
            BRRABillB 1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              And in XS6.5 the syslog location is stored at

              /etc/syslog.conf
              

              Which still has the same flags.

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

                @DustinB3403

                Well, in 6.5, the syntax was as follows...

                # Save boot messages also to boot.log
                local7.*             @10.0.0.1
                # local7.*         /var/log/boot.log
                

                In this new version, it just puts the IP at the bottom.

                @scottalanmiller mentioned, as I think you did as well, that I should just redirect /var/log somewhere else.

                Being a little fresh in Linux partitioning, I most post a thread for help with that.

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

                  @BRRABill Why are you not commenting out the records as needed and adding them under each field in order?

                  You can edit the file (on XS7) with:

                  sudo nano /etc/rsyslog.d/xenserver.conf
                  

                  Or on XS 6.5

                  sudo nano /etc/syslog.conf
                  
                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by DustinB3403

                    I'll follow the setup on my lab tonight that is posted in the first link, and make all of the changes on XS6.5.

                    Then I'll see how it performs. from there I'll tear down my installation and repeat for XS7.

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

                      Here's one to watch from the Citrix forums: http://discussions.citrix.com/topic/379454-booting-xenserver-off-usb-safe/

                      P.S. Which one of you guys wrote this? 😉

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

                        @Danp said in Stopping XenServer From Writing To A USB Boot Drive:

                        Here's one to watch from the Citrix forums: http://discussions.citrix.com/topic/379454-booting-xenserver-off-usb-safe/

                        P.S. Which one of you guys wrote this? 😉

                        That was me.

                        Those guys know the nuts and bolts of XS, though they aren't real responsive to threads all the time.

                        On ML that would have have 500 posts already and been forked 6 times. 🙂

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