Hello
Thank you for your question and reaching out. I can understand you are having query\issues related to Hyper-V replication.
This virtual computer might still be present in the replica server if you previously replicated it. Remove it from the replica computer, then turn on replication once more. Only on a private network or domain network is Kerberos usable.
Please refer to following steps :
- Shutdown the VM.
- right click the VM select "replication" and then choose "remove replication"(both "primary" and "replica server")
3.in "replica server" site delete the replica VM in hyper-v manager
4.in "replica server" site delete the "replica files"
5.enable the replica again and start the VM in "Primary" site
Then please retry the powershell for planned failover :
- Stop (shut down) contoso2.
Stop-VM –VMName contoso2 –ComputerName primaryvmhost
- Prepare contoso2 for failover on vmhost2 (Primary Server).
Start-VMFailover –VMName contoso2 –ComputerName primaryvmhost –Prepare
- Prepare contoso2 for failover on vmhost1 (Replica Server).
Start-VMFailover –VMName contoso2 –ComputerName replicavmhost
- Reverse the replication from primaryserver to replica server.
Set-VMReplication -VMName contoso2 -ComputerName replicavmhost –Reverse
- Start the VM
Start-VM –VMName contoso2 –ComputerName replicavmhost
Reference :
--If the reply is helpful, please Upvote and Accept as answer--