You isolate the network traffic to the vSphere Replication Server by adding a dedicated network adapter to the vSphere Replication appliance to handle data from each management ESXi host.
By default, the vSphere Replication appliance has one virtual machine network adapter that is used by vSphere Replication for both replication traffic and by vCenter Server for virtual machine management. To isolate the replication traffic, you add a second adapter to the appliances in both regions and configure them for replication traffic.
Procedure
- In a Web browser, log in to vCenter Server by using the vSphere Client.
Setting Value URL https://sfo01m01vc01.sfo01.rainpole.local/ui User name administrator@vsphere.local Password vsphere_admin_password - To allow changes in the hardware configuration, shut down the vSphere Replication appliance.
- In the Hosts and clusters inventory, expand the sfo01m01vc01.sfo01.rainpole.local tree and expand the sfo01-m01dc data center.
- Right-click the sfo01m01vrms01 appliance and select Power > Shut down guest OS.
- In the Confirm guest shut down dialog box, click Yes to proceed.
- Add a VM network adapter to the vSphere Replication virtual appliance for replication traffic only.
- Right-click the sfo01m01vrms01 virtual appliance and select Edit settings.
The Edit settings dialog box opens.
- On the Virtual hardware tab, click Add new device and select Network adapter.
- Expand the New network section, configure the settings, and click OK.
Setting Value New network sfo01-m01-vds01-replication Status Connected at power on Adapter type VMXNET 3 Direct path I/O Enabled - Right-click the sfo01m01vrms01 virtual appliance and select Power > Power On.
- Right-click the sfo01m01vrms01 virtual appliance and select Edit settings.
- In a Web browser, log in to vSphere Replication by using the Virtual Appliance Management Interface (VAMI).
Setting Value URL https://sfo01m01vrms01.sfo01.rainpole.local:5480 User name root Password vr_sfo_root_password - Configure the network settings of the new network adapter
eth1
.- Click the Network tab and click Address.
- Under eth1 info, configure the settings and click Save Settings.
Setting Value IPv4 Address Type Static IPv4 Address 172.16.16.71 Netmask 255.255.255.0 IPv6 Address Type None - Click the VR tab and click Configuration.
- In the IP Address for incoming storage traffic text box, enter 172.16.16.71 and click Apply network setting.
172.16.16.71 is the IP address of the new network adapter that handles replication traffic.
- Repeat the steps to reconfigure the lax01m01vrms01 vSphere Replication appliance in Region B, using the values from the following table.
Setting Value vSphere Replication appliance lax01m01vrms01 New network lax01-m01-vds01-replication URL of vSphere Replication appliance https://lax01m01vrms01.lax01.rainpole.local:5480 IPv4 address type Static IPv4 address 172.17.16.71 Netmask 255.255.255.0 IP address for incoming storage traffic 172.17.16.71 - In a Web browser, log in to vCenter Server by using the vSphere Client.
Setting Value URL https://sfo01m01vc01.sfo01.rainpole.local/ui User name administrator@vsphere.local Password vsphere_admin_password - On the vSphere Replication appliances, add static network routes to the hosts in the other region.
Appliance Host Name Source Gateway Target Network sfo01m01vrms01.sfo01.rainpole.local 172.16.16.253 172.17.16.0/24 lax01m01vrms01.lax01.rainpole.local 172.17.16.253 172.16.16.0/24 - In the Hosts and clusters inventory, expand the sfo01m01vc01.sfo01.rainpole.local tree and expand the sfo01-m01dc data center.
- Select the sfo01m01vrms01 virtual appliance, click the Summary tab, and click Launch web console.
- In the Launch console dialog box, select Web console, and click OK.
- Press ALT+F2 to switch to the command prompt.
- Log in using the following credentials.
Setting Value User name root Password vr_root_password - Edit the /etc/systemd/network/10-eth1.network file.
vi /etc/systemd/network/10-eth1.network
- To create a route to from the recovery to the protected region, add the following text at the end of the file.
File Value for sfo01m01vrms01 Value for lax01m01vrms01 /etc/systemd/network/10-eth1.network [Route] Gateway=172.16.16.253 Destination=172.17.16.0/24
[Route] Gateway=172.17.16.253 Destination=172.16.16.0/24
- To restart the network service, run the command.
systemctl restart systemd-networkd.service
- To verify the routing table, run the
route -n
command.Command Output for sfo01m01vrms01 Output for lax01m01vrms01 route -n
Destination 172.17.16.0 Gateway 172.16.16.253 Iface eth1
Destination 172.16.16.0 Gateway 172.17.16.253 Iface eth1
- Repeat the step on the vSphere Replication appliance in the other region.