HP 3PAR OS 3.1.3 Command Line Interface Reference

creatercopygroup
DESCRIPTION
The creatercopygroup command creates a remote-copy volume group.
SYNTAX
creatercopygroup[options] <group_name>
<target_name>:<mode>[<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> - Specifies the target name associated with this group. This name should have
already been assigned using the creatercopytarget command. The <target_name>:<mode>
pair can be repeated to specify multiple targets.
<mode> - Specifies that the mode of the created group, the available modes are:
sync — synchronous replication
periodic — asynchronous streaming replication
The <target_name>:<mode> pair can be repeated to specify multiple targets. Please refer to
the remote copy users guide for a detailed description of each operating mode.
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
116 Create Commands