Operational-data replication
During an outage, SOC responders still need some facts to keep protecting customers:
- who to call;
- under which rules of engagement;
- with which special notes.
These facts normally live in Themis, Doppio, and Alya in Switzerland North.
Vishnu copies them to a read-only store that survives a Switzerland North
region outage. Responders read it through the operational-data portal,
portal.opsdata.<domain>.
This is the only implemented cross-region capability on the ION Platform. It is recorded in the 2026-10-15 amendment to ADR-0017, and it implements the “RA-GRS with a static read-only UI” option from the operational data replication reference.
Zone-redundant in Switzerland North, with a read-access secondary in Switzerland West. Data stays in Switzerland.
Priority-1 origins in Switzerland North and priority-2 origins on the secondary endpoints. No human action is needed.
Flex Consumption (FC1) with zone balancing. Driven by a daily timer and by Doppio configuration-change events.
A static SPA in the storage account's static website. It needs no compute in either region.
What is replicated
Each customer gets its own folder in the operationaldata container. The
folder name is the customer short name.
| Blob | Content | Source system | Trigger |
|---|---|---|---|
customers.json | List of eligible customers | Doppio | Daily timer. Rewritten only when the customer count changes |
<customer>/roe.json | Rules of engagement | Themis | Daily fan-out |
<customer>/escalationmatrix.json | Latest escalation-matrix version | Themis | Daily fan-out |
<customer>/customernotes.json | Special notes | Alya internal API | Daily fan-out |
<customer>/baseconfig.json | Customer base configuration | Doppio | Doppio configuration-change event. Seeded when a customer is first seen |
<customer>/notification.json | Notification and communication configuration | Doppio | Same |
<customer>/pricing.json | Pricing configuration | Doppio | Same |
<customer>/ionsettings.json | ION settings | Doppio | Same |
Write path
Behaviour that matters for recovery:
- The Service Bus topics use duplicate detection with a 10-minute window, and
they have
prevent_destroy. - Subscriptions retry 3 times and then dead-letter. Messages expire after
2 hours and are dead-lettered on expiry.
- If Vishnu, Themis, or Alya is down for longer than 2 hours after the 00:00 UTC run, that day’s refresh is lost for the affected customers.
- The next daily run repairs it.
- A
404from a source system means that the customer has no such item. It is logged asOPSDATA_ITEM_NOT_FOUNDand does not fail the message. - A
DELETEDconfiguration-change event is ignored. The last copy stays in the replica on purpose, so a deletion upstream cannot remove the responder’s copy.
Read path
| Setting | Value |
|---|---|
| Hostname | portal.opsdata.<domain>, in every environment |
| Web app route | /* to the static website. Probe GET /index.html every 60 seconds |
| Data route | /data/* rewritten to /operationaldata/ on the blob endpoint. Probe HEAD /operationaldata/customers.json every 60 seconds |
| Caching | Off on both routes, so the portal always shows what the replica holds |
| Authorization | The SPA requires the Ion.OpsDataPortal.Read app role. Blob reads use the signed-in user’s Entra token and the Storage Blob Data Reader role |
Entra ID is a global service, so sign-in and Storage RBAC keep working during a Switzerland North outage. The portal needs no compute in either region.
Failover sequence
Failover and failback are both automatic. ION does not initiate a customer-managed storage account failover. The secondary is used read-only, so the primary keeps its role and the writes resume when the region returns.
Freshness and RPO
The data in the replica is as old as the last successful refresh plus the geo-replication lag.
| Data | Worst-case age during a regional outage | Why |
|---|---|---|
| Rules of engagement, escalation matrix, special notes | Up to about 24 hours, plus geo lag | Refreshed only by the daily 00:00 UTC fan-out. A change made in Themis at 00:05 UTC is not replicated until the next day |
| Customer configuration | Event latency plus geo lag, usually minutes | Event-driven from Doppio |
| Customer list | Up to about 24 hours, plus geo lag | Daily, and only when the count changes |
| Any blob | Plus the geo-replication lag | RA-GZRS replicates asynchronously, with no Microsoft SLA on the lag. The account’s Last Sync Time shows the current lag |
Security and the network exception
The storage account allows public network access with default_action = Allow. This is a recorded exception to the data protection network rules.
Front Door reaches the primary and secondary storage endpoints as public
origins. Restricting them by Front Door IP ranges is brittle, and Front Door
Premium Private Link is not configured for these origins. The compensating
controls are:
| Control | Setting |
|---|---|
| Identity | Entra sign-in and the Ion.OpsDataPortal.Read app role |
| Data authorization | Storage RBAC: Storage Blob Data Reader for the reader group |
| Keys | shared_access_key_enabled = false, default_to_oauth_authentication = true |
| Anonymous access | allow_nested_items_to_be_public = false, private containers |
| Transport | HTTPS only, minimum TLS 1.2 |
| CORS | GET and HEAD only, from the portal origin |
| Deletion | prevent_destroy on the account and both containers |
Failure modes
| Failure | Effect | Recovery |
|---|---|---|
| Switzerland North region outage | Front Door serves the secondary. Data is read-only and frozen at the last sync | Automatic. Writes resume when the region returns |
| Zone loss in Switzerland North | None. The account is zone-redundant and the function is zone-balanced | Automatic |
| Themis, Doppio, or Alya down at 00:00 UTC | Refresh is lost for that day after the 2-hour message TTL | The next daily run. Re-send the dead-lettered messages to run it sooner |
| Vishnu function down | No refresh. The replica keeps its last state | Redeploy. Re-send dead-lettered messages |
| Bad data written by a source system | The bad data replicates to the secondary | Fix it at the source and re-run the refresh. Blob versioning is not enabled, gap DR-19 |
| Front Door outage | The portal is unreachable. It is served only through Front Door | None today. Responders use Alya through the Application Gateway bypass if Switzerland North is healthy |
| Entra ID outage | No new sign-ins | None. Sessions that are already signed in keep working until their tokens expire |
Recovery procedures
Force a refresh after a source outage
Owner: Vishnu team
Re-submit the dead-lettered messages on opsdata-roe-replication-v1,
opsdata-em-replication-v1, and opsdata-notes-replication-v1. If the timer
run itself failed, run publish_eligible_customers manually from the portal
to send a fresh customer event.
Check freshness during an outage
Owner: SRE on call
Read the storage account’s geo-replication Last Sync Time, and the
last-modified time of customers.json and of a sample roe.json. Report the
older of the two ages to the war room as the data age.
Repair bad data
Owner: Vishnu team
Correct the data in the source system. Then re-run the refresh for the
affected customer by sending a per-customer event to vshn-int-opsdata. Until
versioning is enabled, there is no way to roll back a single blob.
Gaps
| ID | Severity | Gap | Target | Owner |
|---|---|---|---|---|
| DR-17 | MEDIUM | Rules of engagement, escalation matrix, and special notes are refreshed once a day. Changes can be up to 24 hours old in the replica | Event-driven refresh from Themis and Alya change events, or a shorter schedule. Measure the data age in drills | Vishnu team |
| DR-18 | LOW | customers.json is rewritten only when the eligible-customer count changes. If one customer replaces another and the count stays the same, the change is missed | Compare the customer sets, not the counts | Vishnu team |
| DR-19 | LOW | Blob versioning and soft delete are not enabled. A bad write replicates to the secondary and cannot be rolled back | Enable blob versioning and soft delete | Vishnu team |
The network exception has its own follow-up: evaluate Front Door Premium Private Link for the primary and secondary origins, then remove the exception if Private Link supports both. The owners are CPE and the Vishnu team.
Drills
- Yearly in
gma: disable the priority-1 origins in Front Door. Measure the time until the portal serves from the secondary, and record the data age. - Twice a year: compare a sample of
roe.jsonandescalationmatrix.jsonagainst Themis, to measure the actual freshness.