Closed patsevanton closed 6 years ago
@patsevanton you're starting two keepers with the same uid and this is bad since the sentinel got confused and will cause data loss. See https://github.com/sorintlab/stolon/blob/master/doc/architecture.md#keepers
Thank you
Hello! I try run cluster stolon winth PostgreSQL 9.6 on CentOS 7 Version: CentOS Linux release - 7.4.1708 (Core) etcd - 3.2.0-0.1.rc1.el7.centos stolon - 0.6.0-1.8420cb1.el7.centos
Please add boot order run command to https://github.com/sorintlab/stolon/blob/master/doc/simplecluster.md maybe I'm doing something wrong
1) stolonctl --cluster-name stolon-cluster --store-backend=etcd init - run on First server 2) stolon-sentinel --cluster-name stolon-cluster --store-backend=etcd - run on every servers 3) stolon-keeper --cluster-name stolon-cluster --store-backend=etcd --uid postgres0 --data-dir 9.6/data/postgres0 --pg-su-password=supassword --pg-repl-username=repluser --pg-repl-password=replpassword --pg-listen-address=127.0.0.1 - run on First server
4) stolon-keeper --cluster-name stolon-cluster --store-backend=etcd --uid postgres0 --data-dir 9.6/data/postgres0 --pg-su-password=supassword --pg-repl-username=repluser --pg-repl-password=replpassword --pg-listen-address=127.0.0.1 - run on Second server