Sample manifest template for VMware vCenter
The following example might be used for a lab as it deploys the 3 hybrid nodes with two of the VMs on the same host and the third VM on a second host using the small configuration.
Note |
In case you are using resource pools, please note that individual ESXi host targetting is not allowed and vCenter is responsible for assigning the VM to a host in the resource pool. If vCenter is not configured with resource pools, then the exact ESXi host path must be passed. |
*******
vCenter Example
********
//#********* Crosswork Cluster Data *********#
Cw_VM_Image = ""
ClusterIPStack = "IPv4"
ManagementVIP = "17.25.87.94"
ManagementIPNetmask = "255.255.255.192"
ManagementIPGateway = "17.25.87.65"
DataVIP = "192.168.123.94"
DataIPNetmask = "255.255.255.0"
DataIPGateway = "0.0.0.0"
DNS = "17.70.168.183"
DomainName = "somedomain.com"
CWPassword = "AStr0ngPa33!"
VMSize = "Small"
NTP = "ntp.com"
BackupMinPercent = 50
ThinProvisioned = true
ManagerDataFsSize = 450
WorkerDataFsSize = 450
#********* Crosswork VM Data Map *********
CwVMs = {
"0" = {
VMName = "vm1",
ManagementIPAddress = "17.25.87.82",
DataIPAddress = "192.168.123.82",
NodeType = "Hybrid"
},
"1" = {
VMName = "vm2",
ManagementIPAddress = "17.25.87.83",
DataIPAddress = "192.168.123.83",
NodeType = "Hybrid"
},
"2" = {
VMName = "vm3",
ManagementIPAddress = "17.25.87.84",
DataIPAddress = "192.168.123.84",
NodeType = "Hybrid"
}
}
#********* vCenter Resource Data with Cw VM assignment *********
VcenterDC = {
VcenterAddress = "17.25.87.90",
VcenterUser = "administrator@vsphere.local",
VcenterPassword = "vcenterPass",
DCname = "dc-cr",
MgmtNetworkName = "VM Network",
DataNetworkName = "DPortGroup10",
DCfolder = "",
VMs = [{
HostedCwVMs = ["0","1"],
Host = "17.25.87.93",
Datastore = "datastore3",
HSDatastore = "ssddatastore",
},
{
HostedCwVMs = ["2"],
Host = "17.25.87.92",
Datastore = "datastore2"
HSDatastore = "ssddatastore",
}
]
}