American Megatrends MAN-STOR-ITX27-CLI User Manual
Page 37

Chapter Two: Command Set
31
High Availability (iTX27 v3.x and up )
These commands configure High Availability which is OS Agnostic
Command
Argument
Description
syncparams
syncreplica
-r/--remoteip < remote ipaddress >
-x/--xmlflag
For example:
syncparams -r 172.16.70.148 syncreplica
Syncparams is used to sync the
iscsi base target names/date and
time between local and remote
machines before creating an HA
pair.
This command has to be executed
in the Primary machine before
creating the first RG between two
iTX machine.
managerg syncreplica
-t/--type
-n/--rgname
-a/--alias
-r/--remoteip
-v/--vipaddress
-l/--local
-f/--force
-x/--xmlflag
For example:
managerg -t create -n rg0 -a Alias-1 -a Alias-2 -r
172.16.70.146 -l 172.16.70.176 syncreplica
managerg -t get syncreplica
managerg -t delete -n rg0 syncreplica
managerg -t editalias -n rg0 -v 172.16.70.10 -a
Alias-1 syncreplica
managerg -t addalias -n rg0 -a Alias-2 syncreplica
managerg -t removealias -n rg0 -a Alias-2
syncreplica
managerg -t changeowner -n rg0 syncreplica
managerg -t forcetakeover -n rg0 syncreplica
Managerg command is used to
manage and configure Resource
Group. Action denotes the
operation to be perfomed on the
RG
This command is also used to
add/remove/edit virtual IP
configured for a specific RG.
Note: Atleast one VIP should be
present for an RG.
This command is also used the
change the original ownership of
an RG.
--forcetakeover option can be used
to takeover the RG forcefully if the
RG is in an inconsistent state but
this may result in data corruption.
--force option is used to delete an
non operational RG forcefully if
remote is dead.
create syncreplica
–l/--local < cont_vol_name>
-r/--remote < cont_vol_name>
-p/--priority
-i/--localhost
-m/--remotehost
-d/--mode [hanodsm]
-g/--rgname
Example: HA NO DSM replication in remote
volumes
create -l c0_v0 -r c1_v1 -p 50 -i 172.16.70.70 -d
hanodsm -m 172.16.70.1
02 -t iqn.1991-
10.com.ami:itx00c09f2164459104:virtual -g rg0
syncreplica
Creates a replication pair. Both the
primary and secondary volumes
should be present before this
operation.
Default resync priority is 25.
Specify sync for –d/--mode option
to create a synchronous replication
pair; specify hanodsm for –d/--
mode option to create an high-
availability pair.
update syncreplica
–l/--local < cont_vol_name>
-p/--priority
-m/--remotehost
Updates the given parameters of
the volpair in DDF and in module.