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 作業系統版本 5.2.x 及更新版本

  • 所有 Data Domain 系統
  • 垂直變電 

Cause

NA

Resolution


有了以 Mtree 為基礎的 VTL 集區,磁帶便可在來源集區之間安全地移動,或複製到目的地的其他集區,無須停機。
唯一需要注意的是,在將磁帶移動到其他集區之前,先從源頭將磁帶匯出到 Vault,以確保用戶端在移動時不會訪問磁帶。
大型 VTL 集區分解為多個較小集區有 2 種不同的方法:
 
  1. 將來源中的磁帶移至新集區,而不中斷現有複寫
主要優點是不需要中斷複製。
為了保證副本磁帶始終在目標上可用,即使在同步新的 VTL 池之前,也應將計劃在源中移動的臨時池副本磁帶複製到不同的池中。
  1. 中斷複寫,然後將來源的磁帶移至新集區
主要優點是,您可以只在目標處重命名 VTL 池,以保留所有副本磁帶的副本。
缺點是需要為所有磁帶重新創建複製,即使對於保留在源的原始池中的磁帶也是如此。

為了提供命令示例,假設我們有一個名為 Big_Pool 的大型 VTL 池,其中包含 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.