Hi David,

I'm assuming the myserver[1-2-3].com above are your zk servers?

Also, masters take "--zk" instead of "--url" for zookeeper address. "--url"
might have been our old flag, which is deprecated (which version of mesos
are you running?).

For slaves, "--master" should be the same set of zk servers that you
started your masters with.

So, "--master="zoo://myserver1.com:2181,myserver2.com:2181,
myserver3.com:2181/mesos"

Let me know if that works. If not, please paste the master and slave logs.



On Tue, Apr 16, 2013 at 10:58 AM, David Greenberg <[email protected]>wrote:

> I am trying to use the automatic master failover feature of zookeeper, but
> I'm seeing several issues:
>
> When I launch multiple masters with ./mesos-master.sh --url=zoo://
> myserver1.com:2181,myserver2.com:2181,myserver3.com:2181/mesos , all 3
> servers elect themselves as master and I don't see anything in the logs
> about zookeeper.
>
> Similarly, when I launch slaves, they require a --master setting, which, if
> I provide the zoo:// URL, causes them to fault (and I don't see why I
> should provide a hostname, given that a host could be down.
>
> I assume that I'm making some silly mistake in how I'm launching these
> processes.
>
> Thanks,
> David
>

Reply via email to