About Configuring JD Edwards Disaster Recovery by Using OCI Full Stack Disaster Recovery

To ensure a robust, automated, and scalable disaster recovery (DR) strategy for your JD Edwards (JDE) application hosted on Oracle Cloud Infrastructure (OCI), use Oracle Cloud Infrastructure Full Stack Disaster Recovery (FSDR) service. FSDR ensures business continuity by orchestrating failover and failback processes across regions for both infrastructure and application components.

This document describes the JD Edwards architecture, and provides the configuration and implementation procedures involved with setting up the DR environment using OCI FSDR, while accounting for necessary security, performance, and compliance requirements.

JD Edwards Architecture

This illustration outlines the JD Edwards application's deployment architecture, featuring both primary and secondary regions.



jde-dr-fsdr-oracle.zip

Primary Region

In the primary region, the JDE environment is deployed within a Virtual Cloud Network (VCN) that is segmented into three dedicated subnets, which are segregated by application resources functionality, as described below.

  • Load balancer tier

    The load balancer tier hosts the OCI load balancer, which provides access to JDE web services for end users.

  • Application tier

    The application tier contains the core application components, including the enterprise server, the web server, and the Application Interface Services (AIS) server

  • Management tier

    The management tier includes tools and services for JDE management and administration, such as the deployment server and the Server Manager Console server

  • Database tier

    In the database layer, the JDE database is deployed on Autonomous Transaction Processing–Shared (ATP-S). Application servers connect to the database using endpoints. Oracle Autonomous Data Guard is enabled, creating a standby database in the secondary region and ensuring real-time data replication for high availability and disaster recovery.

  • Storage and data protection

    The block volume groups used by compute instances are protected by cross-region volume group replication, with the secondary region configured as the replication target.

Secondary Region

The secondary region serves as the disaster recovery site and mirrors critical components from the primary region.It contains:

  • A replicated VCN structure that matches the primary region’s network layout.
  • A replica load balancer to ensure continuity of access during failover.
  • A standby ATP-S database that is kept in sync with the primary by using Autonomous Data Guard.
  • Replicas of volume groups, which ensures data availability in the event of a primary region failure.

Understand JD Edwards Configuration-related Files

JDE relies on multiple configuration files to manage connectivity between its components and other participating tiers, such as databases and authentication services. These files play a critical role in defining connection parameters, runtime settings, and integration behavior. Having a proper understanding of these files and its contents is essential while configuring Disaster Recovery (DR) scenario to ensure seamless application functionality.
Below is a summary of key configuration files:

Understand Full Stack Disaster Recovery Concepts

When configuring and implementing FSDR, you will need to understand the following concepts and terminologies.

  • DR Protection Group
    • Definition: A DR protection group includes all the necessary OCI resources such as compute instances, volume groups, load balancers and databases that together form a complete application stack.
    • Advantage: A DR protection group is treated as a single unit for failover, failback, and in testing scenarios. It ensures that all resources are recovered together, which minimizes downtime and data loss.
  • DR plan

    A DR plan is an automated runbook created by FSDR to perform disaster recovery for all the resources in the primary DR protection group. It consists of steps that define how all the resources in a primary DR protection group region are transitioned to its peer secondary DR protection group region. These are the various types of DR plans:

    • Failover (unplanned): Use a failover plan when you want to perform an immediate transition by bringing up the application stack in the standby region, without attempting to shutdown service in the primary region. Failover plans are generally used to perform DR transitions when an outage or disaster affects the primary region.
    • Switchover (planned): Use a switchover plan when you want to perform an orderly transition by shutting down the application stack in the primary region and then bringing it up in the standby region. Switchover plans are typically used for the purposes of planned site maintenance, software patching, DR testing, and validation.
    • Start drill: A start drill generates a plan to perform the DR drill without interrupting the primary DR protection group resources. It creates a replica of resources in the standby DR protection group.
    • Stop drill: This DR plan stops the DR drill by removing the replica of resources created by the start drill.
  • Moving Instance
    • Definition: Instances deployed only in the primary region.
    • Use Case: Common in cold DR topologies, wherein very few or none of the components of an application or service need to be pre-deployed in the standby region in preparation for a future DR transition.
    • Behavior: During a disaster event, moving instances are moved from the primary region’s DR protection group to the standby region’s DR protection group.
    • Advantage: Cost-efficiency, as resources in the standby region are not continuously running.
    • Consideration: This method requires longer recovery times due to the need to provision and start instances in the standby region.
  • Non-Moving Instance
    • Definition: Instances pre-deployed in both primary and standby regions.
    • Use Case: Common in active-passive DR topologies, wherein some or all of the components of an application or service are pre-deployed in the standby region to prepare for a future DR transition..
    • Behavior: During DR operations, these instances are started or stopped as needed to transition service between regions.
    • Advantage: This method provides faster recovery due to pre-existing infrastructure in the standby region.
    • Consideration: This can result in higher cost because infrastructure needs to be maintained in both regions.

Full Stack Disaster Recovery Prerequisites

Before you can proceed with he FSDR process, you need to complete the following prerequisites:

  • Provision a VCN, subnets, route tables, security lists, and network gateways in the DR region. To support failover functionality and connectivity, ensure the network configurations mirror those in the primary region .
  • Define a dynamic group to allow policies that grant administrator privileges to instances created as part of the DR environment.
  • You need administrator rights to run scripts on compute instances. The Run Command plug-in uses the ocarun user to execute these scripts. Ensure that this user has appropriate permissions.
    1. Open oracle-cloud-agent-run-command for editing:
       vi ./101-oracle-cloud-agent-run-command
    2. Add the following lines in the configuration file:
      ocarun ALL=(ALL) 
      NOPASSWD:ALL
    3. Then run:
      vi sudo -cf ./101-oracle-cloud-agent-run-command
    4. Add the configuration file to /etc/sudoers.d:
      sudo cp ./101-oracle-cloud-agent-run-command /etc/sudoers.d/
  • Activate cross-region backup functionality for volume groups.
  • Deploy a load balancer in the secondary region. As part of FSDR configuration, only the backend set (instances) will be moved from the primary to the standby region; the load balancer itself must be created manually on the standby region in advance.
  • Set up a corresponding (peer) database instance in the DR region to support application failover.
  • Create an object storage bucket for logs in primary region. This bucket will store DR logs and artifacts specific to the environment.
  • Create an additional object storage bucket in the standby region. This bucket will be used for replication or logging purposes to ensure DR readiness in the standby region.
  • Place the following custom scripts in the proper location.

Apply Custom Scripts

These custom scripts are executed during the FSDR process.