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

    Building Out XenServer 6.5 with USB Boot and Software RAID 10

    IT Discussion
    xen virtualization xenserver xenserver 6.5 how to
    13
    182
    59.2k
    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.
    • RomoR
      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

      scottalanmillerS 1 Reply Last reply Reply Quote 1
      • RomoR
        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
        • scottalanmillerS
          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
          • RomoR
            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
            • RomoR
              Romo
              last edited by

              Automounting

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

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

                mdadm.conf

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

                1 Reply Last reply Reply Quote 0
                • RomoR
                  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
                  • RomoR
                    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
                    • dafyreD
                      dafyre
                      last edited by

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

                      RomoR 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        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
                        • DustinB3403D
                          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
                          • scottalanmillerS
                            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
                            • scottalanmillerS
                              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
                              • dafyreD
                                dafyre
                                last edited by

                                And preferably test it as you go, lol.

                                scottalanmillerS 1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  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
                                  • scottalanmillerS
                                    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
                                    • RomoR
                                      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

                                      DustinB3403D 1 Reply Last reply Reply Quote 1
                                      • DustinB3403D
                                        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
                                        • DustinB3403D
                                          DustinB3403 @Romo
                                          last edited by

                                          @Romo said:

                                          @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

                                          The reason your target device is in use is you have it mounted. Try dismounting the array and try again.

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

                                            Romo when you run

                                            xe sr-list 
                                            

                                            What's listed?

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