2.1 Vault Server Configuration Files & DBParm.ini Tuning
Key Takeaways
- DBParm.ini serves as the master Vault server configuration file in Server\Conf, and modifying its parameters strictly requires restarting the PrivateArk Server service.
- AllowNonStandardFWAddresses controls the Vault host's integrated Windows Firewall, enabling administrators to authorize non-standard IP addresses or subnets without dismantling OS hardening.
- The BackupServers parameter in DBParm.ini establishes an explicit IP whitelist of authorized disaster recovery Vaults and PAReplicate backup servers permitted to replicate Vault data.
- SIEM integration is configured in DBParm.ini via SyslogServerIP, SyslogServerPort, SyslogTranslatorFile (referencing XSL stylesheets), and SyslogMessageCodeFilter for targeted audit delivery.
- Client components use Vault.ini to establish encrypted sessions over TCP port 1858, with ServerIP supporting a comma-separated list of primary and DR Vaults for failover.
2.1 Vault Server Configuration Files & DBParm.ini Tuning
Quick Answer: The CyberArk Digital Vault server is centrally governed by
DBParm.ini, located inC:\Program Files (x86)\PrivateArk\Server\Conf\DBParm.ini. Any modifications to core parameters—such asIdleTime,AllowNonStandardFWAddresses,BackupServers,DebugLevel, and SIEM Syslog directives—require a complete restart of the PrivateArk Server service to take effect. Client components connect to the Vault over TCP port 1858 guided by client-sideVault.inidescriptors.
PrivateArk Server Directory Architecture
The CyberArk Digital Vault is deployed on a hardened Windows Server host with strict isolation. Core binaries, configuration files, and logs reside under C:\Program Files (x86)\PrivateArk\Server\, while encrypted database files and Safe containers reside on an isolated dedicated storage partition (such as D:\PrivateArk\Safes\).
PAM administrators and exam candidates must master two key directories within the PrivateArk Server tree:
The Server\Conf Directory
The Conf folder stores the operational parameters, cryptographic pointers, and security policies governing the Vault:
DBParm.ini: The master initialization file governing database tuning, network listener parameters, firewall rules, syslog routing, and disaster recovery access lists.license.xml: The digital license file dictating licensed user quotas (EPVUser, CPM, PSM, AppProvider), managed account limits, feature entitlements (such as PTA or SSH Key management), and expiration dates.parm.ini: Contains database initialization parameters and memory buffer allocations.PKeys\: A secured subdirectory holding critical server keys, recovery public keys, and cryptographic references required during server bootstrap and key exchange.- Syslog Translator Files (
*.xsl): Extensible Stylesheet Language transformation files (e.g.,SplunkGen.xsl,ArcSight.xsl,QRadar.xsl,RFC5424.xsl) mapping raw Vault audit events into structured SIEM formats.
The Server\Logs Directory
The Logs directory contains all active operational logs, security audits, and diagnostic trace streams:
italog.log: The primary operational and audit log of the Digital Vault. Every administrative logon, safe creation, authentication failure, license alert, and service state change is written chronologically with message codes.trace.d*: Diagnostic trace files capturing low-level protocol exchanges, database query executions, and internal thread states. These files rotate automatically based on size and are essential when troubleshooting with CyberArk Support.pm.log: Performance monitoring log tracking hardware utilization, memory consumption, and thread concurrency.console.log: Captures standard output and error streams generated during the bootstrap and shutdown phases of the PrivateArk Server service.
DBParm.ini: Master Configuration & Operational Tuning
DBParm.ini is the definitive configuration source for the PrivateArk Server service. Every operational parameter is evaluated when the server starts. On the PAM-DEF exam, remember: any edit made to DBParm.ini requires a restart of the PrivateArk Server service before changes become active in memory.
Critical DBParm.ini Parameters
1. IdleTime
Defines the maximum inactivity duration (in minutes) permitted for direct client and component connections communicating via the PrivateArk protocol before the Vault automatically drops the session.
- Default: 20 minutes (configurable from 1 to 1440).
- Security Impact: When an administrative PrivateArk Client session remains idle beyond this threshold, the Vault severs the TCP session, requiring re-authentication to prevent unauthorized access at unattended terminals.
2. AllowNonStandardFWAddresses
Regulates the Vault host's integrated Windows Firewall engine.
- Mechanism: Baseline hardening causes the Vault to take full control of the local Windows Firewall, strictly blocking inbound traffic on TCP port 1858 except from IP addresses registered as components during installation.
- Parameter Function: Setting
AllowNonStandardFWAddresses=Yesinstructs the Vault firewall engine to permit connections from non-standard IP addresses or dynamic subnets (such as administrative jump hosts or secondary backup nodes) without manually modifying local firewall rules.
3. BackupServers
Specifies an explicit IP address whitelist of authorized backup machines and Disaster Recovery (DR) Vaults.
- Syntax: Comma-separated IPv4 addresses (e.g.,
BackupServers=10.0.5.21,10.0.5.22). - Security Mechanism: To prevent rogue replication of encrypted credential stores, the Vault validates the source IP of any replication request. If a server running the
PAReplicateutility or theCyberArk Disaster Recoveryservice attempts synchronization from an unlisted IP, the Vault terminates the connection and logs an unauthorized replication attempt initalog.log.
4. DebugLevel
Controls diagnostic logging verbosity in trace.d* and italog.log.
- Syntax: Accepts numeric values or subsystem trace flags such as
PE(1)(protocol engine) andPERF(1,2)(performance metrics). - Operational Rule: In production,
DebugLevelmust remain set to0or minimal protocol tracing (PE(1)). Excessive debug levels consume storage rapidly, risking disk partition exhaustion on theC:\drive and service failure.
SIEM & Syslog Integration in DBParm.ini
Enterprise compliance mandates real-time audit streaming from the Vault into a Security Information and Event Management (SIEM) platform (e.g., Splunk, IBM QRadar, ArcSight, Microsoft Sentinel).
| Parameter | Accepted Values | Operational Description |
|---|---|---|
SyslogServerIP | IPv4 / FQDN | Destination IP address or hostname of the SIEM collector. |
SyslogServerPort | Port (Default: 514) | Ingestion port on the SIEM collector. |
SyslogServerProtocol | UDP, TCP, TLS | Transport protocol. UDP is standard; TCP/TLS requires certificates. |
SyslogTranslatorFile | File name (e.g., SplunkGen.xsl) | Stylesheet in Server\Conf mapping Vault events to CEF/LEEF formats. |
SyslogMessageCodeFilter | Ranges / lists (e.g., 1-999) | Filters which numeric audit event codes are forwarded. |
High-Yield Vault Audit Message Codes
- Code 7: User logon to the Vault (records source IP, username, and auth method).
- Code 8: User logoff from the Vault.
- Code 295: Password or file object retrieved from a Safe (crucial for tracking credential access).
- Code 296: Password object updated or added to a Safe.
- Code 308: Safe created, modified, or deleted.
- Code 361: Credential verification, change, or reconciliation completed by CPM.
Specifying SyslogMessageCodeFilter=7,295,296,308,361 forwards critical authentication, Safe, and credential events while filtering out routine operational chatter.
Client Component Configuration: The Role of Vault.ini
While DBParm.ini governs the Vault host, all distributed CyberArk components—including PVWA, CPM, PSM, AAM, DR, and PACLI utilities—rely on a client-side configuration file named Vault.ini.
Key Vault.ini Parameters
ServerVaultName: The logical identity of the Vault instance matching license definitions.ServerIP: Comma-separated list of Vault IP addresses arranged by priority (e.g.,10.0.1.10,10.0.2.10). Components connect to the first address; if the primary Vault fails to respond within theTimeoutthreshold, the client fails over to the DR Vault.ServerPort: The PrivateArk listening port, defaulting to TCP port 1858. All client-to-Vault communication is encapsulated in encrypted RPC envelopes over this single port.Timeout: Inactivity threshold (in seconds) before aborting a connection attempt and initiating failover.NumOfRecordsPerChunk: Optimizes bulk query transfers between components and the Vault database.
Comparative Summary: DBParm.ini vs. Vault.ini
| Attribute | DBParm.ini | Vault.ini |
|---|---|---|
| Location | C:\Program Files (x86)\PrivateArk\Server\Conf\ | Component directories (Config\ or Conf\) |
| Governed Entity | PrivateArk Server service daemon | Client components (PVWA, CPM, PSM, PACLI) |
| Restart Required? | Yes — requires PrivateArk Server restart | Yes — requires individual component restart |
| Core Parameters | IdleTime, BackupServers, SyslogServerIP | ServerVaultName, ServerIP, ServerPort |
| Network Role | Configures port 1858 listener and firewall | Initiates outbound TCP 1858 client sockets |
An administrator modifies the BackupServers and IdleTime parameters in DBParm.ini on a primary CyberArk Vault. What action must be taken for these configuration changes to take effect?
In an enterprise multi-Vault disaster recovery deployment, how should the ServerIP parameter in Vault.ini be configured on component servers to ensure automated failover?
A security operations team requires real-time streaming of CyberArk Vault audit records into their enterprise SIEM in Common Event Format (CEF). Which combination of DBParm.ini parameters must be configured to achieve this integration?