跳转到主内容

对E系列使用dsmUtil命令的命令语法是什么?

Views:
5
Visibility:
Public
Votes:
0
Category:
e-series-santricity-management-software
Specialty:
esg
Last Updated:

适用场景

NetApp E 系列

问题解答

也可以从 SANtricity 存储管理器上相应代码级别的"故障转移驱动程序指南"中获取此信息

以下语法适用于10.X系列中的主机软件。

  • dsmUtil 此实用程序是一个命令行驱动的实用程序、仅适用于多路径I/O (MPIO)设备专用模块(DSM)解决方案。该实用程序主要用于指示DSM驱动程序执行各种维护任务;但是、该实用程序还可以在必要时用作故障排除工具。
  • 要使用 dsmUtil 此实用程序、请键入以下命令并按 Enter键:

dsmUtil [[-a [target_id]]

[-c array_name | missing]

[-d debug_level] [-e error_level] [-g virtual_target_id]

[-o [[feature_action_name[=value]] | [feature_variable_name=value]][, SaveSettings]] [-M] [-P

[GetMpioParameters | MpioParameter=value | ...]] [-R]

[-S]

[-s "failback" | "avt" | "busscan" | "forcerebalance"] [-w target_wwn, controller_index

注意:必须输入参数名称周围所示的引号。

键入 dsmUtil 时不带任何参数将显示使用情况信息。

 

下表显示 dsmUtil 了参数:

  • -a [target_id]

显示了DSM看到的所有存储阵列的摘要。此摘要显示 target_id, 了存储阵列WWID和存储阵列名称。如果 target_id 指定、则会显示存储阵列的DSM时间点状态信息。在UNIX操作系统上、虚拟HBA为每个存储阵列指定唯一的目标ID。Windows MPIO虚拟HBA驱动程序不使用目标ID。此选项的参数可视为DSM信息结构的偏移、每个偏移表示不同的存储阵列。

  • -c array_name | missing

清除WWN文件条目。此文件位于 Program Files\DSMDrivers\mppdsm\WWN_FILES 扩展名为的目录中。wwn 。如果 array_name 指定了关键字、则会删除特定存储阵列的WWN文件。如果使用缺少的关键字、则会删除先前连接的存储阵列的所有WWN文件。如果不使用任何关键字、则会删除当前连接的存储阵列和先前连接的存储阵列的所有WWN文件。

  • -d debug_level

设置当前调试报告级别。只有在已在启用调试的情况下编译RDAC驱动程序时、此选项才起作用。

  • -e error_level

将当前错误报告级别设置为error_level、该级别可以具有以下值之一:

  • 0–Showallerrors.
  • 1–Showpathfailover,controllerfailover,retryable,fatal,andrecoverederrors.
  • 2–Showpathfailover,controllerfailover,retryable,andfatalerrors.
  • 3–Showpathfailover,controllerfailover,andfatalerrors.Thisisthedefaultsetting.
  • 4–Showcontrollerfailoverandfatalerrors.
  • 5–Showfatalerrors.
  • -g target_id

显示有关指定存储阵列的每个控制器、路径和LUN的状态的详细信息。target_id 您可以通过运行 dsmUtil -a 命令来查找。

  • -M

显示了DSM的MPIO磁盘到驱动器映射。此输出与SMdevices实用程序中的输出类似。

  • -o [[feature_action_name[=value]] | [feature_variable_name=value]][, SaveSettings]

对某个功能进行故障排除或更改配置设置。如果不使用 SaveSettingskeyword、则所做的更改仅会影响变量的内存状态。SaveSettingskeyword 会同时更改内存状态和持久状态。

 

以下是一些示例命令:

  • dsmUtil-o –显示所有可用的功能操作名称。
  • dsmUtil-oDisableLunRebalance=0x3 –关闭DSM启动的存储阵列LUN重新平衡(仅影响内存状态)。
  • -P [GetMpioParameters | MpioParameter= value | ...] —显示和设置MPIO参数。
  • -R —删除非活动设备的负载平衡策略设置。
  • -S —实时报告每个LUN的控制器和路径的运行状态或关闭状态。
  • -s ["failback" |
  • "avt" | "busscan" |
  • "forcerebalance"]

手动启动DSM驱动程序的扫描任务之一。"故障恢复"扫描会导致DSM驱动程序重新尝试与任何发生故障的控制器进行通信。"AVT"扫描会使DSM驱动程序检查是否已为整个存储阵列启用或禁用AVT。"总线扫描"会导致DSM驱动程序浏览其未配置的设备列表、以查看其中是否有任何设备已配置。"forthebalance"扫描会导致DSM驱动程序将存储阵列卷移动到其首选控制器、并忽略 DisableLunRebalance DSM驱动程序的配置参数值。

追加信息

附加信息 _text

 

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