When recovering virtual machines from cloud to your on-premise data center, you can have them attached to the on-premise network if you configure network mappings from cloud.

The configuration of network mappings from cloud assures that during a recovery from cloud, the virtual machine on the on-premise data center connects to the correct vCenter Server network. The network depends on the network mapping and whether you run a test recovery or a recovery operation.

Prerequisites

Verify that you created a connection to a cloud virtual data center. See Connect to a Cloud Provider Site.

Procedure

  1. Log in to the vSphere Client or vSphere Web Client.
  2. On the home page, click Site Recovery and click Open Site Recovery.
  3. Click View Details for the connection to a cloud virtual data center that you want to configure.
  4. On the Site Pair tab, click Network Mappings.
  5. Select the cloud virtual data center in the locality selector.
  6. Click the New icon.

    The Configure Target Networks wizard starts.

  7. On the Recovery networks page, select the cloud networks from the left pane and the local recovery networks from the right pane. Click Add mappings and click Next.
    Note:

    You can select a virtual data center (VDC) network or a vApp network. When you select a vApp network, the network mappings are configured only for the selected vApp and override virtual data center network mappings. When you select a VDC network, the network mappings are configured for all VMs in that network.

  8. On the Test networks page, select the cloud networks from the left pane and select the local test networks from the right pane. Click Add mappings and click Next.
  9. Review your settings and click Finish.

Results

When you test a replication or perform a recovery operation, the vCloud Director-based cloud automatically attaches the virtual machine to the test or recovery network respectively.