XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    XEN7 -> XCP83 VM migration

    Scheduled Pinned Locked Moved Solved Migrate to XCP-ng
    14 Posts 3 Posters 138 Views 3 Watching
    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.
    • T Offline
      TrapoSAMA @olivierlambert
      last edited by TrapoSAMA

      @olivierlambert

      Sorry, XEN7 is Xenserver 7.0 Patch 092

      🙂

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Okay so I assume "XenServer 7.0" with patch XS70E092 applied.

        IIRC, the gap is too big, so you need either a XenServer 8.0 or 8.1 to migrate first, then you can live migrate to XCP-ng 8.3.

        The alternative is to upgrade in place, but it's a big leap too. I would first make a backup of those VMs to be on the safe side.

        See https://docs.xcp-ng.org/installation/upgrade/#-upgrade-from-xenserver

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          TrapoSAMA @olivierlambert
          last edited by TrapoSAMA

          @olivierlambert
          Hi!

          i need "move" some specific VM not upgrade the pool in this moment.

          is possible?

          Thx.

          pd: export/import is a valid option but take double of time and extra space...

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Then use "warm migration" or create a CR job in Xen Orchestra with your VM source on XenServer 7 targeting your XCP-ng 8.3 host. This way, you can validate if they boot on destination.

            T 1 Reply Last reply Reply Quote -1
            • T Offline
              TrapoSAMA @olivierlambert
              last edited by

              @olivierlambert

              Hi! i use XO free in this moment. CR jobs is only available with support o free test.

              I try warm migration connecting Xen7 and XCP83. This part work well, i see both pools/hosts connected.

              When try migrate VM from Xen7 to XCP, XO show this small error:

              INTERNAL_ERROR(Xmlrpc_client.Connection_reset)
              This is a XenServer/XCP-ng error

              but whe check is a more log error:

              vm.migrate
              {
              "vm": "dfaca34a-a27d-e6bc-d3b0-72cc9a8cd17b",
              "mapVifsNetworks": {
              "9863e51e-9edf-4072-65cb-5965779d2cbe": "944cf7f0-9eb5-e6bf-023e-f09eebd6310c"
              },
              "migrationNetwork": "944cf7f0-9eb5-e6bf-023e-f09eebd6310c",
              "sr": "27259ba3-dff8-49b9-9898-77049ac1f296",
              "targetHost": "cb7b3482-51d1-4fc8-9bfa-a0105e48e0c2"
              }
              {
              "code": "INTERNAL_ERROR",
              "params": [
              "Xmlrpc_client.Connection_reset"
              ],
              "task": {
              "uuid": "4e35f77a-11a5-1a46-d035-946fbbadba74",
              "name_label": "Async.VM.assert_can_migrate",
              "name_description": "",
              "allowed_operations": [],
              "current_operations": {},
              "created": "20260728T19:15:25Z",
              "finished": "20260728T19:15:25Z",
              "status": "failure",
              "resident_on": "OpaqueRef:1b81fd5a-40ef-04f8-527c-72596400c091",
              "progress": 1,
              "type": "<none/>",
              "result": "",
              "error_info": [
              "INTERNAL_ERROR",
              "Xmlrpc_client.Connection_reset"
              ],
              "other_config": {},
              "subtask_of": "OpaqueRef:NULL",
              "subtasks": [],
              "backtrace": "(((process"xapi @ xenserver14")(filename http-svr/xmlrpc_client.ml)(line 306))((process"xapi @ xenserver14")(filename lib/pervasiveext.ml)(line 22))((process"xapi @ xenserver14")(filename lib/pervasiveext.ml)(line 26))((process"xapi @ xenserver14")(filename lib/pervasiveext.ml)(line 22))((process"xapi @ xenserver14")(filename rbac.ml)(line 236))((process"xapi @ xenserver14")(filename server_helpers.ml)(line 82)))"
              },
              "message": "INTERNAL_ERROR(Xmlrpc_client.Connection_reset)",
              "name": "XapiError",
              "stack": "XapiError: INTERNAL_ERROR(Xmlrpc_client.Connection_reset)
              at Function.wrap (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_XapiError.mjs:16:12)
              at default (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/_getTaskResult.mjs:13:29)
              at Xapi._addRecordToCache (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1078:24)
              at file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1112:14
              at Array.forEach (<anonymous>)
              at Xapi._processEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1102:12)
              at Xapi._watchEvents (file:///usr/local/lib/node_modules/xo-server/node_modules/xen-api/index.mjs:1275:14)"
              }

              acebmxerA 1 Reply Last reply Reply Quote 0
              • acebmxerA Online
                acebmxer @TrapoSAMA
                last edited by

                @TrapoSAMA

                You can build XO from sources and have full access to all. You may use my script if you like - https://github.com/acebmxer/install_xen_orchestra

                T 1 Reply Last reply Reply Quote 0
                • poddingueP poddingue marked this topic as a question
                • T Offline
                  TrapoSAMA @acebmxer
                  last edited by

                  @acebmxer

                  Hi!! install and working.

                  I try with disaster recovery option to copy from XEN 7.0 to XCP 8.3.0 and job work well.

                  how to start the VM after that ? onLy force?

                  THX.

                  1 Reply Last reply Reply Quote 1
                  • olivierlambertO Offline
                    olivierlambert Vates 🪐 Co-Founder CEO
                    last edited by

                    Yes, you can force start and remove the backup job and that's it.

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      TrapoSAMA @olivierlambert
                      last edited by

                      @olivierlambert

                      VM's now in XCP 😄

                      🙂

                      1 Reply Last reply Reply Quote 1
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        Excellent! It's really cool to see how XO Backup and Replication can help you to migrate easily 👍

                        1 Reply Last reply Reply Quote 0
                        • olivierlambertO olivierlambert has marked this topic as solved

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post