PanteraS icon indicating copy to clipboard operation
PanteraS copied to clipboard

Things to consider when joing a slave into a mesosphere?

Open kopax opened this issue 5 years ago • 0 comments

Hi everyone,

I am running panteras 0.3.8 in the cloud using 3 masters+slaves dedicated server because it was the minimal requirement recommended by mesos.

Since 2015, I have not added any slaves to the mesosphere by trying to keep the cloud spending low.

I recently bought a Synology NAS with storage and I want to host next to it a dedicated server that would run mesos and marathon.

I want to host them in my house, where my ISP provide a dedicated IP and a lot of bandwith.

I have never done such configuration and would like to know things that I should consider::

  • Does the masters needs to know how to contact the slaves ?
  • Do they need to be on the same network ?
  • If they must be in the same network, can they use a tunnel to one OR more masters?
    • Can the slave be connected with a VPN to only one master (and if it fail, the slave fail)? or do I need 3 VPN.
    • Is there a more suitable VPN for that job (tinc, openvpn, etc.)
  • Do I need to open zk ports on each master 2181 publicly in order to contact the masters and is it a security concerns to do so?
  • Do I need to do port redirection on my zookeeper slaves?
  • Is there any other network or security requirement or prerequisite?

Will this configuration work ? Any advices for such configuration are welcomed.

Thanks for advising.

kopax avatar Sep 10 '20 13:09 kopax