Add node to MongoDB cluster
To add a new node to an existing MongoDB cluster, login to the mongo shell on the primary node and run the following command:
rs.add({host:"mongodb3.example.net:27017"})
Similar to remove a node from the cluster, use:
rs.remove("mongodb3.example.net:27017")