Aug 29 2022 02:22 AM - edited Aug 31 2022 12:27 AM
Hi,
I ran into an error when trying to enable the replica in Hyper-V on Windows Server 2022 Standard.
I have:
Two identical servers. Windows Server 2022 Standard installed with Hyper-V role enabled. Assigned hosts in ... \ etc \ hosts
set names to primary.hyper.local and secodary.hyper.local.
WORKGROUP.
Generated certificates for both machines and correctly imported on both servers. For testing purposes, the firewall is disabled.
On the backup server, replication was enabled on port 443 with the use of certificates. I have errors in the logs when trying to start replication on the primary server:
1) WARNING - Hyper-V failed to add the port '443' to the Windows Service Hardening firewall rule. Error: The system cannot find the file specified. (0x80070002). The currently allowed ports are ''.
2) ERROR - Hyper-V cannot connect to the specified Replica server 'secondary.hyper.local'. Error: A connection with the server could not be established (0x00002EFD). Verify that the specified server is enabled as a Replica server, allows inbound connection on port '443', and supports the same authentication scheme.
3) Hyper-V failed to enable replication for virtual machine 'Test': A connection with the server could not be established (0x00002EFD). (Virtual machine ID 1EE8D05D-D94B-4CDF-ADB6-A93C97C81D85)
[SOLVED]
I have not found any solution. I wiped the servers and reinstalled everything. Errors has not popped up anymore, replication started working.
Sep 23 2022 03:06 AM
We used Hyper-V Replica before, but now we use Vinchin Backup & Recovery to connect local datacenter to our secondary datacenter.