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

    Building Out XenServer 6.5 with USB Boot and Software RAID 10

    Scheduled Pinned Locked Moved IT Discussion
    xenvirtualizationxenserverxenserver 6.5how to
    182 Posts 13 Posters 66.7k 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

      The issue is that logging on XenServer doesn't just stop. So Maintenance is critical.

      You don't want to auto-dump your logs, you might have issues that you want to look into to. So keeping them around somewhere is critical.

      stacksofplatesS 1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates @DustinB3403
        last edited by stacksofplates

        @DustinB3403 said:

        The issue is that logging on XenServer doesn't just stop. So Maintenance is critical.

        You don't want to auto-dump your logs, you might have issues that you want to look into to. So keeping them around somewhere is critical.

        Oh I wasn't saying to stop logging, I just wondered if it was a possibility to run it in RAM. More of just an inquisitive qustion.

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

          You CAN run in RAM. But why? If anything happens the logs vanish. And it uses up memory too, but not normally all that much. But will you have it auto-rotate in some way?

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

            Completing the Resync process takes a very long time.....

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

              It'll do that 🙂

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

                @scottalanmiller said:

                You CAN run in RAM. But why? If anything happens the logs vanish. And it uses up memory too, but not normally all that much. But will you have it auto-rotate in some way?

                I was just wondering if it's possible to do it similarly to VMware. It was more of just a question for questions sake. XenServer already takes up a gig of ram so the rest couldn't be that much. And you could send the logs somewhere else like you mentioned. It was more of just a question to see if it was possible.

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

                  You can always create a ram disk and put anything there that you want.

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

                    Just did a reboot on my test system, and the RAID Array is unmounted. Meaning we need to add it to fstab.

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

                      I reboot without a problem, and the mounting of the array is managed properly by xen without the entry in fstab.

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

                        On the test setup I built using the OP, the array is lost.

                        Along with everything on it. It's much safer to keep it stored in fstab..

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

                          Lost the whole array? That's strange that would imply something went really wrong. The entry added in fstab whould only cause the os to automount the array, nothing there should cause the array itself to get wiped.

                          What is the current status of your array?
                          mdadm --detail /dev/md0
                          cat /proc/mdstat

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

                            This is what is in /var/run/sr-mount....

                            0_1447077315730_2015-11-09_08-54-47.png

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

                              This is mdadm --details

                              0_1447077386678_2015-11-09_08-56-05.png

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

                                and cat /proc/mdstat

                                0_1447077445996_2015-11-09_08-56-57.png

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

                                  @DustinB3403 said:

                                  and cat /proc/mdstat

                                  ![0_1447077435496_2015-11-09_08-56-57.png](Uploading 100%)

                                  patience.....

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

                                    Yes Yes, you're too quick some times sir. I corrected it.

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

                                      So with the above 3 pictures and the Array missing.

                                      I'd obviously have to rebuild the array, and remap items. Additionally, I'll have to recreate my "backup" USB (which isn't a huge deal)

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

                                        @DustinB3403 can you run

                                        mdadm --examine --scan

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

                                          We need to find the missing array before we can do anything else. As @romo mentioned we need to scan and see if the array is out there somewhere.

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

                                            0_1447092654693_2015-11-09_13-10-40.png

                                            RomoR 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 6 / 10
                                            • First post
                                              Last post