You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mesos.apache.org by Douglas Voet <dv...@broadinstitute.org> on 2013/10/17 15:25:33 UTC

Dynamically sizing a mesos cluster.

Hi,

Is there any functionality in Mesos to dynamically resize a cluster? I want
to be able to add and remove slave nodes and maybe masters while the
cluster is running.

Thanks,
Doug

Re: Dynamically sizing a mesos cluster.

Posted by Benjamin Hindman <be...@gmail.com>.
We'll likely be working on some added support for "host drain" in the not
too distant future too, see
MESOS-544<https://issues.apache.org/jira/browse/MESOS-544>
.


On Thu, Oct 17, 2013 at 8:40 AM, Vinod Kone <vi...@gmail.com> wrote:

> Absolutely. The adding and removing themselves must be done out of band
>  though.
>
> @vinodkone
> Sent from my mobile
>
> > On Oct 17, 2013, at 6:25 AM, Douglas Voet <dv...@broadinstitute.org>
> wrote:
> >
> > Hi,
> >
> > Is there any functionality in Mesos to dynamically resize a cluster? I
> want to be able to add and remove slave nodes and maybe masters while the
> cluster is running.
> >
> > Thanks,
> > Doug
>

Re: Dynamically sizing a mesos cluster.

Posted by Vinod Kone <vi...@gmail.com>.
Not sure if this is what you are asking, but:

-- To kill/remove a master or slave: just issue a SIGTERM to the
mesos/slave process.

-- To add a master/slave just start them as you typically do.

Note that removing a slave causes all the tasks on it to go LOST. It is the
responsibility of the framework to reschedule them on to active slaves.

HTH,


On Thu, Oct 17, 2013 at 10:46 AM, Douglas Voet <dv...@broadinstitute.org>wrote:

> Great! How? I have not found the information yet in reading the docs. If I
> am missing it, please let me know where to look.
>
> Thanks,
> Doug
>
>
> On Thu, Oct 17, 2013 at 11:40 AM, Vinod Kone <vi...@gmail.com> wrote:
>
>> Absolutely. The adding and removing themselves must be done out of band
>>  though.
>>
>> @vinodkone
>> Sent from my mobile
>>
>> > On Oct 17, 2013, at 6:25 AM, Douglas Voet <dv...@broadinstitute.org>
>> wrote:
>> >
>> > Hi,
>> >
>> > Is there any functionality in Mesos to dynamically resize a cluster? I
>> want to be able to add and remove slave nodes and maybe masters while the
>> cluster is running.
>> >
>> > Thanks,
>> > Doug
>>
>
>

Re: Dynamically sizing a mesos cluster.

Posted by Douglas Voet <dv...@broadinstitute.org>.
Great! How? I have not found the information yet in reading the docs. If I
am missing it, please let me know where to look.

Thanks,
Doug


On Thu, Oct 17, 2013 at 11:40 AM, Vinod Kone <vi...@gmail.com> wrote:

> Absolutely. The adding and removing themselves must be done out of band
>  though.
>
> @vinodkone
> Sent from my mobile
>
> > On Oct 17, 2013, at 6:25 AM, Douglas Voet <dv...@broadinstitute.org>
> wrote:
> >
> > Hi,
> >
> > Is there any functionality in Mesos to dynamically resize a cluster? I
> want to be able to add and remove slave nodes and maybe masters while the
> cluster is running.
> >
> > Thanks,
> > Doug
>

Re: Dynamically sizing a mesos cluster.

Posted by Vinod Kone <vi...@gmail.com>.
Absolutely. The adding and removing themselves must be done out of band  though. 

@vinodkone
Sent from my mobile 

> On Oct 17, 2013, at 6:25 AM, Douglas Voet <dv...@broadinstitute.org> wrote:
> 
> Hi,
> 
> Is there any functionality in Mesos to dynamically resize a cluster? I want to be able to add and remove slave nodes and maybe masters while the cluster is running.
> 
> Thanks,
> Doug