title: Promote secondary to primary from secondary node
body: <p>My test system (due to lack of resources) has a dual mongodb replicaset. There is no arbiter.</p>
  
  <p>During some system changes one of the servers got put out of action and will not be coming back. This server happened to host the primary mongo node. This left the only other member of the set as a secondary.</p>
  
  <p>I know I should have had at least three nodes for the cluster (our prod setup does).</p>
  
  <p>Is there a way I can make the primary that is now offline to step down? I haven't been able to change any of the rs.conf() settings because the only working node is secondary. starting an arbiter doesn't seem to work because I cannot add it to the replset as the primary is down.</p>
  
  <p>Has anyone encountered this before and managed to resolve it?</p>
  
  <p>To recap:</p>
  
  <p>SERVER A (PRIMARY)  - OFFLINE</p>
  
  <p>SERVER B (SECONDARY) - ONLINE</p>
  
  <p>A + B = REPLSET</p>
  
  <p>Any help would be greatly appreciated.</p>