跳转到主内容

要为 OSSV 故障排除收集哪些合适的日志文件?

Views:
31
Visibility:
Public
Votes:
0
Category:
open-systems-snapvault-ossv
Specialty:
dp
Last Updated:

适用于

  • Data ONTAP 7 及更早版本 
  • Open Systems SnapVault

解答

在打开案例时需要一组通用的文件和输出。

OSSV 故障排除数据可以手动获得或使用 OSSVInfo 获取。

手动获取数据

在打开案例之前需要执行以下命令(在提交案例之前将所有数据置于新案例中):

  • options snapvault (controller only)
 
  • snapvault status
 
  • snapvault status -l
 
  • snapvault status -c
  • snapvault snap sched (controller only)
 
  • priv set advanced ; snap status (controller only)
 
  • qtree status (controller only)
 
  • snap list (controller only)
 
  • snap list -q (controller only)
 
  • version (controller only)
 
  • license (controller only)

次系统日志

从 OSSV 辅助系统获取所有相关日志文件:

  • /etc/log/snapmirror
  • /etc/messages

主系统日志和数据

从 OSSV 主系统获取所有相关日志文件和系统信息:

  • $INSTALL_DIR\etc\snapvault 或者 $INSTALL_DIR/etc/snapvault
  • $INSTALL_DIR\bin\svinstallcheck.exe或收集输出 $INSTALL_DIR/bin/svinstallcheck
  • 正在备份的文件系统 / 驱动器的属性
  • 包含 OSSV 代理安装的文件系统 / 驱动器的属性
  • 在 Windows 上:在 "My computer" (我的电脑)中、右键单击驱动器图标并选择 Properties > General
  • 在 UNIX 上: df -k
 
  • 输出自 /etc/{V}fstab
 
  • 控制台上显示的错误消息(如果有)。 

使用 OSSVInfo 获取

可执行文件或OSSVINFO.exe OSSVINFO.sh  OSSV 2.6 附带的数据。  对于早期版本、可以通过联系 NetApp 技术支持获得。此可执行文件将自动执行命令并获取相应的日志文件。

  • OSSVINFO.exe 在 Windows 2000 、 Windows 2003 中受支持
 
  • OSSVINFO.sh 在安装了 OSSV 代理的 Solaris 、 Linux 、 IRIX 、 HP-UX 和 AIX 系统上受支持 

ossvinfo 语法,如下所示:

  • Windows :从命令行 Shell 运行以下命令。

OSSVINFO.exe [-s filer [-l user:password]] ossvinfo

  • UNIX :从命令提示符运行以下命令。

OSSVINFO.sh [-s filer [-l user:password]] ossvinfo 

如果使用以上指定的语法、输出将保存到使用ossvinfo文件名调用的目录outfile.txt中。 

:当 Data ONTAP 和 Auto支持 中出现的报告问题不可用时,请使用 -s 选项收集 Data ONTAP 特有的信息。ossvinfo 使用 rsh 收集文件管理器的信息,因此如果 rsh 未启用或不可用,则应手动收集数据。ossvinfo 不支持 SSH 。 

相关链接:

其他信息

不适用

 

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