Data Domain:拆分 VTL Mtree 池以实现更高效的复制

Summary: 本文旨在提供一个过程,用于基于 Mtree 分解 VTL 复制池,并在不同的 Mtree 池中分布磁带以提高复制性能

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



目的

复制最佳做法规定,应将工作负载分解为多个上下文。有时,通过使用一个(或几个)大型池在这些最佳做法之外创建 VTL 配置,并且会遇到性能下降的情况。发生这种情况时,Data Domain 支持建议将池分解为多个上下文。


适用对象
  • Data Domain OS 版本 5.2.x 及更高版本

  • 所有 Data Domain 系统
  • VTL的 

Cause

不适用

Resolution


借助基于 Mtree 的 VTL 池,可以在源池之间安全地移动磁带,或将磁带复制到目标池中的另一个池,而不会造成停机。
唯一需要注意的是,在将磁带移动到其他池之前,先在源位置将磁带导出到 Vault 中,以保证在移动时客户端不会访问磁带。
有 2 种不同的方法可以将大型 VTL 池分解为多个小型池:
 
  1. 在不中断现有复制的情况下将源中的磁带移动到新池
主要优点是不需要中断复制。
为了保证复制磁带在目标中始终可用,甚至在同步新的 VTL 池之前,您应将计划在源位置移动的临时池复制副本磁带拷贝到不同的池。
  1. 中断复制,然后将源中的磁带移至新池
主要优点是您只需重命名目标位置的 VTL 池,以保留所有复制带的拷贝。
缺点是需要为所有磁带重新创建复制,即使磁带保留在源处的原始池中也是如此。

为了提供命令示例,我们假设我们有一个大的 VTL 池,名为 Big_Pool,包含 10000 个带有条形码BG0000L5-BG9999L5的磁带,全部导入到 VTL 库中,名为 big_vtl,我们希望将其分解为 10 个 VTL 池,每个池 1000 个磁带。
源 DD 是 DD1,目标 DD 是 DD2。
 
sysadmin@DD1# vtl pool show all
VTL Pools
Pool               Status   Tapes   Size (GiB)   Used (GiB)   Comp
----------------   ------   -----   ----------   ----------   ----
Default            RW           0            0            0     0x
Big_Pool           RW       10000     15000000            0     0x
----------------   ------   -----   ----------   ----------   ----
10000 tapes in 2 pools


sysadmin@DD1# replication show config
CTX   Source                                                 Destination                                           Connection                           Low-bw-optim   Encryption    Enabled   Max-repl-
                                                                                                                   Host and Port                                       (Auth-mode)             streams
---   ----------------------------------------------------   ---------------------------------------------------   ----------------------------------   ------------   -----------   -------   ---------
1     mtree://DD1.localhost/data/col1/Big_Pool               mtree://DD2.localhost/data/col1/Big_Pool              DD2.localhost   (default)            disabled       disabled      yes       32
---   ----------------------------------------------------   ---------------------------------------------------   ----------------------------------   ------------   -----------   -------   ---------
DD System default Max-repl-streams per context: 32

 * Used for recovery only.
 

sysadmin@DD2# vtl pool show all
VTL Pools
Pool                Status         Tapes    Size (GiB)   Used (GiB)   Comp   
-----------------   -----------    -----   ----------   ----------   ----   
Default             RW                 0            0            0     0x   
Big_Pool            RO/RD          10000     15000000            0     0x   
-----------------   -----------    -----   ----------   ----------   ----  
10000 tapes in 2 pools

 RO  : Read Only
 RD  : Replication Destination
 RLGD : Retention-Lock Governance Disabled
 BCM : Backwards-Compatibility

sysadmin@DD2# replication show config
CTX   Source                                                   Destination                                              Connection                                Low-bw-optim   Crepl-gc-bw-optim   Encryption    Enabled   Max-repl- 
                                                                                                                        Host and Port                                                                (Auth-mode)             streams
---   ------------------------------------------------------   ------------------------------------------------------   ---------------------------------------   ------------   -----------------   -----------   -------   ---------  
1     mtree://DD1.localhost/data/col1/Big_Pool                 mtree://DD2.localhost/data/col1/Big_Pool                 DD1.localhost*              (default)*     disabled       disabled            disabled      yes       32         
---   ------------------------------------------------------   ------------------------------------------------------   ---------------------------------------   ------------   -----------------   -----------   -------   ---------  
DD System default Max-repl-streams per context: 32

 * Used for recovery only.


 

  1. 将源中的磁带传输到新池,而不会中断现有复制

 
  1. 根据需要创建任意数量的 VTL 池,以将每个池的磁带数量减少到建议的限制
sysadmin@DD1# vtl pool add Big_Pool_2
VTL pool added.
 
sysadmin@DD1# vtl pool add Big_Pool_3
VTL pool added.

       ...     ...    ...

sysadmin@DD1# vtl pool add Big_Pool_10
VTL pool added.

 

  1. 停止访问导入了磁带的 VTL
  2. 导出属于我们要拆分的池的所有磁带
sysadmin@DD1# vtl export big_vtl slot 1001 count 9000
... exported 9000 tape(s)...
 

  1. 在目标处,创建新的 VTL 临时池
sysadmin@DD2# vtl pool add TEMP-Big_pool
 

  1. 在目标处,将要在源处移动的所有磁带拷贝到 VTL 临时池
sysadmin@DD2# vtl tape copy barcode BG1000L5 count 9000 source Big_Pool destination TEMP-Big_Pool

... copied 9000 tape(s)...
 

  1. 在源中,将磁带移至新的 VTL 池
sysadmin@DD1# vtl tape move barcode BG1000L5 count 1000 source Big_Pool destination Big_Pool_2
... moved 1000 tape(s)...

sysadmin@DD1# vtl tape move barcode BG2000L5 count 1000 source Big_Pool destination Big_Pool_3
... moved 1000 tape(s)...

        ...     ...    ...
 
sysadmin@DD1# vtl tape move barcode BG9000L5 count 1000 source Big_Pool destination Big_Pool_10
... moved 1000 tape(s)...
 

  1. 一段时间后移到不同池的所有磁带都将自动从原始副本池的目标位置删除
  2. 将所有磁带导入到原始 VTL 中
sysadmin@DD1# vtl import big_vtl barcode BG1000L5 count 1000 pool Big_Pool_2
... imported 1000 tape(s)...

sysadmin@DD1# vtl import big_vtl barcode BG2000L5 count 1000 pool Big_Pool_3
... imported 1000 tape(s)...
 
       ...     ...    ...
sysadmin@DD1# vtl import big_vtl barcode BG9000L5 count 1000 pool Big_Pool_10
... imported 1000 tape(s)...
 

  1. 创建新的复制上下文以复制新的 VTL 池
  2. 等待复制初始化完成,然后再允许 VTL 客户端再次访问 VTL
  3. 等待所有复制上下文同步
  4. 在目标处,删除 VTL 临时池中的所有磁带并移除池
 
  1. 中断复制,然后将源中的磁带移至新池

 
  1. 在源和目标处中断复制上下文
sysadmin@DD1# replication break rctx://1
The 'replication break' command irrevocably turns off logical
replication from this mtree.  To reconfigure the mtree
for replication, the destination mtree must not exist,
or, alternatively, 'replication resync' must be used.
	Are you sure? (yes|no) [no]: yes

ok, proceeding.

 

sysadmin@DD2# replication break rctx://1
The 'replication break' command irrevocably turns off logical
replication from this mtree.  To reconfigure the mtree
for replication, the destination mtree must not exist,
or, alternatively, 'replication resync' must be used.
	Are you sure? (yes|no) [no]: yes

ok, proceeding.
 

  1. 重命名目标处的 VTL 池
sysadmin@DD2# vtl pool rename Big_Pool SAVED-Big_Pool
VTL pool 'Big_Pool' renamed to 'SAVED-Big_Pool'.
 

  1. 根据需要创建任意数量的 VTL 池,以将每个池的磁带数量减少到建议的限制(有关命令示例,请参阅 I.1)
  2. 停止访问导入了磁带的 VTL
  3. 导出属于我们要拆分的池的所有磁带(请参阅命令示例的 I.3)
  4. 在源中,将磁带移至新的 VTL 池(有关命令示例,请参阅 I.6)
  5. 将所有磁带导入到原始 VTL 中(请参阅命令示例的 I.8)
  6. 创建新的复制上下文以复制新的 VTL 池
  7. 等待复制初始化完成,然后再允许 VTL 客户端再次访问 VTL
  8. 等待所有复制上下文同步
  9. 在目标处,删除 VTL 重命名池中的所有磁带并删除池

Additional Information

此内容已翻译成 17 种语言: 
https://downloads.dell.com/TranslatedPDF/CS_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/DA_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/DE_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/ES-XL_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/FI_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/FR_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/IT_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/JA_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/KO_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/NL_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/NO-NO_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/PL_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/PT-BR_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/RU_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/SV_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/TR_KB541411.pdf
https://downloads.dell.com/TranslatedPDF/ZH-CN_KB541411.pdf

Affected Products

Data Domain

Products

Data Domain, Data Domain Replicator, Data Domain Virtual Tape Library
Article Properties
Article Number: 000063457
Article Type: Solution
Last Modified: 23 Sep 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.