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

    Building Out XenServer 6.5 with USB Boot and Software RAID 10

    IT Discussion
    xen virtualization xenserver xenserver 6.5 how to
    13
    182
    47815
    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.
    • Romo
      Romo last edited by Romo

      We need to load the raid modules to the kernel prior to creating the md raid Device. Like this:
      echo "modprobe raid10" > /etc/sysconfig/modules/raid.modules
      modprobe raid10
      chmod a+x /etc/sysconfig/modules/raid.modules

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

        @Romo said:

        We need to load the raid modules to the kernel prior to creating the md raid Device. Like this:
        echo "modprobe raid10" > /etc/sysconfig/modules/raid.modules
        modprobe raid10
        chmod a+x /etc/sysconfig/modules/raid.modules

        So sliping your code in just before

        Create md raid Device

        you're saying should address the issue

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

          We can also use the whole disk, without the need to create partitions in them, don't really know if this is better but it is a possibility.

          This is the screenshot of the raid array created with 4 disks using the whole disks.
          Screenshot from 2015-11-04 20:06:04.png

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

            @DustinB3403 Yes, I couldn't create the md10 device in my setup without loading the modules into the kernel

            1 Reply Last reply Reply Quote 1
            • scottalanmiller
              scottalanmiller @Romo last edited by

              @Romo correct, that's part of the purpose of the new guide, to use the whole disk rather than to partition it first. Fewer steps, better results.

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

                This shows the file system added to our raid array

                creating_file_system.png

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

                  Automounting

                  Screenshot from 2015-11-04 20:22:43.png

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

                    mdadm.conf

                    Screenshot from 2015-11-04 20:24:45.png

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

                      Checking filesystems present in our system, at the bottom theres our array.

                      Screenshot from 2015-11-04 20:27:36.png

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

                        And finally the status of our array

                        Screenshot from 2015-11-04 20:30:58.png

                        1 Reply Last reply Reply Quote 1
                        • dafyre
                          dafyre last edited by

                          @Romo -- sd[b-e]... Is this your boot drive, or just the data stores for XenServer ?

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

                            That is the data store.

                            sda would be the boot device.

                            sd[b-e] would be every other disk in the system available.

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

                              Without anyone outcrying (@scottalanmiller and @Romo) are we settled on providing the above process to configure mdadm on a USB XenServer?

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

                                Yes, just need to compile it into a step by step "one place" list.

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

                                  And it would be handy to know what his device list was going to look like.

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

                                    And preferably test it as you go, lol.

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

                                      Does anyone know how to select the VM storage in xenserver, outside of the ISO installation process. We probably need that as well.

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

                                        @dafyre said:

                                        And preferably test it as you go, lol.

                                        Testing is for wimps.

                                        1 Reply Last reply Reply Quote 2
                                        • Romo
                                          Romo @dafyre last edited by

                                          @DustinB3403 I am actually trying to do exactly that just right now on my test setup. It thought that with this command:
                                          xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c7e6db5a2d21e40343b415cfd name-label="Array storage"

                                          It would get added as local storage to xencenter, but I am getting this error :
                                          The SR operation cannot be performed because a device underlying the SR is in use by the host.

                                          Don't really know why, I haven't used xenserver before. Any ideas @scottalanmiller

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

                                            OK so without the specific target device I believe this command will work.

                                            xe sr-create content-type=user type=ext device-config:device=/dev/cciss/c0d0p3 shared=false name-label="Local storage"
                                            

                                            We simply need to determine his device path

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