Oracle HA in Azure- Options

Published Apr 23 2021 09:34 AM 10.7K Views
Microsoft

A common conversation for bringing Oracle workloads to Azure always surrounds the topic of Real Application Clusters, (RAC).  As it’s been quite some time since I’ve covered this topic, I wanted to update from this previous post, as with the cloud and technology, change is constant.

 

One thing that hasn’t changed is my belief RAC is A solution for Oracle for a specific use case and not THE solution for Oracle.  The small detail that Oracle won’t support RAC in any third-party cloud is less important than the lack of need for RAC in most cases for those migrating to an enterprise level cloud such as Azure.

 

Not So Lift and Shift

Whenever we are working on migrating Oracle workloads to Azure, it is important for us to focus on how we should most effectively architect for the Azure cloud and not to just lift and shift what exists onprem.  A common challenge during cloud migrations is when an attempt is made to duplicate everything onprem in the cloud or simply treating the cloud like another data center, not realizing how much high availability is built into Azure that isn’t in their onprem data center. 

 

We often experience customers implementing redundancy in products, features and at the same time, introducing redundancy and sometimes their own failures.  Most common abuses are in the areas of hypervisors on top of hypervisors, mirroring/storage copies and storage management tripping all over itself and this topic, high availability products.

 

In Data Guard We Trust

Due to this transparent and very important part of the Azure cloud, the most common Oracle architecture deployed are single instance Oracle databases, (often from onprem RAC) with Oracle Data Guard standbys to support both disaster recovery and high availability using features that surprisingly, less technologists are aware of than we’d like.

 

When we’ve completed an Oracle sizing and architecture assessment here at Microsoft with a customer, the diagrams look very similar to the following:

kegorman_0-1619121219731.png

Fig. 1

 

As there are several topics around why we so rarely use RAC in Azure, I’m going to take each of these on separately and hopefully cover the important details.

 

High Availability Cluster

If we were to build out a RAC cluster in the Azure cloud, unlike an Always on Availability Group, all the nodes for RAC are deployed only to a single Availability Zone.  If we think about high availability architecture design, you will realize that this architecture will fail basic HA requirements.  

 

kegorman_1-1619121219745.jpeg

Fig. 2

 

Oracle Data Guard is very similar in design to Always on AG and an essential part of any Disaster Recovery architecture design.  Notice in the diagram, Figure 3, if the RAC in Availability Zone 1 goes down, there will be an outage unless there is an Oracle Data Guard standby available in another Availability Zone to failover to.

 

kegorman_2-1619121219760.jpeg

Fig. 3

 

With Oracle Data Guard, we can configure several features to build out a full-blown, highly available architecture that can support 8-9’s of uptime.  With Oracle Data Guard configured with Fast-Start Failover, (FSFO) if the primary database becomes unavailable or goes down for any reason, the secondary will automatically become the primary and take over in a matter of seconds.  A notification can be set up in Oracle Enterprise Manager to notify those responsible, but this failover happens in seconds when configured correctly in Azure, allowing for transparent failover to a secondary standby in a second availability zone.

 

To take this a step further, you can configure the DG Broker and set up Oracle Observer in secondary Availability zones, (with full redundancy) to failover applications that are failover compatible.  This results in a transparent failover of new sessions to the secondary when FSFO comes into play, failing over the database.

 

We can deploy the primary in one Availability Zone and a standby in a second Availability Zone, creating a fully redundant and automatic failover solution.  As Oracle Data Guard can support numerous standby databases, these HA and DR copies can be deployed in multiple Availability Zones and secondary regions to meet the customer’s RPO/RTO, no matter how complex the SLA.

 

For Oracle’s Maximum Availability Architecture, (MAA) to reach a gold standard, Oracle Data Guard must be part of the deployed solution.  As customers often move to storage snapshots from RMAN for backups, having Data Guard features, such as DBverify and Analyze to perform logical checks for intra-block and inter-object consistency offers added benefits.  Data Guard provides in-memory intra-block checks and shadow lost write protection if there is an interruption in service to the storage layer to the database. 

 

For an additional charge of Active Data Guard, the standby can be used for an RMAN backup target to offload the demand on the primary database, as well as offload the intra-block logical checks to the standby in its active read-only mode. 

 

We can also use a separate Far Sync instance to guarantee zero data loss by performing a compressed offload compressed transport of the redo to the Active standby database.  This also offers the ability to perform continuous Oracle validation to the standby and additional encryption to secure business data.

 

High Availability via rolling patches and upgrades

As RAC isn’t supported in any third-party cloud, Azure specialists are going to investigate the solutions that do provide what is required and for Azure cloud, Oracle Data Guard is very compatible with Azure cloud infrastructure HA.  Another nice feature that many aren’t aware of is that with Oracle Active Data Guard, (active/active, secondary is a read-only active standby) you can do switch overs and using the DBMS_ROLLING package provided with Oracle 19c, you can do rolling patches and upgrades.  This provides one of the most loved features of Oracle RAC by DBAs and is very little known in Data Guard.

 

With DBMS_ROLLING and Active Data Guard, database and application downtime can be decreased to seconds with a fault tolerant, resumable and rollback capable solution. 

 

Scalability

This is the best reason to use RAC and for many, the least common reason we’ve often seen businesses choose it.  For an OLTP or hybrid database workload that requires significant CPU and memory and the database design has been optimized for RAC, considerable demanding workloads can be leveraged with the product.  When we reach for RAC over OS level clustering with load balancer or a larger VM that can handle the workload has to do with per VM limits we can’t work our way around.  There are significant challenges with concurrency, initial transaction locking, GC waits or shipping between nodes that are outside of this discussion, but you do realize the benefit that could be brought to the table with RAC…but not in Azure or any other third-party cloud if you want it supported by Oracle.  It’s not about the shared storage or even the multi-cast network that’s the problem, it’s simply around supportability by Oracle. 

 

Although we’re not able to use RAC for scalability, for heavy read-only workloads, we can use Oracle’s Active Data Guard standbys, in a read-only active mode to disperse those application compatible workloads, retaining the primary to only process the transactional workload.

 

Oracle Sharding offers another option for scalability, spreading the database, with a shared-nothing architecture, across multiple databases/hosts using shard keys.  Sharding is a horizontal partitioning of data across numerous databases and each shard holds a subset of the total data source vs. housing in a single database. As RAC isn’t supported in any third-party cloud, this is deployed in the Azure cloud without a RAC clusterware backbone but is able to use Oracle’s multi-tenant feature with the additional licensing.

 

kegorman_3-1619121219763.png

Fig. 4

 

For those workloads that absolutely need a RAC solution, we leverage OS level clustering in Azure VMs using PaceMaker and for the customers who can adopt a co-location, we recommend Azure BareMetal RAC offering.  This is a proximity located Co-Lo to Azure that can offer RAC for customer that absolutely must have it.  The infrastructure is supported by Azure and everything above that is supported by the customer.

 

There is also Azure RAC BareMetal which is in a gated GA status.  Bare Metal, which are dedicated machines in a co-location configuration in proximity to the Azure cloud offers a RAC solution where the infrastructure is supported by Azure, but everything above this is managed by the customer. 

 

kegorman_4-1619121219793.png

Fig. 5

 

Latency between the Bare Metal solution and other Azure services and VMs is minimized, along with additional high availability built into the offering to support what would be missing from most onprem data center deployments.

 

Azure Bare Metal can support RAC One Node and standard RAC deployments with an HA storage configuration to support the demands of 2 and 4 Node RAC configurations in a highly scaled, enterprise cloud solution. 

 

A customer may use Flashgrid on Azure with the understanding that all support for this RAC solution running in Azure must go through Flashgrid.  Neither Oracle nor Microsoft can support RAC running inside the Azure cloud, but Flashgrid has shown a history of offering solid support for their customers.

 

Although initially, we hoped to use Azure’s shared storage for an option to run Oracle RAC in our cloud, we’ve backtracked from this due to support constraints and same goes for networking advancements in Azure.  It’s not that we can’t run RAC in Azure, it’s just that it isn’t supported, and our main goal is long term customer satisfaction and supportability in Azure.  No matter your feelings on RAC, the goal for this post was to discuss what features are best suited for a deployment in Azure making Oracle highly available, easy to manage and most likely to receive vendor support.

1 Comment
Occasional Visitor

Excellent article! In my opinion, and I have quite a bit of experience with RAC, RAC is overly complex and requires re-engineering of applications. Not supporting RAC is not a big deal. I have customers using Oracle on Azure and will be more than glad to show them this article.

%3CLINGO-SUB%20id%3D%22lingo-sub-2281896%22%20slang%3D%22en-US%22%3EOracle%20HA%20in%20Azure-%20Options%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2281896%22%20slang%3D%22en-US%22%3E%3CP%3EA%20common%20conversation%20for%20bringing%20Oracle%20workloads%20to%20Azure%20always%20surrounds%20the%20topic%20of%20Real%20Application%20Clusters%2C%20(RAC).%26nbsp%3B%20As%20it%E2%80%99s%20been%20quite%20some%20time%20since%20I%E2%80%99ve%20covered%20this%20topic%2C%20I%20wanted%20to%20update%20from%20this%20previous%20post%2C%20as%20with%20the%20cloud%20and%20technology%2C%20change%20is%20constant.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20thing%20that%20hasn%E2%80%99t%20changed%20is%20my%20belief%20RAC%20is%20%3CSTRONG%3E%3CEM%3EA%20solution%20for%20Oracle%20for%20a%20specific%20use%20case%20%3C%2FEM%3E%3C%2FSTRONG%3Eand%20not%20%3CSTRONG%3E%3CEM%3ETHE%20solution%20for%20Oracle%3C%2FEM%3E%3C%2FSTRONG%3E.%20%26nbsp%3BThe%20small%20detail%20that%20Oracle%20won%E2%80%99t%20support%20RAC%20in%20any%20third-party%20cloud%20is%20less%20important%20than%20the%20lack%20of%20need%20for%20RAC%20in%20most%20cases%20for%20those%20migrating%20to%20an%20enterprise%20level%20cloud%20such%20as%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--492907620%22%20id%3D%22toc-hId--492851048%22%20id%3D%22toc-hId--492851048%22%20id%3D%22toc-hId--492851048%22%20id%3D%22toc-hId--492851048%22%3ENot%20So%20Lift%20and%20Shift%3C%2FH2%3E%0A%3CP%3EWhenever%20we%20are%20working%20on%20migrating%20Oracle%20workloads%20to%20Azure%2C%20it%20is%20important%20for%20us%20to%20focus%20on%20how%20we%20should%20most%20effectively%20architect%20for%20the%20Azure%20cloud%20and%20not%20to%20just%20lift%20and%20shift%20what%20exists%20onprem.%26nbsp%3B%20A%20common%20challenge%20during%20cloud%20migrations%20is%20when%20an%20attempt%20is%20made%20to%20duplicate%20everything%20onprem%20in%20the%20cloud%20or%20simply%20treating%20the%20cloud%20like%20another%20data%20center%2C%20not%20realizing%20how%20much%20high%20availability%20is%20built%20into%20Azure%20that%20isn%E2%80%99t%20in%20their%20onprem%20data%20center.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20often%20experience%20customers%20implementing%20redundancy%20in%20products%2C%20features%20and%20at%20the%20same%20time%2C%20introducing%20redundancy%20and%20sometimes%20their%20own%20failures.%26nbsp%3B%20Most%20common%20abuses%20are%20in%20the%20areas%20of%20hypervisors%20on%20top%20of%20hypervisors%2C%20mirroring%2Fstorage%20copies%20and%20storage%20management%20tripping%20all%20over%20itself%20and%20this%20topic%2C%20high%20availability%20products.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1994605213%22%20id%3D%22toc-hId-1994661785%22%20id%3D%22toc-hId-1994661785%22%20id%3D%22toc-hId-1994661785%22%20id%3D%22toc-hId-1994661785%22%3EIn%20Data%20Guard%20We%20Trust%3C%2FH2%3E%0A%3CP%3EDue%20to%20this%20transparent%20and%20very%20important%20part%20of%20the%20Azure%20cloud%2C%20the%20most%20common%20Oracle%20architecture%20deployed%20are%20single%20instance%20Oracle%20databases%2C%20(often%20from%20onprem%20RAC)%20with%20Oracle%20Data%20Guard%20standbys%20to%20support%20both%20disaster%20recovery%20and%20high%20availability%20using%20features%20that%20surprisingly%2C%20less%20technologists%20are%20aware%20of%20than%20we%E2%80%99d%20like.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20we%E2%80%99ve%20completed%20an%20Oracle%20sizing%20and%20architecture%20assessment%20here%20at%20Microsoft%20with%20a%20customer%2C%20the%20diagrams%20look%20very%20similar%20to%20the%20following%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kegorman_0-1619121219731.png%22%20style%3D%22width%3A%20525px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274797iA5B67664EA2AD244%2Fimage-dimensions%2F525x269%3Fv%3Dv2%22%20width%3D%22525%22%20height%3D%22269%22%20role%3D%22button%22%20title%3D%22kegorman_0-1619121219731.png%22%20alt%3D%22kegorman_0-1619121219731.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EFig.%201%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20there%20are%20several%20topics%20around%20why%20we%20so%20rarely%20use%20RAC%20in%20Azure%2C%20I%E2%80%99m%20going%20to%20take%20each%20of%20these%20on%20separately%20and%20hopefully%20cover%20the%20important%20details.%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-187150750%22%20id%3D%22toc-hId-187207322%22%20id%3D%22toc-hId-187207322%22%20id%3D%22toc-hId-187207322%22%20id%3D%22toc-hId-187207322%22%3E%26nbsp%3B%3C%2FH2%3E%0A%3CH2%20id%3D%22toc-hId--1620303713%22%20id%3D%22toc-hId--1620247141%22%20id%3D%22toc-hId--1620247141%22%20id%3D%22toc-hId--1620247141%22%20id%3D%22toc-hId--1620247141%22%3EHigh%20Availability%20Cluster%3C%2FH2%3E%0A%3CP%3EIf%20we%20were%20to%20build%20out%20a%20RAC%20cluster%20in%20the%20Azure%20cloud%2C%20unlike%20an%20Always%20on%20Availability%20Group%2C%20all%20the%20nodes%20for%20RAC%20are%20deployed%20only%20to%20a%20single%20Availability%20Zone.%26nbsp%3B%20If%20we%20think%20about%20high%20availability%20architecture%20design%2C%20you%20will%20realize%20that%20this%20architecture%20will%20fail%20basic%20HA%20requirements.%20%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kegorman_1-1619121219745.jpeg%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274798iDE01C59CE8221DCB%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22kegorman_1-1619121219745.jpeg%22%20alt%3D%22kegorman_1-1619121219745.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EFig.%202%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOracle%20Data%20Guard%20is%20very%20similar%20in%20design%20to%20Always%20on%20AG%20and%20an%20essential%20part%20of%20any%20Disaster%20Recovery%20architecture%20design.%26nbsp%3B%20Notice%20in%20the%20diagram%2C%20Figure%203%2C%20if%20the%20RAC%20in%20Availability%20Zone%201%20goes%20down%2C%20there%20will%20be%20an%20outage%20unless%20there%20is%20an%20Oracle%20Data%20Guard%20standby%20available%20in%20another%20Availability%20Zone%20to%20failover%20to.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kegorman_2-1619121219760.jpeg%22%20style%3D%22width%3A%20549px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274799iAB6369538C9B89E5%2Fimage-dimensions%2F549x223%3Fv%3Dv2%22%20width%3D%22549%22%20height%3D%22223%22%20role%3D%22button%22%20title%3D%22kegorman_2-1619121219760.jpeg%22%20alt%3D%22kegorman_2-1619121219760.jpeg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EFig.%203%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20Oracle%20Data%20Guard%2C%20we%20can%20configure%20several%20features%20to%20build%20out%20a%20full-blown%2C%20highly%20available%20architecture%20that%20can%20support%208-9%E2%80%99s%20of%20uptime.%26nbsp%3B%20With%20Oracle%20Data%20Guard%20configured%20with%20Fast-Start%20Failover%2C%20(FSFO)%20if%20the%20primary%20database%20becomes%20unavailable%20or%20goes%20down%20for%20any%20reason%2C%20the%20secondary%20will%20automatically%20become%20the%20primary%20and%20take%20over%20in%20a%20matter%20of%20seconds.%26nbsp%3B%20A%20notification%20can%20be%20set%20up%20in%20Oracle%20Enterprise%20Manager%20to%20notify%20those%20responsible%2C%20but%20this%20failover%20happens%20in%20seconds%20when%20configured%20correctly%20in%20Azure%2C%20allowing%20for%20transparent%20failover%20to%20a%20secondary%20standby%20in%20a%20second%20availability%20zone.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20take%20this%20a%20step%20further%2C%20you%20can%20configure%20the%20DG%20Broker%20and%20set%20up%20Oracle%20Observer%20in%20secondary%20Availability%20zones%2C%20(with%20full%20redundancy)%20to%20failover%20applications%20that%20are%20failover%20compatible.%26nbsp%3B%20This%20results%20in%20a%20transparent%20failover%20of%20new%20sessions%20to%20the%20secondary%20when%20FSFO%20comes%20into%20play%2C%20failing%20over%20the%20database.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20can%20deploy%20the%20primary%20in%20one%20Availability%20Zone%20and%20a%20standby%20in%20a%20second%20Availability%20Zone%2C%20creating%20a%20fully%20redundant%20and%20automatic%20failover%20solution.%26nbsp%3B%20As%20Oracle%20Data%20Guard%20can%20support%20numerous%20standby%20databases%2C%20these%20HA%20and%20DR%20copies%20can%20be%20deployed%20in%20multiple%20Availability%20Zones%20and%20secondary%20regions%20to%20meet%20the%20customer%E2%80%99s%20RPO%2FRTO%2C%20no%20matter%20how%20complex%20the%20SLA.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20Oracle%E2%80%99s%20Maximum%20Availability%20Architecture%2C%20(MAA)%20to%20reach%20a%20gold%20standard%2C%20Oracle%20Data%20Guard%20must%20be%20part%20of%20the%20deployed%20solution.%26nbsp%3B%20As%20customers%20often%20move%20to%20storage%20snapshots%20from%20RMAN%20for%20backups%2C%20having%20Data%20Guard%20features%2C%20such%20as%20DBverify%20and%20Analyze%20to%20perform%20logical%20checks%20for%20intra-block%20and%20inter-object%20consistency%20offers%20added%20benefits.%26nbsp%3B%20Data%20Guard%20provides%20in-memory%20intra-block%20checks%20and%20shadow%20lost%20write%20protection%20if%20there%20is%20an%20interruption%20in%20service%20to%20the%20storage%20layer%20to%20the%20database.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20an%20additional%20charge%20of%20Active%20Data%20Guard%2C%20the%20standby%20can%20be%20used%20for%20an%20RMAN%20backup%20target%20to%20offload%20the%20demand%20on%20the%20primary%20database%2C%20as%20well%20as%20offload%20the%20intra-block%20logical%20checks%20to%20the%20standby%20in%20its%20active%20read-only%20mode.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20can%20also%20use%20a%20separate%20Far%20Sync%20instance%20to%20guarantee%20zero%20data%20loss%20by%20performing%20a%20compressed%20offload%20compressed%20transport%20of%20the%20redo%20to%20the%20Active%20standby%20database.%26nbsp%3B%20This%20also%20offers%20the%20ability%20to%20perform%20continuous%20Oracle%20validation%20to%20the%20standby%20and%20additional%20encryption%20to%20secure%20business%20data.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-867209120%22%20id%3D%22toc-hId-867265692%22%20id%3D%22toc-hId-867265692%22%20id%3D%22toc-hId-867265692%22%20id%3D%22toc-hId-867265692%22%3EHigh%20Availability%20via%20rolling%20patches%20and%20upgrades%3C%2FH2%3E%0A%3CP%3EAs%20RAC%20isn%E2%80%99t%20supported%20in%20any%20third-party%20cloud%2C%20Azure%20specialists%20are%20going%20to%20investigate%20the%20solutions%20that%20do%20provide%20what%20is%20required%20and%20for%20Azure%20cloud%2C%20Oracle%20Data%20Guard%20is%20very%20compatible%20with%20Azure%20cloud%20infrastructure%20HA.%26nbsp%3B%20Another%20nice%20feature%20that%20many%20aren%E2%80%99t%20aware%20of%20is%20that%20with%20Oracle%20Active%20Data%20Guard%2C%20(active%2Factive%2C%20secondary%20is%20a%20read-only%20active%20standby)%20you%20can%20do%20switch%20overs%20and%20using%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.oracle.com%2Fdatabase%2F121%2FARPLS%2Fd_rolling.htm%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EDBMS_ROLLING%20package%3C%2FA%3E%20provided%20with%20Oracle%2019c%2C%20you%20can%20do%20rolling%20patches%20and%20upgrades.%26nbsp%3B%20This%20provides%20one%20of%20the%20most%20loved%20features%20of%20Oracle%20RAC%20by%20DBAs%20and%20is%20very%20little%20known%20in%20Data%20Guard.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWith%20DBMS_ROLLING%20and%20Active%20Data%20Guard%2C%20database%20and%20application%20downtime%20can%20be%20decreased%20to%20seconds%20with%20a%20fault%20tolerant%2C%20resumable%20and%20rollback%20capable%20solution.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--940245343%22%20id%3D%22toc-hId--940188771%22%20id%3D%22toc-hId--940188771%22%20id%3D%22toc-hId--940188771%22%20id%3D%22toc-hId--940188771%22%3EScalability%3C%2FH2%3E%0A%3CP%3EThis%20is%20the%20best%20reason%20to%20use%20RAC%20and%20for%20many%2C%20the%20least%20common%20reason%20we%E2%80%99ve%20often%20seen%20businesses%20choose%20it.%26nbsp%3B%20For%20an%20OLTP%20or%20hybrid%20database%20workload%20that%20requires%20significant%20CPU%20and%20memory%20and%20the%20database%20design%20has%20been%20optimized%20for%20RAC%2C%20considerable%20demanding%20workloads%20can%20be%20leveraged%20with%20the%20product.%26nbsp%3B%20When%20we%20reach%20for%20RAC%20over%20OS%20level%20clustering%20with%20load%20balancer%20or%20a%20larger%20VM%20that%20can%20handle%20the%20workload%20has%20to%20do%20with%20per%20VM%20limits%20we%20can%E2%80%99t%20work%20our%20way%20around.%26nbsp%3B%20There%20are%20significant%20challenges%20with%20concurrency%2C%20initial%20transaction%20locking%2C%20GC%20waits%20or%20shipping%20between%20nodes%20that%20are%20outside%20of%20this%20discussion%2C%20but%20you%20do%20realize%20the%20benefit%20that%20could%20be%20brought%20to%20the%20table%20with%20RAC%E2%80%A6but%20not%20in%20Azure%20or%20any%20other%20third-party%20cloud%20if%20you%20want%20it%20supported%20by%20Oracle.%26nbsp%3B%20It%E2%80%99s%20not%20about%20the%20shared%20storage%20or%20even%20the%20multi-cast%20network%20that%E2%80%99s%20the%20problem%2C%20it%E2%80%99s%20simply%20around%20supportability%20by%20Oracle.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlthough%20we%E2%80%99re%20not%20able%20to%20use%20RAC%20for%20scalability%2C%20for%20heavy%20read-only%20workloads%2C%20we%20can%20use%20Oracle%E2%80%99s%20Active%20Data%20Guard%20standbys%2C%20in%20a%20read-only%20active%20mode%20to%20disperse%20those%20application%20compatible%20workloads%2C%20retaining%20the%20primary%20to%20only%20process%20the%20transactional%20workload.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.oracle.com%2Fen%2Fdatabase%2Foracle%2Foracle-database%2F21%2Fshard%2Foverview-oracle-sharding1.html%23GUID-0F39B1FB-DCF9-4C8A-A2EA-88705B90C5BF%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EOracle%20Sharding%3C%2FA%3E%20offers%20another%20option%20for%20scalability%2C%20spreading%20the%20database%2C%20with%20a%20shared-nothing%20architecture%2C%20across%20multiple%20databases%2Fhosts%20using%20shard%20keys.%20%26nbsp%3BSharding%20is%20a%20horizontal%20partitioning%20of%20data%20across%20numerous%20databases%20and%20each%20shard%20holds%20a%20subset%20of%20the%20total%20data%20source%20vs.%20housing%20in%20a%20single%20database.%20As%20RAC%20isn%E2%80%99t%20supported%20in%20any%20third-party%20cloud%2C%20this%20is%20deployed%20in%20the%20Azure%20cloud%20without%20a%20RAC%20clusterware%20backbone%20but%20is%20able%20to%20use%20Oracle%E2%80%99s%20multi-tenant%20feature%20with%20the%20additional%20licensing.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kegorman_3-1619121219763.png%22%20style%3D%22width%3A%20553px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274800i8EB6D287B5A428A7%2Fimage-dimensions%2F553x249%3Fv%3Dv2%22%20width%3D%22553%22%20height%3D%22249%22%20role%3D%22button%22%20title%3D%22kegorman_3-1619121219763.png%22%20alt%3D%22kegorman_3-1619121219763.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EFig.%204%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20those%20workloads%20that%20absolutely%20need%20a%20RAC%20solution%2C%20we%20leverage%20OS%20level%20clustering%20in%20Azure%20VMs%20using%20%3CA%20href%3D%22https%3A%2F%2Fwiki.clusterlabs.org%2Fwiki%2FMain_Page%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EPaceMaker%3C%2FA%3E%20and%20for%20the%20customers%20who%20can%20adopt%20a%20co-location%2C%20we%20recommend%20Azure%20BareMetal%20RAC%20offering.%26nbsp%3B%20This%20is%20a%20proximity%20located%20Co-Lo%20to%20Azure%20that%20can%20offer%20RAC%20for%20customer%20that%20absolutely%20must%20have%20it.%26nbsp%3B%20The%20infrastructure%20is%20supported%20by%20Azure%20and%20everything%20above%20that%20is%20supported%20by%20the%20customer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20is%20also%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fbaremetal-infrastructure%2Fconcepts-baremetal-infrastructure-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20RAC%20BareMetal%3C%2FA%3E%20which%20is%20in%20a%20gated%20GA%20status.%26nbsp%3B%20Bare%20Metal%2C%20which%20are%20dedicated%20machines%20in%20a%20co-location%20configuration%20%3CSTRONG%3Ein%20proximity%20to%3C%2FSTRONG%3E%20%3CSTRONG%3Ethe%20Azure%20cloud%3C%2FSTRONG%3E%20offers%20a%20RAC%20solution%20where%20the%20infrastructure%20is%20supported%20by%20Azure%2C%20but%20everything%20above%20this%20is%20managed%20by%20the%20customer.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22kegorman_4-1619121219793.png%22%20style%3D%22width%3A%20547px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F274801i2A2A2477B164606F%2Fimage-dimensions%2F547x427%3Fv%3Dv2%22%20width%3D%22547%22%20height%3D%22427%22%20role%3D%22button%22%20title%3D%22kegorman_4-1619121219793.png%22%20alt%3D%22kegorman_4-1619121219793.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CEM%3EFig.%205%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELatency%20between%20the%20Bare%20Metal%20solution%20and%20other%20Azure%20services%20and%20VMs%20is%20minimized%2C%20along%20with%20additional%20high%20availability%20built%20into%20the%20offering%20to%20support%20what%20would%20be%20missing%20from%20most%20onprem%20data%20center%20deployments.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAzure%20Bare%20Metal%20can%20support%20RAC%20One%20Node%20and%20standard%20RAC%20deployments%20with%20an%20HA%20storage%20configuration%20to%20support%20the%20demands%20of%202%20and%204%20Node%20RAC%20configurations%20in%20a%20highly%20scaled%2C%20enterprise%20cloud%20solution.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20customer%20may%20use%20%3CA%20href%3D%22https%3A%2F%2Fwww.flashgrid.io%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EFlashgrid%3C%2FA%3E%20on%20Azure%20with%20the%20understanding%20that%20all%20support%20for%20this%20RAC%20solution%20running%20in%20Azure%20must%20go%20through%20Flashgrid.%26nbsp%3B%20Neither%20Oracle%20nor%20Microsoft%20can%20support%20RAC%20running%20inside%20the%20Azure%20cloud%2C%20but%20Flashgrid%20has%20shown%20a%20history%20of%20offering%20solid%20support%20for%20their%20customers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAlthough%20initially%2C%20we%20hoped%20to%20use%20Azure%E2%80%99s%20shared%20storage%20for%20an%20option%20to%20run%20Oracle%20RAC%20in%20our%20cloud%2C%20we%E2%80%99ve%20backtracked%20from%20this%20due%20to%20support%20constraints%20and%20same%20goes%20for%20networking%20advancements%20in%20Azure.%26nbsp%3B%20It%E2%80%99s%20not%20that%20we%20can%E2%80%99t%20run%20RAC%20in%20Azure%2C%20it%E2%80%99s%20just%20that%20it%20isn%E2%80%99t%20supported%2C%20and%20our%20main%20goal%20is%20long%20term%20customer%20satisfaction%20and%20supportability%20in%20Azure.%26nbsp%3B%20No%20matter%20your%20feelings%20on%20RAC%2C%20the%20goal%20for%20this%20post%20was%20to%20discuss%20what%20features%20are%20best%20suited%20for%20a%20deployment%20in%20Azure%20making%20Oracle%20highly%20available%2C%20easy%20to%20manage%20and%20most%20likely%20to%20receive%20vendor%20support.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2281896%22%20slang%3D%22en-US%22%3E%3CP%3EA%20common%20conversation%20for%20bringing%20Oracle%20workloads%20to%20Azure%20always%20surrounds%20the%20topic%20of%20Real%20Application%20Clusters%2C%20(RAC).%26nbsp%3B%20As%20it%E2%80%99s%20been%20quite%20some%20time%20since%20I%E2%80%99ve%20covered%20this%20topic%2C%20I%20wanted%20to%20update%20from%20this%20previous%20post%2C%20as%20with%20the%20cloud%20and%20technology%2C%20change%20is%20constant.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20thing%20that%20hasn%E2%80%99t%20changed%20is%20my%20belief%20RAC%20is%20%3CSTRONG%3E%3CEM%3EA%20solution%20for%20Oracle%20for%20a%20specific%20use%20case%20%3C%2FEM%3E%3C%2FSTRONG%3Eand%20not%20%3CSTRONG%3E%3CEM%3ETHE%20solution%20for%20Oracle%3C%2FEM%3E%3C%2FSTRONG%3E.%20%26nbsp%3BThe%20small%20detail%20that%20Oracle%20won%E2%80%99t%20support%20RAC%20in%20any%20third-party%20cloud%20is%20less%20important%20than%20the%20lack%20of%20need%20for%20RAC%20in%20most%20cases%20for%20those%20migrating%20to%20an%20enterprise%20level%20cloud%20such%20as%20Azure.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2281896%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EData%20Architecture%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EData%20Solution%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2300237%22%20slang%3D%22en-US%22%3ERe%3A%20Oracle%20HA%20in%20Azure-%20Options%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2300237%22%20slang%3D%22en-US%22%3E%3CP%3EExcellent%20article!%20In%20my%20opinion%2C%20and%20I%20have%20quite%20a%20bit%20of%20experience%20with%20RAC%2C%20RAC%20is%20overly%20complex%20and%20requires%20re-engineering%20of%20applications.%20Not%20supporting%20RAC%20is%20not%20a%20big%20deal.%20I%20have%20customers%20using%20Oracle%20on%20Azure%20and%20will%20be%20more%20than%20glad%20to%20show%20them%20this%20article.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Co-Authors
Version history
Last update:
‎Apr 23 2021 09:34 AM
Updated by: