百度了一下说是DNS的问题,但我也设置了8.8.8.8或电信的dns,都不行。外网找了一下说要设置为127.0.0.1,但是7.0U3a后的版本不允许填写127.0.0.1了。最后找到一个通过CLI的方式安装可以避免这个问题。
首先创建一个CLI的横版文件,内容如下:
{
"__version": "2.13.0",
"__comments": "Template: Deploy vCenter to ESXi without DNS+NTP",
"new_vcsa": {
"esxi": {
"hostname": "<ESXI_IP_ADDRESS>",
"username": "root",
"password": "<ESXI_PASSWORD>",
"deployment_network": "<VM_PORTGROUP>",
"datastore": "<DATASTORE_NAME>"
},
"appliance": {
"thin_disk_mode": true,
"deployment_option": "<VC_SIZE>",
"name": "<VC_INVENTORY_NAME>"
},
"network": {
"ip_family": "ipv4",
"mode": "static",
"system_name": "<VC_IP_ADDRESS>",
"ip": "<VC_IP_ADDRESS>",
"prefix": "<SUBNET_MASK_PREFIX>",
"gateway": "<GATEWAY_IP_ADDRESS>",
"dns_servers": [
"127.0.0.1"
]
},
"os": {
"password": "<VC_PASSWORD>",
"time_tools_sync": true,
"ssh_enable": true
},
"sso": {
"password": "<SSO_PASSWORD>",
"domain_name": "vsphere.local"
}
},
"ceip": {
"settings": {
"ceip_enabled": false
}
}
}
填写好<>部分的这些参数,保存模板文件为 D:\Deploy-VC.json,CLI安装程序路径应该在你ISO中的这个位置:\vcsa-cli-installer\win32\
先执行预安装命令,看看有没有错误
vcsa-deploy.exe install --accept-eula --acknowledge-ceip --no-ssl-certificate-verification --precheck-only "D:\Deploy-VC.json"
预安装没问题后就可以正式安装了
vcsa-deploy.exe install --accept-eula --acknowledge-ceip --no-ssl-certificate-verification "D:\Deploy-VC.json"
安装成功后应该是这个样子
然后你的vCenter就可以用了
标签:vdcpromo,run,Deploy,--,ceip,报错,vcsa,vCenter,安装 From: https://www.cnblogs.com/boringblog/p/18414421