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.
Procedure
- Log in to the vSphere Client or vSphere Web Client.
- On the home page, click Site Recovery and click Open Site Recovery.
- Click View Details for the connection to a cloud virtual data center that you want to configure.
- On the Site Pair tab, click Network Mappings.
- Select the cloud virtual data center in the locality selector.
- Click the New icon.
The Configure Target Networks wizard starts.
- 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.
- 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.
- 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.