Tim Arnold
2018-12-03 13:22:24 UTC
Hi,
I'm establishing a vm cluster with one master and five workers. The master,
besides being the mongodb primary, also is a webserver and jenkins master.
I want to be able to make one worker into a master if the master fails.
So my thought is to duplicate the webserver and jenkins on on of the
workers; if the master goes down, I can switch this worker to be the master
and all is well again.
My problem of course is that I have an even number of members. I read about
non-voting members and wonder if that is my answer.
First, is this a bad design?
Second, if I make worker01 a non-voting member will that solve my problem?
I guess that when I have to switch worker01 to be master, I'd have to
change it to a voting member.
What's the best practice for this scenario?
thanks,
--Tim
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/fd125c3a-1aa0-4296-a5be-df8673879b7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm establishing a vm cluster with one master and five workers. The master,
besides being the mongodb primary, also is a webserver and jenkins master.
I want to be able to make one worker into a master if the master fails.
So my thought is to duplicate the webserver and jenkins on on of the
workers; if the master goes down, I can switch this worker to be the master
and all is well again.
My problem of course is that I have an even number of members. I read about
non-voting members and wonder if that is my answer.
First, is this a bad design?
Second, if I make worker01 a non-voting member will that solve my problem?
I guess that when I have to switch worker01 to be master, I'd have to
change it to a voting member.
What's the best practice for this scenario?
thanks,
--Tim
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+***@googlegroups.com.
To post to this group, send email to mongodb-***@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/fd125c3a-1aa0-4296-a5be-df8673879b7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.