CreateTopology method of the MSFT_WvrAdminTasks class
Creates replication groups and a new replication partnership.
Syntax
uint32 CreateTopology(
[in] string PartnershipId,
[in] string SourceComputerName,
[in] string SourceRGName,
[in] string SourceRGDescription,
[in] string SourceVolumeName[],
[in] string SourceLogVolumeName,
[in] string DestinationComputerName,
[in] string DestinationRGName,
[in] string DestinationRGDescription,
[in] string DestinationVolumeName[],
[in] string DestinationLogVolumeName,
[in] uint64 LogSizeInBytes,
[in] uint32 ReplicationMode,
[in] boolean PreventReplication,
[in] boolean Seeded,
[in] uint32 AsyncRPO,
[in] boolean EnableConsistencyGroups,
[in] boolean EnableEncryption,
[out] MSFT_WvrReplicationPartnership Output[]
);
Parameters
-
PartnershipId [in]
-
The partnership ID.
-
SourceComputerName [in]
-
The FQDN or NetBIOS name of the source computer.
-
SourceRGName [in]
-
The name of the source replication group.
-
SourceRGDescription [in]
-
The description of the source replication group.
-
SourceVolumeName [in]
-
The source volume name.
-
SourceLogVolumeName [in]
-
The source log volume name.
-
DestinationComputerName [in]
-
The FQDN or NetBIOS name of the destination computer.
-
DestinationRGName [in]
-
The name of the destination replication group.
-
DestinationRGDescription [in]
-
The description of the destination replication group.
-
DestinationVolumeName [in]
-
The destination volume name.
-
DestinationLogVolumeName [in]
-
The destination log volume name.
-
LogSizeInBytes [in]
-
The size of the log file in Bytes.
-
ReplicationMode [in]
-
Whether the replication is performed synchronously or asynchronously.
The possible values are.
-
Sync (1)
-
Async (2)
PreventReplication [in]
true to prevent replication.
Seeded [in]
TBD
AsyncRPO [in]
TBD
EnableConsistencyGroups [in]
true to enable consistency groups.
EnableEncryption [in]
true to enable encryption; otherwise, false.
Output [out]
Returns the resulting MSFT_WvrReplicationPartnership embedded instance.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\StorageReplica |
Header |
|
MOF |
|
DLL |
|