About Deployment
Deploy the application and database in two Azure AZs for high availability and set up the key management and automated database backup in OCI.
Deploy Application Tier on Azure
MAA solutions require applications to be deployed with redundancy and fault tolerance.
- Deploy the application tier over at least two AZs. The process and solution to deploy over multiple AZs varies based on Azure services and resources involved. With Azure Kubernetes Service (AKS), you can deploy a private cluster of worker nodes in different AZs. Kubernetes control plane maintains and synchronizes the pods and the workload.
- See Explore More for Application Checklist for Continuous Service for MAA Solutions, and follow the steps to ensure your applications efficiently reconnect to available primary RAC instances or standby RAC instances during planned maintenance and outage scenarios. These simple configuration best practices include creating a clusterware-managed database service for your application, using an MAA-recommended connect string that is primary- and standby-SCAN aware, enabling Fast Application Notification (FAN) and application draining for graceful application switchover. Following, at a minimum, level 1 and level 2 steps are prerequisites for reducing application service downtime.
Set Up Database Tier on OCI
Oracle Data Guard maintains a standby database by transmitting and applying redo data from the primary database. For planned maintenance or a disaster recovery test, use Oracle Data Guard switchover. If the primary database becomes unavailable, use Oracle Data Guard failover to resume service.
The following steps describe the process to enable Oracle Data Guard across AZs for Oracle Database@Azure by the OCI managed network. OCI is the preferred network for performance (latency, throughput), and no egress or ingress costs are incurred.
When Exadata clusters are created in Azure, each will be in a different OCI Virtual Cloud Network (VCN). For resources in different VCNs to communicate with each other, as is required by Oracle Data Guard, additional steps are required to peer the VCNs and allow the IP address ranges access to each other. Follow these steps to configure that communication between VCNs.
About Expected Resolutions with Planned Maintenance and Outages
Using the this playbook's Oracle Data Guard configuration, which includes Oracle RAC databases on Exadata hardware, planned and unplanned outage events can be mitigated.
This table shows outage events and the resolutions that provide data protection.
Event | Resolution |
---|---|
Protection against database instance and hardware failures. | High availability and redundancy provided by ExaDB-D and Oracle RAC. |
Planned maintenance: Rolling updates (patching) without downtime. | High availability and redundancy provided by ExaDB-D, Oracle RAC, and cloud automation. See Explore More for Exadata Cloud Database 19c Rolling Upgrade With DBMS_ROLLING (Doc ID 2832235.1). |
Planned maintenance: Rolling upgrades with minimal (five minutes) downtime. | Data replication and protection provided by Oracle Data Guard DBMS_ROLLING across AZs. |
Protection against database, cluster, and AZ failures. | Data replication and protection provided by Oracle Data Guard across AZs. |
AZ data plane site failure. | Data replication and protection provided by Oracle Data Guard across AZs. |
Database session interruption during maintenance events and unplanned outages. | See Explore More for incorporating Continuous Availability for Applications best practices. |