India’s Leading Domain & Web Hosting Provider
Edible oil refiner cuts SAP outage from a host fault to 4 minutes with zonal HSR
Edible oil refining and packing company, 4 refineries, 1,800 distributors, about 1,600 SAP users · Azure Central India (Pune) · 5 weeks
As-is situation
The refiner ran S/4HANA on Azure in a single zone with one HANA VM and one combined ASCS and application server VM. In the previous year a host maintenance event and a VM freeze had stopped SAP for 3 hours 10 minutes and 1 hour 40 minutes, both during evening dispatch peaks when 300 to 400 tankers and trucks were loading. Invoices and e-way bills could not be generated, and trucks waited at refinery gates overnight.
- Two unplanned outages totalling nearly 5 hours in 12 months, both in dispatch peaks.
- ASCS shared a VM with the primary application server, so any VM fault stopped the whole system.
- No second zone was used, and backups restored to a new VM in about 3 hours.
Approach, tools and architecture
NTSPL built a secondary HANA VM in another zone of Central India and configured syncmem HSR with logreplay and preload. ASCS and ERS were separated onto their own VMs on ENSA2 across the two zones, with Azure Standard Load Balancer floating IPs for both clusters. Fencing used the Azure fence agent with a managed identity restricted to the four cluster VMs. Application servers were spread across zones, and /sapmnt moved to zone-redundant Azure Files NFS. Sixteen failure cases were tested in quality and production.
Implementation approach
Measured results
Operational improvements
- Monthly OS patching is done node by node in cluster maintenance mode with no business downtime.
- Azure Monitor for SAP solutions alerts on replication status, and on-call staff follow a single takeover runbook.
Cost considerations
The secondary HANA VM added the largest cost, covered by a three-year reservation. The extra ASCS/ERS VMs were small. Total SAP infrastructure cost rose by about 38 percent, which the CFO approved against the cost of gate delays.
Return on investment
Each evening outage had held back around 300 trucks and an estimated INR 25 to 30 lakh of dispatch value per hour. Avoiding two such events a year gives an indicative benefit of INR 1.2 to 1.5 crore, above the annual HA run cost.