If the running two agent in slave host, the two clusters will share
resource all the time. One option I can image is to use meta framework to
connect to the two cluster, and balance the resources between the two
cluster.

----
Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer
Platform Symphony/DCOS Development & Support, STG, IBM GCG
+86-10-8245 4084 | [email protected] | http://k82.me

On Mon, Nov 30, 2015 at 8:01 PM, tommy xiao <[email protected]> wrote:

> run two slave in same node is bad idea on production env. i only say, why
> not install two cluster in same DC?
>
> 2015-11-30 14:20 GMT+08:00 Chengwei Yang <[email protected]>:
>
>> On Fri, Nov 27, 2015 at 04:16:44PM +0100, Elouan Keryell-Even wrote:
>> > Hi,
>> >
>> > I don't think this is possible yet, but is it planned some day to be
>> able to
>> > work with multiple active Mesos masters?
>> >
>> > I mean, not just a high-availability configuration with one elected
>> master and
>> > a few others idle masters (in case of failure), but really two masters
>> > exploiting a shared pool of slaves.
>> >
>> >
>> > Our use case:
>> >
>> > We are using Mesos to manage resources of two separated clusters. For
>> now, one
>> > cluster acts as a "commandment center" (since it runs the Mesos
>> master), while
>> > the other only runs mesos slaves.
>> >
>> > We would want to have a perfectly symetric architecture, where each
>> cluster
>> > could borrow a few slaves from the other cluster to run some of his
>> jobs.
>> >
>> > In my mind that implies each slave has to be managed by two mesos
>> masters at
>> > the same time.
>>
>> Try run two mesos-slave on the same node though I couldn't buy-in your
>> use case?
>>
>> Of course, you have to configure different LIBPROCESS_PORT to avoid
>> conflict
>> and any other options you want, I didn't do this so I'm not sure if this
>> works.
>>
>>
>> --
>> Thanks,
>> Chengwei
>>
>> >
>> >
>> > I'm curious to have your opinion on this :)
>> >
>> > Elouan Keryell-Even
>> > Software Engineer @ Atos Integration
>> > Toulouse, France
>> > +33 6 64 61 29 56
>> > SECURITY NOTE: file ~/.netrc must not be accessible by others
>>
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
>

Reply via email to