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

    Issues migration esxi to do the virtual machine Windows server and SQL in xo

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    8 Posts 2 Posters 139 Views 2 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.
    • G Offline
      guillemrebull
      last edited by olivierlambert

      Hello.

      I'm having problems migrating a virtual machine from esxi to xo.

      This machine has 3 hard drives of 150GB + 20GB + 100GB.

      When checking the error logs, I get an error:
      "message": "503 Service Unavailable https://xxx.xxx.xxx.xxx/folder/testSql2017/testSql2017_3-000001-delta.vmdk?dcPath=ha-datacenter&dsName=StorageVM_03",

      This error appears on each hard drive. I understand that the delta is the snapshot that xo takes before migrating?

      Then I have these more errors on the import:

       "task": {
       "uuid": "4ee878dd-53f4-85b0-e5a3-7e19aa9a17e8",
       "name_label": "[XO] Importing content into VDI [ESXI]testSql2017_1-flat.vmdk on SR Nfs_VM02",
       "name_description": "",
       "allowed_operations": [],
       "current_operations": {},
       "created": "20240921T21:34:42Z",
       "finished": "20240921T21:55:00Z",
       "status": "failure",
       "resident_on": "OpaqueRef:621f8618-cbed-40ee-9b57-81c5ed682dac",
      "progress": 1,
      "type": "<none/>",
      "result": "",
      "error_info": [
      "VDI_IO_ERROR",
      "Device I/O errors"
      

      I guess they are related.

      Any idea how to fix it??

      Thanks.

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

        Hi,

        First, let's check something: can you create working VMs right in XO/XCP-ng first?

        G 1 Reply Last reply Reply Quote 0
        • G Offline
          guillemrebull @olivierlambert
          last edited by

          @olivierlambert thanks olivier

          Yes I can create the job from import---->vmware.
          I can access the vmware host as root user and full permissions.

          The job starts to perform the migration, stops after 40-45 min.

          In xo it creates the vm and the hard drive, but they are corrupted.
          I tried to boot the machine created in xo in case I was lucky.

          Thanks in advance.

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

            That's not what I'm asking 🙂 I'm asking to create a VM directly in XCP-ng without any VMware convert, just a fresh/new one and see if everything is alright on XCP-ng side first.

            G 1 Reply Last reply Reply Quote 0
            • G Offline
              guillemrebull @olivierlambert
              last edited by

              @olivierlambert
              Hi.
              Sorry.

              I created a virtual machine in XO/XCP-ng and it created it perfectly.

              I migrated a similar virtual machine but with only one hard drive and it also migrated it fine.

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

                @guillemrebull said in Issues migration esxi to do the virtual machine Windows server and SQL in xo:

                503 Service Unavailable

                This message comes from your ESXi host, not XO. I have limited expertise on VMware, but I would check the logs there to understand if there's a problem.

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  guillemrebull @olivierlambert
                  last edited by

                  @olivierlambert said in Issues migration esxi to do the virtual machine Windows server and SQL in xo:

                  This message comes from your ESXi host, not XO. I have limited expertise on VMware, but I would check the logs there to understand if there's a problem.

                  Could it be that the drive where the hard drives are in vmware does not have enough space to take snapshots of them?

                  Since there are 220 GB between the three hard drives.

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

                    I might have hard time to give you a confirmation, but worth checking on the VMware side, yes 🙂

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