A Replica server must be configured to accept replication requests
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016
For more information about best practices and scans, see Run Best Practices Analyzer Scans and Manage Scan Results.
Property | Details |
---|---|
Operating System | Windows Server 2016 |
Product/Feature | Hyper-V |
Severity | Error |
Category | Configuration |
In the following sections, italics indicates UI text that appears in the Best Practices Analyzer tool for this issue.
Issue
This computer is designated as a Hyper-V Replica server but is not configured to accept incoming replication data from primary servers.
Impact
This server cannot accept replication traffic from primary servers.
Resolution
Use Hyper-V Manager to specify which primary servers this Replica server should accept replication data from.
Create authorization entries using Hyper-V Manager
Open Hyper-V Manager. (From Server Manager, click Tools > Hyper-V Manager.)
From the list of hosts, right-click the one you want, then click Hyper-V Settings.
In the navigation pane, click Replication Configuration.
Under Authorization and storage, click Allow replication from the specified servers.
Below the list of servers, click Add.
Under Add Authorization Entry:
Type the fully qualified name of the first server.
Specify a dedicated location to store only that server's files.
Click OK.
Repeat for each primary server.
Click OK again to finish and close the window.
Create authorization entries using Windows PowerShell
Open Windows PowerShell. (From the desktop, click Start and start typing Windows PowerShell.)
Right-click Windows PowerShell and click Run as administrator.
Run a command similar to the following, replacing:
The primary server name of server01.domain01.contoso.com with the fully qualified domain name of your server.
The location of D:\ReplicaVMStorage with your location.
The trust group named DEFAULT with name of your group, if you've created one. If not, use DEFAULT.
New-VMReplicationAuthorizationEntry server01.domain01.contoso.com D:\ReplicaVMStorage DEFAULT
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for