> 技术文档 > pv2 物理机centos6.8 esxi 8.0 was not correct:ticketType

pv2 物理机centos6.8 esxi 8.0 was not correct:ticketType


方案1.VMware-converter-en-6.6.0-23265344 如下这是6.6 版本 卡住不动

6.6版本按照官方说明是兼容到vsphere 8.0U2的。centos的6.x 和 7.x版本都在支持转换的范围内。

方案2.VMware-converter-en-6.0.0-2716716 版本的迁移出错

Convert physical machine to virtual machine7/24/2025 2:25:04 AM by Administrator
FAILED: A specified parameter was not correct:ticketType

方案3.又试了 veeam 备份 centos6.8转VM不支持 奶奶的整了大半天

方案4

怀疑是对的

无意看到是 esix 8.0版本问题

Can\'t convert linux machine. FAILED: A specified parameter was not correct: ticketType | VMware vSphere

Upon more careful look, there is a workaround

I have managed to reproduce the issue. The reason is that in ESXi 8.0 the usage of VirtualMachineTicketType.device and VirtualMachineTicketType.mks is disabled. Instead VirtualMachineTicketType.webDevice and VirtualMachineTicketType.webMks should be used respectively.
Fortunately there is an option to allow the old behaviour. You need to set \"allow_authd_ticket\" to \"true\" in hostd configuration. Folllow this KB  about configstorecli. Use the following snippet to update the configuration properties:

{
   \"plugins\": {
      \"vmsvc\": {
         \"allow_authd_ticket\": true
      }
   }
}

Created an account just to say this worked perfectly. Thank you.

Noting the steps from that link in case it breaks:

(First SSH to your host)

Steps to configure the settings:

  1. Run the command to create a temporary JSON file:
    /bin/configstorecli config current get -c esx -g services -k hostd -outfile tmp.json
  1.  Run the command to edit the file:
    /bin/vi tmp.json
  1. Run the command to apply the file to the Database:
    /bin/configstorecli config current set -c esx -g services -k hostd -infile tmp.json
     
  2. Locate the section, and add the new line to the config (in addition to what is already there)

    {
       \"plugins\": {
          \"vmsvc\": {
             \"allow_authd_ticket\": true,
          }
       }
    }
     

  3. Run the command to restart hostd service:
    $ /etc/init.d/hostd restart

Then try the conversion again.

跑码了,搞定