mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
change to governor name
This commit is contained in:
@@ -8,14 +8,16 @@ To get started, do the following from different terminals:
|
|||||||
|
|
||||||
```
|
```
|
||||||
> etcd --data-dir=data/etcd
|
> etcd --data-dir=data/etcd
|
||||||
> ./run.py postgres0.yml
|
> ./governor.py postgres0.yml
|
||||||
> ./run.py postgres1.yml
|
> ./governor.py postgres1.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
From there, you will see a high-availability cluster start up. Test
|
From there, you will see a high-availability cluster start up. Test
|
||||||
different settings in the YAML files to see how behavior changes. Kill
|
different settings in the YAML files to see how behavior changes. Kill
|
||||||
some of the different components to see how the system behaves.
|
some of the different components to see how the system behaves.
|
||||||
|
|
||||||
|
Add more `postgres*.yml` files to create an even larger cluster.
|
||||||
|
|
||||||
To get a haproxy load balancing between these two hosts, run:
|
To get a haproxy load balancing between these two hosts, run:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user