Determining the Primary Member of a MongoDB Replica Set

One of the dependencies of Maximo Application Suite (MAS) is MongoDB. For MAS to operate, the MongoDB instance should be in a good state…