zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Junqueira <...@apache.org>
Subject Re: Zookeeper mesos-master on different network
Date Thu, 14 Apr 2016 13:55:19 GMT
Have you made sure that a slave in net B is able to telnet or ssh to the leader machine in
net A? Is it possible that the client port is blocker from B to A?

-Flavio


> On 14 Apr 2016, at 14:09, Stefano Bianchi <jazzista88@gmail.com> wrote:
> 
> 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:
> 
> NetworkA:
> 2 mesos master
> 2 mesos slaves
> 
> NetworkB:
> 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=192.168.100.54:2888:3888 (master1 on network A)
> 
> server.2=192.168.100.55:2888:3888 (master2 on network A)
> 
> server.3=131.154.xxx.xxx:2888:3888 (Master3 on network B, i have set
> floating IP)
> 
> *etc/mesos/zk*
> 
> zk://192.168.100.54:2181,192.168.100.55:2181,131.154.xxx.xxx:2181/mesos
> 
> NetorkB:
> 
> */etc/zookeeper/conf/zoo.cfg: at the end of the file:*
> 
> server.1=131.154.96.27:2888:3888 (master1 on network A, i have set floating
> IP)
> 
> server.2=131.154.96.32:2888:3888 (master2 on network A, i have set floating
> IP)
> 
> server.3=192.168.10.11:2888:3888 (Master3 on network B)
> 
> 
> *etc/mesos/zk:*
> 
> zk://131.154.zzz.zzz:2181,131.154.yyy.yyy:2181,192.168.10.11:2181/mesos
> 
> 
> 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?


Mime
View raw message