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

    2 RAID 1 or 1 RAID 10 for VM Server Host

    IT Discussion
    12
    69
    6.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.
    • KOOLERK
      KOOLER Vendor @kuyaz
      last edited by

      @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

      Hi,

      I have server with 2 x 1 TB SSD and 2 x 2 TB SATA.

      I want to use this server as VM host.
      My questions are :

      1. Can I do RAID 1 for each SSD and SATA?
      2. Can Raid 10 do different size and model (1TB SSD & 2TB SATA)?
      3. What is the best RAID configuration for above use?
      4. Should I go hardware RAID? or MDADM? I heard hardware is slower for SSD RAID?
      5. What filesystem I should use on the host? ext4 or LVM? or other?
      6. If I use CentOS 7, do you recommend XEN / VM for stability and user friendly system?

      My aim is to get full speed with SSD for critical VM (database server VM guest, web apps, etc) and less critical VM on sata (mail server VM guest, etc).

      Thank you.

      Don't mix different types of the drives with different performance inside the same pool: you'll limit your resulting performance with the slowest (in your content - HDD).

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

        @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

        so I install the host XEN in ssd with RAID 1? and then add the sata as another raid 1?
        How to do it properly?

        Thanks.

        You'd put the hypervisor on the slowest drives you have; hypervisors require almost nothing in terms of performance.

        You'd create your storage array where the VM disks reside on the SSDs.

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

          I'd recommend hardware RAID over MDADM, the system should be fast enough if you aren't already 100% certain on what performance metrics you need to hit.

          First create your installation target for the hypervisor on your HDD's, simply raid 1 will be fine.

          Create a second array from on your server using the SSD's (raid5 might be a better option for you).

          Install XenServer (you likely don't want to install XEN) onto this array.

          During the installation process you'll be asked what storage you want to use to store your VM's. Choose the SSD array.

          Proceed from here.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch @DustinB3403
            last edited by

            @dustinb3403 said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

            Create a second array from on your server using the SSD's (raid5 might be a better option for you).

            Since when can you make a RAID5 with 2 drives?

            Install XenServer (you likely don't want to install XEN) onto this array.

            If he already uses CentOS 7 /RHEL / Fedora, then just use KVM.

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

              @jaredbusch said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

              @dustinb3403 said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

              Create a second array from on your server using the SSD's (raid5 might be a better option for you).

              Since when can you make a RAID5 with 2 drives?

              Install XenServer (you likely don't want to install XEN) onto this array.

              If he already uses CentOS 7 /RHEL / Fedora, then just use KVM.

              Doh, yea didn't notice the 2 drive part. haha..

              1 Reply Last reply Reply Quote 0
              • H
                Harry Lui @kuyaz
                last edited by

                What is this VM host will be used for?

                You'd want 2 RAID 1, given the drives you have.

                NO to RAID 10 with the drives you have.

                1 Reply Last reply Reply Quote 0
                • K
                  kuyaz
                  last edited by

                  Will be used for web apps, database, and hostings (whm).

                  Ok so 2 raid 1 it is then.

                  Is it better to use mdadm / onboard raid IT mode?
                  Not sure what IT mode means. Any one can help?

                  I use supermicron server board

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

                    @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                    so I install the host XEN in ssd with RAID 1? and then add the sata as another raid 1?
                    How to do it properly?

                    Thanks.

                    No, you'd install Xen to the slow array, not the fast one.

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

                      @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                      Is it better to use mdadm / onboard raid IT mode?

                      MD is Linux' enterprise software RAID and it is very good.

                      On board RAID is not at all the same thing and is what you almost always avoid. On board RAID is normally garbage and is most of the time FakeRAID.

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

                        MDADM is a command line tool for working with MD, it is not itself RAID of any sort.

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

                          @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                          1. What filesystem I should use on the host? ext4 or LVM? or other?

                          This will depend completely on the hypervisor that you expect to use. But LVM is not a filesystem, LVM is the LVM and goes on before the filesystem. You would not want EXT4 for any virtualization.

                          So there isn't enough info here to answer the question. But you always want an LVM, and you never want EXT4.

                          ObsolesceO K 3 Replies Last reply Reply Quote 1
                          • ObsolesceO
                            Obsolesce @scottalanmiller
                            last edited by Obsolesce

                            @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                            @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                            1. What filesystem I should use on the host? ext4 or LVM? or other?

                            But you always want an LVM, and you never want EXT4.

                            When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

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

                              @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                              @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                              @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                              1. What filesystem I should use on the host? ext4 or LVM? or other?

                              But you always want an LVM, and you never want EXT4.

                              When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

                              Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.

                              ObsolesceO 1 Reply Last reply Reply Quote 1
                              • ObsolesceO
                                Obsolesce @scottalanmiller
                                last edited by

                                @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                1. What filesystem I should use on the host? ext4 or LVM? or other?

                                But you always want an LVM, and you never want EXT4.

                                When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

                                Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.

                                It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^

                                coliverC scottalanmillerS black3dynamiteB 3 Replies Last reply Reply Quote 0
                                • coliverC
                                  coliver @Obsolesce
                                  last edited by

                                  @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                  1. What filesystem I should use on the host? ext4 or LVM? or other?

                                  But you always want an LVM, and you never want EXT4.

                                  When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

                                  Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.

                                  It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^

                                  I think it was using XFS for me. Now I need to check my lab box.

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

                                    @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                    @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                    @tim_g said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                    @scottalanmiller said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                    @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                    1. What filesystem I should use on the host? ext4 or LVM? or other?

                                    But you always want an LVM, and you never want EXT4.

                                    When you install Fedora 26 for example, it will use EXT4 by default. So if you're not paying attention, you'll end up with that 😞

                                    Last I knew, that was only on workstations, where it doesn't matter so much. I'm using it on my laptop because... whatever.

                                    It does it on Server too. I just installed F26 minimal a couple days ago... it's using EXT4. I'm redoing it now ^_^

                                    Well then that is just stupid. WTF Fedora.

                                    1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce
                                      last edited by Obsolesce

                                      This should do the trick:

                                      0_1509639298549_Untitled.jpg

                                      0_1509639311119_Untitled2.jpg

                                      1 Reply Last reply Reply Quote 1
                                      • K
                                        kuyaz @scottalanmiller
                                        last edited by

                                        @scottalanmiller what do u recommend for VM host? Xen ? KVM?
                                        Which one is more stable and more user friendly for windows based user like me?

                                        So I do raid 1 for ssd and raid 1 for sata? And where should i install the vm host to? Hopefully u can help me the proper step to setup it properly. Sorry noob here.

                                        Thanks scott

                                        ObsolesceO 3 Replies Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce @kuyaz
                                          last edited by

                                          @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                          So I do raid 1 for ssd and raid 1 for sata?

                                          Yes.

                                          1 Reply Last reply Reply Quote 0
                                          • ObsolesceO
                                            Obsolesce @kuyaz
                                            last edited by

                                            @kuyaz said in 2 RAID 1 or 1 RAID 10 for VM Server Host:

                                            And where should i install the vm host to?

                                            Install it to your 1TB HDD RAID1, not the SSD RAID.

                                            At least with Hyper-V that's the way I'd go, I can only assume it would be the same for KVM and likely Xen. I wouldn't want to waste space on the SSDs for the hypervisor that doesn't do anything.

                                            JaredBuschJ scottalanmillerS 2 Replies Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post