You can add master or standby cluster instances.
When you add an instance, the following backup sets are automatically created, each with a default database group:
-
DumpBasedBackupSet
-
FSBasedBackupSet
Prerequisites
You must install PostgreSQL iDA on each of the cluster nodes that need to be added to the cluster instance.
Procedure
-
From the navigation pane, go to Protect > Databases.
The database Overview page appears.
-
From the Add instance list, select Database server.
The Configure Database Instance page appears.
-
Select PostgreSQL Cluster, and then click Next.
The Add Instance page appears.
-
Select an existing plan or add a new plan.
-
Click Next.
The Configure PostgreSQL Cluster Instance Name page appears.
-
In the Instance name box, enter the name of the database instance.
-
From the Cluster type list, select the type of cluster you are creating the instance for. The following four types of clusters are supported:
-
Patroni HA
-
EDB Failover Manager
-
Repmgr for Postgres
-
Native replication
Note
Select Native replication when no third party is available to manage the replication or failover.
The Configure PostgreSQL Cluster Instance Nodes page appears.
-
-
Click add to add the PostgreSQL cluster nodes.
The Add PostgreSQL cluster node dialog box appears.
-
From the Server name list, select the client which is part of the cluster.
-
In the Connection details section, enter the following details:
-
In the Database user box, enter the PostgreSQL user name.
-
In the Password box, enter the PostgreSQL user account password.
-
In the Maintenance DB box, enter the name of a system database that is used as maintenance DB.
-
In the Port box, enter or select the port to open the communication between PostgreSQL Server and the clients.
-
-
In the PostgreSQL paths section, enter the following details:
-
In the Binary Directory box, enter the path to the PostgreSQL application. For example: /usr/pgsql-16/bin. Alternatively, click Browse to locate the path.
-
In the Library Directory box, enter the path to the library directory for the instance. For example: /usr/pgsql-16/lib. Alternatively, click Browse to locate the path.
-
In the Archive Log Directory box, enter the path of the directory where you want to store the archive log files. For example, /opt/wal. Make sure that this path does not point to pg_log and pg_xlog directories.
-
In the Cluster binary path box, enter the path of the third party cluster type bin directory. Alternatively, click Browse to locate the path.
-
In the Cluster Config File, enter the path of the cluster configuration file. Alternatively, click Browse to locate the path. For example:
-
For patroni HA: /etc/patroni/patroni.yaml
-
For Repmgr: /etc/repmgr/repmgr.conf
-
For EFM: /etc/edb/efm-4.4/efm.properties
-
Note
-
If Native Replication is selected as cluster type, the Cluster binary path and Cluster Config File options are not available.
-
You can add up to 10 nodes.
-
-
Click Save.
-
Click Next.
-
Review the summary and click Finish.
Results
A cluster client with the same name as instance is created.
Editing, Deleting and Sequencing the Cluster Instance Nodes
You can perform the following actions on the Configure PostgreSQL Cluster Instance Nodes page:
-
Click on Edit icon to edit the node.
-
Click on Delete icon to delete the node.
-
Click Move up or Move down buttons to set the nodes in priority order. The backup picks the standby node as per the priority order.