On Tue, Nov 24, 2015 at 3:15 PM, Marco Massenzio <ma...@mesosphere.io>
wrote:

> On Tue, Nov 24, 2015 at 10:45 AM, Adam Avilla <a...@avil.la> wrote:
>
> > Is there any way to support HUP reloading of config with this design
> > paradigm?
>
>
> Can you please elaborate what do you mean by "support HUP reloading"?
> I don't suppose anyone really runs Mesos in production inside a terminal?
>

I mean like how webservers and other systems work. NGINX is an example of
the paradigm:

http://nginx.org/en/docs/control.html

you will see HUP spawns new workers with new config, gracefully shutting
down old workers.

Use case is config management system copies new configs to masters, HUP
to reload, no downtime. Maybe this is already possible? If so, excuse my
ignorance :$.


> > Is HUPing mesos even possible / helpful? From an end user
> > perspective it sounds useful, but I am not sure if even possible for
> mesos
> > to accomplish safely.
> >
>
> If you are running Mesos in multi-Master configuration (using, eg,
> Zookeeper) yes, it is safe to re-start the process, so long as you always
> maintain a --quorum of servers running.
> In fact, that's the recommended way to do a Mesos cluster upgrade.
>
> But, again, I don't really think this is what you meant by "HUPing Mesos"?
> (I mean, if you `kill -1 <PID>` this seems to just terminate Master - at
> least on OSX)
>

Maybe that is the best paradigm then. Use HA setup with Zookeeper and
roll config to one master, restart, wash, rinse, repeat?

Reply via email to