For build 8310 and below, refer to this help document.
In mission-critical environments, uninterrupted access to passwords is essential. The PostgreSQL secondary server model with Read-Only continuity in PAM360 ensures continuous availability, fault tolerance, and optimal performance by using primary and secondary servers with a shared database, along with a read-only server that maintains a real-time replica. This architecture enables seamless operations even if the primary and secondary servers become unavailable. This document outlines the steps to configure and maintain the PostgreSQL secondary server model with Read-Only server continuity setup in your environment.
The following topics are covered in this help document:
The PostgreSQL secondary server model with Read-Only continuity in PAM360 is designed to deliver robust performance, fault tolerance, and service continuity. This architecture comprises a Primary and a Secondary server, both fully functional and capable of handling read and write operations, connected to a shared PostgreSQL database running as an independent service. In addition, it includes a dedicated Read-Only server that maintains a real-time replica of the primary database through PostgreSQL’s native streaming replication, supporting read operations only.
Caution
This full secondary server model with Read-Only continuity is our recommended deployment for organizations seeking maximum availability and disaster recovery readiness. It ensures uninterrupted operations even during server or database failures. In the event of a Primary server failure, the Secondary seamlessly takes over. If both Primary and Secondary servers are unavailable, access to privileged passwords continues via the Read-Only server. Administrators can also temporarily promote the Read-Only server to restore full read-write functionality, ensuring minimal disruption and data consistency across all nodes.
However, if your infrastructure or operational requirements do not call for the complete setup or if provisioning multiple servers is a constraint, you can opt for one of the supported alternative deployment type:


Each of these models offers varying degrees of availability and scalability to suit different organizational needs. Refer to the upcoming section to follow the appropriate deployment steps for the model you choose.
The following are the three types of deployment models are to suit varied operational needs. Refer to one of the desired models for the configuration procedure:
Additional Detail
Currently, PAM360 offers secondary server monitoring exclusively for the bundled PostgreSQL database. However, support for MS SQL databases will be added in future updates.
Caution
The High Availability monitoring described here is for a Primary and Secondary Server with a shared database and an additional Read-Only Server. This may vary depending on your chosen High Availability deployment model.
Continuous monitoring of the application servers and associated databases is essential to ensure business continuity and minimize the risk of downtime due to unexpected server failures. PAM360 offers a centralized High Availability Monitoring dashboard that provides real-time visibility into all configured components such as the primary, secondary, and read-only servers, as well as the primary and read-only databases. It provides real-time insights into server availability, connectivity status, database replication health, and server roles. To access the High Availability Monitoring dashboard, navigate to Admin >> Business Continuity >> High Availability.
The dashboard displays the secondary server model with Read-Only continuity deployed in your environment with the following details:
Additionally, you can modify the name of the servers available in your environment for easier identification. Follow these steps to rename a server:

This monitoring feature enables administrators to track the health and connectivity of all servers and databases in real-time, helping them proactively respond to disruptions and maintain uninterrupted privileged access across the environment.
By default, PAM360 offers comprehensive audit trails covering Resource, User, Key, Certificate, and Task activities. When the secondary server model with Read-Only continuity is enabled, auditing capabilities are further enhanced with server-specific tracking for Resource, User, and Task audits. Each of these audit categories will feature dedicated tabs for the Primary, Secondary, and Read-Only servers, enabling administrators to trace actions based on their originating servers. This enhancement offers a comprehensive view of all activities across the clustered environment. Click here to learn more about audit trails in PAM360.
1. Can I enable secondary server model with Read-Only continuity without disrupting the current setup?
No, if you have an existing secondary server model using PostgreSQL, you should remove this configuration before setting up the new one. Follow the steps provided in this link to safely remove the existing setup.
2. What happens if both the primary and secondary servers go down?
In such cases, users can maintain continuous access to privileged passwords via the read-only server. If required, users with the administrator privileges can temporarily reconfigure the read-only server to act as the primary server to maintain full functional capabilities. Refer to this link for the detailed steps to configure the read-only server into the primary server.
3. How can I verify the status of all nodes?
You can view the status of all the servers under Admin >> Business Continuity >> High Availability, where the status of all the servers will be displayed.
1. What should I do when one of the servers appears inactive on the High Availability dashboard?
If one of the servers' status appears as inactive under Admin >> Business Continuity >> High Availability, it could be due to the PAM360 service not running, a potential issue with the PostgreSQL replication setup, or an issue with the network communication between the primary, secondary, and read-only servers. Follow these steps to resolve this issue:
2. How do I ensure business continuity with full functional capabilities when both the primary and secondary servers are unrecoverable?
When both the primary and secondary servers are unrecoverable, you can configure the read-only server to act as the primary server temporarily to support both the read and write operations.
Follow these steps to configure the read-only server into the primary server:
You have now successfully reconfigured the read-only server as the primary server in your High Availability setup. Once the primary and secondary servers are recovered in your environment, you can revert the acting primary server to its fallback role. After restoring the primary and secondary servers, ensure that you do not start the PAM360 service on these servers without restoring the database backup from the acting primary server (previously read-only server) to the primary database as this might lead to data loss.
Caution
Please note that restarting the primary server without restoring the database backup will result in data loss.
Follow these steps to restore the database backup from the read-only database to the primary database:
Caution
When the database backup is being restored on the primary server, no servers will be available to handle user requests in the environment.
The acting primary server, previously the read-only server, cannot be reconfigured to its previous fallback role. Decommission this server and build a new read-only server from scratch by following the steps detailed below:
As detailed above, when primary and secondary servers are beyond recovery or cannot be brought back online quickly, you can promote the read-only server to act as a fully functional primary server to ensure business continuity. Once the primary and secondary servers are recovered, generate the database backup from the acting primary server and restore it on the recovered primary server to ensure data consistency with the most recent changes made while the primary was down. Decommission the acting primary server (previously read-only server) and reconfigure a new read-only server to act as a fallback server.
If the issue persists and a server still appears as inactive after verifying the above configurations, collect logs from the following locations and send them to pam360-support@manageengine.com for further assistance: