incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Hindman <>
Subject Re: Setting up virtual machine isolation container
Date Mon, 30 Jan 2012 17:30:09 GMT
Hi Charles,

A 'dispatch' can currently only be done from within the same OS process as
the receiver (in this case, the slave). So you'll want your isolation
module to do this.

Provided your VM's networking stack gets set up correctly, the executor
should have no problem connecting back to the slave (since it does so via a
network socket).


On Mon, Jan 30, 2012 at 7:41 AM, Charles Earl <>wrote:

> Hi,
> I am completing a virtual machine isolation container for mesos based upon
> the lxc container.
> Using LxcIsolationModule as a model, I launch vm (using virsh), start
> mesos-launcher on the vm
> I believe that I need to run something like
>  dispatch(slave, &Slave::executorStarted, frameworkId, executorId, pid);
> inside of the vm image to report the executor process to the slave.
> I believe the best way to accomplish this to create a simple fork/exec
> wrapper around
>  ExecutorLauncher::run()
> to do this, assuming that the environment variables are configured
> correctly on the virtual machine.
> Is this sensible?
> Charles

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message