DEV Community

Talha Munir 🇵🇸
Talha Munir 🇵🇸

Posted on

Creating a distributed high-availability cluster

We will now discuss on how can we create a high availability cluster.
When you create a distributed high-availability cluster, you will need to setup a data group.
The cluster can contain one or two data groups:

  1. After you have specified the type on the cluster information tab and your cluster name and password on cluster settings tab you can select next: Data Groups.
  2. On Nodes settings tab in the nodes section, you can either select two data nodes or three data nodes.

  3. In the database type section you can select the postgres you want to use in the postgres type field.

  4. select the settings for your cluster. You can find the instructions of node settings in the following tabs: cluster settings tab and additional settings tab

  5. In the parameters section on DB configuration tab, you can update the value of the database configuration parameters.

  6. Select Create: Data group. the data group preview will appear.

  7. Finish the process by selecting create cluster. If you want to create a second data group you can select add a data group.

Creating a second data group:

After creating the first data group, you can also create a second data group for your distributed high availability cluster by selecting add a data group before you create the cluster.

By default the second data group also has same settings as your first data group. However, you can still change the settings if you want to. Just know that the settings change can change the settings for the entire cluster. The database type and cloud provider should be same in both data groups.

References:

  1. https://www.postgresql.org/docs/
  2. https://www.enterprisedb.com/docs/biganimal/latest/free_trial/quickstart/

Top comments (0)