Read-Only Server with PostgreSQL Database10 minutes to read
A Read-Only (RO) server is a secondary application server that allows users to execute only the Read-Only operations in PAM360 and averts them from performing any modifications to the data. Depending on the needs, any number of Read-Only servers can be configured in various locations, unlike HA, which allows you to configure one Secondary server only. All these Read-Only servers are connected and in sync with the Primary server. The Read-Only server acts like a mirror server and synchronizes all the actions carried out by the Primary server. In case of a Primary server failure, any Read-Only server can be configured as the Primary server.
Setting up Primary Server and Read-Only ServerBefore configuring your Primary and the Read-Only server(s), you should install the Read-Only server(s) in your environment. Once you have successfully installed the Read-Only server(s), read further to learn how to make the required configuration changes in the Primary and the Read-Only servers. Also, find below the steps to make a Read-Only server take charge as the Primary server when the current Primary server is down. Steps Required
1. PrerequisiteIf you have High Availability with the PostgreSQL database configured in your server environment, remove the High Availability configuration before configuring the Read-Only server. To do so, perform the steps that follow:
2. Creating a Read-Only Server Configuration Pack in the Primary Server
Notes:
Note: To install custom certificates, replace the path of the certificate in the above command. You have successfully created the Read-Only configuration pack and set up the Primary server. 3. Setting up the Read-Only Server
Windows: [or] If you are using a custom SSL certificate for the PAM360 installation, copy the SSL certificate from the primary server and paste it in this path in the Read-Only server: <PAM360_Installation_Folder>/conf. To install custom certificates, replace the path of the certificate in the above command. You have successfully set up the Read-Only server. Navigate to Admin >> Configurations >> Read-Only server to view the configured Read-Only servers in the PAM360 interface. 4. Configuring Read-Only Server as the Primary Server
5. Deleting a Read-Only Server from the ClusterExecute the following commands from the Primary Server to remove a Read-Only server from the cluster:
Note: After upgrading to build 6600, deleting existing slots configured to the Read-Only server will be executed automatically by the PostgreSQL server. 6. Read-Only Server Audit TrialsWhen Read-Only server is enabled, the Read-Only server audits will be displayed as separate columns with the full audit trails under Resource Audit and User Audit. Click here to learn more about audits. Troubleshooting TipsNavigate to Admin >> Configurations >> Read-Only Server and check if the status of the Read-Only server(s) is inactive. If so, follow the below steps to troubleshoot: Primary Server:
Read-Only Server:
If the problem persists, send us the log files from the directory paths <PAM360_installation_folder>/logs and <PAM360_installation_folder>/pgsql/data/pg_log to pam360-support@manageengine.com for further assistance. | |