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

    Migrating away from XenServer

    IT Discussion
    xenserver image export convert raw
    12
    41
    5009
    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.
    • travisdh1
      travisdh1 last edited by

      Yes, I know, I'm a heathen for doing this, but home lab + continued learning means I have to. Really already know as much as is possible about XenServer at the moment.

      Anyhow, exporting XenServer VMs is really easy and straight forward. It's converting those exported images that gets tricky.

      After this, it would be easier to just copy the actual drive image from XenServer. Just about any tool can convert those un-exported images no problem.

      Ref: https://techblog.jeppson.org/2014/10/convert-xenserver-xva-file-to-raw-disk-image/

      sudo apt-get install -y cmake build-essentials libssl-dev
      wget https://github.com/eriklax/xva-img/archive/master.zip
      unzip master.zip
      cd xva-img-master
      cmake .
      sudo make install
      tar xvf yourexportedname.xva
      chmod -R 755 ./Ref\:####
      xva-img -p disk-export ./Ref\:1/ vmname.img
      
      1 Reply Last reply Reply Quote 0
      • stacksofplates
        stacksofplates last edited by

        I downloaded some python script to convert the xva files to raw. I ended up just rebuilding them.

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

          What are you moving to out of curiosity? I'm going to be rebuilding my lab when I get a chance to KVM.

          travisdh1 1 Reply Last reply Reply Quote 2
          • Danp
            Danp last edited by

            Have you taken a look at StarWind V2V Converter?

            Net Runner 1 Reply Last reply Reply Quote 2
            • travisdh1
              travisdh1 @coliver last edited by

              @coliver said in Migrating away from XenServer:

              What are you moving to out of curiosity? I'm going to be rebuilding my lab when I get a chance to KVM.

              Going to KVM as well, yes. In the process of converting everything, uploading the 3 VMs I'm keeping that I had before will take, some time, on this internet connection.

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

                @travisdh1 said in Migrating away from XenServer:

                After this, it would be easier to just copy the actual drive image from XenServer. Just about any tool can convert those un-exported images no problem.

                Will you be using Ovirt?

                travisdh1 1 Reply Last reply Reply Quote 0
                • travisdh1
                  travisdh1 @StuartJordan last edited by

                  @stuartjordan said in Migrating away from XenServer:

                  @travisdh1 said in Migrating away from XenServer:

                  After this, it would be easier to just copy the actual drive image from XenServer. Just about any tool can convert those un-exported images no problem.

                  Will you be using Ovirt?

                  Whatever libvirt is using on CentOS 7. I don't know off the top of my head. Just know that I can manage the local and remote machines via Virtual Machine Manager.

                  matteo nunziati 1 Reply Last reply Reply Quote 0
                  • Kelly
                    Kelly last edited by

                    I attempted to move from Xenserver to a Scale cluster, so basically KVM, but I was unsuccessful. I ended up rebuilding all of the VMs.

                    travisdh1 1 Reply Last reply Reply Quote 0
                    • travisdh1
                      travisdh1 @Kelly last edited by

                      @kelly said in Migrating away from XenServer:

                      I attempted to move from Xenserver to a Scale cluster, so basically KVM, but I was unsuccessful. I ended up rebuilding all of the VMs.

                      Like I said, best to actually copy the disk images from the XenServer rather than exporting like you'd think. The export process seems to break things rather than make them easier 😞

                      stacksofplates 1 Reply Last reply Reply Quote 0
                      • stacksofplates
                        stacksofplates @travisdh1 last edited by stacksofplates

                        @travisdh1 said in Migrating away from XenServer:

                        @kelly said in Migrating away from XenServer:

                        I attempted to move from Xenserver to a Scale cluster, so basically KVM, but I was unsuccessful. I ended up rebuilding all of the VMs.

                        Like I said, best to actually copy the disk images from the XenServer rather than exporting like you'd think. The export process seems to break things rather than make them easier 😞

                        There was some wacko way you could copy the raw files from XenServer. You had to enable some option and then it would create an http address you could scp the image from. I forget how it worked.

                        You also can export in raw format from XenCenter. By default it tries to use iSCSI so if you are on a workstation it may not work. You have to edit the XML for XenCenter and restart it and it will scp (I think it's scp) it to your workstation.

                        1 Reply Last reply Reply Quote 0
                        • F
                          Francesco Provino last edited by

                          I want to convert two of my hosts to KVM, too… but my choice would be OpenSuSe, for the simple reasons that is more updated and it is a real enterprise distro, not like ubuntu. AFAIK KVM is fully supported.

                          coliver scottalanmiller 2 Replies Last reply Reply Quote 0
                          • coliver
                            coliver @Francesco Provino last edited by

                            @francesco-provino said in Migrating away from XenServer:

                            I want to convert two of my hosts to KVM, too… but my choice would be OpenSuSe, for the simple reasons that is more updated and it is a real enterprise distro, not like ubuntu. AFAIK KVM is fully supported.

                            I am going to use Fedora for my install.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmiller
                              scottalanmiller @Francesco Provino last edited by

                              @francesco-provino said in Migrating away from XenServer:

                              I want to convert two of my hosts to KVM, too… but my choice would be OpenSuSe, for the simple reasons that is more updated and it is a real enterprise distro, not like ubuntu. AFAIK KVM is fully supported.

                              Yes. Tumbleweed specifically.

                              F 1 Reply Last reply Reply Quote 1
                              • F
                                Francesco Provino @scottalanmiller last edited by

                                @scottalanmiller no, I will go with Leap. Why Tumbleweed as an host?

                                scottalanmiller 1 Reply Last reply Reply Quote 0
                                • scottalanmiller
                                  scottalanmiller @Francesco Provino last edited by

                                  @francesco-provino said in Migrating away from XenServer:

                                  @scottalanmiller no, I will go with Leap. Why Tumbleweed as an host?

                                  Exactly for the reason that you listed.... more up to date.

                                  F matteo nunziati 2 Replies Last reply Reply Quote 0
                                  • F
                                    Francesco Provino @scottalanmiller last edited by

                                    @scottalanmiller but I don't want my host to stop working for an update… OpenSuSe 42.3 seems fairly recent to me.

                                    coliver scottalanmiller 2 Replies Last reply Reply Quote 0
                                    • coliver
                                      coliver @Francesco Provino last edited by

                                      @francesco-provino said in Migrating away from XenServer:

                                      @scottalanmiller but I don't want my host to stop working for an update… OpenSuSe 42.3 seems fairly recent to me.

                                      What does this mean? Why would stop working?

                                      DustinB3403 F 2 Replies Last reply Reply Quote 0
                                      • DustinB3403
                                        DustinB3403 @coliver last edited by

                                        @coliver said in Migrating away from XenServer:

                                        @francesco-provino said in Migrating away from XenServer:

                                        @scottalanmiller but I don't want my host to stop working for an update… OpenSuSe 42.3 seems fairly recent to me.

                                        What does this mean? Why would stop working?

                                        Buggy patch

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          Francesco Provino @coliver last edited by

                                          @coliver said in Migrating away from XenServer:

                                          @francesco-provino said in Migrating away from XenServer:

                                          @scottalanmiller but I don't want my host to stop working for an update… OpenSuSe 42.3 seems fairly recent to me.

                                          What does this mean? Why would stop working?

                                          I've seen updates breaking bridge functionality or messing with the VM hardware… an always updated host is a good choice for security and performance, but run VMs on libvirt alpha…

                                          scottalanmiller 1 Reply Last reply Reply Quote 0
                                          • matteo nunziati
                                            matteo nunziati @scottalanmiller last edited by

                                            @scottalanmiller said in Migrating away from XenServer:

                                            @francesco-provino said in Migrating away from XenServer:

                                            @scottalanmiller no, I will go with Leap. Why Tumbleweed as an host?

                                            Exactly for the reason that you listed.... more up to date.

                                            it is said that @scottalanmiller is currently running on kernel 5.0. Stable.

                                            5.1rc0 is planned for deploy tomorrow 00:00 utc.

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