Go to documentation repository
감독자(Supervisor)를 처음 시작하는 경우 클러스터를 초기화해야 합니다. 이를 위해:
클러스터에 필요한 서버를 추가합니다. IP 주소를 입력하고 링크를 클릭하세요
The first time you launch the Supervisor, you should initialize the cluster. To do this, do the following:
Add the required Servers to the cluster. To do this, enter the IP address and click LINK.
Note | ||
---|---|---|
| ||
모든 클러스터 서버는 서로 사용 가능해야 합니다. 동일한 아키텍처 All сluster Servers must be available to each other. It is necessary to use Servers with the same architecture (x64), OS type and PostgreSQL version유형, PostgreSQL 버전을 갖춘 서버를 사용해야 합니다. |
Note | ||
---|---|---|
| ||
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. 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—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 supervisor. Do the following:
Click the ADD button.
Enter access credentials and click the NEXT button.
After you added all Servers, click the 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 other Servers to the cluster, do the following:
추가된 처음 세 개의 서버가 마스터 서버가 됩니다. 클러스터의 운영은 특히 한 서버에서 다른 서버로 노드를 마이그레이션하는 결정을 내리는 마스터 서버에 의해 조정됩니다. 클러스터의 마스터 서버 수는 홀수여야 하며 3개 이상 5개 이하이어야 합니다. 두 개의 서버만 추가되는 경우 1+1—마스터 + 백업 서버로 구성할 수 있습니다 (1+1 클러스터 구성 참고). |
필요한 경우 관리자 권한이 있는 사용자를 추가할 수 있습니다(감독자에 대한 액세스 설정 참고). 클러스터가 생성된 후에는 이 사용자만 감독자에 액세스할 수 있습니다. 아래 단계를 따르십시오.
ADD(추가) 버튼을 클릭합니다.
액세스 자격 증명을 입력하고 NEXT(다음) 버튼을 클릭하세요
모든 서버를 추가한 후 INITIALIZE(초기화) 버튼을 클릭하세요.
그러면 선택한 서버를 기반으로 클러스터가 초기화됩니다.
Info | ||
---|---|---|
| ||
클러스터 생성 과정에서 이미 다른 클러스터에 추가된 서버를 추가한 경우 해당 서버를 사용할 수 없습니다. 사용할 수 없는 서버가 있는 클러스터를 초기화하려고 하면 서버가 빨간색으로 표시되고 클러스터가 초기화 되지 않습니다. 이 경우 서버 추가 단계로 돌아가서 사용 가능한 서버를 추가해야 합니다. |
클러스터에 서버를 더 추가하려면 다음을 수행합니다.
추가하려는 서버가 마스터인 경우, Manager(관리자) 확인란을 선택합니다.
If the Server you are adding is master, set the Manager checkbox.
Info | ||
---|---|---|
| ||
To remove a Server from the cluster, click and then Remove클러스터에서 서버를 제거하려면 을/를 클릭하여 Remove(제거) 합니다. |
Note | ||
---|---|---|
| ||
클러스터에 있는 서버의 IP 주소를 변경하려면 다음을 수행하십시오.
To change the IP addresses of the Server in the cluster, do the following:
|