メインコンテンツまでスキップ

ONTAP 機能を使用した SnapMirror 更新のスケジュール設定方法はどのようなものですか。

Views:
228
Visibility:
Public
Votes:
0
Category:
snapmirror
Specialty:
dp
Last Updated:

環境

  • ONTAP 9.7以降
  • SnapMirror
  • SnapVault

回答

  • ONTAP 9.7以降では、次の2つの方法でSnapMirrorをスケジュールに従って更新できます。
スケジュールをSnapMirror関係のパラメータとして指定します。
  • cronスケジュールは 、関係の作成時にSnapMirror変数として設定できます。

 cluster1::> snapmirror create -source-path test: ?
  { [-destination-path] {<[vserver:][volume]>|<[[cluster:]//vserver/]volume>|<hostip:/lun/name>|<hostip:/share/share-name>|<[vserver:]/cg/[cgname]>}  Destination Path
  | [ -destination-cluster <cluster_name> ]    Destination Cluster (default: cluster1)
   [-destination-vserver] <vserver name>    Destination Vserver
   [[-destination-volume] <volume name>] }   Destination Volume (default: "")
  [[-type] {DP|LS|XDP|RST|TDP}]          Relationship Type
  [ -vserver <vserver name> ]          Managing Vserver
  [ -schedule <text> ]              SnapMirror Schedule
  [ -policy <snapmirror policy> ]         SnapMirror Policy
  [ -tries {<integer>|unlimited} ]         Tries Limit
  [ -throttle|-k {<integer>|unlimited} ]      Throttle (KB/sec) (default: unlimited)
  [ -cg-item-mappings {<source volume>:@<destination volume>|<source item path>:@<destination item path>}, ... ]                                Consistency Group Item Mappings
  [ -identity-preserve {true|false} ]       Identity Preserve Vserver DR (default: false)
  [ -is-auto-expand-enabled {true|false} ]    Is Auto Expand Enabled

  • cronスケジュールは 、CLIで関係を変更する際にSnapMirror変数として設定できます。

cluster1::> snapmirror modify -source-path test: ?
  { [-destination-path] {<[vserver:][volume]>|<[[cluster:]//vserver/]volume>|<hostip:/lun/name>|<hostip:/share/share-name>|<[vserver:]/cg/[cgname]>}  Destination Path
  | [ -destination-cluster <cluster_name> ]   Destination Cluster
   [-destination-vserver] <vserver name>    Destination Vserver
   [-destination-volume] <volume name> }    Destination Volume
  [[-vserver] <vserver name>]          Managing Vserver
 [ -schedule <text> ]              SnapMirror Schedule
  [ -policy <snapmirror policy> ]        SnapMirror Policy
  [ -tries {<integer>|unlimited} ]        Tries Limit
  [ -throttle|-k {<integer>|unlimited} ]      Throttle (KB/sec)
  [ -is-auto-expand-enabled {true|false} ]    Is Auto Expand Enabled
  [ -foreground|-w [true] ]           Foreground Process

SnapMirrorポリシーにスケジュールを設定します。
  • ONTAP System ManagerでSnapMirrorポリシーのスケジュールを追加できます。

clipboard_eb110d355812557aee3b60ae0c34db662.png  

  • CLIで非表示コマンドを使用してこの機能を追加できます。
  • スケジュールが設定されたSnapMirrorポリシーは、という非表示のフィールドを使用してチェック、追加、変更できますtransfer-schedule-name

cluster::> snapmirror policy show -fields transfer-schedule-name

  • このコマンドは、ONTAPの今後のリリースで一般に公開される予定です。
注: 
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.