The Oracle VMs can be configured for disaster recovery by replicating the boot disk using replication methods like Hitachi TrueCopy, EMC SRDF, Veritas Volume Replicator, and so on. The network configuration for the Oracle VM in the primary site may not be effective in the secondary site if the two sites are in different IP subnets. You will need to make these additional configuration changes to the LDom resource.
To configure the guest domains for disaster recovery, you need to configure VCS on both the sites in the Control Domains with GCO option.
Refer to the Veritas Cluster Server Administrator's Guide for more information about global clusters.
To set up the guest domain for disaster recovery
Configure the following disaster recovery-related attributes on the LDom resource with site-specific values for each: IPAddress, Netmask, Gateway, DNS (DNS Server).
Set the value of the ConfigureNetwork attribute to 1 to make the changes effective. The LDom agent does not apply the disaster recovery-related attributes to the guest domain if the value of the ConfigureNetwork attribute is 0.
Add a resource dependency from the LDom resource to the Mount resource and another dependency from the Mount resource to the Diskgroup resource.
Refer to the appropriate VCS Replication agent guide for configuring the replication resource.
For VVR-based replication, add the appropriate RVGPrimary resource to the service group.
Refer to the following manuals for more information:
For information about configuring VVR-related resources, see the Veritas Storage Foundation and High Availability Solutions Replication Administrator's Guide.
For information about the VVR-related agents, see the Veritas Cluster Server Bundled Agents Reference Guide.
The replication resource makes sure that when the resource is online in a site, the underlying replicated devices are in primary mode and the remote devices are in secondary mode. Thus, when the LDom resource goes online, the underlying storage will always be in read-write mode. When the LDom resource goes online, it sets the DR related parameters in the EEPROM parameter network-boot-arguments for the guest domain before starting the guest domain. When the guest domain boots, the vcs-network-reconfig service starts inside the guest domain. This service reads the EEPROM parameter and applies the disaster recovery related parameters by modifying the appropriate files inside the guest domain.