I tried mongo replica sets for the first time.
I am using ubuntu on ec2 and I booted up three instances. I used the private IP address of each of the instances. I p
WARNING: slaveOk() is deprecated and may be removed in the next major release. Please use secondaryOk() instead. rs.secondaryOk()
rs.secondaryOk()