Study guide
12.2 Disaster Recovery (DR) Vault & PADR Replication Architecture
CyberArk Defender - PAM PAM-DEF
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Vault Architecture, Network & Security
1.1 CyberArk PAS Core Architecture & Component Topology 1.2 Vault OS Hardening, Network Isolation & Port Requirements 1.3 Vault Cryptography, Encryption Keys & Master User Recovery
2 Chapter 2: Vault Configuration, Administration & CLI Utilities
2.1 Vault Server Configuration Files & DBParm.ini Tuning 2.2 Vault Administrative Utilities & PARClient Commands 2.3 Event Notification Engine (ENE) & Notification Administration
3 Chapter 3: Password Vault Web Access (PVWA) Administration
3.1 PVWA Web Portal Architecture & Interface Configuration 3.2 PVWA REST API Administration & Lifecycle Automation 3.3 PVWA Security Settings, User Access & Session Timeouts
4 Chapter 4: Central Policy Manager (CPM) Architecture & Operations
4.1 CPM Service Architecture, Logs & Multi-CPM Load Distribution 4.2 The Credential Management State Machine: Change, Verify & Reconcile 4.3 CPM Plug-in Architecture, Process/Prompts Files & Custom Plug-in Troubleshooting 4.4 Loosely Connected Devices: Rotating Laptop & Workstation Credentials
5 Chapter 5: Safe Design, RBAC & Account Governance
5.1 Enterprise Safe Architecture & Naming Conventions 5.2 Safe Permissions, Authorizations & Safe Handler Delegation 5.3 Object Versioning, Retention Policies & Storage Quotas 5.4 Mandatory Account Properties, Account Types & Linked Accounts 5.5 Vault Users, Predefined Groups & Vault-Level Authorizations
6 Chapter 6: Account Discovery & Lifecycle Workflows
6.1 Automated Account Discovery, Detection Rules & Pending Accounts 6.2 Dual Control Workflows, Multi-Level Approvals & Master Approver 6.3 Exclusive Access, One-Time Passwords (OTP) & Check-out Automation 6.4 Bulk Onboarding: Password Upload Utility, Bulk Upload REST API & AccountUploader
7 Chapter 7: Master Policy & Platform Management
7.1 Master Policy Framework & Enterprise Compliance Rules 7.2 Platform Architecture, Settings Tree & Platform Duplication 7.3 Platform Policy Overrides, Advanced Settings & Target Tuning
8 Chapter 8: Privileged Session Manager (PSM) Core Architecture
8.1 PSM Architecture, Jump Host Isolation & Service Accounts 8.2 PSM Connection Components (PSM-RDP, PSM-SSH, PSM-Web) 8.3 PSM Universal Connector Framework & Custom Integrations 8.4 Split Workflow: Separating Session Use from Credential Retrieval
9 Chapter 9: PSMP, HTML5 Gateway & Session Security
9.1 PSM for SSH (PSMP) Architecture & Unix Proxy Brokering 9.2 PSM HTML5 Gateway Architecture & Clientless Web Access 9.3 Session Recording, Storage in Recordings Safes & Vault Retention 9.4 CyberArk Remote Access (Vendor PAM): Administering Third-Party Privileged Access
10 Chapter 10: Live Session Auditing, Reporting & Privileged Threat Analytics
10.1 Live Session Monitoring, Shadowing & Active Termination 10.2 Privileged Threat Analytics (PTA) Behavioral Anomaly Detection 10.3 PTA Automated Incident Response & SIEM Integration (CEF/Syslog) 10.4 Vault Reports, Report Authorizations & the Export Vault Data (EVD) Utility
11 Chapter 11: Application Access Manager (AAM) & Secrets Management
11.1 AAM Credential Provider (CP) Architecture & Local Memory Cache 11.2 Central Credential Provider (CCP) & Web Service Integration 11.3 Application Server Credential Provider (ASCP) & Application Authentication (AppID) 11.4 Conjur Secrets Manager & Cloud-Native DevOps Workflows
12 Chapter 12: Directory Integration, Disaster Recovery & Troubleshooting
12.1 Directory Integration: LDAP Mapping, RADIUS MFA & SAML 2.0 SSO 12.2 Disaster Recovery (DR) Vault & PADR Replication Architecture 12.3 Vault Backup Operations with PAReplicate & Safe Recovery 12.4 Diagnostic Procedures, Vault/CPM/PSM Error Codes & System Recovery
12.2 Disaster Recovery (DR) Vault & PADR Replication Architecture
Key Takeaways Explain This Topic AI
The CyberArk Disaster Recovery (DR) Vault operates in an active-passive topology where the PrivateArk Server service remains stopped while the CyberArk Disaster Recovery (PADR) service replicates data over TCP port 1858.
PADR replicates database transactions, safe metadata, object files, and encryption keys from the Primary Vault to the DR Vault, maintaining data consistency without decrypting payloads.
Split-brain scenarios are mitigated by setting EnableFailover=No in PADR.ini across WAN deployments, requiring manual administrative intervention to promote the DR Vault.
Component Vault.ini files support automated failover by specifying comma-separated Vault addresses in the ServerIP parameter, allowing clients to redirect to the DR Vault upon primary timeout.
Failback synchronization requires reversing replication to pull new data from the active DR Vault back to the restored Primary Vault before restarting primary services.
Last updated: September 2026
12.2 Disaster Recovery (DR) Vault & PADR Replication Architecture
Quick Answer: The CyberArk Disaster Recovery (DR) Vault operates as an active-passive warm standby server. While the Primary Vault is operational, the DR Vault's PrivateArk Server service is strictly stopped , while its CyberArk Disaster Recovery (PADR) service runs continuously , pulling database and Safe changes unidirectionally over TCP port 1858 . Parameters in PADR.ini —including CheckSyncInterval , EnableFailover , and FailoverMode —govern replication frequency and failover behavior. To prevent catastrophic split-brain conditions, manual failover ( EnableFailover=No ) is strongly recommended across WANs. When recovering from a disaster, administrators must execute a strict failback synchronization workflow, reversing replication to push newly rotated credentials back to the restored Primary Vault before restarting primary services.
DR Vault Architecture & Active-Passive Standby Principles
Privileged Access Management represents Tier 0 infrastructure; any disruption to the Digital Vault halts administrative operations and enterprise automation. CyberArk addresses business continuity through dedicated Disaster Recovery (DR) Vaults deployed in secondary datacenters or isolated cloud regions.
The Single Active Vault Rule
A foundational architectural rule tested on the PAM-DEF exam is that only one Digital Vault can be active at any given time within a replication environment:
Primary Vault State: The PrivateArk Server service ( PrivateArk Database and PrivateArk Server ) is Started and listening on TCP port 1858 . The local CyberArk Disaster Recovery service is Stopped .
DR Vault State: The PrivateArk Server service is Stopped (configured with Startup type: Manual ). The CyberArk Disaster Recovery service ( PADR.exe ) is Started (configured with Startup type: Automatic ), executing continuous replication cycles.
Risk of Non-Compliance: If the PrivateArk Server service is inadvertently started on both Vaults simultaneously, external components may write transactions to both nodes, resulting in divergent databases, desynchronized credentials, and data corruption.
PrivateArk Disaster Recovery (PADR) Replication Mechanics
The CyberArk Disaster Recovery service ( PADR.exe ) is a background replication client installed on the DR Vault host. It communicates with the Primary Vault using the native PrivateArk protocol over TCP port 1858 .
Synchronized Data Components
During each replication cycle, the PADR engine synchronizes four critical layers:
Vault Database Engine: Replicates relational tables storing user accounts, safe permissions, platform definitions, active session tickets, and audit trails.
Encrypted Safe Objects: Transfers newly created or updated password objects, SSH private keys, and session recording metadata residing on the storage volume ( D:\PrivateArk\Safes\ ).
Cryptographic Key Containers: Maintains synchronized server keys, ensuring the DR Vault can decrypt Safes upon promotion without requiring manual key transfers.
Database Transaction Logs: Incremental transaction logs are committed directly to the DR database to preserve ACID compliance.
Authentication and Authorization
PADR authenticates to the Primary Vault using a dedicated built-in service user named DR :
The credentials for DR are encrypted in C:\Program Files (x86)\PrivateArk\PADR\Conf\user.ini using CreateCredFile , bound to the DR server's machine hardware keys.
The Primary Vault verifies that the replication request originates from an authorized IP address explicitly listed in the BackupServers parameter in the Primary Vault's DBParm.ini .
PADR.ini Configuration & Operational Parameters
The PADR engine is configured via PADR.ini , located in C:\Program Files (x86)\PrivateArk\PADR\Conf\PADR.ini : [DisasterRecovery]
- ServerVaultName=PrimaryVault
- ServerVaultIP=10.0.1.10
- ServerVaultPort=1858
- CheckSyncInterval=60
- EnableFailover=No
- FailoverMode=Manual
- EnableMaintainDB=Yes
- Detailed Parameter Definitions
CheckSyncInterval : The time interval, in seconds, between consecutive replication cycles. Defaults to 3600 seconds, but production environments typically set this to 60 to 300 seconds for an aggressive Recovery Point Objective (RPO).
EnableFailover : Accepts Yes or No . Determines whether the PADR service is authorized to initiate automatic failover when the Primary Vault is unreachable.
FailoverMode : Configured as Auto or Manual . Governs criteria evaluated before promoting the DR Vault.
EnableMaintainDB : Accepts Yes or No . When set to Yes , PADR executes database index maintenance during replication cycles.
padr.log : Located in PADR\Logs\padr.log . Tracks replication heartbeats, synchronization durations, byte counts transferred, and error codes.
Split-Brain Risk & Failover Topologies
A split-brain condition occurs when network disruption isolates the Primary and DR datacenters, causing the DR Vault to conclude the Primary has failed. If automatic failover is active, the DR Vault starts its PrivateArk Server service while the Primary Vault continues running. Components in Datacenter A write to the Primary Vault, while components in Datacenter B write to the DR Vault, creating two divergent databases that cannot be automatically merged.
Because WAN links frequently experience transient disconnects, CyberArk's best practice for multi-datacenter environments is Manual Failover ( EnableFailover=No ) :
Feature Manual Failover ( EnableFailover=No ) Automatic Failover ( EnableFailover=Yes )
Trigger Mechanism Administrator decision following incident validation Heartbeat failure threshold exceeded in PADR
- Split-Brain Risk Zero risk; human confirms Primary is down High risk across unstable WAN connections
- Recovery Time (RTO) Moderate (requires administrative activation) Low (promotes within minutes automatically)
Recommended Use Case Cross-region datacenters, cloud-to-on-premises Campus LANs with redundant dark fiber links
Component Redirection via Vault.ini
When failover occurs, external components (PVWA, CPM, PSM) redirect their TCP 1858 traffic via the ServerIP parameter in each component's client-side Vault.ini file: [Vault]
- ServerVaultName=EnterpriseVault
- ServerIP=10.0.1.10,10.0.2.10
- ServerPort=1858
- Timeout=30
Components attempt connection to the primary IP ( 10.0.1.10 ). If no response is received within the Timeout threshold, the client library automatically redirects socket connections to the secondary IP ( 10.0.2.10 ). Alternatively, organizations use automated DNS alias or network Virtual IP (VIP) switching.
Failback Synchronization & Recovery Workflow
Following a disaster, the DR Vault may operate as the primary production Vault, rotating credentials and recording sessions. Restoring the original Primary Vault requires a strict failback workflow :
Step 1 — Isolate the Restored Primary Vault: When the restored Primary Vault comes online, verify that the PrivateArk Server service remains strictly STOPPED to prevent split-brain.
Step 2 — Reverse Replication Direction in PADR.ini: On the original Primary Vault, edit PADR.ini . Set ServerVaultIP to the IP address of the currently active DR Vault. Configure the Primary Vault to behave temporarily as a replication client pulling data from the DR Vault.
Step 3 — Execute Full Synchronization: Run PADR.exe /replicate on the original Primary Vault. Monitor padr.log until message PADR0022I Replication completed successfully confirms that all database records and Safe files created during the DR period have been replicated back to the Primary Vault.
Step 4 — Deactivate the DR Vault: Once synchronization is confirmed, stop the PrivateArk Server service on the DR Vault host.
Step 5 — Start the Primary Vault: Start the PrivateArk Server service on the original Primary Vault and verify component connectivity over TCP 1858.
Step 6 — Restore Standard DR Standby State: On the DR Vault, revert PADR.ini to point back to the Primary Vault and start the CyberArk Disaster Recovery service to resume normal standby replication.