Understand the Configuration Process
Implement a Disaster Recovery Protection Group and Disaster Recovery Plan for Moving Instances
The following topics walk you through the process of configuring and implementing a DR protection group and plan for moving instances
Create Disaster Recovery Protection Group
First, create a DR protection group, associate the primary and secondary DR groups, and add members to the group. Use this procedure:
- Log in to the OCI Console and select the primary region. From the Main Menu click Disaster Recovery then DR Protection Groups then Create DR Protection Group. Select the object storage bucket created in the Primary region as part of the prerequisites for logging purposes.
- Switch to the standby region in the OCI Console. Create another DR protection group and associate it with the bucket created in standby, which you set up as a prerequisite.
- Return to the primary region and select the DR protection group created there. Click Associate to establish the link with the DR group in standby region.
- View the role assignments (primary/standby) for each DR group from the DR Protection Groups main page in the OCI Console.
- Add members to the DR Group in primary region:
- Include the required volume group as a member of the DR protection group.
- Add compute resources and provide necessary input for the VNICs by selecting Add VNIC Mapping. VNIC settings should match the primary site as JDE stores hostnames on machine information. You can also specify valid IP addresses for the DR region to be used during compute instance spin-up.
- You should have created a load balancer in the standby region as part of the prerequisites. Once created, you can add as a member of the DR protection group. Associate backend sets between primary and standby regions to ensure that backends transition properly during diaster recovery.
- Add the database as a member to the Primary region then switch to the Secondary region and peer database as a member of DR protection.
Create Disaster Recovery Plan
A disaster recovery plan outlines the workflow from Primary region to Standby region of activities and tasks that would be carried out in the event of a switchover or failover. This section describes the process of creating a DR plan that is a member of the earlier-defined Protection group
To create the DR plan, use this procedure:
Implement a Disaster Recovery Protection Group and Disaster Recovery Plan for Non-moving Instances
The following topics walk you through the process of configuring and implementing a DR protection group and plans for non-moving instances.
Create Disaster Recovery Protection Group
As with moving instances, if you are working with non-moving instances, you need to create a DR protection group, rassociate the primary and secondary DR groups, and add members to the group. User this procedure:
- Log in to the OCI Console and select the Mumbai region. From the Main Menu click Disaster Recovery then DR Protection Groups then Create DR Protection Group. Select the Object Storage bucket created in the Mumbai region as part of the prerequisites for logging purposes.
- Add Members to the DR Group in Primary Region.
- Switch to the Secondary region in the OCI Console. Create another DR Protection Group and associate it with the bucket created in Secondary location, which was set up as a prerequisite.
- Add Members to the DR Group in Secondary Region. Since this is a non-moving type DR setup, all required JDE Deployment, Batch, and Web servers must already be provisioned in the secondary region.
- Only block volumes will be replicated to the Secondary site. It is recommended to host application on block volumes.
- To sync boot volumes on servers in Primary and Secondary location use rsync/robocopy to sync file folder between primary and secondary site if needed.
- Return to the Primary region and select the DR protection group created there. Click Associate to establish the link with the DR group in Secondary.
- You can view the role assignments (Primary/Secondary) for each DR group from the DR Protection Groups main page in the OCI Console.
Create Disaster Recovery Plan
Understand Disaster Recovery Plan Groups
- Pre-populated groups, which are sequential groups that vary based on the members and type of plan.
- Custom groups, which perform configuration changes to the JDE application by using custom scripts after the switchover of instances from the primary region to the secondary region.
Understand Pre-Populated Groups for DR Plans
The Pre-population of sequential groups vary based on the members that has been added to the DR Protection Group and type of plan. Here will discuss the steps that are populated as per Switchover Plan.
- Prechecks - Built In
These prechecks ensure that all required resources, configurations, and permissions are in place to help prevent errors during the actual failover, failback, or test.
- Load Balancers - Update Source Backend Sets
Removes backend servers from the backend sets that are no longer needed after the failover.
- Compute Instances – Stop
Stops all the Instance resources that are part of DR protection group in Primary region.
- Volume Groups – Switchover
Initiates a switchover operation for volume groups from the Primary region to the Secondary region, making the volumes on Secondary region are writable and active.
- Autonomous Databases – Switchover
Performs a switchover of Autonomous Databases to the standby instance in the Secondary region.
- Compute Instances – Launch
Launches compute instances in the Secondary region using pre-defined configurations.
- Load Balancers - Update Destination Backend Sets
Updates the load balancer backend sets with backends that are launched in Secondary region.
- Volume Groups - Reverse Replication
Reverses the direction of volume group replication so that the Secondary region now replicates data back to the Primary region to ensure continuity after failover.
- Compute Instances – Terminate
Terminates the compute instances that are no longer needed in the Primary Region. This is optional step, which needs to manual enablement.
- Compute Instances - Remove from DR Protection Group
Removes compute instances from the DR Protection Group to keep the group updated.
- Volume Groups – Terminate
Deletes volume groups in the Primary region after successful switchover. This is optional step, which needs to manual enablement
- Volume Groups - Remove from DR Protection Group
Removes volume groups from the DR Protection Group to keep the group updated.
Understand Custom Groups for the DR Plan
You can add these custom groups to perform configuration changes to the JDE application by using custom scripts after the switchover of instances from the primary region to the secondary region. This approach helps to minimize operational effort and reduce downtime.
The following groups have been included based on the architectural requirements.
- Update Enterprise Server; add this group after Compute Instance – Launch.
- Update Web Server; add this group after Update Enterprise Server.
- Update Ais Server; add this group after Update Web Server.
Follow steps 2, 3, and 4 in "Create Disaster Recovery Plan", above, to run multiple custom scripts to update JDE configuration files for the secondary region.