> Also, support for config files is being deprecated (from 0.13.0). So, I > would suggest to not rely on them. >
You'll still be able to use something like a config file though, you can set flags via environment variables (e.g., MESOS_master=...) and you can put all of your environment variables in a single file that you 'source' before launching one of the binaries (or, my preference, just have a script that launches the binary directly "configuring" it but via the command line ... an "active config file" if you will). > > > On Wed, May 29, 2013 at 10:17 AM, Eid, Julien <[email protected]> wrote: > > > Thanks for getting back to me! I'm using mesos-0.10.0. I'm talking about > > on the masters I currently specify the location for zookeeper servers > like > > this --zk=zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos > > > > And for slaves I specify the masters like this > > --master=zk://mesos1:2181,mesos2:2181,mesos3:2181/mesos > > > > I want to specify these in config files so I can start them without > > having to specify that on the command line. > > > > From: Vinod Kone <[email protected]> > > Date: Wednesday, May 29, 2013 1:13 PM > > To: "[email protected]" <[email protected]> > > Cc: Julien <[email protected]> > > Subject: Re: user seeking help on #mesos > > > > Hey Julien, > > > > What version of mesos are you running? > > > > What do you mean by "specify the zookeeper option somewhere"? Do you > > mean the slave? > > > > > > On Wed, May 29, 2013 at 9:53 AM, Adam Monsen <[email protected]> wrote: > > > >> Someone (Cc'd) is asking for help in #mesos (on Freenode). Is anyone > >> available to stop by and answer a couple of questions? > >> > >> > [09:48] < jeid> I just had some questions about config files. > >> > [09:48] < jeid> I think the github docs are out of date. > >> > [09:48] < jeid> And aren't really helpful. > >> > [09:49] < jeid> I have hot-master and all my slaves working with > >> > zookeeper > >> > [09:49] < jeid> however I start all of my services by hand > >> > [09:49] < jeid> doing ./mesos-master > >> > --zk=zk://zookeeper1:2181,zk2:2181/mesos > >> > [09:49] < jeid> I want to specify that zookeeper option somewhere > >> > but the docs don't specify it anywhere. > >> > [09:49] < jeid> so I just want to do ./mesos-daemon > >> > [09:50] < jeid> in the future. > >> > > > > >
