Hi, @Kent. > I’m trying to run a framework scheduler on a Mesos slave node. > Does one have to have mesos-master running on slave nodes to do this? If you mean run it manually, your could start your scheduler in any machine, just make sure the network connection works between framework and Mesos master.
> Does mesos-slave know how to pass scheduler requests back to a Mesos master node? Framework only could communicate with Mesos Master, could not send message to Mesos Slave directly unless forward via Mesos Master. On Wed, May 25, 2016 at 3:14 AM, Kent Harris <k...@bvvine.com> wrote: > Pardon me if this is a newbie question. I’m trying to port an existing > simulation system that is comprised of many processes. The master process > is executed by a user (on a Mesos master node) and it has a custom > Framework that simply launches a process, call it the “root” process”, via > a CommandInfo executor on a slave node. > > The root process represents a simulation system and it needs to further > schedule many processes that represent various parts of the simulation > (communicating via ZMQ primarily). To do this I have a second custom > framework invoked by the root process that also uses CommandInfo executor > semantics to launch a number of tasks I call agents. As an aside, all > agents have a common base structure and a custom plugin structure where > plugins represent different types of simulated hardware. > > Thus I’m trying to run a framework scheduler on a Mesos slave node. I > that possible? Does mesos-slave know how to pass scheduler requests back > to a Mesos master node? Does one have to have mesos-master running on > slave nodes to do this? Am I smoking bad stuff? > > Advice appreciated. > > - Kent -- Best Regards, Haosdent Huang