跳转到主内容

如何计算SnapMirror滞后时间

Views:
31
Visibility:
Public
Votes:
0
Category:
snapmirror
Specialty:
DP
Last Updated:

适用场景

  • ONTAP 9
  • SnapMirror

问题解答

  • SnapMirror滞后时间是指在源上创建快照的时间与在目标上创建系统时间之间的差值。

示例
ontap912::> snapmirror show -destination-path svm1_ontap912:test912 -fields exported-snapshot,lag-time
source-path       destination-path    exported-snapshot                               lag-time
--------------------- --------------------- ---------------------------------------------------------------------------- --------
svm1_ontap913:test913 svm1_ontap912:test912 snapmirror.2e3cb37b-64a9-11ed-b07f-005056959654_2150626516.2024-10-11_132941 957:4:52

ontap912::> date
Node    Date            Time zone
--------- ------------------------ -------------------------
ontap912-01
     Wed Nov 20 10:32:58 2024 Japan 
ontap912-02
     Wed Nov 20 10:32:59 2024 Japan
2 entries were displayed.

            SO 滞后时间 (957:4:52 )=  Wed Nov 20 10:32:58 20242024-10-11_132941

  • 还有其他一些因素可能会影响滞后、包括 
    • 上次成功传输的快照的时间戳
    • 目标上的系统时间
    • 将快照从源传输到目标所需的时间量
    • 从上次 snapmirror update  到运行之间经过的时间量 snapmirror show
  • 如何计算滞后的示例
    • 快照在22:55创建
    • 计划的SnapMirror更新将在23:00运行
    • 完成传输需要15分钟
    •   传输结束时的滞后时间为20分钟
      • 这是如何计算的?快照创建时间与启动传输之间的差值为5分钟、加上完成传输所需的15分钟。

注意: 在通过AutoSupport检查SNAPMIRROR.XML 中的滞后时间时、有两个因素会增加滞后时间:

  1. 自上次SnapMirror传输以来经过的时间
  2. 收集每个AutoSupport部分所需的时间。

例如,如果滞后时间为20分钟,并且AutoSupport在00:00触发,但需要20分钟才能生成SNAPMIRROR.XML ,则滞后时间将再反映1小时20分钟,显示为1:40:00 (1小时40分钟)。

 

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.