Oracle ILOM服务快照工具用于收集Oracle服务人员使用的数据来诊断系统问题,除非Oracle Service要求收集,否则平时我们不用使用该工具。
创建ILOM Snapshot有两种方法,1. 通过WEB 接口使用浏览器登录ILOM; 2. 使用ILOM 命令行方式; 这里记录如何使用ILOM命令行:
从DB server查看ILOM 的IP
eg.
登录ILOM
eg.
配置Snapshot选项和生成路径
Oracle ILOM service processor (SP)
生成Snapshot
等待Snapshot Complete完成或查看show 的输出result:
取Snapshot 文件
上一步的命令执行成功后会在URI指定的程序中生成上面的zip包文件,生成如下格式:Machine name-ilom_192.168.60.42_2017-12-05T01-17-45.zip。unzip 查看CONFIG文件中有目录结构。
创建ILOM Snapshot有两种方法,1. 通过WEB 接口使用浏览器登录ILOM; 2. 使用ILOM 命令行方式; 这里记录如何使用ILOM命令行:
从DB server查看ILOM 的IP
eg.
$ cat /etc/hosts
登录ILOM
eg.
$ ssh exadcell03-ilom
Password:
Oracle(R) Integrated Lights Out Manager
Version 3.0.16.10.d r74499
Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
->
配置Snapshot选项和生成路径
->set /SP/diag/snapshot dataset=<data>
->set /SP/diag/snapshot dump_uri=<URI>
eg.
-> set /SP/diag/snapshot dataset=normal
-> /SP/diag/snapshot dump_uri=sftp://root:welcome@192.168.60.42/tmp
Oracle ILOM service processor (SP)
Value | Option | Header |
|---|---|---|
data | normal | Specifies that the Oracle ILOM, operating system, and hardware information is collected. |
full | Specifies that all data is collected (“full” collection). Note - Using this option might reset the running host. | |
normal-logonly orfull-logonly | Specifies that only log files are collected. | |
URI | Any valid target directory location | Specifies the URI of the target directory. The URI format is as follows: protocol://username:password@host/directory where protocol can be one of these transfer methods: SFTP or FTP. For example, to store the snapshot information in the directory named data on the host, define the URI as follows: ftp://joe:mypasswd@host_ip_address/data The directory data is relative to the user login, so the directory would probably be /home/joe/data. |
生成Snapshot
-> cd /SP/diag/snapshot
-> show
等待Snapshot Complete完成或查看show 的输出result:
取Snapshot 文件
上一步的命令执行成功后会在URI指定的程序中生成上面的zip包文件,生成如下格式:Machine name-ilom_192.168.60.42_2017-12-05T01-17-45.zip。unzip 查看CONFIG文件中有目录结构。
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




