Today we will setup a 3 Node Replica Set for MongoDB on Ubuntu 16. A Replica Set is a form of data replication, so that your data resides on more than one node for data durability.
We will setup the 1st node as the primary node, the second as the secondary node and the 3rd node will act as an arbiter.
The arbiter node can almost be mentioned as a voter node, as it will be set in place to prevent split brain.