``` javascript
use test
for (i=0; i<1000; i++) {db.coll.insert({count: i})}
db.coll.count()
db.isMaster()
secondaryConn = new Mongo("localhost:27019")
secondaryDB = secondaryConn.getDB("test")
secondaryDB.coll.find()
secondaryConn.setSlaveOk()
secondaryDB.coll.find()
secondaryDB.coll.insert({"count" : 1001})
secondaryDB.coll.count()
db.adminCommand({"shutdown" : 1})
secondaryDB.isMaster()
```