Hello Jim,

Actually configuration are mostly different between master and slave.
Only few of them are common and mostly addressing network or log
purposes that would be common on a single host.

BTW You can use envar for settings,
any config can be set using $MESOS_ prefix

ex :
export MESOS_ip=192.168.255.2
./bin/mesos-slave


For my need of debian packaging, I put init scripts that can inspire you
to run services
they use respectively /etc/default/mesos /etc/default/mesos-master
/etc/default/mesos-slave

https://github.com/viadeo/mesos/blob/feature/Debian/debian/mesos-master.init
https://github.com/viadeo/mesos/blob/feature/Debian/debian/mesos-slave.init

Cheers,

Le 15/01/2014 02:18, Jim Freeman a écrit :
> I'm following Mesos README's "Running a Mesos Cluster" section.  Is
>  [prefix]/var/mesos/conf/mesos.conf used to config both the master and
> slave?  If so then I can't run master and slave on same host since the
> config would differ for master vs. slave.  BTW, I don't see this file
> installed, nor do I see a .template for it anywhere.
> 
> - Jim

-- 
Damien HARDY

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to