Procedure
Run the following command on any node in the cluster:
End by the task ID:
zbs-cdp job finish <id> [options]End by the local volume ID:
zbs-cdp job finish_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 ended. Default: True. |
-v / --version <VER> | Optional. Specifies the CDP protocol version (v1 or v2). |
Output example
End by the task ID:
zbs-cdp job finish 1 -v v2End by the local volume ID:
zbs-cdp job finish_by_volume 1 -v v2Output note
If the command succeeds, no output is displayed. If the execution fails, an error message will be displayed.
Batch ending CDP tasks means ending all CDP tasks in a CDP task group.
Procedure
Run the following command on any node in the cluster:
zbs-cdp job finish_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 ended. Default: True. |
-v / --version <VER> | Optional. Specifies the CDP protocol version (v1 or v2). |
Output example
zbs-cdp job finish_by_group group1 -v v2Output note
If the command succeeds, no output is displayed. If the execution fails, an error message will be displayed.