VVR is configured between the Primary site and the Secondary site and between the Primary site and the bunker site using the IPv4 network. VCS global clustering and VVR agents are configured on the Primary site and the Secondary site.
When the VVR global clustering agents are configured, the main.cf
file on the Primary site looks similar to the following:
cluster sfha_site1 ( ClusterAddress = "10.209.87.170" SecureClus = 1 ) remotecluster sfha_site2 ( ClusterAddress = "10.209.87.171" ) heartbeat Icmp ( ClusterList = { sfha_site2 } Arguments @sfha_site2 = { "10.209.87.171" } ) system swsx25 ( ) system swsx26 ( ) group App_Group ( SystemList = { swsx25 = 0, swsx26 = 1 } ClusterList = { sfha_site1 = 1, sfha_site2 = 2 } Authority = 1 AutoStartList = { swsx25, swsx26 } ClusterFailOverPolicy = Manual ) Mount res_mnt ( MountPoint = "/hr_mnt" BlockDevice = "/dev/vx/dsk/hrdg/hr_dv01" FSType = vxfs FsckOpt = "-n" ) RVGPrimary Rvg_Pri ( RvgResourceName = hr_rvg ) requires group VVRGRP online local hard res_mnt requires Rvg_Pri // resource dependency tree // // group App_Group // { // Mount res_mnt // { // RVGPrimary Rvg_Pri // } // } group ClusterService ( SystemList = { swsx25 = 0, swsx26 = 1 } AutoStartList = { swsx25, swsx26 } OnlineRetryLimit = 3 OnlineRetryInterval = 120 ) Application wac ( StartProgram = "/opt/VRTSvcs/bin/wacstart" StopProgram = "/opt/VRTSvcs/bin/wacstop" MonitorProcesses = { "/opt/VRTSvcs/bin/wac" } RestartLimit = 3 ) IP gcoip ( Device = bge0 Address = "10.209.87.206" NetMask = "255.255.252.0" ) NIC gconic ( Device = bge0 NetworkHosts = { "10.209.85.3" } ) gcoip requires gconic wac requires gcoip // resource dependency tree // // group ClusterService // { // Application wac // { // IP gcoip // { // NIC gconic // } // } // } group VVRGRP ( SystemList = { swsx25 = 0, swsx26 = 1 } AutoStartList = { swsx25, swsx26 } ) DiskGroup res_dg ( DiskGroup = hrdg ) IP ipres ( Device = bge0 Address = "10.209.87.170" NetMask = "255.255.252.0" ) NIC nicres ( Device = bge0 NetworkHosts = { "10.209.84.1" } ) RVG res_rvg ( RVG = hr_rvg DiskGroup = hrdg ) ipres requires nicres res_rvg requires res_dg res_rvg requires ipres // resource dependency tree // // group VVRGRP // { // RVG res_rvg // { // DiskGroup res_dg // IP ipres // { // NIC nicres // } // } // }