title: How to Convert secondary Node to primary if maximum of node down in a replica set?
body: <p>I am using mongodb with replica set ,which have 3 nodes lets their ip's are 192.168.1.100 , 192.168.1.101,192.168.1.102 .</p>
  
  <p>In MY current setup 192.168.1.100 is Primary and others are Secondary .I have set priority for 192.168.1.100 and 192.168.1.101 is 1  and for 192.168.1.102 is 0 , now After some time my 192.168.1.100 and 192.168.1.101 both node are down .</p>
  
  <p>I want to force 192.168.1.102 to become primary so that My application will  live .
  Is their is any way to  Forcefully convert 192.168.1.102 node to  become primary NODE.</p>