Configure the primary for replication