You are here: DataKeeper > Administration > Using DKPwrShell with SIOS DataKeeper > New-DataKeeperMirror

New-DataKeeperMirror

This cmdlet is used to create a new DataKeeper mirror. Mirrors created with this cmdlet will be visible in the DataKeeper SnapIn (Reports > Server Overview). If a job exists that includes information that matches this mirror (systems, IP Addresses, Volumes, and Sync Type), the mirror will be displayed in the DataKeeper SnapIn as part of that job.

Parameters

Parameter Type Required Position Notes
SourceIP String Yes 0 IP address on the source to be used for DataKeeper mirror data.
SourceVolume String Yes 1 The source volume to mirror.
TargetIP String Yes 2 IP address on the target to be used for DataKeeper mirror data.
TargetVolume String Yes 3 The target volume to become the mirror target. If not specified it will be the same volume indicated by the SourceVolume parameter.
SyncType String Yes 4 Valid options are:
Sync - A synchronous mirror
Async - An asynchronous mirror
CreateFlags uint No 5 Optional arguments that specify behavior deviate from the norm. These can be OR'd together to create a set of options (add decimal values. Example: for option 1 + option 2, place a 3 in the command).
1. Create the mirror without doing a full resync operation.
2. Do not wait for the target side of the mirror to be created before returning.

 

Inputs

None

Outputs

An integer value representing the status of the command. 0 means that the command succeeded, any other value is a Windows error code.

NOTE: Both source and target IP addresses must be of the same protocol. A mirror can only be created using two IPV4 or two IPV6 addresses. DataKeeper does not currently support mirror endpoints with different protocols.

 

Example:

New-DataKeeperMirror -SourceIP 10.200.8.55 -SourceVolume E -TargetIP 10.200.8.56 -TargetVolume E -SyncType Async

New-DataKeeperMirror 10.200.8.55 E 10.200.8.56 E Async

NOTE: Disk sector size must match on both source and target volumes. See Sector Size for more information.
of

© 2017 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.