Maintenance should work in this case, it will just be applied to all agents
on the machine.

On Fri, Dec 9, 2016 at 1:20 PM, Charles Allen <[email protected]
> wrote:

> Thanks for the insight.
>
> I take that to mean the maintenance primitives might not work right for
> multi-agent machines? aka, I can't do maintenance on one agent but not the
> others?
>
>
> On Fri, Dec 9, 2016 at 12:16 PM Jie Yu <[email protected]> wrote:
>
>> Charles,
>>
>> It should be possible. Here are the global 'object' that might conflict:
>> 1) cgroup (you can use different cgroup root)
>> 2) work_dir and runime_dir (you can set them to be different between
>> agents)
>> 3) network (e.g., iptables, if you use host network, should not be a
>> problem. Otherwise, you might need to configure your network isolator
>> properly)
>>
>> But we haven't tested. Another potential thing that might come up is the
>> code that rely on hostname of the agent (MachineID in maintenance
>> primitive?)
>>
>> - Jie
>>
>> On Fri, Dec 9, 2016 at 12:11 PM, Charles Allen <
>> [email protected]> wrote:
>>
>> Is it possible to setup a machine such that multiple mesos agents are
>> running on the same machine and registering with the same master?
>>
>> For example, with different cgroup roots or different default working
>> directory.
>>
>>
>>

Reply via email to