-
-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements and simplification of the cluster scaling process. (#290)
Playbook add_pgnode.yml - Previously, you had to add a new node yourself to the pg_hba.conf file on all nodes of existing cluster before adding a new node to the cluster. Now it will be done automatically. - Previously, it was necessary to add a new node (which you want to add to existing cluster) in the [replica] group and at the same time remove other nodes from the replica group from inventory in order to add_pgnode.yml playbook was executed specifically for the new server. Now you do not need to do this, you just need to specify the variable new_node=true for the server that you are adding to the cluster and the playbook will be executed only on this server. Playbook add_balancer.yml - Previously, configuration files were copied from the server from the master group. This is not very convenient, for example, when the load balancers are placed on separate servers. Now the files are copied from the first server specified in the inventory file in the balancers group. - Specify the variable new_node=true for the balancer server that you are adding to the cluster and the playbook will be executed only on this server.
- Loading branch information
Showing
9 changed files
with
257 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.