Executive Summary
This document provides an overview of how Disaster Recovery (DR) is structured, and what the primary and standby roles do.
Two clusters are managed via Terraform workspaces:
Primary (us-chicago-1): production,
dr="active".Secondary (us-chicago-1): standby,
dr="standby", minimal capacity, reads the primary's Object Storage bucket using the exact same encryption key pulled via remote state, and keeps all LogScale pods scaled to zero until a failover/promotion is initiated.
Region flexibility
The regions shown are examples only. You can deploy in any OCI regions supported by your organization.
Update region in your tfvars, the remote
state configuration, and any region-specific references to match your chosen regions.
Key Features
Automated encryption key synchronization (no hardcoding). Standby apply requires the primary key (remote state or explicit value).
Cross-region Object Storage access via IAM policies.
Alerts toggle automatically via
ENABLE_ALERTSbased ondr.Standby keeps Humio Operator scaled to 0; OCI Function (or manual) scales the operator to 1 on failover.
Manual, controlled promotion by changing
drand applying Terraform.
Key Capabilities
| Feature | Primary (Active) | Secondary (Standby) |
|---|---|---|
| Region | us-chicago-1 | us-chicago-1 |
| Cluster Type | Advanced (full production) | Standby (Humio Operator off) |
| Humio nodeCount | cluster_size digest count | nodeCount=1 declared, but no pods run until operator is scaled
up |
| Humio operator | 1 replica | 0 replicas until failover |
| Replication Factor | Production value | 1 (overridden) |
| Auto Rebalance | Enabled | Disabled |
| Object Storage Bucket | dr-primary-logscale-data | dr-secondary-logscale-data |
| Encryption Key | Generated on first deploy | Pulled from primary state (required for standby apply) |
| Terraform Workspace | primary | secondary |
| DR Mode | dr = "active" | dr = "standby" |
Note
The dr variable accepts three values:
"active"- Primary cluster in a DR pair"standby"- Secondary cluster in a DR pair (minimal capacity, operator scaled to 0)""(empty string) - Non-DR single cluster deployment (no DR infrastructure provisioned)