跳转到主内容

NDMP会话限制在ONTAP 中的工作原理是什么?

Views:
43
Visibility:
Public
Votes:
1
Category:
ndmp
Specialty:
dp
Last Updated:

可不使用  

适用场景

  • ONTAP 9
  • NDMP

问题解答

本文旨在问题解答 针对运行ONTAP 的存储控制器提出以下NDMP会话可扩展性问题

  1. 有哪些不同类型的NDMP会话?
  2. 平台的NDMP会话限制是什么?
  3. 这些限制如何用于集群范围的SVM (SVM)和LIF?
  4. 如何监控NDMP会话?


NDMP 会话有哪些不同类型?

为了了解NDMP会话限制、了解NDMP会话的分类方式非常重要。NDMP 会话可分为两类:

  1. 转储和还原会话:这些NDMP会话直接负责将数据备份到磁盘或磁带或从磁盘或磁带备份数据。它们与NDMP数据或磁带服务接口。
  2. 控制或"通用"会话:这些会话是双向NDMP控制连接、负责NDMP客户端(通常是备份应用程序)与NDMP服务器(通常是NetApp存储控制器)之间的NDMP控制命令或消息。

转储和恢复会话在 Data ONTAP 8.2 和更高版本中依赖于平台,可在下表中查看。无论平台如何、控制会话都硬编码为 4 、但可以使用以下高级命令手动增加。如果备份应用程序为一个转储或恢复会话打开多个控制会话,则通常使用此选项。
::> set advanced
::*> system services ndmp modify -node <node_name> -common-sessions <integer>

注意:无论 NDMP 是节点范围的还是虚拟服务器范围的、上述命令均适用。

警告:增加此参数会导致存储系统由于内存消耗增加而失去响应。

有关详细信息,请参见system services ndmp modify手册页
 

平台的NDMP会话限制是什么

NDMP会话限制ONTAP 基于平台内存并为每个节点的值。如果您不确定控制器属于哪个类别、请参阅 Hardware Universe

内存 控制 / 通用会话限制 转储 / 恢复会话限制 总会话限制
 WAFL 低内存平台或 <16 GB  4  4  8
 WAFL 中端内存平台或 >= 16 GB 和 <24 GB  4  16  20
 WAFL 高内存平台或大于等于 24 GB  4  32  36



这些限制如何适用于集群范围的 SVM ( VServers )和 LIF ?

NDMP 会话限制是每个节点的限制。因此,每个节点都有自己的 NDMP 会话“池”。使用哪个池取决于哪个节点托管用于 NDMP 连接的 LIF 。因此,请务必记住您用于 NDMP 连接的 LIF 以及这些 LIF 托管在哪些节点上。

例如、假设采用运行集群模式 Data ONTAP 8.2 的 FAS3250 的双节点集群方案。此平台的 NDMP 会话限制总数为 20 。集群管理员使用 data_lif1 创建 SVM1 、使用 data_lif2 创建 SVM2 。如果 data_lif1 和 data_lif2 都托管在集群中的节点 1 上,则通过这些 LIF 创建的所有 NDMP 会话将共享同一个会话池(共 20 个会话)。

注意: NDMP 会话限制与 NDMP 范围无关。

 

如何监控 NDMP 会话?

按照以下步骤操作,查找在集群模式 Data ONTAP 8.2 及更高版本中运行的 NDMP 会话总数。

  1. 运行 system services ndmp node-scope-mode status 以确定NDMP当前在集群上运行的范围。如果启用、则集群将在节点范围模式下运行。如果禁用、则集群将在SVM范围的模式下运行。
    ::> system services ndmp node-scope-mode status
    NDMP node-scope-mode is disabled.

  2. 如果在节点范围模式下运行、请运行 system services ndmp status 以查看集群上打开的NDMP会话。如果在SVM范围的模式下运行、请运行 vserver services ndmp status
    cluster::> vserver services ndmp status
               Session
    Vserver         Id
    ------------------ ------------
    cluster       1000:60293
    cluster       1001:67917
    2 entries were displayed.

  3. system services ndmp probe 如果处于节点范围模式或 vserver services ndmp probe 与上一个命令中的NDMP会话ID一起使用、则可以查找有关NDMP会话的更多数据。如果存在活动 Data State 的或 Mover State、则为NDMP转储或还原会话。此命令还将显示操作正在哪个节点上运行。
    cluster::> vserver services ndmp probe 1001:67917

    Vserver: cluster
    Session Identifier: 1001:67917
    NDMP Version: 4
    Session Authorized: true
    Data State: ACTIVE      <--ACTIVE Data State indicating dump or restore session
    Data Operation: RESTORE    <--Data Operation is a RESTORE
    Data Server Halt Reason: NA
    Data Server Connect Type: TCP
    Data Server Connect Address: 169.254.0.1
    Data Server Connect Port: 52797
    Data Bytes Processed: 350859264
    Mover State: IDLE
    Mover Mode: NOACTION
    Mover Pause Reason: NA
    Mover Halt Reason: NA
    Mover Record Size: 0
    Mover Record Number: 0
    Mover Bytes Moved: 0
    Mover Seek Position: 0
    Mover Bytes Left to Read: 0
    Mover Window Offset: 0
    Mover Window Length: 0
    Mover Position: 0
    Mover SetRecordSize Flag: false
    Mover SetWindow Flag: false
    Mover Connect Type: LOCAL
    Mover Connect Address:
    Mover Connect Port: 0
    Effective Host: PRIMARY
    NDMP Client Address: 169.254.0.1
    NDMP Client Port: 29773
    SCSI Device ID: None
    SCSI Host Adapter: -1
    SCSI Target ID: -1
    SCSI LUN ID: -1
    Tape Device: Not open
    Tape Mode: READ
    Node: cluster-02       <--NDMP session is established on node "cluster-02"
    Is Secure Control Connection: false
    Data Backup Mode: DUMP
    Data Path: /dataSVM/restoreVol
    NDMP Source Address: 169.254.0.1

追加信息

不适用

 

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.