跳转到主内容

如何访问 Active IQ Unified Manager 虚拟机 (OVA) DIAG shell

Views:
183
Visibility:
Public
Votes:
1
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

适用于

  • Active IQ Unified Manager (AIQUM)
  • OnCommand Unified Manager (OCUM)
  • VMware OVA

说明

  • 这篇知识库文章概述了在 Active IQ Unified Manager 虚拟应用装置 (OVA) 中启用和访问 diag shell 的步骤
  • diag shell 可用于执行其他 NetApp 知识库文章中概述的行动计划,但在 diag shell 中进行的不属于 NetApp 指导的更改可能会导致设备不受 NetApp 支持

操作步骤

警告:在 DIAG shell 中进行的更改可能会导致数据丢失和/或虚拟设备中的功能丢失
  1. 对 AIQUM 数据库进行备份
  2. 关闭虚拟机并拍摄 VMware 快照
  3. 打开虚拟机并通过 vSphere 客户端访问虚拟机控制台
    • Launch Web ConsoleLaunch Remote Console
  4. 以维护用户身份 登录
    • 注:维护用户是最初配置虚拟设备时配置的第一个用户
  5. 选择 (4) 支持/诊断 从主菜单中

Active IQ Unified Manager Virtual Machine (OVA) DIAG shell

  1. 根据您的偏好输入 edserds
    • eds - 在 VMware 控制台窗口中启用诊断外壳
      • 键入 exit 以随时离开本地诊断外壳
      • VMware 控制台窗口不允许复制/粘贴
    • erds - 允许通过远程 SSH 访问 diag shell(即:PuTTY) 
      • 您无法以 root 用户身份通过 SSH 登录。您必须先以 diag 用户身份登录
  2. 出现提示时键入 Y Would you like to enable remote diagnostics?
  3. 输入并确认 diag 用户的新密码
    • 密码在启用当天午夜或单次登录会话之前有效

Enables diag shell in VMware console window

  1. 如果选择远程诊断 shell,则键入 X 以退出
  2. 启动第三方工具(如 PuTTY),并打开指向 AIQUM 设备 IP 的 SSH
  3. 使用 diag 用户登录
    • 用户名: diag
    • 密码: <enter the password that you set in Step 8 above>
      •  注意:您无法以 root 用户身份通过 SSH 登录。您必须首先以 'diag' 用户身份登录。所有通过 SSH root 登录的尝试都将失败
  4. CLI 将接受大多数命令集作为标准的基于 Debian 的环境:
    • 键入  sudo -s 作为 diag 以打开 root shell
    • 键入 exit 以从 root 返回到 diag
    • 再次键入 exit 以退出 diag shell。

追加信息

additionalInformation_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.