Deploy the On-Premises to Cloud
Director Replication Appliance by using the OVF tool
On-Premises to Cloud
Director Replication Appliance
by using the OVF toolIn the VMware OVF Tool console, you can
deploy a
On-Premises to Cloud
Director Replication Appliance
by using a single .OVA
installation file. You
define deployment parameters in the OVF Tool console and run the deployment script.- Download theVMware-Cloud-Director-Availability-On-Premises-file, containing the binaries for therelease.number.xxxxxxx-build_sha_OVF10.ovaOn-Premises to Cloud Director Replication Appliance.
- Verify that the VMware OVF Tool is installed and configured. For more information, see https://code.vmware.com/tool/ovf.
- Before running the deployment command, see Deployment requirements for the On-Premises to Cloud Director Replication Appliance.
- 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="" # VSPHERE_USER="local_client_path/VMware-Cloud-Director-Availability-On-Premises-release_number-xxx-build_number_OVF10.ovavCenter-Server-admin-user" # VSPHERE_USER_PASSWORD="vCenter-Server-admin-user-password" # VSPHERE_ADDRESS="vCenter-Server-IP-address" # VSPHERE_LOCATOR="vSphere-locator"
- Deploy theOn-Premises to Cloud Director Replication Appliance.The following example script deploys aOn-Premises to Cloud Director Replication Applianceand sets a static IP address.# echo $VMNAME #./ovftool/ovftool --name="${VMNAME}" --datastore="${VSPHERE_DATASTORE}" --acceptAllEulas --powerOn --X:enableHiddenProperties --X:injectOvfEnv --X:waitForIp --ipAllocationPolicy=fixedPolicy --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 theOn-Premises to Cloud Director Replication Appliance.