# Deploying, Configuring, and Using VMware Cloud Director Availability (VCDA)

VMware Cloud Director Availability™ is a Disaster Recovery-as-a-Service (DRaaS) solution. Whether deployed between provider clouds or on-premises, VMware Cloud Director Availability protects vApps and virtual machines with asynchronous replication, migrates them, performs failover, and reverses failovers.

This article describes in detail the process of deploying VCDA in an IONOS Private Cloud and in an on-premises vCenter Server. You will also learn how to establish a connection between the two environments. This connection facilitates the migration and protection of VMs between the two environments. In the following, the VCDA appliance installed in the Private Cloud is referred to as VCDA-CLOUD, and the locally installed appliance as VCDA-CUST.

## Target Architecture

The target architecture describes the specific TCP ports that are required for communication between the components of VMware vSphere Replication. This information is crucial for the correct configuration of your firewalls to ensure successful replication of virtual machines between your local data centre (on-premises site) and a cloud site, such as IONOS Private Cloud.

This is the target architecture as described in the VMware documentation:

![Representation of the target architecture of the on-premises and cloud site](/files/BzV2KzLLIY3uDXyAeXeV)

The underlying diagram visualises a typical replication architecture between two sites. In this setup, a local data centre (on-premises site) is connected to a hosted IONOS Private Cloud environment (cloud site), for example IONOS Private Cloud. The primary aim of this configuration is to establish a robust disaster recovery strategy. Productive virtual machines running on the on-premises infrastructure are continuously replicated to the cloud environment. In the event of a serious failure at the primary site, these replica VMs can be activated at the cloud site and operations can be resumed quickly, minimising downtime, and data loss.

The architecture is fundamentally symmetrical. A similar set of core components exists at both locations - on-premises and in the cloud:

### Components at the on-premises location (source location)

* **Firewall:** Secures the site's network, and controls inbound and outbound traffic.
* **On-Premises to Cloud vCenter Appliance:** An appliance deployed on-premises to replicate vSphere workloads between an on-premises vCenter Server instance and a cloud vCenter Server site.
* **On-Premises vCenter Server Instance:** The central instance for managing virtual machines, multiple ESXi hosts, and all dependent components from a single location.
* **ESXi hosts:** The physical servers on which the virtual machines are running, and from/to which replication data is sent/received.

For successful replication, these components must be able to communicate with each other via defined network ports.

### Components at the cloud location (target location)

* **Firewall:** Secures the network of the cloud environment, and controls incoming and outgoing data traffic.
* **vCenter Replication Management Appliance:** An appliance that manages replications in a VMware Cloud Director Availability instance. It manages the inbound replications and maintains the metadata of the replica VMs created.
* **Cloud vCenter Server Instance:** The central instance for managing virtual machines, multiple ESXi hosts, and all dependent components from a single location.
* **ESXi hosts:** The hypervisors at the target location. They provide the storage resources (datastores) on which the replica VMs are stored. In the event of a failover, these hosts run the restored virtual machines.

### Cross-site Communication

The following ports are used for communication between the on-premises site (firewall) and cloud site (firewall):

* **Outgoing from the on-premises site:** Port 443/TCP
* **Outgoing from the cloud site:** 55443/TCP

### Internal Communication at the On-Premises Site

* **Path 1:** Communication from the firewall to the on-premises Cloud vCenter Appliance - Port: 8048/TCP
* **Path 2:** Communication between on-premises to Cloud vCenter Appliance and On-Premises vCenter Server instance - Port: 443/TCP
* **Path 3:** Communication between on-premises to Cloud vCenter Appliance and ESXi hosts - Port: 80/TCP and Port 902/TCP
* **Path 4:** Communication from ESXi hosts to on-premises vCenter Server - Port: 443/TCP
* **Path 5:** Communication between ESXi hosts and on-premises to Cloud vCenter Appliance - Port: 44046/TCP

### Internal Management Traffic at the Cloud Location

* **Path 1:** Communication from the firewall to the vCenter Replication Management Appliance - Port: 8048/TCP
* **Path 2:** Communication between vCenter Replication Management Appliance and Cloud vCenter Server instance - Port: 443/TCP
* **Path 3:** Communication from vCenter Replication Management Appliance to ESXi hosts - Port: 80/TCP and Port 902/TCP
* **Path 4:** Communication from ESXi hosts to Cloud vCenter Server instance - Port: 443/TCP
* **Path 5:** Communication from ESXi hosts to vCenter Replication Management Appliance - Port: 44046/TCP

{% hint style="info" %}
**Note:** The IONOS Private Cloud configuration publishes the VCDA CLOUD appliance on the main IP address of the private cloud and port 55443 to avoid conflicts with other customer configurations within the platform.
{% endhint %}

## VCDA CLOUD Provision

The installation and configuration of the VCDA-CLOUD appliance in the IONOS Private Cloud is fully automated. Only one parameter is required for this process: the public IP address via which VCDA-CUST reaches the IONOS Private Cloud appliance on port 55443.

To activate the VCDA option, complete the following:

1. Log in to your [<mark style="color:blue;">IONOS CLOUD account</mark>](https://dcd.ionos.com).
2. In the [<mark style="color:blue;">**Data Center Designer (DCD)**</mark>](https://docs.ionos.com/cloud/support/general-information/glossary-of-terms#data-center-designer-dcd), go to **Menu** > **Private Cloud** > **Login**.
3. Log in to the [<mark style="color:blue;">Cloud Panel</mark>](https://cloudpanel.ionos.de/login) with your credentials.
4. In the title bar, click on **Menu > Servers & Cloud**.
5. **Optional:** Select the desired Server & Cloud contract. The Cloud Panel opens.
6. Click on **Deactivated** in the **VCDA** field in the **Access** area of Cloud Panel. A window opens.
7. Select the **Enabled** option and click **Confirm changes**.
8. Enter the public IP address via which the local device should reach the VCDA in its private cloud in the **Public IP of the client VCDA** field.

## Download On-Premises VCDA (VCDA-CUST)

1. Read the VMware [<mark style="color:blue;">Broadcom documentation</mark>](https://techdocs.broadcom.com/us/en/vmware-cis/live-recovery/cloud-director-availability/4-7/on-prem-availability-install-config-and-upgrade-guide-4-7.html)
2. Register on the [<mark style="color:blue;">Broadcom support page</mark>](https://support.broadcom.com/). To do this, click on Register in the menu bar and follow the instructions.
3. After registering, log in to the [<mark style="color:blue;">page</mark>](https://support.broadcom.com/).
4. Click on the processor symbol in the menu bar to the left of the name.
5. Select the **VMware Cloud Foundation** menu item from the list.

![The VMware Cloud Foundation is highlighted in the Broadcom menu](/files/mU1OwpKrKu1Lc9nh8GBW)

6. Open the [<mark style="color:blue;">URL</mark>](https://support.broadcom.com/group/ecx/free-downloads). The Free Downloads page opens.
7. Click on the **All Divisions** field and select **VMware** from the list.

![VMware is highlighted on the Free Downloads menu](/files/O6I8ei6MsJbKznp6fcSZ)

8. Enter the search term **VMware Cloud Director Availability** in the **Search Product Name** field on the page and click **Show Results**.

![The Show Results button is highlighted on the Free Downloads page](/files/mjuNazGO7kYSWlS53jBp)

9. Click on **VMware Cloud Director Availability**.

![VMware Cloud Director Availability is highlighted on the Free Downloads page](/files/E2067gyAv2zqLj6sEiEA)

10. Click on **Standard**. The VMware Cloud Director Availability page opens.

![The Standard edition of the software is highlighted](/files/PQj123dhi3mCk2EpA2cB)

11. Click on **4.7.x**.
12. Check that **VMware Cloud Director On-Premise Appliance** is displayed as the title.
13. Read and accept the terms of use.

![The Standard edition of the software is highlighted](/files/IuP5lgz0WeXHoImt0Idl)

14. Download the latest version of the **VMware Cloud Director On-Premise Appliance**.

## On-Premises VCDA Deployment (VCDA-CUST)

### Deploy VCDA

1. Open the **vSphere Client**. For more information, see [<mark style="color:blue;">Open vSphere Client</mark>](/cloud/private-cloud/ionos-private-cloud/administration/open-vsphere-client.md).
2. Log in to the vSphere Client.
3. Click on the hamburger menu in the menu bar. A list opens.
4. Click on **Inventory** in the list.

![The Inventory option within the vSphere Client list is highlighted](/files/50MxdNcVnB16GKFFdWY3)

5. Right-click on the desired data centre in the navigation bar on the left.
6. Click on **Deploy OVF Template**.

![The Deploy OVF Template option is highlighted in the context menu](/files/nmjlLazwDbYA3VQo5SHe)

7. In step 1, click **Upload Files** under **Local file** in the **Select an OVF Template** area and follow the next steps.
8. Select the installation file and click **Open**.
9. Click **NEXT** in the **Deploy OVF Template** window. The **Select a name and folder** step is displayed.
10. In the **Select a name and folder** step, enter the desired name in the **Virtual Machine Name** field.
11. In the **Select a name and folder** step, select the data centre in the **Select a location for the virtual machine** area.
12. Click on **NEXT**. The **Select a compute resource** step is displayed.
13. Select the target resource.
14. Click on **NEXT**. The **Review details** step is displayed.
15. Check the information in the **Review details** step.
16. Click on **NEXT**. The **License agreements** step is displayed.
17. Read and accept the license conditions.
18. Click on **NEXT**. The **Configuration** step is displayed.
19. In the **Configuration** step, select the **On-Premises to Cloud vCenter Replication Appliance** option in the **Configuration** area.
20. Click on **NEXT**. The **Select storage** area opens.
21. Select the desired settings and the desired storage space.
22. Click on **NEXT**. The **Select networks** area opens.
23. Select the desired network and the desired settings.
24. Click on **NEXT**. The **Customize template** area opens.
25. Enter the following information in the **Customize template** step:
    * Root Password
    * NTP Server
    * Hostname
    * Address (CIDR notation, e.g. 192.168.1.30/24)
    * Gateway
    * MTU
    * DNS Servers
26. Click on **NEXT**.
27. Once the device provisioning is complete, switch on the VM.

### VCDA Setup

1. Log in through the web interface `https://VCDA-CUST-IP` with the specified password.

![The VMware Cloud Director Availability web interface login](/files/EuixWuBimE26cjM1VnPW)

2. Change the root password when you log in for the first time.
3. In the **VMware Cloud Director Availability** window, click **Run the initial setup wizard** in the **Getting Started** area. The **Initial Setup** window opens.

![The Run the initial setup wizard link is highlighted in VMware Cloud Director Availability](/files/O03wvvNHTCOIjIeqYqNq)

4. Enter the following information in the Initial Setup window:
   * **Site name:** Descriptive name
   * **Lookup Service Address:** `https://VCENTER-cust-IP/lookupservice/sdk`
   * **SSO Admin Username:** User with administrator rights
   * **Password:** Password of the user account

![The Initial Setup page](/files/j3xhECs3kdg39xxjTezo)

5. Click on **Apply**.
6. Accept the server certificate.
7. Click **System Health** in the navigation bar on the left.

![System Health is highlighted within the menu of VMware Cloud Director Availability](/files/sSmSNYFRz2iCsDwcSPpx)

8. Check the **System Health** area and make sure that all status messages are green.
9. Configure additional settings if required.

The installation is complete.

## Both Locations Connect

To connect both locations, you must log in to the `VCDA-CUST` appliance and set up the connection between `VCDA-CUST` and VCDA-CLOUD. To do this, complete the following:

1. Log in to the `VCDA-CUST` appliance via the web interface `https://VCDA-CUST-IP`.

![VCDA-CUST login screen.](/files/nmjlLazwDbYA3VQo5SHe)

2. Click on **Peer Sites** in the navigation bar on the left.
3. To set up a new pairing, click on **New Pairing** in the area on the right. The **New Pairing** window opens.

![New Pairing is highlighted in the VCDA-CUST appliance](/files/ZUUs5qTNlubMnSs8qqwW)

4. The public service endpoint is provided after activating the function in the Private Cloud control panel. Enter the user name `vcenter-admin@vsphere.local` in the **SSO Username** field.

![vcenter-admin is highlighted on the New Pairing page](/files/TwcFpqG0nm2PWadiJRf3)

5. Click on **PAIR**.
6. Accept the server certificate.
7. Click on **Peer Sites** in the navigation bar.
8. Make sure that the connection has been established correctly.

![The Peer Sites page with detailed information about pairing between local and cloud sites](/files/x0V7qPvacCntgGwBpv4r)

## Protect and Migrate VMs between VCDA-CLOUD and VCDA-CUST

Once both appliances are configured and paired, the VMs can be migrated and/or protected. To access these options, you have the following options:

1. You can call up the context menu by right-clicking on any virtual machine.

![The Cloud Provider DR and Migration options are highlighted in the virtual server's context menu](/files/c2I6u2EIS0OZuLHGKXWa)

2. You can click on the hamburger menu and open the vSphere plug-in.

![Cloud Provider DR and Migration is highlighted on the vSphere Client page](/files/bPROEExHGvWPRnOdX0vh)

3. You log in to the management interface of the VCDA-CUST appliance.

![Cloud Provider DR and Migration dashboard in the vSphere Client.](/files/EhXK2TJG7IGX6LnOrBI2)

## Further Information

The VMware documentation for version 4.7 can be found on the [<mark style="color:blue;">Broadcom page</mark>](https://techdocs.broadcom.com/us/en/vmware-cis/live-recovery/cloud-director-availability/4-7/availability-user-guide-4-7/replicating-workloads.html).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ionos.com/cloud/private-cloud/ionos-private-cloud/administration/deploying-vcda.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
