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

    Home Lab Off-Host Backup Device

    IT Discussion
    linux xen xenserver storage naubackup xenserver 6.5 software raid centos centos 6 raid 10 md raid
    5
    42
    9.7k
    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
      last edited by

      CentOS and XenServer (which leverages CentOS to make the RAID portion of this discussion easy) only has one integrated OS level software RAID option, MD. MD is the only RAID option that would generally be considered in a production Linux system today, especially with CentOS and/or XenServer. It's decades old, battle tested, used in most NAS and SAN products on the market, used in countless enterprise servers, well known, robust, etc.

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

        So virtualize the storage server and build a CentOS VM off of that. Not that it's odd, but seems odd just saying it.

        What would happen in the event that the XenServer OS goes tits up? The only backup I'd have, would be if I cloned the USB Drive prior to "production".

        How is the VM Array protected in this case?

        scottalanmillerS DashrenderD 5 Replies Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          ZFS is a third party filesystem to Linux. Adding it for RAID functionality would be an extremely special case and really would only come up in a scenario where you absolutely had to have RAIDZ3 specifically, the only RAID option unique to ZFS (RAID 7 aka RAID 5.3.) Using a third party software RAID system is just as weird here as anywhere else. The OS has its own RAID, stick with that.

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

            @DustinB3403 said:

            So virtualize the storage server and build a CentOS VM off of that. Not that it's odd, but seems odd just saying it.

            It sure does, but ask yourself, dig deep... WHY does it feel odd? What makes it special? We virtualize every server and when we say that the logic makes sense. When it is a simple file server like this, what about this would make it a special case? Pretty much we all get that same gut reaction that fileservers should be special cases, and yet they make perfect sense to virtualize depending on the direction from which we come to the discussion.

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

              @DustinB3403 said:

              So virtualize the storage server and build a CentOS VM off of that. Not that it's odd, but seems odd just saying it.

              What would happen in the event that the XenServer OS goes tits up? The only backup I'd have, would be if I cloned the USB Drive prior to "production".

              How is the VM Array protected in this case?

              This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?

              scottalanmillerS 1 Reply Last reply Reply Quote 1
              • DashrenderD
                Dashrender @DustinB3403
                last edited by Dashrender

                @DustinB3403 said:

                So virtualize the storage server and build a CentOS VM off of that. Not that it's odd, but seems odd just saying it.

                What would happen in the event that the XenServer OS goes tits up? The only backup I'd have, would be if I cloned the USB Drive prior to "production".

                How is the VM Array protected in this case?

                This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
                There was a discussion recently, can't recall here or SW, where someone asked if the boot setup died, how do I recover my software based RAID. Assuming the drives are still good, when you reinstall the OS that created the RAID, you should be able to import the RAID back into the system with no data loss.

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

                  @DustinB3403 said:

                  What would happen in the event that the XenServer OS goes tits up?

                  Bad question to ask, sort of. This is a good thing to consider, of course, BUT the question is leading. It leads us to mentally jump to "XS introduces risk!!", but we know that it doesn't. One of the key reasons that we "always virtualize" is because it explicitly reduces risk. So instead of asking the question based on "what if this unlikely scenario plays out", instead ask "is reliability important?" If the answer is yes, then XenServer is a far better choice than not XenServer, right?

                  Step back to the goal level. Reliability is the goal. So ask which approach is more reliable. Don't focus on an unlikely failure mode.

                  That's like saying you need to drive two cars across the country. And someone says "well, you could fly." Don't say "what if the plane crashed", because that leads you to emotionally panic. When, if you look at the math, you know that two people on one plane is still far safer than driving separately over that distance. Looks at the resulting safety to avoid an unnecessary emotional reaction to easier perceived risks.

                  On this chart: http://mangolassi.it/topic/6294/cognitive-biases-cause-bad-decisions

                  What the XenServer failing risk is is called "salience #16"

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

                    @Dashrender said:

                    This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
                    There was a discussion recently, can't recall here or SW, where someone asked if the boot setup died, how do I recover my software based RAID. Assuming the drives are still good, when you reinstall the OS that created the RAID, you should be able to import the RAID back into the system with no data loss.

                    I prefer to clone my running state USB.. but that's just my thinking.

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

                      @DustinB3403 said:

                      How is the VM Array protected in this case?

                      RAID 10 via the same MD software RAID system you would use with any Linux, Xen or KVM platform. As determined by your stated requirements in the OP.

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

                        @Dashrender said:

                        what happens if the Drobo mobo dies?

                        I really hope that when you open one of those up that their hardware revision is called Bobo and the board has a big label that says Drobo Bobo Mobo on it.

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

                          There actually are cases where you would not virtualize a file server, but not at this scale or type. Typically it would be massive systems where you are doing special case stuff like massive physical scale, Gluster, CEPH, etc.

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

                            @DustinB3403 said:

                            @Dashrender said:

                            This is your backup repository. The same could be said if you were using a Drobo - what happens if the Drobo mobo dies?
                            There was a discussion recently, can't recall here or SW, where someone asked if the boot setup died, how do I recover my software based RAID. Assuming the drives are still good, when you reinstall the OS that created the RAID, you should be able to import the RAID back into the system with no data loss.

                            I prefer to clone my running state USB.. but that's just my thinking.

                            I definitely agree - saves you from having to start over, not that it's that big a deal if you do.

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

                              So the recommended solution is setup another XenServer host with this box, and build a VM that has full access to the RAID 10.

                              I'm curious, how would I build the array on a VM, since I don't have a hardware RAID controller to do it at the Host level.

                              scottalanmillerS 1 Reply Last reply Reply Quote 0
                              • dafyreD
                                dafyre
                                last edited by

                                You would configure the RAID 10 using XenServer's gui at the Hypervisor level...

                                Then just install the File Server VM as a regular single disk vm.

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

                                  @DustinB3403 said:

                                  So the recommended solution is setup another XenServer host with this box, and build a VM that has full access to the RAID 10.

                                  I'm curious, how would I build the array on a VM, since I don't have a hardware RAID controller to do it at the Host level.

                                  No, do nothing of the sort. This is what I call "being weird." I can't define it but you can feel it. In SE it's called "smelling bad."

                                  Why are you doing anything abnormal here? Install XenServer on a RAID 10 array, make a VM. Done. Never give VMs access to make RAID arrays. That's fundamentally not how virtualization is meant to work.

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

                                    @dafyre said:

                                    You would configure the RAID 10 using XenServer's gui at the Hypervisor level...

                                    Then just install the File Server VM as a regular single disk vm.

                                    Exactly. Same way you would do this in any other instance. The problem comes, I assume, but feeling like this is a special case ... but it is not. It is just a normal VM on a normal hypervisor doing a normal task. Treat it like an normal VM.

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

                                      OK than how do you build the Software Array at the host level using XenServer? Any guides I can follow?

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

                                        @DustinB3403 said:

                                        OK than how do you build the Software Array at the host level using XenServer? Any guides I can follow?

                                        Identical to normal CentOS, as you will be doing it from the CentOS CLI.

                                        Here are some guides:

                                        https://blog.linuxnet.ch/xenserver-software-raid/
                                        https://major.io/2012/01/16/xenserver-6-storage-repository-on-software-raid/

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

                                          @scottalanmiller said:

                                          @dafyre said:

                                          You would configure the RAID 10 using XenServer's gui at the Hypervisor level...

                                          Then just install the File Server VM as a regular single disk vm.

                                          Exactly. Same way you would do this in any other instance. The problem comes, I assume, but feeling like this is a special case ... but it is not. It is just a normal VM on a normal hypervisor doing a normal task. Treat it like an normal VM.

                                          Uh, I don't know about Dustin, But I've never used a hypervisor to make the array, I've always used hardware to make the array, and the hypervisor sees what the hardware presents as a single large disk.

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

                                            @Dashrender said:

                                            Uh, I don't know about Dustin, But I've never used a hypervisor to make the array, I've always used hardware to make the array, and the hypervisor sees what the hardware presents as a single large disk.

                                            Maybe because you are coming from the VMware world where that is the only option? The lack of enterprise software RAID is unique to VMware.

                                            DashrenderD 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post