Skip to content
Azure Disaster Recovery

Azure Disaster Recovery Design for Manufacturing ERP Infrastructure

A practical guide to designing Azure disaster recovery for manufacturing ERP workloads, covering RTO/RPO alignment, high availability, data protection, and business continuity.

10 min readSysGenPro Editorial
Azure Disaster Recovery Design for Manufacturing ERP Infrastructure

Azure Disaster Recovery Design for Manufacturing ERP Infrastructure

Designing disaster recovery (DR) for a manufacturing ERP on Azure requires aligning technical architecture with specific business continuity requirements. Unlike generic web applications, manufacturing ERPs handle critical transactional data for production scheduling, inventory, and finance. A failure can halt physical production lines, leading to immediate revenue loss and supply chain disruption. The primary architecture problem is ensuring that the ERP application, its database, and dependent integration services can recover within defined Recovery Time Objectives (RTO) and Recovery Point Objectives (RPO) without data corruption. The recommended approach involves a multi-layered strategy: high availability within a primary region using Availability Zones, and asynchronous replication to a secondary region for regional failover. Key entities include Azure Site Recovery (ASR) for VM replication, Azure Database for SQL or Azure SQL Managed Instance for database resilience, and Azure Front Door or Application Gateway for traffic management. This design ensures that the ERP remains accessible during component failures and can be restored in a secondary location during regional outages.

Defining Business Recovery Objectives

Before selecting Azure services, you must define RTO and RPO based on business impact, not technical convenience. RTO is the maximum acceptable downtime, while RPO is the maximum acceptable data loss. For a manufacturing ERP, these values vary by module. Production scheduling and inventory transactions often require near-zero RPO and low RTO because they directly impact shop floor operations. Financial reporting may tolerate higher RPO and RTO. A common mistake is applying a single RTO/RPO to the entire ERP. Instead, segment the workload. For example, the core transactional database might require an RPO of 5 minutes and an RTO of 30 minutes, while the reporting data warehouse might allow an RPO of 24 hours and an RTO of 4 hours. These objectives drive the choice between synchronous replication (for low RPO) and asynchronous replication (for cost-effective regional DR).

Aligning RTO and RPO with Azure Capabilities

Azure offers different mechanisms to meet these objectives. For database workloads, Azure SQL Managed Instance supports geo-replication with configurable RPOs, typically ranging from minutes to hours depending on the configuration. For virtual machine-based ERP components, Azure Site Recovery provides continuous replication with RPOs as low as 30 seconds for block-level replication. However, lower RPOs increase storage and network costs. The architecture must balance these costs against the business value of the data. If the ERP runs on containers, Azure Kubernetes Service (AKS) with multi-zone deployment provides high availability, but stateful data must still be handled via persistent volumes with replication. The key is to map each ERP component to the appropriate Azure resilience feature based on its specific RTO/RPO requirements.

High Availability Architecture Within the Primary Region

Disaster recovery is not just about regional failover; it starts with high availability (HA) within the primary region. Manufacturing ERPs are stateful applications, meaning they rely on persistent data and session state. To achieve HA, you must eliminate single points of failure. Compute resources should be deployed across multiple Availability Zones (AZs) within a region. Azure Availability Zones are physically separate datacenters with independent power and cooling, protecting against zone-level failures. For the ERP application tier, use a load balancer (such as Azure Load Balancer or Application Gateway) to distribute traffic across VMs or containers in different AZs. For the database tier, use a highly available configuration, such as an Azure SQL Managed Instance with zone-redundant storage or a SQL Server Always On Availability Group spanning multiple AZs. This ensures that if one AZ fails, the ERP continues to operate with minimal disruption.

Stateless vs. Stateful Component Design

To simplify HA and DR, design the ERP application tier to be as stateless as possible. Store session data in a distributed cache like Azure Cache for Redis, which supports replication across AZs. This allows application servers to be scaled out and replaced without losing user sessions. The stateful components are the database and any file storage for documents or attachments. For file storage, use Azure Files with zone-redundant storage or Azure Blob Storage with zone-redundant storage. By isolating state to the data layer, you can scale the application layer independently and ensure that failover procedures are simpler. This design pattern reduces the complexity of DR testing and improves the reliability of the overall system.

Regional Disaster Recovery Strategy

For regional disaster recovery, you need a secondary Azure region that can take over operations if the primary region becomes unavailable. The strategy depends on the ERP architecture. For VM-based ERPs, Azure Site Recovery (ASR) is the standard tool. ASR replicates VMs to the secondary region. You can configure replication frequency to meet your RPO. For database-centric ERPs, use Azure SQL geo-replication or Azure Database for PostgreSQL flexible server with geo-redundant backup. The secondary region should contain a pre-provisioned infrastructure, including networking, identity, and storage, to minimize RTO. This is often referred to as a 'warm' or 'hot' standby. A cold standby, where infrastructure is provisioned only after a disaster, has a higher RTO but lower cost. For manufacturing, a warm standby is often preferred to ensure rapid recovery of production-critical services.

Data Replication and Consistency

Data consistency is critical in DR. Asynchronous replication, used for regional DR, may result in some data loss if the primary region fails before the last replication cycle completes. This is acceptable if it aligns with the defined RPO. However, you must ensure that the ERP application can handle potential data inconsistencies during failover. For example, if a transaction was committed in the primary but not replicated, the secondary system must not accept conflicting transactions. This requires careful design of the ERP's transaction management and reconciliation processes. Additionally, consider the impact of network latency between regions on application performance. While DR is not the primary operational mode, the secondary region should be capable of handling the full workload if activated.

Security and Identity in Disaster Recovery

Disaster recovery environments must maintain the same security posture as the primary environment. Identity and Access Management (IAM) is central to this. Use Azure Active Directory (now Microsoft Entra ID) for centralized identity management. Ensure that service accounts and application identities are replicated or available in the secondary region. Secrets management should use Azure Key Vault, with geo-redundant backup enabled. Network security groups (NSGs) and firewall rules must be mirrored in the secondary region to prevent security gaps during failover. Audit logging and monitoring must be active in both regions to detect anomalies and track recovery progress. Security controls should be defined as code using Infrastructure as Code (IaC) tools like Terraform or Bicep to ensure consistency between primary and secondary environments. This prevents configuration drift and ensures that the DR environment is secure and compliant.

Operational Ownership and Testing

A disaster recovery plan is only as good as its testing. Define clear operational ownership for DR activities. The internal IT team or a managed service provider (MSP) should be responsible for executing failover and failback procedures. Regular testing is essential to validate RTO and RPO. Conduct table-top exercises to review procedures and full-scale failover tests to validate technical capabilities. Test frequency should align with the criticality of the ERP. For manufacturing, quarterly or semi-annual full failover tests are recommended. Document all test results, including actual RTO and RPO, and update the DR plan based on findings. Automation is key to reducing RTO. Use IaC and CI/CD pipelines to automate the provisioning of the secondary environment and the execution of failover scripts. This reduces human error and speeds up recovery.

Common Implementation Failures

Common failures in Azure DR for ERP include underestimating network bandwidth for replication, neglecting DNS failover, and failing to test application-level dependencies. DNS failover is often overlooked; if DNS records are not updated during failover, users will not be able to reach the secondary region. Use Azure Front Door or Traffic Manager to automate DNS failover. Another failure is ignoring integration dependencies. Manufacturing ERPs often integrate with MES, WMS, and CRM systems. These integrations must also be designed for DR. If the ERP fails over, the integrated systems must be able to reconnect to the new endpoint. Finally, cost management is a challenge. DR environments can be expensive if not optimized. Use reserved instances for steady-state workloads and spot instances for non-critical DR components where appropriate. Regularly review cost allocation to ensure DR spending is justified by business value.

Concrete Enterprise Scenario

Consider a mid-sized manufacturing company with an on-premises ERP that is migrating to Azure. The business problem is the risk of production downtime due to datacenter failures. The workload includes core ERP modules for production, inventory, and finance, integrated with a warehouse management system (WMS). The cloud architecture uses Azure Virtual Machines for the ERP application tier, deployed across three Availability Zones in the primary region. The database is an Azure SQL Managed Instance with zone-redundant storage. For DR, Azure Site Recovery replicates the VMs to a secondary region, and the database uses geo-replication. Security is managed via Microsoft Entra ID and Azure Key Vault. Integration with the WMS is handled via REST APIs, with the WMS configured to detect ERP endpoint changes. Operations are managed by an internal DevOps team using Terraform for IaC. Recovery objectives are set at RTO of 2 hours and RPO of 15 minutes. The business outcome is improved resilience, reduced risk of production stoppage, and a clear, tested recovery procedure that provides confidence to the business leadership.

Cost Governance and FinOps

Disaster recovery adds to cloud costs, so FinOps governance is essential. Implement cost allocation tags to track DR-specific resources. Monitor utilization of DR resources to ensure they are not over-provisioned. Use Azure Cost Management to set budgets and alerts for DR spending. Consider the trade-off between RPO and cost: lower RPOs require more frequent replication, increasing network and storage costs. For non-critical data, consider higher RPOs to reduce costs. Regularly review the DR architecture to ensure it aligns with current business needs. As the ERP evolves, the DR strategy must also evolve. This ongoing governance ensures that the DR investment remains efficient and effective.

ComponentPrimary Region StrategySecondary Region StrategyRTO/RPO Impact
ERP Application TierMulti-AZ VMs with Load BalancerASR Replicated VMsLow RTO, Low RPO
ERP DatabaseZone-Redundant SQL Managed InstanceGeo-Replicated SQL InstanceLow RTO, Configurable RPO
File StorageZone-Redundant Azure FilesGeo-Replicated Azure FilesModerate RTO, Moderate RPO
DNS/TrafficAzure Front DoorAzure Front Door FailoverLow RTO

Conclusion

Designing Azure disaster recovery for manufacturing ERP infrastructure is a strategic business decision, not just a technical task. It requires a deep understanding of the ERP workload, business continuity requirements, and Azure capabilities. By aligning RTO and RPO with business impact, implementing high availability within the primary region, and establishing a robust regional DR strategy, you can protect your manufacturing operations from disruptions. Regular testing, clear operational ownership, and cost governance are essential to maintain the effectiveness and efficiency of the DR solution. As your business grows and your ERP evolves, continuously review and update your DR strategy to ensure it remains aligned with your business goals.

Written by
SysGenPro Editorial

SysGenPro Editorial

Platform & solutions team

Practical guidance on ERP, AI automation, cloud deployment and enterprise transformation from the SysGenPro team.

Share this article

Frequently asked questions

Common questions on this topic. Talk to our team for anything specific to your business.

01What is the ideal RTO for a manufacturing ERP system?

The ideal RTO depends on the business impact of downtime. For production-critical modules, an RTO of 1-4 hours is common. For less critical modules, an RTO of 8-24 hours may be acceptable. Define RTO based on the cost of downtime versus the cost of DR infrastructure.

02How does Azure Site Recovery work for ERP databases?

Azure Site Recovery (ASR) is primarily for VM replication. For databases, use Azure SQL geo-replication or Azure Database for PostgreSQL geo-redundant backup. ASR can replicate the VMs hosting the database, but native database replication is often more efficient and provides better RPOs.

03Should manufacturing ERP use active-active or active-passive?

Active-passive is more common for manufacturing ERPs due to the complexity of active-active data synchronization. Active-passive provides a clear primary and secondary, simplifying failover. Active-active is suitable for read-heavy workloads but requires careful handling of write conflicts.

04How often should disaster recovery tests be performed?

Test frequency should align with the criticality of the system. For manufacturing ERPs, quarterly or semi-annual full failover tests are recommended. Table-top exercises can be performed more frequently, such as monthly, to review procedures.

05What are the main cost drivers in Azure DR for ERP?

Main cost drivers include storage for replicated data, network bandwidth for replication, and compute resources in the secondary region. Lower RPOs increase replication frequency and costs. Optimize by aligning RPOs with business needs and using reserved instances for steady-state workloads.

06How do you handle DNS failover in Azure DR?

Use Azure Front Door or Traffic Manager to automate DNS failover. Configure health probes to detect failures in the primary region and automatically route traffic to the secondary region. Ensure that DNS records are updated promptly to minimize user impact.

Continue learning
View all articles
Explore the platform

Where to go next

Browse the knowledge hub

See how SysGenPro fits your business

Discuss your workflows, modules and deployment options with our team.

Back to resources