The use of replica sets is a must when using MongoDB. Currently I am only able to set one port for mongodb. Hibernate OGM should allow me to add any/all HOST and PORT numbers that belong to a MongoDB replica set.