HP 3PAR OS 3.1.3 Command Line Interface Reference

creatercopytarget
DESCRIPTION
The creatercopytarget command creates a remote-copy target definition.
SYNTAX
Syntax for remote copy over IP (RCIP) is as follows:
creatercopytarget [options] <target_name> IP
[<node:slot:port:IP_address>]...
Syntax for remote copy over Fibre Channel (RCFC) is as follows:
creatercopytarget [options] <target_name> FC <node_WWN>
[<node:slot:port:WWN>]...
AUTHORITY
Super, Edit
Any role that is granted the rcopytarget_create right.
NOTE: You must have access to all domains to run this command.
OPTIONS
-disabled
Create the target in disabled mode.
SPECIFIERS
<target_name>
The name of the target definition to be created, specified by using up to 23 characters.
<node_WWN>
The node's World Wide Name (WWN) on the target system (Fibre Channel target only).
[<node:slot:port:IP_address>]...
Specifies the node, slot, and port of the Ethernet port on the local system and an IP address of the
peer port on the target system. This specifier can be repeated.
[<node:slot:port:WWN>]...
Specifies the node, slot, port of the Fibre Channel adaptor port on the primary system and World
Wide Name (WWN) of the peer port on the target system. This specifier can be repeated.
RESTRICTIONS
Functionality of this command requires the HP 3PAR Remote Copy license. Contact your local
service provider for more information.
EXAMPLES
The following example creates a target definition named System2 on the primary system, where
the node numbers of the Ethernet ports on the primary system are located at 0:3:1 and 1:3:1,
and the corresponding IP addresses on the backup system are 10.1.1.11 and 10.1.2.11:
# creatercopytarget System2 IP 0:3:1:10.1.1.11 1:3:1:10.1.2.11
118 Create Commands