Changing the RPO for local/remote system
Use the mirror_change_rpo command to change local/remote RPO for a mirror relation.
mirror_change_rpo <vol=VolName | cg=cgName> [ target=TargetName ] [ rpo=rpo ] [ remote_rpo=rpo ]
Parameters
| Name | Type | Description | Mandatory | Default |
|---|---|---|---|---|
| vol | Object name | Local volume name. Must be specified if the command concerns a volume. |
N | N/A |
| cg | Object name | CG name on the local system. | N | N/A |
| target | Object name | Target name of the mirror, mandatory if there are 2 mirrors defined on the volume. | N | [none] |
| remote_rpo | Integer | RPO on remote system. | N | [Unchanged] |
| rpo | Integer | RPO on local system. | N | [Unchanged] |
- The command must be run on the master
- The RPO must be greater than the interval
- The link has to be up
Example:
mirror_change_rpo vol=volname rpo=100
Access control
| User Category | Permission |
|---|---|
| Storage administrator | Allowed |
| Application administrator | Disallowed |
| Security administrator | Disallowed |
| Read-only users | Disallowed |
| Operations administrator | Disallowed |
| Host side accelerator client | Disallowed |
Return codes
- VOLUME_BAD_NAME
Volume name does not exist.
- CONS_GROUP_NO_MIRROR
Local consistency group does not have remote mirroring definitions.
- ASYNC_MIRROR_REMOTE_RPO_TOO_SHORT
Specified remote RPO is too short.
- ASYNC_MIRROR_RPO_TOO_LONG
Specified RPO is too long.
- TARGET_NOT_CONNECTED
There is currently no connection to the target system.
- VOLUME_NO_MIRROR
Local volume does not have remote mirroring definitions.
- CONS_GROUP_BAD_NAME
Consistency group name does not exist.
- ASYNC_MIRROR_RPO_TOO_SHORT
Specified RPO is too short.
- VOLUME_BELONGS_TO_MIRRORED_CONS_GROUP
Volume mirror is part of consistency group mirror.
- INTERVAL_SHOULD_BE_SHORTER_THAN_RPO
Schedule interval must be shorter than the RPO.
The newly defined schedule has to be shorter than the RPO.
- ASYNC_MIRROR_REMOTE_RPO_TOO_LONG
Specified remote RPO is too long.
- LOCAL_IS_SLAVE
Local mirror peer is not the master.
- SYNC_MIRROR_HAS_NO_RPO
Synchronous mirror does not have an RPO.
- TARGET_BAD_NAME
Target name does not exist.
- VOLUME_HAS_MULTIPLE_MIRRORS
volume has multiple mirrors, operation not allowed or target must be specified.
- VOLUME_TARGET_MISMATCH
Volume and target do not match.
- CONS_GROUP_BAD_TARGET
Target name does not match the consistency group.
- MIRROR_IS_STANDBY
Mirror is marked as standby.