Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created March 17, 2024 15:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/63523b93ea5beb23568b49a2070f3de7 to your computer and use it in GitHub Desktop.
Save gowatana/63523b93ea5beb23568b49a2070f3de7 to your computer and use it in GitHub Desktop.
{
"subscriptionLicensing": false,
"skipEsxThumbprintValidation": true,
"managementPoolName": "vcf-m01-np01",
"sddcManagerSpec": {
"secondUserCredentials": {
"username": "vcf",
"password": "VMware1!VMware1!"
},
"ipAddress": "192.168.70.10",
"hostname": "vcf-sddc-01",
"rootUserCredentials": {
"username": "root",
"password": "VMware1!VMware1!"
},
"localUserPassword": "VMware1!VMware1!"
},
"sddcId": "vcf-m01",
"esxLicense": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
"taskName": "workflowconfig/workflowspec-ems.json",
"ceipEnabled": false,
"fipsEnabled": false,
"ntpServers": ["192.168.70.3"],
"dnsSpec": {
"subdomain": "c.go-lab.jp",
"domain": "c.go-lab.jp",
"nameserver": "192.168.70.3"
},
"networkSpecs": [
{
"networkType": "MANAGEMENT",
"subnet": "192.168.70.0/24",
"gateway": "192.168.70.1",
"vlanId": "70",
"mtu": "1500",
"portGroupKey": "vcf-m01-cl01-vds01-pg-mgmt",
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
},
{
"networkType": "VMOTION",
"subnet": "192.168.71.0/24",
"gateway": "192.168.71.1",
"vlanId": "71",
"mtu": "9000",
"portGroupKey": "vcf-m01-cl01-vds01-pg-vmotion",
"includeIpAddressRanges": [{"endIpAddress": "192.168.71.114", "startIpAddress": "192.168.71.111"}],
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
},
{
"networkType": "VSAN",
"subnet": "192.168.72.0/24",
"gateway": "192.168.72.1",
"vlanId": "72",
"mtu": "9000",
"portGroupKey": "vcf-m01-cl01-vds01-pg-vsan",
"includeIpAddressRanges": [{"endIpAddress": "192.168.72.114", "startIpAddress": "192.168.72.111"}],
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
},
{
"networkType": "VM_MANAGEMENT",
"subnet": "192.168.70.0/24",
"gateway": "192.168.70.1",
"vlanId": "70",
"mtu": "9000",
"portGroupKey": "vcf-m01-cl01-vds01-pg-vm-mgmt",
"standbyUplinks":[],
"activeUplinks":[
"uplink1",
"uplink2"
]
}
],
"nsxtSpec":
{
"nsxtManagerSize": "small",
"nsxtManagers": [
{
"hostname": "vcf-m01-nsx-01",
"ip": "192.168.70.13"
},
{
"hostname": "vcf-m01-nsx-02",
"ip": "192.168.70.14"
},
{
"hostname": "vcf-m01-nsx-03",
"ip": "192.168.70.15"
}
],
"rootNsxtManagerPassword": "VMware1!VMware1!",
"nsxtAdminPassword": "VMware1!VMware1!",
"nsxtAuditPassword": "VMware1!VMware1!",
"vip": "192.168.70.12",
"vipFqdn": "vcf-m01-nsx",
"nsxtLicense": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
"transportVlanId": 73,
"ipAddressPoolSpec": {
"name": "vcf-m01-cl01-tep01",
"description": "ESXi Host Overlay TEP IP Pool",
"subnets":[
{
"ipAddressPoolRanges":[
{
"start": "192.168.73.111",
"end": "192.168.73.118"
}
],
"cidr": "192.168.73.0/24",
"gateway": "192.168.73.1"
}
]
}
},
"vsanSpec": {
"licenseFile": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
"vsanDedup": "false",
"esaConfig": {
"enabled": false
},
"datastoreName": "vcf-m01-cl01-ds-vsan01"
},
"dvsSpecs": [
{
"dvsName": "vcf-m01-cl01-vds01",
"vmnics": [
"vmnic0",
"vmnic1"
],
"mtu": 9000,
"networks":[
"MANAGEMENT",
"VMOTION",
"VSAN",
"VM_MANAGEMENT"
],
"niocSpecs":[
{
"trafficType":"VSAN",
"value":"HIGH"
},
{
"trafficType":"VMOTION",
"value":"LOW"
},
{
"trafficType":"VDP",
"value":"LOW"
},
{
"trafficType":"VIRTUALMACHINE",
"value":"HIGH"
},
{
"trafficType":"MANAGEMENT",
"value":"NORMAL"
},
{
"trafficType":"NFS",
"value":"LOW"
},
{
"trafficType":"HBR",
"value":"LOW"
},
{
"trafficType":"FAULTTOLERANCE",
"value":"LOW"
},
{
"trafficType":"ISCSI",
"value":"LOW"
}
],
"nsxtSwitchConfig": {
"transportZones": [ {
"name": "vcf-m01-tz-overlay01",
"transportType": "OVERLAY"
},
{
"name": "vcf-m01-tz-vlan01",
"transportType": "VLAN"
}
]
}
}
],
"clusterSpec":
{
"clusterName": "vcf-m01-cl01",
"clusterEvcMode": "",
"clusterImageEnabled": true,
"vmFolders": {
"MANAGEMENT": "vcf-m01-fd-mgmt",
"NETWORKING": "vcf-m01-fd-nsx",
"EDGENODES": "vcf-m01-fd-edge"
}
},
"pscSpecs": [
{
"adminUserSsoPassword": "VMware1!",
"pscSsoSpec": {
"ssoDomain": "vsphere.local"
}
}
],
"vcenterSpec": {
"vcenterIp": "192.168.70.11",
"vcenterHostname": "vcf-m01-vc-01",
"licenseFile": "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
"vmSize": "tiny",
"storageSize": "",
"rootVcenterPassword": "VMware1!"
},
"hostSpecs": [
{
"association": "vcf-m01-dc01",
"ipAddressPrivate": {
"ipAddress": "192.168.70.111"
},
"hostname": "vcf-m01-esxi-01",
"credentials": {
"username": "root",
"password": "VMware1!"
},
"vSwitch": "vSwitch0"
},
{
"association": "vcf-m01-dc01",
"ipAddressPrivate": {
"ipAddress": "192.168.70.112"
},
"hostname": "vcf-m01-esxi-02",
"credentials": {
"username": "root",
"password": "VMware1!"
},
"vSwitch": "vSwitch0"
},
{
"association": "vcf-m01-dc01",
"ipAddressPrivate": {
"ipAddress": "192.168.70.113"
},
"hostname": "vcf-m01-esxi-03",
"credentials": {
"username": "root",
"password": "VMware1!"
},
"vSwitch": "vSwitch0"
},
{
"association": "vcf-m01-dc01",
"ipAddressPrivate": {
"ipAddress": "192.168.70.114"
},
"hostname": "vcf-m01-esxi-04",
"credentials": {
"username": "root",
"password": "VMware1!"
},
"vSwitch": "vSwitch0"
}
]
}
@gowatana
Copy link
Author

下記の投稿むけ。

VCF の Deployment Parameter Workbook を JSON に変換してみる。
https://vm.gowatana.jp/entry/2024/03/18/211707

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