I was trying to setup a 3-node influxdb cluster using influxDB 0.9.4 but failed.
I was following the instructions as stated at https://influxdb.com/docs/v0.9/guides/clustering.html
To setup the cluster, I have done the followings:
Given three nodes A,B and C with ip 10.10.1.88, 10.10.1.105 and 10.10.1.106 respectively
I have modified the file /etc/opt/influxdb/influxdb.conf of node A, B and C so that the hostname are now
10.10.1.88, 10.10.1.105 and 10.10.1.106 respectively.I have also modified the file /etc/init.d/influxdb of node A, B and C so that the parameter INFLUXD_OPTS are now
"", "-join 10.10.1.88:8088" and "-join 10.10.1.88:8088,10.10.1.105:8088" respectivelyI have stopped the influxdb service of node A, B and C respectively and
started the influxdb service of node A, B and C respectively
However, in the web interface (10.10.1.88:8083), the query "show servers" only return the node itself. That is
id cluster_addr raft
1 "10.10.1.88:8088" true
which implies that the raft cluster is not healthy at all
Is there any step I missed?
p.s. Node A, B and C are running Ubuntu 14.04.3 LTS.
--------------------------- Add ------------------- Use show servers command only show the server own ip. If I try to create database of random one of the server, the other server will sync and the database with same name appear too. If i try to add measurement and data, the others server can not sync unlike database.