Command Reference Guide

creatercopytarget
DESCRIPTION
The creatercopytarget command creates a Remote Copy target definition.
SYNTAX
The syntax for the creatercopytarget command can be one of the following:
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 need access to all domains in order 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 primary system’s Ethernet ports 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
creatercopytarget 129