title: How to turn off Mongo (in Replica Set) properly without DB down?
body: <p>My server set up is like that:</p>
  
  <p>2 x Servers .  The mongoDB has replica set among both servers.  Each is one node.  </p>
  
  <p>and then I have my node.js server connect to the MongoDB.</p>
  
  <p>What happen was.. when I kill the secondary server. (shutting down the server).  The MongoDB at primary still up but the Node.js Server had connection issue with MongoDB then.  Even I added the server back, it didn't work.  I use mongoose and connect-mongo .</p>
  
  <p>So, what happened?  how to shut down Mongo node properly?</p>