In the OVF tool console, you can use a single installation OVA file to deploy all VMware vCloud Availability services. You define deployment parameters in the OVF Tool console and run the deployment script.
Prerequisites
- Download the vCloud Availability 3.0.x Appliance for Cloud Providers (Cloud Sites)VMware-vCloud-Availability-release_number-xxx-build_number_OVF10.ova file, containing the binaries for the VMware vCloud Availability appliance.
- Verify that the OVF Tool is installed and configured.
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-vCloud-Availability-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 vCloud Availability appliance.
Use the
--deploymentOption argument to specify the deployment type for the appliance you are deploying.
The following example command deploys a combined VMware vCloud 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-server-ip-address'
--prop:vami.DNS.VMware_vCloud_Availability='Your-DNS-Server-Address'
--prop:vami.domain.VMware_vCloud_Availability='Your-Domain-Name'
--prop:vami.gateway.VMware_vCloud_Availability='Your-Gateway-IP-Address'
--prop:vami.ip0.VMware_vCloud_Availability='IP-to-be-Assigned-to-the-Appliance'
--prop:vami.netmask0.VMware_vCloud_Availability='Your-Netmask-Address'
--prop:vami.searchpath.VMware_vCloud_Availability='Your-Search-Path-Address'
"${OVA}" "vi://${VSPHERE_USER}:${VSPHERE_USER_PASSWORD}@${VSPHERE_ADDRESS}${VSPHERE_LOCATOR}"
The console outputs the IP address of the
VMware vCloud Availability appliance.