Replication Authority Modify

Modifies an authorization entry on a Replica server.

Input Parameters

Name Type Required Description
Current Primary Server String Yes Specifies the allowed primary server of the authorization entry to be modified.
Current Replica Storage Folder String Yes Specifies the location to store the Replica virtual hard disk files from the allowed server when a new Replica virtual machine is created. Modifying this location does not affect any existing virtual hard disk files on the Replica server.
Current 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).

New Replica Storage Folder String Yes Specifies the new location to store the Replica virtual hard disk files from the allowed server when a new Replica virtual machine is created. Modifying this location does not affect any existing virtual hard disk files on the Replica server.
New Trust Group Name String Yes

Identifies a new 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
Current Primary Server Name String Yes server01.domain01.contoso.com
Current Replica Storage Folder String Yes D:\ReplicaVMStorage
Current Trust Group Name String No Default
New Replica Storage Folder String No E:\ReplicaVMStorage
New Trust Group Name String No Replication