I have done Replication in one single machine with three different port(Say 27018[master],27019,27020). Also I have done Sharding in one single machine with two different port(Say 27021,27022).
Now I have to implement replication for the sharded machine port.I need to implement replication for 27021 and 27022. How can I do this? Please help me to resolve this issue.