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.
    • BRRABillB
      BRRABill @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:

      So seeing this, what would you think the next logical step would be to accomplish what I want.

      And by association, what anyone running XS off USB would want?

      Well, the current file (before you add the remote) tells all of those things to log to the local files. Then you add a line that tells it to, after writing to individual local files, also send copies to the remote syslog server.

      So if you don't want it to write locally, you comment out each of the lines that tell it what to write locally. 🙂 It should be that simple. Adding the remote tells it to send the logs, but in no ways tells it NOT to change the local writing. Just comment out the local writing.

      Right, and that is what gets overwritten.

      Let me try it and see what happens.

      I'll report right back.

      Wow, it kept the settings. That is promising!

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

        @BRRABill 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:

        So seeing this, what would you think the next logical step would be to accomplish what I want.

        And by association, what anyone running XS off USB would want?

        Well, the current file (before you add the remote) tells all of those things to log to the local files. Then you add a line that tells it to, after writing to individual local files, also send copies to the remote syslog server.

        So if you don't want it to write locally, you comment out each of the lines that tell it what to write locally. 🙂 It should be that simple. Adding the remote tells it to send the logs, but in no ways tells it NOT to change the local writing. Just comment out the local writing.

        Right, and that is what gets overwritten.

        Let me try it and see what happens.

        I'll report right back.

        Wow, it kept the settings. That is promising!

        So show us your log config file. Was this on XS6.5 or XS7?

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

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

          @BRRABill 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:

          So seeing this, what would you think the next logical step would be to accomplish what I want.

          And by association, what anyone running XS off USB would want?

          Well, the current file (before you add the remote) tells all of those things to log to the local files. Then you add a line that tells it to, after writing to individual local files, also send copies to the remote syslog server.

          So if you don't want it to write locally, you comment out each of the lines that tell it what to write locally. 🙂 It should be that simple. Adding the remote tells it to send the logs, but in no ways tells it NOT to change the local writing. Just comment out the local writing.

          Right, and that is what gets overwritten.

          Let me try it and see what happens.

          I'll report right back.

          Wow, it kept the settings. That is promising!

          So show us your log config file. Was this on XS6.5 or XS7?

          On XS7.

          I'm keeping an eye on /var/log to see if anything writes there first.

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

            Most of the files seem to have stopped.

            It's these files I am watching...

            
            -rw-r--r-- 1 root root 38273316 Sep  6 11:25 lastlog
            -rw-rw-r-- 1 root utmp    43776 Sep  6 11:25 wtmp
            -rw------- 1 root utmp      768 Sep  6 11:21 btmp
            drwxr-xr-x 2 root root     4096 Sep  6 11:20 blktap
            -rw-r--r-- 1 root root      792 Sep  6 11:16 ovs-xapi-sync.log
            -rw-r--r-- 1 root root     2628 Sep  6 11:15 ovs-ctl.log
            -rw-r--r-- 1 root root     1784 Sep  6 11:14 restoreeswitchcfg.log
            -rw-r--r-- 1 root root      348 Sep  6 11:14 interface-rename.log
            -rw-r--r-- 1 root root      128 Sep  6 11:14 xenstored.log
            -rw-r--r-- 1 root root    11212 Sep  6 11:14 boot.log
            
            1 Reply Last reply Reply Quote 0
            • FATeknollogeeF
              FATeknollogee
              last edited by

              @BRRABill updates....updates....😃

              1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender
                last edited by

                awesome.. where are you sending the logs? to an ELK or Greylog server?

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

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

                  awesome.. where are you sending the logs? to an ELK or Greylog server?

                  Graylog.

                  However, my Graylog server that was working two weeks ago is now longer no longer working.

                  So, trying to remedy that.

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

                    Looking good still..

                    
                    Tue Sep  6 12:01:23 EDT 2016
                    [root@xenserver-test-reinstall log]# ls -l -t
                    total 113832
                    -rw-r--r-- 1 root root 38273316 Sep  6 11:25 lastlog
                    -rw-rw-r-- 1 root utmp    43776 Sep  6 11:25 wtmp
                    -rw------- 1 root utmp      768 Sep  6 11:21 btmp
                    drwxr-xr-x 2 root root     4096 Sep  6 11:20 blktap
                    -rw-r--r-- 1 root root      792 Sep  6 11:16 ovs-xapi-sync.log
                    -rw-r--r-- 1 root root     2628 Sep  6 11:15 ovs-ctl.log
                    -rw-r--r-- 1 root root     1784 Sep  6 11:14 restoreeswitchcfg.log
                    -rw-r--r-- 1 root root      348 Sep  6 11:14 interface-rename.log
                    -rw-r--r-- 1 root root      128 Sep  6 11:14 xenstored.log
                    -rw-r--r-- 1 root root    11212 Sep  6 11:14 boot.log
                    
                    
                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @BRRABill
                      last edited by

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

                      What log server are you using to collect the logs?

                      What changes did you make to the config file for the logs?

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

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

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

                        What log server are you using to collect the logs?

                        What changes did you make to the config file for the logs?

                        I was using Graylog, which was working before. However now it is NOT working.

                        Trying to reinstall GrayLog.

                        DustinB3403D BRRABillB 2 Replies Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @BRRABill
                          last edited by

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

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

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

                          What log server are you using to collect the logs?

                          What changes did you make to the config file for the logs?

                          I was using Graylog, which was working before. However now it is NOT working.

                          Trying to reinstall GrayLog.

                          What, why did it stop?

                          1 Reply Last reply Reply Quote 0
                          • FATeknollogeeF
                            FATeknollogee @BRRABill
                            last edited by

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

                            BTW, there was a post on the XenServer forums about running off of USB today, and this was the response (from a user with almost 6,000 posts there):

                            "Its technically possible, but frowned upon due to SD cards usually not being good quality that can handle the amount of read/writes. There are sites/link on the Internet where others have done such a thing. Citrix will likely not be of assistance if you need there support, you would be totally on your own."

                            https://discussions.citrix.com/topic/380868-hypervisor-on-sd-card/
                            This thread mentions that Citrix will not "support" external logging, is that an issue to be concerned with?

                            DustinB3403D RomoR 2 Replies Last reply Reply Quote 0
                            • DustinB3403D
                              DustinB3403 @FATeknollogee
                              last edited by

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

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

                              BTW, there was a post on the XenServer forums about running off of USB today, and this was the response (from a user with almost 6,000 posts there):

                              "Its technically possible, but frowned upon due to SD cards usually not being good quality that can handle the amount of read/writes. There are sites/link on the Internet where others have done such a thing. Citrix will likely not be of assistance if you need there support, you would be totally on your own."

                              https://discussions.citrix.com/topic/380868-hypervisor-on-sd-card/
                              This thread mentions that Citrix will not "support" external logging, is that an issue to be concerned with?

                              It's an issue if you want to send your logs in to be analyzed by Citrix.

                              1 Reply Last reply Reply Quote 0
                              • RomoR
                                Romo @FATeknollogee
                                last edited by

                                @FATeknollogee If you have bought support from Citrix it will be an issue, if you are the one providing the support as with any other linux install it will not.

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

                                  IE: If you're paying citrix for support, follow their guide on installation, use hardware raid, and create two partitions. One for XS, the other for your VMs.

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

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

                                    IE: If you're paying citrix for support, follow their guide on installation, use hardware raid, and create two partitions. One for XS, the other for your VMs.

                                    Well, that's the main issue I am trying to get to the bottom of.

                                    ML loves USB installs, but is it the right call?

                                    Plus, at least on a DELL array, you'd have to install XS, then add SR via console later. They don't let you set up partitions during the install.

                                    1 Reply Last reply Reply Quote 0
                                    • FATeknollogeeF
                                      FATeknollogee
                                      last edited by

                                      Nah, I'm supported by the People's Republic of ML...😃

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

                                        Wasn't the XS logging. I pointed it at my Splunk install and it immediately worked.

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

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

                                          Wasn't the XS logging. I pointed it at my Splunk install and it immediately worked.

                                          So something in Graylog broke.

                                          I wonder what...

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

                                            Still nothing being written.

                                            (At least in /var/log)

                                            So, it actually worked!

                                            
                                            Tue Sep  6 12:40:35 EDT 2016
                                            [root@xenserver-test-reinstall log]# ls -l -t
                                            total 113832
                                            -rw-r--r-- 1 root root 38273316 Sep  6 11:25 lastlog
                                            -rw-rw-r-- 1 root utmp    43776 Sep  6 11:25 wtmp
                                            -rw------- 1 root utmp      768 Sep  6 11:21 btmp
                                            drwxr-xr-x 2 root root     4096 Sep  6 11:20 blktap
                                            -rw-r--r-- 1 root root      792 Sep  6 11:16 ovs-xapi-sync.log
                                            -rw-r--r-- 1 root root     2628 Sep  6 11:15 ovs-ctl.log
                                            -rw-r--r-- 1 root root     1784 Sep  6 11:14 restoreeswitchcfg.log
                                            -rw-r--r-- 1 root root      348 Sep  6 11:14 interface-rename.log
                                            -rw-r--r-- 1 root root      128 Sep  6 11:14 xenstored.log
                                            -rw-r--r-- 1 root root    11212 Sep  6 11:14 boot.log
                                            
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 8 / 9
                                            • First post
                                              Last post