Operating System Software Owner manual

creatercopygroup
NAME
creatercopygroup -- The creatercopygroup command creates a Remote Copy volume
group.
SYNTAX
creatercopygroup [options] <group_name> [<target_name>:<mode>...]
AUTHORITY
Super, Edit
Any role 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.
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 further information.
EXAMPLES
The following example creates an asynchronous periodic mode volume group named Group1whose
target system is System2 (target name System2_out):
creatercopygroup Group1 System2_out:periodic
If using domains, the syntax would appear as:
creatercopygroup -domain domain2 Group1 System2_out:periodic
NOTES
If the mirror_config policy is set for this group's target and the group is a primary group,
then the creatercopygroup command will be mirrored to the target and a corresponding
secondary volume group will also be created. The secondary group uses the same group
name with .r<Sys ID> added as a suffix, for example .r129 for System 1000129. If the
238 The Remote Copy Commands