Perform the steps in the following procedure to set up replication across regions.
To set up replication across regions
Perform the following steps:
Install the Openswan packages on the primary and secondary VPN instances.
Configure the /etc/ipsec.conf
and /etc/ipsec.secrets
files.
Restart the IPSec service.
# service ipsec restart
Add the IPSec connection.
# ipsec auto -add vpc2vpcConnection # ipsec auto -up vpc2vpcConnection
Enable IPSec forwarding.
# sysctl -w net.ipv4.ip_forward=1
ipsec.conf
file to add the overlay IP address for both primary and secondary site VPN instances.
For instructions, see the chapter Setting up replication in the Veritas InfoScale Replication Administrator's Guide.
# vradmin -g dg_name repstatus rvg_name
Ensure that the RLINK is in CONNECT state and the replication status shows:
Replication status: replicating (connected)