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
    61.1k
    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.
    • R
      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
      • D
        dafyre
        last edited by

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

        R 1 Reply Last reply Reply Quote 0
        • D
          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
          • D
            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
            • S
              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
              • S
                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
                • D
                  dafyre
                  last edited by

                  And preferably test it as you go, lol.

                  S 1 Reply Last reply Reply Quote 0
                  • D
                    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
                    • S
                      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
                      • R
                        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

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

                              Romo when you run

                              xe sr-list 
                              

                              What's listed?

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

                                The array is now properly seen as storage in xencenter, I did have to unmount it first @DustinB3403

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

                                  What process did you run to unmount it.

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

                                    umount /dev/md10

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

                                      So you ran

                                       umount /dev/md10
                                      

                                      and then

                                      xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c7e6db5a2d21e40343b415cfd name-label="Array storage"
                                      

                                      Correct?

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

                                        Yes, @DustinB3403 .

                                        This is xe sr-list output with the array added as storage

                                        Screenshot from 2015-11-05 09:12:22.png

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

                                          @DustinB3403 sorry I did add content-type=user to the sr-create command. The final command was

                                          xe sr-create type=ext device-config:device=/dev/md10 shared=false host-uuid:fba59a9c-7e6db5a2-d21e4034-3b415cfd content-type=user name-label="Array storage"

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

                                            OK so after saving the RAID Array (in my wall of text) he then would have to run

                                            umount /dev/raid10
                                            

                                            and then

                                            xe sr-create type=ext device-config:device=/dev/raid10 shared=false host-uuid:<HOST-UUID> content-type=user name-label="Array storage"
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • First post
                                              Last post