Replication across GCP regions - Linux
In this scenario, replication is set up across zones that are configured in different regions and VPC peering is used to connect the networks.
-
Two VPCs with valid CIDR blocks (for example, 10.30.0.0/16 and 10.60.0.0/16 respectively) that are located in two different regions.
-
The primary instance belongs to Zone1 of region A and the secondary instance belongs to Zone1 of region B.
-
InfoScale instances in each zone.
-
Set up VPC peering between the two regions.
-
Elastic IP addresses (EIP) to connect the two VPN instances
-
Private IP addresses used for replication in standalone environments
OR
Virtual private IP addresses used for replication in clustered environments
Figure: Replication across GCP regions
Setting up replication across regions
Perform the steps in the following procedure to set up replication across regions.
To set up replication across regions
-
Create two VPCs with valid CIDR blocks in different regions, for example, 10.30.0.0/16 and 10.60.0.0/16 respectively.
-
Create the primary site VM instance.
-
Create the secondary site VM instance.
-
Set up replication between the instances using the private IP address or virtual private IP address.
For instructions on setting up replication, refer to the InfoScale Replication Administrator's Guide - Linux.
-
Verify the status of replication.
# vradmin -g dg_name repstatus rvg_name
Ensure that the replication status shows:
Replication status: replicating (connected)
Related information