mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Mahler <benjamin.mah...@gmail.com>
Subject Re: using schedulers from outside the private network running a Mesos cluster
Date Mon, 28 Jul 2014 19:36:08 GMT
You can specify the IP and port for the scheduler driver by setting the
following in your environment:

LIBPROCESS_IP
LIBPROCESS_PORT

You will probably want your schedulers running within the same private
network as the master for production purposes.


On Sun, Jul 27, 2014 at 11:47 AM, Renat Bekbolatov <renatbek@gmail.com>
wrote:

> Hi guys!
>
> Mesos scheduler driver picks up machine’s ip address and publishes it to
> master to communicate back. If I happened to run a scheduler locally and
> connect to my cluster on a private network which has only master exposed,
> what is a good workaround to allow information flow from master to
> scheduler?
>
> There is no address setting possible through schedulerDriver API, but even
> if I could set the address, it seems like the ports (there are 2 ports
> used) are not fixed either.
>
> Also, I understand that the slave webui components will not work, when
> those machines are not exposed, but access to slaves doesn’t block us from
> sending tasks to Mesos cluster since the task communication with slaves
> goes through the master node.
>
> I am considering maybe just running that schedulers within the cluster and
> expose their services instead, maybe that is a better approach, but please
> let me know what you think about both setups.
>
> Renat

Mime
View raw message