HP 3PAR OS 3.1.3 Command Line Interface Reference

removercopytarget
DESCRIPTION
The removercopytarget command removes target designation from a remote-copy system and
removes all links affiliated with that target definition.
SYNTAX
removercopytarget [options] <target_name>
AUTHORITY
Super, Edit
Any role granted the rcopytarget_remove right.
NOTE: You must have access to all domains to run this command.
OPTIONS
-cleargroups
Remove all groups that have no other targets or dismiss this target from groups with additional
targets. All groups that contain this target must be stopped before the -cleargroups command
can be issued.
-f
Do not ask for confirmation when -cleargroups is specified.
SPECIFIERS
<target_name>
The target name for the target definition to be removed.
RESTRICTIONS
This command requires the HP 3PAR Remote Copy Software license. Contact your local service
provider for more information.
A target definition cannot be deleted if it is being used by any group.
EXAMPLES
The following example removes targets System1 and System2 from the primary and backup
systems in a remote-copy pair:
# removercopytarget System1
# removercopytarget System2
NOTES
None
removercopytarget 227