Parameterize replset ports.