![background image](http://html1.mh-extra.com/html/quantum/dxi-v-series/dxi-v-series_manual_3715194053.webp)
Quantum DXi-Series Command Line Interface (CLI) Guide
6-67081-09 Rev B
February 2014
Replication CLI Commands
43
Adding a Target on a
Source
syscli --add targetrep --hostid <host_id> [--encrypt [--encrypttype
128|256]] --sourceip <source_ip>
This CLI command allows the admin user to add or specify the replication target
IP or hostname of a DXi system for this system as a source. Optionally, the
admin user can specify whether to encrypt the data before replicating and
sending to the target. The user must specify the replication target on this system
before enabling replication for a NAS share.
Note:
The target must be configured to receive replications from this source
before you can add a replication target on this source. At least one VTL
or share should exist on the target. If this is not the case, the user must
log on to the target and run the CLI command syscli
--add sourcerep
to add the source system’s IP or hostname to the target’s list of
replication sources.
Note:
To add multiple targets, run the
syscli --add targetrep
command for
each target.
CLI command options:
•
--add:
Adds a replication target IP or hostname this system will send
replicated data to.
•
--hostid:
Must be a valid IP or hostname
•
--encrypt:
if specified, the encryption is enabled.
•
--encrypttype:
if specified, the encryption type will be either 128 bits or 256
bits encryption.
•
--sourceip:
In the Source IP Address field, enter the IP address that is used
to uniquely identify the source DXi to the target. This may be different than
the actual network IP address of the source DXi. If the target system is at
DXi 2.1 Software or higher, this field is not required. If the target system is
at DXi 2.0.1.x Software or below, then you must enter the IP address by
which the target system recognizes the source system. The default value is
0.0.0.0.
Deleting a Target on the
Source
syscli --del targetrep --hostid <host_id>
This CLI command allows the admin user to delete the given target IP or
hostname as a replication target on this source system. If multiple targets are
configured, you must delete each target separately.
Adding a NAS Target
syscli --add nastarget --name <NAS share name> --target
<host_name_or_ip>
This CLI allows the admin user to add a replication target to the NAS share.
CLI command options:
•
--add
: Add a replication target to the NAS share.