Open willzhang opened 5 years ago
try: add --pg-bin-path /you/postgresql/bin/path to the command ./stolon-keeper
i config --pg-bin-path /usr/pgsql-11/bin,but here still have problem
[root@localhost ~]# stolon-keeper --cluster-name stolon-cluster --store-backend=etcdv3 --uid postgres0 --pg-bin-path /usr/pgsql-11/bin --data-dir data/postgres0 --pg-su-password=supassword --pg-repl-username=repluser --pg-repl-password=replpassword --pg-listen-address=127.0.0.1
2019-03-08T16:37:54.484+0800 WARN cmd/keeper.go:1806 provided --pgListenAddress "127.0.0.1" is a loopback ip. This will be advertized to the other components and communication will fail if they are on different hosts
2019-03-08T16:37:54.484+0800 INFO cmd/keeper.go:1911 exclusive lock on data dir taken
2019-03-08T16:37:54.484+0800 INFO cmd/keeper.go:492 keeper uid {"uid": "postgres0"}
2019-03-08T16:37:54.496+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:37:59.514+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:04.516+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:09.517+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:14.518+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:19.521+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:24.526+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:29.530+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:34.531+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:39.533+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:44.536+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:49.539+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:54.541+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:38:59.543+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:04.547+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:09.551+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:14.553+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:19.557+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:24.560+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:29.564+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:34.566+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
2019-03-08T16:39:39.571+0800 INFO cmd/keeper.go:976 our keeper data is not available, waiting for it to appear
From the above log, It looks you stopped the Sentinel
. Do you have it running ?
@dineshba that helps.
Perhaps the documentation here can be improved. https://github.com/sorintlab/stolon/blob/master/doc/simplecluster.md
When you try to start sentinel first time, it complains that there is no keepers registered (makes sense)
Then you start the keeper, it errors our keeper data is not available, waiting for it to appear
. At that point, start the sentinel.
Hi @viggy28, no keepers registered
in sentinel is more of a warning. Once we start the keeper, sentinel will be able to discover the keeper.
Note: There is no particular order for starting the proxy,sentinel,keeper
@willzhang and @viggy28 Can we close this issue?
Hi @dineshba , thanks for the response. No issues from my side in closing this issue.
ps: I am not the creator of this issue.
what i want do i want install stolon in centos7.6 use tar.gz
install etcd
Simple Cluster commands
what's wrong with it ,is there someting i haven't do?