「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構成は、これらのベスト プラクティスの範囲外で、1つ(または少数の)大きなプールを使用して作成され、パフォーマンスが低下することがあります。この問題が発生した場合、Data Domainサポートはプールを複数のコンテキストに分割することを推奨します。


該当製品:
  • Data Domain OSバージョン5.2.x以降

  • すべてのData Domainシステム
  • VTLの 

Cause

NA

Resolution


MTreeベースのVTLプールを使用すると、テープをソースのプール間で安全に移動したり、デスティネーションの別のプールにダウンタイムなしでコピーしたりできます
唯一の注意点は、移動中にクライアントがテープにアクセスしないように、テープを別のプールに移動する前に、テープをソースのヴォールトにエクスポートすることです
大きなVTLプールを複数の小さなプールに分割するには、2つの異なるアプローチがあります。
 
  1. 既存のレプリケーションを中断することなく、ソースのテープを新しいプールに移動
主な利点は、レプリケーションを中断する必要がないことです。
新しいVTLプールを同期する前であっても、デスティネーションでレプリカ テープが常に使用可能であることを保証するには、ソースで別のプールに移動する予定の一時的なプール レプリカ テープをコピーする必要があります。
  1. レプリケーションを中断してから、ソースのテープを新しいプールに移動する
主なメリットは、デスティネーションでVTLプールの名前を変更するだけで、すべてのレプリカ テープのコピーを保持できる点です。
デメリットは、ソースの元のプールに残っているテープであっても、すべてのテープのレプリケーションを再作成する必要があることです。

コマンドの例を示すために、Big_Poolという名前の1つの大きなVTLプールがあり、バーコードがBG0000L5-BG9999L5の10000本のテープを含み、すべてがbig_vtlという名前のVTLライブラリにインポートされ、それをそれぞれ1000本のテープを持つ10個のVTLプールに分割するとします。
ソース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.