HLR9820_Autocheck巡检分析工具安装、使用说明书.doc_第1页
HLR9820_Autocheck巡检分析工具安装、使用说明书.doc_第2页
HLR9820_Autocheck巡检分析工具安装、使用说明书.doc_第3页
HLR9820_Autocheck巡检分析工具安装、使用说明书.doc_第4页
HLR9820_Autocheck巡检分析工具安装、使用说明书.doc_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

HLR9820 Autocheck巡检分析工具安装、使用说明书内部公开目 录1Autocheck简介22Autocheck工具的安装23Autocheck工具的升级34Autocheck工具的使用方法34.1Autocheck立即巡检功能的使用34.2Autocheck定时巡检功能的使用54.3Autocheck的Mini Autocheck巡检功能使用74.4Autocheck巡检自动分析功能的使用9 HLR9820 Autocheck巡检分析工具安装、使用说明书1 Autocheck简介Autocheck是一个巡检自动分析工具。Autocheck首先进行自动信息收集,并将输出结果保存到相应文件中,然后通过集成的分析工具autodiag对这些文件进行自动分析,并将分析结果保存到文件中。Autocheck实现了巡检信息收集和分析的自动化,大大缩短了巡检的时间,并降低了人为误操作引起问题的风险。Autocheck同时也是网上问题定位的有力工具,在自动执行SUN的Explorer或是IBM的Snap的基础上,它还能搜集操作系统和Oracle、HLR应用相关的其他日志信息,当系统出现异常时为定位问题提供了第一手的系统信息。本文档主要介绍Auotcheck的安装和升级,以及如何使用Autocheck实现信息的收集和自动分析。 2 Autocheck工具的安装Autocheck软件包的名称为version.tar.Z (version为实际的版本号)。将该工具包用root用户以bin方式ftp到主机上的/opt/hlr/tools目录下:ftp 93 ftp cd /opt/hlr/toolsftp binftp put version.tar.Z # (version为实际的版本号)ftp bye然后以root用户telnet到业务主机(93),在正确的路径下直接解包并拷贝到备机。下面以主机是一号机的SUN环境为例,如果主机为二号机则所有将提示符和命令中的ph1全部修改为ph2、ph2修改为ph1,如果是IBM环境则需要将所有主机名称中的“-”全部修改为“_”(下划线)。hwhlr-ph1 cd /opt/hlr/tools/hwhlr-ph2 cd /opt/hlr/tools/如果已经安装过autocheck,请备份autocheck原有版本:hwhlr-ph1tar -cvf autocheck.bak.tar autocheckhwhlr-ph2tar -cvf autocheck.bak.tar autocheckhwhlr-ph1 chmod -R 0755 autocheckhwhlr-ph2 chmod -R 0755 autocheck #增加autocheck文件的写权限,确保能够成功覆盖原文件hwhlr-ph1 zcat version.tar.Z | tar xvf hwhlr-ph1 chown -R root:dba autocheckhwhlr-ph1 chmod -R +x autocheckhwhlr-ph1 rcp r autocheck hwhlr-ph2:/opt/hlr/toolshwhlr-ph2 chown -R root:dba autocheckhwhlr-ph2 chmod -R +x autocheckhwhlr-ph1rm -f /opt/hlr/tools/version.tar.Z运行autocheck收集日志并分析,确保替换成功。autocheck替换成功后删除备份的文件:hwhlr-ph1rm /opt/hlr/tools/autocheck.bak.tarhwhlr-ph2rm /opt/hlr/tools/autocheck.bak.tar3 Autocheck工具的升级Autocheck工具的升级操作比较简单,基本思路就是直接安装新版本,覆盖旧版本。请按照第二节中的各项步骤安装Autocheck软件包即可。4 Autocheck工具的使用方法Autocheck工具由一系列的脚本组成,主程序autocheck.sh位于双机的/opt/hlr/tools/autocheck目录下,它能实现立即巡检和定时巡检的功能,并且能自动分析巡检信息收集包。Autocheck支持SUN和IBM两种平台,两种平台的使用完全相同,仅少量提示信息不同,这里以SUN平台为例介绍Autocheck的使用。Autocheck收集包通常存放在/opt/hlr/tools/autocheck目录下,文件格式:autocheck.主机ID.主机名-年月日时分.tar.Z 例如autocheck.0x810965bf.hwhlr-ph1-2007.02.05.11.27.tar.Z。4.1 Autocheck立即巡检功能的使用Autocheck支持巡检数据包的立即收集。需要注意的是Autocheck在收集数据期间,会消耗较多的CPU处理能力,可能在告警台上产生CPU过载告警,这是正常。通常情况下建议使用定时收集,当定时收集不便时可使用立即收集。立即收集方法: hwhlr-ph1 cd /opt/hlr/tools/autocheckhwhlr-ph1 ./autocheck.sh Note: Execution of this tool may cause CPU overload for several minutes and affect current service slightly. During this execution, alarm of CPU overload or flow control might appear.Press Enter to continue .系统提示用户,说明Autocheck可能产生CPU过载告警,用户只需回车确认即可显示Autocheck主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:1Do you want Explorer to run when this Autocheck ends? (y,n) n: Starting autocheck, please wait.Getting system information. OK!Getting HA information. OK!Getting hlr information. OK!Getting database information . OK!Generating the Autocheck output file. OK!Autocheck finished!Press Enter to continue .在Autocheck主菜单中选择1(立即收集巡检包);系统提示是否需要在Autocheck结束时运行Explorer收集操作系统核心信息,缺省不执行Explorer,这里请直接回车接受默认值,通常推荐用户不要收集Explorer包;接着Autocheck显示信息收集进度,最后提示完成;Autocheck收集完成后请回车返回主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:0hwhlr-ph1 在Autocheck主菜单中选择0或直接回车退出Autocheck。在/opt/hlr/tools/autocheck目录下可以看到刚刚收集的Autocheck包。4.2 Autocheck定时巡检功能的使用Autocheck支持巡检数据包的定时收集。此方法比较安全,推荐用户使用定时收集。定时收集方法: hwhlr-ph1 cd /opt/hlr/tools/autocheckhwhlr-ph1 ./autocheck.sh Note: Execution of this tool may cause CPU overload for several minutes and affect current service slightly. During this execution, alarm of CPU overload or flow control might appear.Press Enter to continue .系统提示用户,说明Autocheck可能产生CPU过载告警,用户只需回车确认即可显示Autocheck主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:2Autocheck will start at tomorrow 1:32am !Press Enter to continue .在Autocheck主菜单中选择2(凌晨1:32收集Autocheck包),当然也可以选择3、4,三个选项只是收集日志的时间点不同,其他完全相同,下面以选择2为例;系统提示是否需要在Autocheck结束时运行Explorer收集操作系统核心信息,缺省不执行Explorer,这里请直接回车接受默认值,通常推荐用户不要收集Explorer包;接着系统提示Autocheck将在第二天的清晨1:32收集巡检包;然后回车返回主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:0hwhlr-ph1 在Autocheck主菜单中选择0退出Autocheck。第二天在/opt/hlr/tools/autocheck目录下可以看到凌晨1:32收集的Autocheck包。4.3 Autocheck的Mini Autocheck巡检功能使用Autocheck支持Mini Autocheck巡检数据包的立即收集。收集方法: hwhlr-ph1 cd /opt/hlr/tools/autocheckhwhlr-ph1 ./autocheck.sh Note: Execution of this tool may cause CPU overload for several minutes and affect current service slightly. During this execution, alarm of CPU overload or flow control might appear.Press Enter to continue .系统提示用户,说明Autocheck可能产生CPU过载告警,用户只需回车确认即可显示Autocheck主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:5Starting mini autocheck, please wait.Getting system information. OK!Getting HA information. OK!Getting hlr information. OK!Getting database information . OK!Generating the Mini Autocheck output file. OK! Mini Autocheck finished!Press Enter to continue .在Autocheck主菜单中选择5(立即收集Mini autocheck巡检包);接着Autocheck显示信息收集进度,最后提示完成;Autocheck收集完成后请回车返回主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:0hwhlr-ph1 在Autocheck主菜单中选择0或直接回车退出Autocheck。在/opt/hlr/tools/autocheck目录下可以看到刚刚收集的Autocheck包。4.4 Autocheck巡检自动分析功能的使用Autocheck支持巡检数据包的自动分析:hwhlr-ph1 cd /opt/hlr/tools/autocheckhwhlr-ph1 ./autocheck.sh Note: Execution of this tool may cause CPU overload for several minutes and affect current service slightly. During this execution, alarm of CPU overload or flow control might appear. Press Enter to continue .系统提示用户,说明Autocheck可能产生CPU过载告警,用户只需回车确认即可显示Autocheck主菜单: HDU AUTOCHECK TOOL V100R003C01B081 Menu 1. Collect system info into autocheck file (run right now) 2. Collect system info into autocheck file (run at midnight 1:32) 3. Collect system info into autocheck file (run at midnight 2:02) 4. Collect system info into autocheck file (run at midnight 2:32) 5. Collect system info into mini autocheck file (run in an emergency of daytime) 6. Analyse an autocheck file with Autodiag 0. Exit Choice (0-6)0:6Please select a file name list below to analyse.If you want to analyse other directorys file, you need input file name with path.1. autocheck.0x810965bf.hwhlr-ph1-2007.02.05.11.27.tar.ZPlease input autocheck_file name or its number you want to autodiag:1Please input report file name, default is autocheck.0x810965bf.hwhlr-ph1-2007.02.05.11.27.adg.txt:output.txt Starting autodiag, pl

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论