American Megatrends MAN-STOR-ITX27-CLI manual Synchronous replication

Page 36

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>

Creates a replication pair. Both the

 

-r/--remote < cont_vol_name>

primary and secondary volumes

 

-p/--priority <resync priority>

should be present before this

 

-i/--localhost <primary's IP address>

operation.

 

-m/--remotehost <rem host name>

For local volume copy, please enter

 

-d/--mode [sync ha]

remote host as “local”. All other

 

Example: replication in local volumes

parameters remain same. Default

 

create -l c0_v0 -r c1_v1 -p 50 -i 172.16.70.70 -d

resync priority is zero.

 

sync -m local syncreplica

Specify sync for –d/--mode option

 

 

to create a synchronous replication

 

Example: HA in remote volumes

pair; specify ha for –d/--mode

 

create -l c0_v0 -r c1_v1 -p 50 -i 172.16.70.70 -m

option to create an high-availability

 

172.16.70.102 –d ha syncreplica

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>

Updates the given parameters of

 

-p/--priority <resync priority>

the volpair in DDF and in module.

 

-m/--remotehost <rem host name>

 

 

-x/--xmlflag <xml flag>

 

 

For example: update -l c0_v0 -p 50 -m

 

 

172.16.70.102 -x syncreplica

 

get syncreplica

-l/--local <local-primary cont_vol_name>

Displays the replication details as

 

For example: get –l c0_v0 syncreplica

available from DDF as well as

 

 

runtime.

list syncreplica

-c/--container <container name>

Lists available replication pairs in

 

For example: list –c c0 syncreplica

the given container.

delete syncreplica

-l/--local < cont_vol_name >

Deletes the given synchronous

 

-f/--force (optional)

replication pair. Note : Use --force

 

 

to clean up non-operational pair

 

 

locally.

split syncreplica

-l/--local <local-primary cont_vol_name>

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 <cont_vol_name>

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}

Initiates failover on the given

 

-l/--local <cont_vol_name>

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}

This will reinstate the initial

 

-l/--local <cont_vol_name>

primary to start fielding I/Os after a

 

For example: perform –t failback –l c0_v0

successful failback. Resync has to

 

syncreplica

be completed before activating the

 

 

failback.

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

Image 36 Contents
MAN-STOR-ITX27-CLI 06/07/2010 Revision History Preface Table of Contents Limited Warranty Limitations of LiabilityTechnical Support Disclaimer Accessing CLI PrefaceOverview of CLI Initial Setup NIC-1Volume Configuration This will list the available RAID LD’s present in the systemPage Similarly a SAN volume can be created as follows To create a target, use the following commandsThen, to enable the target, use the syntax below Next step is to activate a port for iSCSI trafficCommand Set ChapterFor example To find out how the show command works, type CLIshow -h EnterAlert Configuration These commands configure the way alerts are generatedDate/Time Configuration Domain ConfigurationThese commands configure the time zone and date Event log Commands These commands display or clear the event logFirewall Configuration These commands configure the network firewall optionsGeneral Server Configuration Health ConfigurationThese commands get the health information ISCSI Configuration Command Argument Description License configuration These commands configure the LicenseNetwork Controller Configuration NAS Quota Configuration NAS User / Group Configuration List retrieved will be given for both instead of singlyFor exmaple set -t user -u test1 -p test1 -f Test1 ug Protocol Configuration RAID & Disk Management Commands Command Argument Description Upgrades the firmware for a Share, Directory & ACL Configuration These commands work on NAS shares and directoryLevel for NT System Control Configuration Volume and Snapshot Commands These commands configure the System controls 3provisiontype 0-ThinCommand Argument Description Command Argument Description UPS Configuration These commands configure the UPS for power managementXml For example update -l c0v0 -p 50 -m Syncreplica Synchronous replicationFor example For example Update -l c0v0 -p 50 -m 172.16.70.102 Update -l c0v0 -g rg0 syncreplicaThese commands configure asynchronous replication Asynchronous ReplicationUtilization bandwidth utilization Command Argument Description Failedduetorollback Command Argument Description Command Argument Description Command Argument Description Journal Volume Management These commands configure a journal and journal fileExample Example Get -t journalfile -c Cont0 -f jf0 journalPage Recovery Wizard These commands are to view cdp for journal fileThese commands are used as part of recovery wizard Continuous Data ProtectionThese commands are used as part of SRM Storage Resource ManagementList the tasks in report, pending Workflow queueThese commands are used as part of snap validation Local and Replicated Snapshot validationPage Appendix a Error Codes Code 175 Error in mounting the share 338 License file read write error Code Code Code Code Description Code Description Code Description