跳转到主内容

如何收集日志(支持包) 通过 Active IQ Unified Manager 在 VMware vApp 或 OVA 上运行

Views:
34
Visibility:
Public
Votes:
0
Category:
oncommand-unified-manager
Specialty:
om
Last Updated:

执行

执行

适用场景

  • OnCommand Unified Manager 9.5及更低版本 (OCUM) 
  • Active IQ Unified Manager (AIQUM) 9.6及更高版本
  • VMware虚拟机OVA

操作步骤

1.访问OVA的VMware控制台。有多种方法可以 实现此目的。

lauch-console.PNG

  • 登录到vSphere后、选择Unified Manager虚拟机、然后执行以下操作之一:
    • 单击"Launch Console"(启动控制台)按钮。
    • 单击"Launch Web"(启动Web)控制台链接。
    • 单击Launch Remote (启动远程)控制台链接。
    • 右键单击虚拟机、然后单击"打开远程控制台"。
  • 或者、也可以使用维护用户通过SSH连接到Unified Manager服务器。
    • ssh <maintenance-user>@<unified-manager-ip>

2. 以维护用户身份通过VMware控制台登录连接到维护控制台后。

maint-login.PNG

3.选择4作为 支持/诊断

option4.PNG

4. 选择 生成轻型 支持 包 或 生成 支持包 。使用该服务

bundleoptions.PNG

5. 如果选择 生成 支持 包,请选择或取消选择 要包含在支持包中的可用选项。

fullsupportbundle.PNG

  • 数据库转储
    • MySQL Server数据库的转储。
  • 堆转储
    • 主要 Unified Manager 服务器进程状态的快照。默认情况下、此选项处于禁用状态、只有在客户 支持部门要求时、才应选择此选项。
    • 通常 非常宽敞。
    • 非人类可读。
    • 仅用于对服务器崩溃进行故障排除。
  • 采集记录
    • 记录 Unified Manager 与受监控集群之间的所有通信。

6.键入"g"、然后按 Enter 继续。

注意: 由于生成支持包是一项内存密集型操作,因此系统会提示您确认此时确实要生成支持包。

7.键入"y"、然后按 Enter键 以生成支持包。

8. 如果 支持包中包含数据库转储文件、系统会提示您指定要包含数据库文件的时间段。 输入 每个值后、按Enter继续。

  • 以YYMMdd格式输入开始日期。例如、为2017年1月1日输入20170101。
  • 输入要包含的统计信息天数、从午夜12点开始指定开始日期。您可以输入1到10之间的数字。系统会显示收集数据库统计信息的时间段、然后生成支持包。

9. ( 仅限Active IQ Unified Manager 9.8+ )如果选择 生成轻 支持 包 ,则键入“g”并按 Enter键

lightbundlegenerate.PNG

10. ( 仅限Active IQ Unified Manager 9.8+ )创建支持包后,脚本将询问您是否要将支持包上传到NetApp;根据需要选择( y/n )。

注意从Active IQ Unified Manager 9.8开始,您可以选择使用您的技术支持案例编号将支持包直接上传到NetApp。此上传 选项仅适用于Active IQ Unified Manager 9.8及更高版本、并且需要互联网连接。  Active IQ Unified Manager 9.8之前的早期版本不具有此功能。  "生成轻 支持 包" 和"完整 生成 支持 包" 选项均可上 传到NetApp。

  • 如果您选择上传支持包 、则Unified Manager服务器需要连接到Internet、才能成功完成此过程。

uploadprompt.PNG

  • 输入您的 技术支持案例编号
  • 上传完成后、按任意键退出并返回 维护控制台 菜单。

uploaded.PNG

11.如果您选择不将支持包上传到NetApp支持部门 、或者您的Unified Manager版本不具有上载功能、则需要将支持包移出OVA、以便可以将其上传到NetApp支持部门。为了收集支持包、我们将使用SFTP或SCP协议下载支持包。

  • 建议的第三方程序
    • FileZilla
    • WinSCP
  • 登录时使用维护用户。
  • 或者、用户也可以在Linux或Unix主机的命令行中使用 以下命令。使用 生成支持包时提供的名称(请参见前面的屏幕截图以供参考):
    • sftp <maintenance-user>@some-ocum-vapp:/support/support_bundle_20130501_140827_844.7z <destination directory>

    • scp <maintenance-user>@some-ocum-vapp:/support/support_bundle_20130501_140827_844.7z <destination directory>

  • 下载支持包后,请使用知识文章 如何将文件上传到NetApp

 

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.