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?
|