跳转到主内容

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

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

适用场景

  • ONTAP 9
  • Data ONTAP 7-模式

问题描述

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

ONTAP 9

  • 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 重新运行。
    • 使用 每个输出的"Total Progress (总进度)"列、 从 第二个 输出中减去第一个输出。
    • 将其余部分除以两个命令之间的时间量。
    • 这将  估算传输的吞吐量。
    • 示例
      • snapmirror show 上述示例中的命令 间隔运行3分钟、 即 持续时间为3分钟。

如何计算SnapMirror或SnapVault的性能吞吐量

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 您可以使用这些来计算上次传输吞吐量。

 

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.