beautypg.com

Synchronous replication – American Megatrends MAN-STOR-ITX27-CLI User Manual

Page 36

background image

StorTrends® iTX Software CLI (Command Line Interface) (Version 2.7) User’s Guide

30

Synchronous replication


These commands configure synchronous replication and High Availability using Windows DSM
(iTX 2.7v 2.x).

Command

Argument

Description

create syncreplica

–l/--local < cont_vol_name>
-r/--remote < cont_vol_name>
-p/--priority
-i/--localhost
-m/--remotehost
-d/--mode [sync | ha]
Example: replication in local volumes
create -l c0_v0 -r c1_v1 -p 50 -i 172.16.70.70 -d
sync -m local syncreplica

Example: HA in remote volumes
create -l c0_v0 -r c1_v1 -p 50 -i 172.16.70.70 -m
172.16.70.102 –d ha syncreplica

Creates a replication pair. Both the
primary and secondary volumes
should be present before this
operation.
For local volume copy, please enter
remote host as “local”. All other
parameters remain same. Default
resync priority is zero.
Specify sync for –d/--mode option
to create a synchronous replication
pair; specify ha for –d/--mode
option to create an high-availability
pair.
NOTE: management target name
for SR is the name of the virtual
target, as opposed to mtarget in
earlier versions (2.5/2.6)
.

update syncreplica

–l/--local < cont_vol_name>
-p/--priority
-m/--remotehost
-x/--xmlflag

For example: update -l c0_v0 -p 50 -m
172.16.70.102 -x syncreplica

Updates the given parameters of
the volpair in DDF and in module.

get syncreplica

-l/--local
For example: get –l c0_v0 syncreplica

Displays the replication details as
available from DDF as well as
runtime.

list syncreplica

-c/--container
For example: list –c c0 syncreplica

Lists available replication pairs in
the given container.

delete syncreplica

-l/--local < cont_vol_name >
-f/--force (optional)

Deletes the given synchronous
replication pair. Note : Use --force
to clean up non-operational pair
locally.

split syncreplica

-l/--local

Temporarily stops replication of
the replication pair. But at a later
time, the replication can be joined
to replicate from the place where it
stopped.

join syncreplica

-l/--local

Manually joins or resync the
replication on the given
consistency group that was split
earlier. Also, this command should
be used to initiate a failback
resync.

perform syncreplica

-t/--type {failover}
-l/--local

Initiates failover on the given
consistency group. This command
has to be given in the secondary
target. All further I/Os will be
fielded by the secondary from now
on.

perform syncreplica

-t/--type {failback}
-l/--local
For example: perform –t failback –l c0_v0
syncreplica

This will reinstate the initial
primary to start fielding I/Os after a
successful failback. Resync has to
be completed before activating the
failback.