Replication Authority Entry Addition

Creates a new authorization entry that allows one or more primary servers to replicate data. To use this cmdlet, the value of the ReplicationAllowedFromAnyServer property of the Replica server must be false. You can use the Get-VMReplicationServer cmdlet to check the value of this property.

Input Parameters

Name Type Required Description
Primary Server String Yes Specifies the server that is allowed to send replication data to the Replica server. Only fully-qualified domain names and fully qualified international domain names are supported. You can use a wildcard (for example, “*”) in the first octect to specify a fully qualified domain name, such as *.contoso.com.
Replication Data Local Storage Folder String Yes Specifies the location to store the Replica virtual hard disk files sent from the allowed server when a new Replica virtual machine is created.
Trust Group Name String Yes

Identifies a group of primary servers within which a given primary virtual machine can move so replications of the primary virtual machine are accepted by the Replica server only from primary servers that belong to the trust group. You can use any string to create a new trust group. Ensure all primary servers within a specific trust group use the same string as the value you specify for this parameter.

Use of a trust group can help you keep virtual machines isolated by maintaining control over which primary servers are trusted to provide replication, while also allowing the virtual machines to move from one primary server to another (such as through live migration or failover from a cluster node).

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Primary Server String Yes server01.domain01.contoso.com
Replication Data Local Storage Folder String Yes D:\ReplicaVMStorage
Trust Group Name Boolean No Default