Upgrading the PostgreSQL database using the replication technique
Upgrading the PostgreSQL database using the replication technique
If your Process Server PostgreSQL database version is earlier than version 13.5, you can upgrade the database when the Process Server restarts.
The Process Server PostgreSQL database upgrade is disabled by default. To enable replication upgrade of the PostgreSQL database for a Secure Agent, you must add a custom property for the Secure Agent.
To add a custom property for a Secure Agent, perform the following steps:
In Administrator, select
Runtime Environments
.
On the
Runtime Environments
page, click the name of the Secure Agent.
You might have to expand the Secure Agent group to see the list of Secure Agents within the group.
Click the
Details
tab.
In the upper right corner, click
Edit
.
Scroll down to the
Custom Configuration Details
area.
The following image shows the
Custom Configuration Details
area:
If there are custom properties already configured, click the
Add
icon to add a new property row.
Select the service as
Process Server
.
Select a configuration property type as
db
.
Enter the property name as
replication_upgrade
and value as
true
.
Click
Save
.
The status of the Process Server service shows up as
Restart Required
.
When you restart the Process Server for the first time, the database starts replicating the data from your existing database version. Every time you restart the Process Server, the database verifies the replication status. After the replication is complete, the next time you restart the Process Server, the older version of the PostgreSQL database is shut down and the latest version of the database starts automatically.
This eliminates the effort of manually upgrading the Process Server PostgreSQL database to the latest version by running the scripts provided by Informatica.