Pankaj Saha
Pankaj Saha

Reputation: 21

why apache mesos masters servers switching very fast

I have an mesos cluster environment where I have connected two mesos masters. Both the mesos masters are mentioned in the zookeeper. As expected when one master goes down then zookeeper should elect another master from the cluster, but in my case I can see even both my masters servers are running but still its switching very fast may be once in a 5 mins. I don't know if this is normal.

I am using linux Mint, and downloaded mesos from mesosphere library.

Upvotes: 0

Views: 128

Answers (1)

rukletsov
rukletsov

Reputation: 1051

I think the problem is that the quorum in your case is not a majority of masters. Check the documentation for the --quorum flag. I would suggest you either go for a simple setup with a single master or, if you want to try out the HA mode, setup 3 masters and set quorum to 2. A rule of thumb is 2q - 1 masters for quorum q.

Upvotes: 0

Related Questions