DR across AWS regions or VPCs and from on-premises to AWS

lets you use the global cluster option (GCO) for DR configurations. You can use a DR configuration to fail over applications across different regions or VPCs in AWS. The cluster nodes can be in the same AZ or in different AZs.

The following information is required:

You can also use GCO to configure applications for DR from an on-premises site to AWS.

Note:

If you use an Amazon VPN tunnel in a global cluster configuration between an on-premises site and AWS, the cluster nodes in the cloud must be in the same subnet.

Sample configuration for DR across regions or VPCs

The following graphic depicts a sample DR configuration across AWS regions:

The sample configuration includes the following elements:

Sample service group configuration for GCO across regions

The following snippet is a service group configuration from a sample VCS configuration file (main.cf) at the primary site (Region A):

include "types.cf"

cluster sitever (
 	ClusterAddress = "172.32.1.2"
  SecureClus = 1
	 )

remotecluster sitecal (
 	ClusterAddress = "172.35.1.2"
 	ConnectTimeout = 3000
 	SocketTimeout = 3000
 	)

heartbeat Icmp (
 	ClusterList = { sitecal }
 	Arguments @sitecal = { "172.35.1.2" }
	 )

system ip-172-31-21-156 (
 	)

system ip-172-31-61-106 (
	 )

group ClusterService (
 	SystemList = { ip-172-31-21-156 = 0, ip-172-31-61-106 = 1 }
  AutoStartList = { ip-172-31-21-156, ip-172-31-61-106 }
 	OnlineRetryLimit = 3
 	OnlineRetryInterval = 120
 	)

	AWSIP Aws_Ipres (
 		OverlayIP = "172.32.1.2/32"
 		Device = eth0
 		AWSBinDir = "/usr/local/bin"
 		)

	Application wac (
	 	StartProgram = "/opt/VRTSvcs/bin/wacstart -secure"
 		StopProgram = "/opt/VRTSvcs/bin/wacstop"
	 	MonitorProcesses = { "/opt/VRTSvcs/bin/wac -secure" }
 		RestartLimit = 3
 		)

	IP Ipres (
	 	Device = eth0
 		Address = "172.32.1.2"
 		NetMask = "255.255.255.0"
 		)

	NIC gconic (
	 	Device = eth0
 		)

	Aws_Ipres requires Ipres
	Ipres requires gconic
	wac requires Ipres

The following snippet is a service group configuration from a sample VCS configuration file (main.cf) at the secondary site (Region B):

include "types.cf"

cluster sitecal (
		ClusterAddress = "172.35.1.2"
		SecureClus = 1
		)

remotecluster sitever (
		ClusterAddress = "172.32.1.2"
		ConnectTimeout = 3000
		SocketTimeout = 3000
		)

heartbeat Icmp (
		ClusterList = { sitever }
		Arguments @sitever = { "172.32.1.2" }
		)

system ip-172-34-20-109 (
		)

system ip-172-34-30-231 (
		)

group ClusterService (
		SystemList = { ip-172-34-20-109 = 0, ip-172-34-30-231 = 1 }
		AutoStartList = { ip-172-34-20-109, ip-172-34-30-231 }
		OnlineRetryLimit = 3
		OnlineRetryInterval = 120
		)

AWSIP Aws_Ipres (
		OverlayIP = "172.35.1.2/32"
		Device = eth0
		AWSBinDir = "/usr/local/bin"
		)

Application wac (
		StartProgram = "/opt/VRTSvcs/bin/wacstart -secure"
		StopProgram = "/opt/VRTSvcs/bin/wacstop"
		MonitorProcesses = { "/opt/VRTSvcs/bin/wac -secure" }
		RestartLimit = 3
		)

IP Ipres (
		Device = eth0
		Address = "172.35.1.2"
		NetMask = "255.255.255.0"
		)

NIC gconic (
		Device = eth0
		)

Aws_Ipres requires Ipres
Ipres requires gconic
wac requires Ipres