To configure virtual machine replication in vSphere, follow the steps below:
1. Log in to the vSphere Client.
2. Create a replication site on the destination vCenter Server.
3. Configure the source vCenter Server to replicate virtual machines.
4. Choose the virtual machines to be replicated.
5. Configure the replication settings.
6. Test replication.
7. Monitor and manage duplicate virtual machines.