rmreplicationpolicy

Use the rmreplicationpolicy command to delete a replication policy.

Syntax

Read syntax diagramSkip visual syntax diagram rmreplicationpolicy replication_policy_namereplication_policy_idreplication_policy_uuid

Parameters

replication_policy_name | replication_policy_id | replication_policy_uuid
(Mandatory) Specifies the name or ID or UUID of the replication policy to be removed.
Note:
  • A replication policy can only be removed when it is not associated with any volume group.
  • If the remote system is accessible, the command removes the policy from the remote system.
  • If the remote system is not connected, the replication policy is removed from the remote system when the systems are reconnected.
  • A replication policy cannot be removed if it is assigned to a partition.
Note: This command is available during the upgrade process.
When using the partition IP address to run this command, consider the following:
  • The user must identify objects using the name or UUID. Short IDs cannot be specified when using the partition IP address.
  • Only objects belonging to the partition can be created or acted upon. When creating new objects, the -partition parameter will be auto-populated for the partition. You cannot move items out of a partition when using the partition IP address.

An invocation example to remove a replication policy

rmreplicationpolicy replicationpolicy5

The resulting output:

No feedback.