API Doc
Search Docs...
⌘ K
OverviewDeploymentManagementOperationReferenceGlossary
    ACOS 6.3.0
  • Arcfra Cloud Operating System>
  • CLI command>
  • Managing cluster internal I/Os>
  • Managing data migration and recovery

Managing tasks

Overview of recovery and migration tasks in the cluster

Procedure

Run the following command on any node in the cluster to display an overview of recovery and migration tasks:

zbs-meta reposition summary [--chunk_id <CHUNK_ID>]

Parameter description

ParameterDescription
--chunk_id <CHUNK_ID>Optional. Specifies whether to view the information about the specified node.

Output example

chunk ID    Cap Src    Cap Replace    Cap Dst    Perf Src    Perf Replace    Perf Thin Dst    Perf Thick Dst
----------  ---------  -------------  ---------  ----------  --------------  ---------------  ----------------
    1          0              0          0           0               0                0                 0
    2          0              0          0           0               0                0                 0
    3          0              0          0           0               0                0                 0
    4          0              0          0           0               0                0                 0

Output note

ParameterDescription
Chunk IDThe chunk ID of the node.
Cap SrcThe number of recovery and migration tasks with this node as the source in the capacity tier.
Cap ReplaceThe number of recovery and migration tasks with this node as the replacement in the capacity tier.
Cap DstThe number of recovery and migration tasks with this node as the destination in the capacity tier.
Perf SrcThe number of recovery and migration tasks with this node as the source in the performance tier.
Perf ReplaceThe number of recovery and migration tasks with this node as the replacement in the performance tier.
Perf Thin DstThe number of non-pinned recovery and migration tasks with this node as the destination in the performance tier.
Perf Thick DstThe number of pin-in-performance-tier recovery and migration tasks that use this node as the destination.

Viewing details of recovery and migration tasks in the cluster

Procedure

Run the following command on any node in the cluster to display detailed information about recovery and migration tasks:

zbs-meta reposition show

Output example

1. Recover Manager params:
Reposition thread wakeup interval: 4s
Current generate cmds per round limit: 1024
Current cap distribute cmds per chunk limit: 128
Current perf distribute cmds per chunk limit: 256

1.1 Recover params:
Recover enable: True
Recover scan interval: 60s

1.2 Migrate params:
Migrate enable: True
Migrate scan interval: 120s
Perf thick ratio: 0.722, load: LOAD_HIGH
Perf thin  ratio: 0.494, load: LOAD_LOW
Cap        ratio: 0.346, load: LOAD_LOW

2. Recover Handler params:
Reposition mode: REPOSITION_STATIC
Max cap reposition concurrency limit: 64
Max perf reposition concurrency limit: 128

Static cap reposition concurrency limit: 16
Static perf reposition concurrency limit: 32

Owner Cid 1 Reposition Concurrency Info
  Cmd Cid    Cur Cap Concurrency    Cur Cap Concurrency Limit    Cur Perf Concurrency    Cur Perf Concurrency Limit
---------  ---------------------  ---------------------------  ----------------------  ----------------------------
        1                      0                           16                      32                            32
        2                      0                           16                      32                            32
        3                      0                           16                       0                            32
        4                      0                           16                       0                            32

Owner Cid 2 Reposition Concurrency Info
  Cmd Cid    Cur Cap Concurrency    Cur Cap Concurrency Limit    Cur Perf Concurrency    Cur Perf Concurrency Limit
---------  ---------------------  ---------------------------  ----------------------  ----------------------------
        1                      0                           16                       0                            32
        2                      0                           16                       0                            32
        3                      0                           16                       0                            32
        4                      0                           16                       0                            32

Owner Cid 3 Reposition Concurrency Info
  Cmd Cid    Cur Cap Concurrency    Cur Cap Concurrency Limit    Cur Perf Concurrency    Cur Perf Concurrency Limit
---------  ---------------------  ---------------------------  ----------------------  ----------------------------
        1                      0                           16                       0                            32
        3                      0                           16                       0                            32

Owner Cid 4 Reposition Concurrency Info
  Cmd Cid    Cur Cap Concurrency    Cur Cap Concurrency Limit    Cur Perf Concurrency    Cur Perf Concurrency Limit
---------  ---------------------  ---------------------------  ----------------------  ----------------------------
        1                      0                           16                      15                            32
        2                      0                           16                      15                            32
        3                      0                           16                       0                            32
        4                      0                           16                       0                            32

Output note

ParameterDescription
Reposition thread wakeup intervalThe interval at which meta recovery and migration threads wake up.
Current generate cmds per round limitThe maximum number of recovery and migration commands generated per round.
Current cap distribute cmds per chunk limitThe maximum number of capacity tier recovery and migration commands generated per chunk.
Current perf distribute cmds per chunk limitThe maximum number of performance tier recovery and migration commands generated per chunk.
Recover scan intervalThe interval for data recovery scans.
Migrate scan intervalThe interval for data migration scans.
Perf thick loadThe load level of pin-in-performance-tier tasks in the performance tier.
Perf thin loadThe load level of non-pinned tasks in the performance tier.
Cap loadThe load threshold in the capacity tier.
Reposition modeThe current mode for concurrency limits of recovery and migration tasks (static/dynamic).
Max cap reposition concurrency limitThe maximum concurrency for recovery and migration tasks in the capacity tier.
Max perf reposition concurrency limitThe maximum concurrency for recovery and migration tasks in the performance tier.
Static cap reposition concurrency limitThe concurrency limit for recovery and migration tasks in the capacity tier under static mode.
Static perf reposition concurrency limitThe concurrency limit for recovery and migration tasks in the performance tier under static mode.
Cur Cap ConcurrencyThe current concurrency of recovery and migration tasks in the capacity tier.
Cur Cap Concurrency LimitThe current concurrency limit of recovery and migration tasks in the capacity tier.
Cur Perf ConcurrencyThe current concurrency of recovery and migration tasks in the performance tier.
Cur Perf Concurrency LimitThe current concurrency limit of recovery and migration tasks in the performance tier.

Modifying recovery and migration settings in the cluster

Procedure

Run the following command on any node in the cluster to modify the settings of recovery and migration tasks:

zbs-meta reposition update [--mode <MODE>] [--static_cap_reposition_concurrency_limit <STATIC_CAP_REPOSITION_CONCURRENCY_LIMIT>] [--static_perf_reposition_concurrency_limit <STATIC_PERF_REPOSITION_CONCURRENCY_LIMIT>] [--static_generate_cmds_per_round_limit <STATIC_GENERATE_CMDS_PER_ROUND_LIMIT>] [--static_cap_distribute_cmds_per_chunk_limit <STATIC_CAP_DISTRIBUTE_CMDS_PER_CHUNK_LIMIT>] [--static_perf_distribute_cmds_per_chunk_limit <STATIC_PERF_DISTRIBUTE_CMDS_PER_CHUNK_LIMIT>]

Parameter description

ParameterDescription
--mode <MODE>Optional. Changes the concurrency limit mode: 0 = dynamic, 1 = static.
--static_cap_reposition_concurrency_limit <STATIC_CAP_REPOSITION_CONCURRENCY_LIMIT>Optional. Changes the maximum concurrency for recovery and migration tasks in the capacity tier under static mode.
--static perf reposition concurrency limit <STATIC_PERF_REPOSITION_CONCURRENCY_LIMIT>Optional. Changes the maximum concurrency for recovery and migration tasks in the performance tier under static mode.
--static_generate_cmds_per_round_limit <STATIC_GENERATE_CMDS_PER_ROUND_LIMIT>Optional. Specifies the maximum number of recovery and migration commands generated per round.
--static_cap_distribute_cmds_per_chunk_limit <STATIC_CAP_DISTRIBUTE_CMDS_PER_CHUNK_LIMIT>Optional. Specifies the maximum number of capacity tier recovery and migration commands generated per chunk.
--static_perf_distribute_cmds_per_chunk_limit <STATIC_PERF_DISTRIBUTE_CMDS_PER_CHUNK_LIMIT>Optional. Specifies the maximum number of performance tier recovery and migration commands generated per chunk.

Output note

If the command succeeds, no output is displayed.