rs.status()
rs.conf()
rs.stepDown(500)
use admin
db.shutdownServer()
------------------
create replcaSet
1.start all mongod with same replSetName
2.mongod --port 28001
3.rs.initiate()
4.rs.add('host:port')
5.rs is ok,use us.status() to show() the status
if you want read data from the secondary replset,use rs.slaveOk() or
I find it useful to put the default configuration in ~/.mongorc.js and custom configurations in replStart.js or adminStart.js or whatever