跳转到主内容

如何计算 SnapMirror/SnapVault 吞吐量以提高性能

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

适用场景

  • ONTAP 9 或更高版本
  • 集群模式 Data ONTAP 8 或更高版本
  • Data ONTAP 8 7- 模式或更高版本

问题描述

  • 在从内部存储到CVO的SnapMirror迁移过程中、没有内置工具来衡量和监控SnapMirror吞吐量或获取网络性能。
  • 如果您正在寻找要执行此操作的应用程序、请与您的销售经理联系并请求有关数据管理应用程序的信息。
    • 关系的吞吐量可以根据在一段时间内移动的数据量来确定。
  • 使用以下命令收集所需的 SnapMirror 信息:
    • 要确定吞吐量,需要注意的字段为 Transfer SizeTransfer Duration
    • 通过将 Transfer Size除以来查找吞吐量 Transfer Duration

Data ONTAP 7模式
Destination> snapmirror status -l [ ]
或 

Destination> snapvault status -l [ ]

Snapmirror is on.

Source:                 Source:vol1
Destination:            Destination:vol1_mirror
Status:                 Idle
Progress:               -
State:                  snapmirrored
Lag:                    00:34:03
Mirror Timestamp:       Tue Sep 20 13:28:34 CEST 2016
Base Snapshot:          Source(012345678)_vol1.1
Current Transfer Type:  -
Current Transfer Error: -
Contents:               -
Last Transfer Type:     Update
Last Transfer Size:     4800 KB
Last Transfer Duration: 00:00:45
Last Transfer From:    Source :vol1

此输出将显示  Last Transfer Size 和、  Last Transfer Duration 您可以使用这些来计算上次传输吞吐量。

Data ONTAP 集群模式

  • snapmirror show -instance 命令可用于列出 Last Transfer SizeLast Transfer Duration

Destination Cluster::>snapmirror show -instance -destination-path <svm:Volume>

  • 您可以运行以下命令仅列出相关信息:

DestinationCluster::> snapmirror show -fields last-transfer-size,last-transfer-duration,last-transfer-end-timestamp [-destination-path]
source-path destination-path last-transfer-size last-transfer-duration last-transfer-end-timestamp
----------- ---------------- ------------------ ---------------------- ---------------------------
SVM1:test   SVM1:SMTest     4.31MB            0:0:3                 "01/09 13:09:52"
1 entries were displayed.

  • 此输出将向您显示 Last Transfer Size 以及 Last Transfer Duration 您所用的 可用于计算上次传输吞吐量
  • 实时吞吐量分析
  • 可以使用上述命令来衡量实时 SnapMirror 传输的吞吐量性能。 
    • 运行 snapmirror show一次命令以查看总进度。 
    • 请等待一段时间,snapmirror show然后重新运行。 
    • 使用每个输出的 " 总进度 " 列,从第二个输出减去第一个输出。 
    • 将剩余时间除以两个命令之间的时间量。 
    • 这样将估算传输的吞吐量。
    • 示例
      • snapmirror show上述示例中的命令相隔 3 分钟运行,即持续时间为 3 分钟。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.
Scan to view the article on your device