Re: Fail Over Replica Set Mongodb

From: SHAILESH PURANI <shaileshpurani@xxxxxxxxx>
To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Date: Tue, 26 Apr 2016 22:16:49 -0700 (PDT)
Why ads?
You can set the priority and accordingly it will works. 

Regards, 

On Wednesday, 27 April 2016 05:24:43 UTC+5:30, Alexander Orwell Wolf wrote:

Hello,

I have a replicaset with 3 nodes; 

Server 1:

   - primary node


Server 2:


   - Secondary node
   - Arbiter node


when I stopped server 2 with secondary and arbiter, my primary in server 1 
change to secondary.

What can I do to have primary node at server 1 if server 2 is offline?


Regards!


-- 
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.org/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+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
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/b54495e2-84b4-41e5-82af-6e4b729ee831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Why ads?