How to Migrate Oracle Database to Azure Using Azure Site Recovery (ASR)


Although ASR is used as a Business Continuity and Disaster Recovery (BCDR) tool, the same techniques can be applied for migrations because it has the direct replication capabilities to Azure. It involves minimal changes to be done on the on-premise infrastructure. Specifically, this document covers the migration of Oracle Database to Azure using the ASR.


Prior migrating Oracle Database to Azure, the following steps should be pre-planned:
1. Source Planning, Discovery, and Assessment
2. Azure Network Planning
3. ASR Capacity Planning
4. Installation and Configuration of Oracle Database

Source Environment (on-premise) Setup (Prerequisites)

1. Single Oracle Enterprise Linux 6.5 server (VM) running an Oracle Database application.
2. Oracle Database 11g, version with Standalone configuration mode
3. VHD attached with a base Size of 80GB shared across the Operating System & Oracle Database.

Migrating Oracle Database (Standalone) to Azure

Migrating an application to Azure is typically a phased approach that consists of the following stages:

I. Deploy Mobility Service Agent & Replicate the Workload:

Using ASR, the source workload is replicated to an Azure Recovery Vault. Once the initial replication is complete, ASR constantly monitors the application in the source and replicates the deltas to Azure on a regular basis.

Create a Recovery Plan for your workloads in your Azure Vault. The usage of Recovery Plans helps facilitate easier management and migration of multiple servers into Azure without having to deal with each component individually.

II. Test Failover

Once the initial replication is complete, a test failover will spin up Azure VMs. The application is tested multiple times without affecting the production workload that is running in the source environment.

III. Failover:

After the application has been successfully tested and validated using test failover process, there would be an initiation of a failover of the application from the source to Azure while turning off the source VM(s).

Only after the application/DB, has been thoroughly and successfully validated using the Test Failover process and other unit tests as required by the customer’s organization, you should initiate a Failover. This will begin the final migration of a server/application/workload from source (on-premise) environment to Azure.

IV. Next Steps

With the application now migrated to Azure, you can follow your enterprise policy to start the application decommission process in the source environment.

Do’s and Dont’s of migrating Oracle Applications in Azure.

When moving your Oracle applications to Azure, there are a few architecture considerations that are particularly important if you want to use a hybrid infrastructure.

Deciding how to host your applications:
Oracle applications are composed of multiple services. So this means you need to choose where you are hosting- whether in one machine or across multiple machines- in Azure, on-premises, or on Oracle Cloud Infrastructure. However, it becomes easy to host services on a single infrastructure or machine while distributing services- which can increase resiliency and availability.

2. IP spaces shouldn’t overlap: You can set up your application instances either on public or private endpoints. Both the cloud giants, Oracle and Microsoft recommend setting up separate Bastion host instance in separate subnet using a public IP for application management. Nevertheless, you can then assign private IPs to your worker instances.

3. Security considerations: You should create network security groups at the subnet level to enhance your security. This ensures that your traffic is restricted to only the ports and IP addresses of your choice. It also helps you protect the most vulnerable externally faced tiers .

Partner with Tekpros for Oracle to Azure migration

Tekpros provides a full suite of Oracle to Azure Migration services in a four-phased approach after audit and a detailed compliance check. Here’s an overview:

  • We have an expert team with a sound Oracle migration and Azure architecture knowledge who can help you maximize all the features on Azure and optimize your Oracle workloads
  • We conduct an assessment workshop that help you understand your migration objectives, challenges, and concerns and gain an overview of your existing IT estate and Oracle workloads for migration.
  • We conduct a Proof of concept (POC) testing to ensure migrations meet your criteria for success followed by a final recommendation report for successfully running Oracle systems on Azure
  • Full suite of services for ongoing monitoring, optimization, and support for Azure environments

Contact our expert for a detailed cloud assesment and walk away with the bones of an Oracle optimization plan.

Drop us a message in here or call us at 972 267 8357.

Microsoft guidance on migrating from Oracle to Azure using ASR

Leave a Reply

Your email address will not be published. Required fields are marked *