In the VMware OVF tool console, you can use a single .OVA installation file to deploy the VMware Cloud Director Availability appliances. You define deployment parameters in the OVF Tool console and run the deployment script.
Prerequisites
- Download the VMware-Cloud-Director-Availability-Provider-release.number.xxxxxxx-build_sha_OVF10.ova file, containing the binaries for the VMware Cloud Director Availability cloud appliances.
- Verify that the VMware OVF Tool is installed and configured. For more information, see https://code.vmware.com/tool/ovf.
Procedure
- Log in to a server where the OVF Tool is running, by using a Secure Shell (SSH) client.
- Define deployment parameters in the OVF Tool console by running the following commands.
# VMNAME="Name-to-be-Assigned-to-the-VM"
# VSPHERE_DATASTORE="vSphere-datastore"
# VSPHERE_NETWORK="VM-Network"
# OVA="local_client_path/VMware-Cloud-Director-Availability-Provider-release_number-xxx-build_number_OVF10.ova"
# VSPHERE_USER="vCenter-Server-admin-user"
# VSPHERE_USER_PASSWORD="vCenter-Server-admin-user-password"
# VSPHERE_ADDRESS="vCenter-Server-IP-address"
# VSPHERE_LOCATOR="vSphere-locator"
- Deploy a VMware Cloud Director Availability appliance.
To select the deployment type for the appliance that you are deploying, set the
--deploymentOption argument to
cloud,
tunnel,
replicator, or
combined.
The following example command deploys a combined VMware Cloud Director Availability appliance and sets a static IP address.
#./ovftool/ovftool --name="${VMNAME}" --datastore="${VSPHERE_DATASTORE}" --acceptAllEulas
--powerOn --X:enableHiddenProperties --X:injectOvfEnv --X:waitForIp
--ipAllocationPolicy=fixedPolicy --deploymentOption=combined --machineOutput --noSSLVerify
--overwrite --powerOffTarget "--net:VM Network=${VSPHERE_NETWORK}" --diskMode=thin
--prop:guestinfo.cis.appliance.root.password='Your-Root-Password'
--prop:guestinfo.cis.appliance.ssh.enabled=True
--prop:guestinfo.cis.appliance.net.ntp='Your-NTP-Servers-IP-Addresses(comma-separated)'
--prop:net.hostname='Appliance-Hostname'
--prop:net.address='IP-In-CIDR-Notation'
--prop:net.gateway='Your-Gateway-IP'
--prop:net.mtu='Your-MTU'
--prop:net.dnsServers='Your-DNS-Servers-IP-Addresses(comma-separated)'
--prop:net.searchDomains='Your-DNS-Search-Domains(comma-separated)'
"${OVA}" "vi://${VSPHERE_USER}:${VSPHERE_USER_PASSWORD}@${VSPHERE_ADDRESS}${VSPHERE_LOCATOR}"
The console outputs the IP address of the
VMware Cloud Director Availability appliance.