Go to main content
Oracle® Fabric OS 1.0.2 管理指南

退出打印视图

更新时间: 2016 年 11 月
 
 

使用系统日志文件进行故障排除

可以从网状结构网络和某些主机信息中收集信息,并将这些信息编译为压缩文件。随后可将这些文件发送给 Oracle 客户支持进行诊断。有关更多信息,请参见日志文件类型。您可以使用 CLI 或 GUI 执行此任务。有关 GUI 过程,请参阅Oracle Fabric Manager 5.0.2 管理指南 中的 收集设备日志文件。此过程针对的是 CLI。

  1. 查看已安装的软件。
    [OFOS] show software
  2. 将内容重定向到输出文件。

    重定向开关 (>) 将当前的 show tech-support 命令内容发送到可发给 Oracle 客户支持的输出文件。没有进度指示器或完成消息。命令提示符返回时,命令即已完成。

    [OFOS] show tech-support > July2016
  3. 收集日志文件。

    请使用以下任一选项:

    -files output-file -all
    get log-files output-file -noarchives
    get log-files output-file -nocores
    get log-files output-file -silent

    此示例显示如何收集 show tech-support 命令的所有可用文件、日志、核心和输出。这些文件将放置到采用 gzip 压缩的 tar 文件中,之后可以将此文件发送给 Oracle 客户支持。

    [OFOS] get-log-files -all
    copying /log/cli.log...
    copying /log/createdb.log...
    copying /log/daemon.log...
    copying /log/dumpster.log...
    copying /log/ib.log...
    copying /log/install.log...
    copying /log/kern.log...
    copying /log/osm.log...
    copying /log/postgresql.log...
    copying /log/syslog.log...
    copying /log/upgrade.log...
    copying /log/upgrade_sw.log...
    copying /log/user-debug.log...
    copying /log/user-debug_old.log...
    copying /log/user.log...
    copying /log/xdsd.log...
    copying /log/xms.log...
    copying /log/createdb.log.1.gz...
    copying /log/dmesg.1.gz...
    copying /log/dmesg.2.gz...
    copying /log/dmesg.3.gz...
    copying /log/dmesg.4.gz...
    copying /log/ib.log.1.gz...
    copying /log/ib.log.2.gz...
    copying /log/ib.log.3.gz...
    copying /log/ib.log.4.gz...
    copying /log/ib.log.5.gz...
    copying /log/osm.log.1.gz...
    copying /log/osm.log.2.gz...
    copying /log/postgresql.log.1.gz...
    copying /log/postgresql.log.2.gz...
    copying /log/syslog.log.1.gz...
    copying /log/user-debug.log.10.gz...
    copying /log/user-debug.log.1.gz...
    copying /log/user-debug.log.2.gz...
    copying /log/user-debug.log.3.gz...
    copying /log/user-debug.log.4.gz...
    copying /log/user-debug.log.5.gz...
    copying /log/user-debug.log.6.gz...
    copying /log/user-debug.log.7.gz...
    copying /log/user.log.8.gz...
    copying /log/user.log.9.gz...
    copying /log/wtmp.1.gz...
    copying /log/coredumps/dmsg_iocard-8_ts67_0...
    copying /log/coredumps/dmsg_iocard-8_ts68_0...
    copying /log/coredumps/dmsg_iocard-8_ts74_0...
    copying /log/coredumps/dmsg_iocard-8_ts86_0...
    copying /log/coredumps/mimm.1727.core...
    *** output file is xsigo-logs.tar.gz (49.12M)
    You can use the 'file copy' command to transfer it off the Oracle system

相关信息