Go to documentation repository
Page History
The first time you launch the Supervisor, you should initialize the cluster. To do this, do the following:
- Select the Server's IP address from the list and click Next NEXT.
Add the required Servers to the cluster. To do this, enter the IP address and click Link LINK.
Note title Attention! All Cluster servers сluster Servers must be accessible available to each other.
All servers must be hosted on computers It is necessary to use Servers with the same architecture (x 86, x 64)x64), OS type and PostgreSQL version.
Note title Attention! The first three Servers added become the master Servers.
The operation of the cluster is coordinated by its master Servers, which, in particular, take decisions to migrate nodes from one Server to another.
You can have 3 or master servers The number of the master Servers in the cluster must be odd, not less than three and not more than five.
If only two Servers are added, they can be configured as 1+1 (primary —master + backup Server (see 1+1 cluster configuration).
If required, you can add a user with administrator rights (see Set up access to a supervisor). After the cluster is created, only this user will have access to the supervisorSupervisor. Please follow Do the steps belowfollowing:
Click the Add button ADD button.
Enter access credentials and click the Next NEXT button.
After you added all serversServers, click the Initialize button INITIALIZE button.
This will initialize the cluster based on the selected Servers.
Info | ||
---|---|---|
| ||
If during the process of cluster creation, you added the Server that were already added to another cluster, they will be unavailable. If you try to initialize the cluster with unavailable Servers, they will be marked red, and the cluster won't be initialized. In this case you need to go back to the step of adding the Servers and add the available Servers. |
To add more other Servers to the cluster, do the following:
- On the Hosts HOSTS tab, click .
- Enter the IP address of the server (1)Server.
If the server Server you are adding is master, select set the Manager checkbox (2).
- Click Add Host (3) ADD HOST.
- Add all required Servers.
Info | ||
---|---|---|
| ||
To remove a server Server from the cluster, click click and then Remove. |
Note | ||
---|---|---|
| ||
To change the IP addresses of the server Server in the cluster, do as followsthe following:
|