Add vCenters to a site in BlueXP disaster recovery
Before you can create a disaster recovery plan, you need to add a primary vCenter server to a site and a target vCenter disaster recovery site in BlueXP.
|
Ensure that both the source and destination vCenters use the same BlueXP Connector. |
After vCenters are added, BlueXP disaster recovery performs a deep discovery of the vCenter environments, including vCenter clusters, ESXi hosts, datastores, storage foot print, virtual machine details, SnapMirror replicas, and virtual machine networks.
Required BlueXP role
Organization admin, Folder or project admin, or Disaster recovery admin.
Learn about user roles and permissions in BlueXP disaster recovery.
Learn about BlueXP access roles for all services.
If you added vCenters in previous releases and want to customize the discovery schedule, you must edit the vCenter server site and set the schedule.
|
BlueXP disaster recovery performs discovery once every 24 hours. After setting up a site, you can later edit the vCenter to customize the discovery schedule that meets your needs. For example, if you have a large number of VMs, you can set the discovery schedule to run every 23 hours and 59 minutes. If you have a small number of VMs, you can set the discovery schedule to run every 12 hours. The minimum interval is 30 minutes and the maximum is 24 hours. |
You should first do a few manual discoveries to get the most up-to-date information about your environment. After that, you can set the schedule to run automatically.
Newly added or deleted VMs are recognized in the next scheduled discovery or during an immediate manual discovery.
VMs can be protected only if the replication plan is in one of the following states:
-
Ready
-
Failback committed
-
Test failover committed
-
Log in to BlueXP and from the left navigation menu, select Protection > Disaster recovery.
You’ll land on BlueXP disaster recovery Dashboard page. When you first start with the service, you need to add vCenter information. Later, the Dashboard displays data about your sites and replication plans.
Different fields appear depending on the type of site you are adding. -
Source: Select Discover vCenter servers to enter information about the source vCenter site.
If some vCenter sites already exist and you want to add more, from the top menu, select Sites and then select Add. -
Add a site, select the BlueXP Connector, and provide vCenter credentials.
-
(Applies only to on-premises sites) To accept self-signed certificates for the source vCenter, check the box.
Self-signed certificates are not as secure as other certificates. If your vCenter is NOT configured with certificate authority (CA) certificates, you should check this box; otherwise, the connection to the vCenter will not work.
-
-
Select Add.
Next, you will add a target vCenter.
-
Target:
-
Choose the target site and the location. If the target is cloud, select AWS.
-
(Applies only to cloud sites) API token: Enter the API token to authorize service access for your organization. Create the API token by providing specific organization and service roles.
-
(Applies only to cloud sites) Long organization ID: Enter the unique ID for the organization. You can identify this ID by clicking on the username in the Account section of the BlueXP console.
-
-
Select Add.
The source and target vCenters appear on the list of sites.
-
-
To see the progress of the operation, from the top menu, select Job monitoring.
Add subnet mapping for a vCenter site
Manage IP addresses on failover in a new way using subnet mapping, which enables you to add subnets for each vCenter. When you do so, you define the IPv4 CIDR, the default gateway, and the DNS for each virtual network.
Upon failover, BlueXP disaster recovery determines the appropriate IP address of each vNIC by looking at the CIDR provided for the mapped virtual network and uses it to derive the new IP address.
For example:
-
NetworkA = 10.1.1.0/24
-
NetworkB = 192.168.1.0/24
VM1 has a vNIC (10.1.1.50) that is connected to NetworkA.
NetworkA is mapped to NetworkB in the replication plan settings.
Upon failover, BlueXP disaster recovery replaces the Network portion of the original IP address (10.1.1) and keeps the host address (.50) of the original IP address (10.1.1.50). For VM1, BlueXP disaster recovery looks at the CIDR settings for NetworkB and uses that the NetworkB network portion 192.168.1 while keeping the host portion (.50) to create the new IP address for VM1. The new IP becomes 192.168.1.50.
In summary, the host address stays the same, while the network address is replaced with whatever is configured in the site subnet mapping. This enables you to manage IP address reassignment upon failover more easily, especially if you have hundreds of networks and thousands of VMs to manage.
Using subnet mapping is an optional two-step process:
-
First, add the subnet mapping for each vCenter site.
-
Second, in the replication plan, indicate that you want to use subnet mapping.
-
From the top BlueXP disaster recovery menu, select Sites.
-
From the Actions
icon on the right, select Add subnet.
The Configure subnet page appears:
-
In the Configure subnet page, enter the following information:
-
Subnet: Enter the IPv4 CIDR for the subnet up to /32.
CIDR notation is a method of specifying IP addresses and their network masks. The /24 denotes the netmask. The number consists of an IP address with the number after the "/" indicating how many bits of the IP address denote the network. For example, 192.168.0.50/24, the IP address is 192.168.0.50 and the total number of bits in the network address is 24. 192.168.0.50 255.255.255.0 becomes 192.168.0.0/24. -
Gateway: Enter the default gateway for the subnet.
-
DNS: Enter the DNS for the subnet.
-
-
Select Add subnet mapping.
Select subnet mapping for a replication plan
When you create a replication plan, you can select the subnet mapping for the replication plan.
Using subnet mapping is an optional two-step process:
-
First, add the subnet mapping for each vCenter site.
-
Second, in the replication plan, indicate that you want to use subnet mapping.
-
From the BlueXP disaster recovery top menu, select Replication plans.
-
Select Add to add a replication plan.
-
Complete the fields in the usual way by adding the vCenter servers, selecting the resource groups or applications, and completing the mappings.
-
In the Replication plan > Resource mapping page, select the Virtual machines section.
-
In the Target IP field, select Use subnet mapping from the drop-down list.
If there are two VMs (for example, one is Linux and the other is Windows), credentials are needed only for Windows. -
Continue with the creating the replication plan.
Edit the vCenter server site and customize the discovery schedule
You can edit the vCenter server site to customize the discovery schedule. For example, if you have a large number of VMs, you can set the discovery schedule to run every 23 hours and 59 minutes. If you have a small number of VMs, you can set the discovery schedule to run every 12 hours.
If you added vCenters in previous releases and want to customize the discovery schedule, you must edit the vCenter server site and set the schedule.
If you don't want to schedule discovery, you can disable the scheduled discovery option and refresh the discovery manually at any time.
-
From the BlueXP disaster recovery menu, select Sites.
-
Select the site you want to edit.
-
Select the Actions
icon on the right and select Edit.
-
In the Edit vCenter server page, edit the fields as needed.
-
To customize the discovery schedule, check the Enable scheduled discovery box and select the date and time interval you want.
-
Select Save.
Refresh discovery manually
You can refresh the discovery manually at any time. This is useful if you have added or removed VMs and want to update the information in BlueXP disaster recovery.
-
From the BlueXP disaster recovery menu, select Sites.
-
Select the site you want to refresh.
-
Select the Actions
icon on the right and select Refresh.