Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created February 17, 2024 11:09
Show Gist options
  • Save gowatana/2388da9fc04a3b42ab36251e0de15547 to your computer and use it in GitHub Desktop.
Save gowatana/2388da9fc04a3b42ab36251e0de15547 to your computer and use it in GitHub Desktop.
{
"__version": "2.13.0",
"__comments": [
"Sample template to deploy a vCenter Server Appliance with an embedded Platform Services Controller on an ESXi host.",
"Original: embedded_vCSA_on_VC.json",
"D:/vcsa-cli-installer/win32/vcsa-deploy.exe install --accept-eula --no-ssl-certificate-verification --precheck-only ./lab-vc-12.json",
"D:/vcsa-cli-installer/win32/vcsa-deploy.exe install --accept-eula --no-ssl-certificate-verification ./lab-vc-12.json"
],
"new_vcsa": {
"vc": {
"__comments": [
"'datacenter' must end with a datacenter name, and only with a datacenter name. ",
"'target' must end with an ESXi hostname, a cluster name, or a resource pool name. ",
"The item 'Resources' must precede the resource pool name. ",
"All names are case-sensitive. ",
"For details and examples, refer to template help, i.e. vcsa-deploy {install|upgrade|migrate} --template-help"
],
"hostname": "infra-vc-01.go-lab.jp",
"username": "administrator@vsphere.local",
"password": "VMware1!",
"deployment_network": "dvpg-0010-mgmt",
"datacenter": [
"infra-dc-01"
],
"vm_folder": [
"04-Lab-Nested",
"vm_multi-vc-lab"
],
"datastore": "vsanDatastore",
"target": [
"infra-cluster-01",
"Resources",
"rp-03-lab"
]
},
"appliance": {
"__comments": [
"You must provide the 'deployment_option' key with a value, which will affect the vCenter Server Appliance's configuration parameters, such as the vCenter Server Appliance's number of vCPUs, the memory size, the storage size, and the maximum numbers of ESXi hosts and VMs which can be managed. For a list of acceptable values, run the supported deployment sizes help, i.e. vcsa-deploy --supported-deployment-sizes"
],
"thin_disk_mode": true,
"deployment_option": "tiny",
"name": "lab-vc-12"
},
"network": {
"ip_family": "ipv4",
"mode": "static",
"system_name": "lab-vc-12.go-lab.jp",
"ip": "192.168.10.92",
"prefix": "24",
"gateway": "192.168.10.1",
"dns_servers": [
"192.168.1.101",
"192.168.1.102"
]
},
"os": {
"password": "VMware1!",
"ntp_servers": [
"192.168.1.101",
"192.168.1.102"
],
"ssh_enable": true
},
"sso": {
"password": "VMware1!",
"domain_name": "vsphere.local"
}
},
"ceip": {
"settings": {
"ceip_enabled": false
}
}
}
@gowatana
Copy link
Author

下記の投稿むけ。

vcsa-deploy で VCSA を CLI デプロイしてみる。(on ESXi / on vCenter)
https://vm.gowatana.jp/entry/2024/02/17/230928

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment