zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bianchi <jazzist...@gmail.com>
Subject Zookeeper mesos-master on different network
Date Thu, 14 Apr 2016 13:09:27 GMT
Hi all
i'm working on OpenStack and i have build come virtual machines and 2
different networks with it.
I have set two mesos clusters:

2 mesos master
2 mesos slaves

1 mesos master
1 mesos slave

I should try to make and interconnection between these two clusters.

I have set zookeeper configurations such that all 3 masters are competing
for he leadership. I show you the main configurations:

NetworkA on both 2 masters:

*/etc/zookeeper/conf/zoo.cfg *: at the end of the file

server.1= (master1 on network A)

server.2= (master2 on network A)

server.3=131.154.xxx.xxx:2888:3888 (Master3 on network B, i have set
floating IP)




*/etc/zookeeper/conf/zoo.cfg: at the end of the file:*

server.1= (master1 on network A, i have set floating

server.2= (master2 on network A, i have set floating

server.3= (Master3 on network B)



the 3 masters seems to work fine, if i stop mesos-master service on one of
them, there is the rielection, so they are behaving as one single cluster
with 3 masters.
I have no problems with masters, but with slaves.
I have currenty set up slaves setting the /etc/mesos/zk exactly as i shown
above in a coherent way.

Now the leader s one master which is on the Network A, and only the slaves
on Network A can connect to it, but i need to connect also the slave on the
other network.
Do you have suggestions?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message