HP 3PAR Command Line Interface Reference (OS 3.1.2 MU2) (QL226-97016, June 2013)

creatercopygroup
DESCRIPTION
The creatercopygroup command creates a Remote Copy volume group.
SYNTAX
creatercopygroup [options] <group_name> [<target_name>:<mode> ...]
AUTHORITY
Super, Edit
Any role that is granted the rcopygroup_create right.
OPTIONS
-domain <domain>
Creates the Remote Copy group in the specified domain. The volume group must be created by a
member of a particular domain with Super or Edit privileges.
-usr_cpg <cpg_name> <target_name>:<cpg_name>...
Specifies the local user CPG and target user CPG that will be used for volumes that are auto-created.
The local CPG will only be used after failover and recovery.
-snp_cpg <cpg_name> <target_name>:<cpg_name>...
Specifies the local snap CPG and target snap CPG that will be used for volumes that are
auto-created. The local CPG will only be used after failover and recovery.
SPECIFIERS
<group_name>
Specifies the name of the volume group, using up to 22 characters if the mirror_config policy
is set, or up to 31 characters otherwise. This name is assigned with this command.
[<target_name>:<mode>...]
In a Synchronous Long Distance Remote Copy setup, this specifier is required for every target of
the group. This specifier can be repeated to specify multiple targets.
<target_name> - Specifies the target name associated with this group. This name should
have already been assigned using the creatercopytarget command.
<mode> - Specifies that the mode of the created group is either kept in synchronization at all
times (sync) or synchronized only periodically (periodic), either on command or by setting an
automatic resynchronization period through the setrcopygroup command.
RESTRICTIONS
This command requires the HP 3PAR Remote Copy Software license. Contact your local service
provider for more information.
EXAMPLES
The following example creates an asynchronous periodic mode volume group named Group1
whose target system is System2 (target name System2_out):
cli% creatercopygroup Group1 System2_out:periodic
creatercopygroup 127