Skip to main content
Snap Creator Framework
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

使用SnapVault 叢集Data ONTAP 式的等化功能來建立不一樣的關係

貢獻者

您必須先定義SnapMirror原則、才能開始SnapVault 建立彼此的關係。

  1. 對於執行叢集Data ONTAP 式的儲存系統、SnapVault 您可以執行下列命令來啟動彼此之間的相依關係。

    hana::> snapmirror policy create -vserver hana2b -policy SV_HANA
    hana::> snapmirror policy add-rule -vserver hana2b -policy SV_HANA -snapmirror-label daily -keep 20
    hana::> snapmirror policy add-rule -vserver hana2b -policy SV_HANA -snapmirror-label hourly -keep 10
    
    hana::> snapmirror policy show -vserver hana2b -policy SV_HANA
    
                       Vserver: hana2b
        SnapMirror Policy Name: SV_HANA
                  Policy Owner: vserver-admin
                   Tries Limit: 8
             Transfer Priority: normal
     Ignore accesstime Enabled: false
       Transfer Restartability: always
                       Comment: -
         Total Number of Rules: 2
                    Total Keep: 8
                         Rules: Snapmirror-label  Keep Preserve Warn
                                ----------------- ---- -------- ----
                                daily              20  false      0
                                hourly             10  false      0

    原則必須包含所有保留類別(標籤)的規則、這些保留類別(標籤)會用於Snap Creator組態。上述命令說明如何建立專屬的SnapMirror原則SV_HANA

  2. 若要在SnapVault 備份叢集的叢集主控台上建立及啟動「支援」關係、請執行下列命令。

    hana::> snapmirror create -source-path hana1a:hana_data -destination-path
    hana2b:backup_hana_data -type XDP –policy SV_HANA
    Operation succeeded: snapmirror create the relationship with destination
    hana2b:backup_hana_data.
    
    hana::> snapmirror initialize -destination-path hana2b:backup_hana_data -type XDP