CDP tasks can be switched between tracking-only mode and normal mode.
Procedure
Switch by the task ID:
zbs-cdp job enter_tracking_only <id> [options]Switching by the local volume ID:
zbs-cdp job enter_tracking_only_by_volume <volume_id> [options]Parameter description
| Parameter | Description |
|---|---|
id | The task ID. |
volume_id | The local volume ID. |
--sync / --no-sync | Optional. Specifies whether to wait synchronously until the task is switched. Default: True. |
-v / --version <VER> | Optional. Specifies the CDP protocol version (v1 or v2). |
Output example
zbs-cdp job enter_tracking_only c0bb7d91-e74b-434c-98e2-00c57e8bb93fOutput note
If the command succeeds, no output is displayed.
Procedure
Run the following command on any node in the cluster:
zbs-cdp job enter_tracking_only_by_group <group> [options]Parameter description
| Parameter | Description |
|---|---|
group | The CDP task group name. |
--sync / --no-sync | Optional. Specifies whether to wait synchronously until the task group is switched. Default: True. |
-v / --version <VER> | Optional. Specifies the CDP protocol version (v1 or v2). |
Output example
zbs-cdp job enter_tracking_only c0bb7d91-e74b-434c-98e2-00c57e8bb93fOutput note
If the command succeeds, no output is displayed.
Exiting tracking-only mode switches the tasks back to normal mode, and normal data replication resumes.
Procedure
Exit by the task ID:
zbs-cdp job exit_tracking_only <id> [options]Exiting by the local volume ID:
zbs-cdp job exit_tracking_only_by_volume <volume_id> [options]Parameter description
| Parameter | Description |
|---|---|
id | The task ID. |
volume_id | The local volume ID. |
--sync / --no-sync | Optional. Specifies whether to wait synchronously until the mode is exited. Default: True. |
-v / --version <VER> | Optional. Specifies the CDP protocol version (v1 or v2). |
Output example
zbs-cdp job exit_tracking_only c0bb7d91-e74b-434c-98e2-00c57e8bb93fOutput note
If the command succeeds, no output is displayed.
Batch exiting tracking-only mode switches all CDP tasks in the specified CDP task group from tracking-only mode to normal mode.
Procedure
Run the following command on any node in the cluster:
zbs-cdp job exit_tracking_only_by_group <group> [options]Parameter description
| Parameter | Description |
|---|---|
group | The CDP task group name. |
--sync / --no-sync | Optional. Specifies whether to wait synchronously until the mode is exited. Default: True. |
-v / --version <VER> | Optional. Specifies the CDP protocol version (v1 or v2). |
Output example
zbs-cdp job exit_tracking_only c0bb7d91-e74b-434c-98e2-00c57e8bb93fOutput note
If the command succeeds, no output is displayed.