跳转到主内容

如何在 Red Hat 或 CentOS 上从 Active IQ Unified Manager 收集日志(支持捆绑包)

Views:
112
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
om
Last Updated:

适用于

  • OnCommand Unified Manager 9.5 及以下(OCUM)
  • Active IQ Unified Manager 9.6+ (AIQUM)
  • Red Hat/CentOS

操作步骤

 

1.使用 SSH 作为维护用户连接到 Red Hat 或 CentOS 主机。

ssh <maintenance-user>@<UM_hostname_or_IP>

2.执行命令 maintenance_console 以打开维护窗口。以维护用户身份登录。

example-maint@ocum:~$ maintenance_console

3.选择 4 进行 Support/Diagnostics

4.  选择 Generate Light Support Bundle 或 Generate Support Bundle。 

 Support/Diagnostics Menu
 ------------------------
   1 ) Generate Light Support Bundle            
   2 ) Generate Support Bundle

   b ) Back
   x ) Exit

 Enter your choice: 1
-----

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

6.除非 NetApp 支持部门另有规定,否则通过按"堆转储"选择旁边表示的数字选项来取消选择"堆转储" 。这将从堆转储集合中删除"X"。

7.输入"g"以生成支持包:

Press g and <enter> then y and <enter> to continue. 
 Support Bundle Content Selection
 --------------------------------
   1 ) [X] database dump
   2 ) [ ] heap dump
   3 ) [X] acquisition recordings

   b ) Back
   x ) Exit

[X] indicates item will be included in the support bundle.
Use numbers to toggle the inclusion/exclusion of each item,
then press 'g' to generate the support bundle.
Note: Content not listed here cannot be excluded.

 Enter your choice: g

Generating support bundle...

Warning: this operation will impact performance of the application.

Do you want to continue?(y/n) y
-------------------------------------------

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

8.键入"y",然后按 Enter 生成支持包。

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

  • 以 YYYYMMDD 格式输入开始日期。例如,输入 20170101 表示 2017 年 1 月 1 日。
  • 输入要包括的统计天数,从指定开始日期的凌晨 12 点开始。您可以输入 1 到 10 之间的数字。系统显示将收集数据库统计信息的时间段,然后生成支持捆绑包。

10.( Active IQ Unified Manager 9.8+ 仅限 )如果选择了 Generate Light Support Bundle ,请键入"g"并按 Enter

11.( 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 服务器需要连接到互联网才能成功完成此过程。
  • 输入 技术支持个案编号
  • 上传完成后,按任意键退出并返回 Maintenance Console 菜单。

12.创建支持包后,输出将显示生成的 .7z 文件的位置:

EXAMPLE: Support bundle saved to: /opt/netapp/data/support/support_bundle_20XX0930_13XXX3_968.7z

13.如果您选择不将支持捆绑包上传到 NetApp Support 或者不在具有上传功能的 Unified Manager 版本上,则需要将支持捆绑包移出 Linux 主机,以便可以将其上传到 NetApp Support。要检索支持捆绑包,请按照我们在 Unified Manager 9.7 Documentation Center - 使用 UNIX 或 Linux 客户端检索支持捆绑包中的说明进行操作。

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.