前幾天我們公司的一個(gè)服務(wù)器宕機(jī)了,ping不通ssh連不上。只好讓IDC機(jī)房工作人員幫我們重啟我們的服務(wù)器。重啟完之后趕緊查看日志,但是自身服務(wù)日志并沒(méi)有報(bào)錯(cuò)。接下來(lái)就是分析硬件問(wèn)題了。我們服務(wù)器是DELL的,經(jīng)理讓我安裝了一個(gè)DELL 的檢測(cè)工具。Dell System E-Support Tool (DSET)這個(gè)工具可以用來(lái)收集服務(wù)器硬件信息,存儲(chǔ)信息(RAID卡,硬盤等)。及l(fā)inux 驅(qū)動(dòng),服務(wù),網(wǎng)絡(luò)設(shè)置等等,同時(shí)又包括CPU,memory, ESM log, BIOS/firmware versions and system health (fan/voltage levels).
下載地址:http://support.dell.com/support/topics/global.aspx/support/en/dell_system_tool
安裝步驟
1 授予權(quán)限執(zhí)行這個(gè)可執(zhí)行文件[root@www ~]# chmod +x delldset_v2.2.0.122_x64-A00.bin[root@www ~]# ./delldset_v2.2.0.122_x64-A00.bin 。。。。。。。。。。。。 PARTICULAR PURPOSE, TITLE AND ANY WARRANTY OF NON-INFRINGEMENT. YOU WILL USE THE SOFTWARE AT YOUR OWN RISK. DELL SHALL NOT BE LIABLE TO YOU FOR ANY DIRECT OR INDIRECT DAMAGES INCURRED IN USING THE SOFTWARE. IN NO EVENT SHALL DELL OR ITS SUPPLIERS BE RESPONSIBLE FOR ANY DIRECT OR INDIRECT DAMAGES Dell License (42%): Press spacebar to view next page, "q" to proceed
2,按q之后出現(xiàn)是否接受協(xié)議,直接按y
DELL OR ITS SUPPLIERS BE RESPONSIBLE FOR ANY DIRECT OR INDIRECT DAMAGES
Do you accept the terms of this license? (y/n):
3,按y之后出現(xiàn)如下提示Dell System E-Support Tool (DSET) Options:Choose an option: 1) Read DSET Release Notes First Show latest information concerning features and known issues
2) Create DSET Report Only Creates a DSET report and saves it to user"s home directory
3) Clear ESM Hardware Log Only Only clears the ESM Hardware Log contents
4) Install/Upgrade DSET Application Permanently installs or upgrades the DSET application for repeat use
Enter option (1-4) or "q" to quit:
4,選4安裝
Install Location: Where should DSET be installed? Default location: /opt/dell/dset //默認(rèn)程序安裝位置 Press Return to accept the default location or enter a new directory path:
Directory does not exist. Create? (y/n): y
Preparing... ########################################### [100%] 1:delldset ########################################### [100%]
Installation of Dell System E-Support Tool (DSET) complete. Enter "dellsysteminfo" from a terminal shell prompt to create a report file.
5,查看幫助
[root@www ~]# dellsysteminfo -h Dell System E-Support Tool @Copyright Dell Inc. 2004-2008 Version 1.6 build 135 The given option is invalid: ["-h"] Usage: dellsysteminfo [-options] [-f filepath/filename]
Options: -f Specify a filename, a path using default filename, or both --nohardware Skips collecting info for all hardware categories --nostorage Skips collecting info for all storage categories --nosoftware Skips collecting info for all software categories --nologs Skips collecting any non-Linux log files --time Append report filename with timestamp --silent Accept defaults and prevent user prompting (for scripting)--advanced Collect various advanced logs (may create large report size!)
6 獲取系統(tǒng)報(bào)告,-f 指定報(bào)告位置在/home/report.zip,這里會(huì)等一段時(shí)間,這是他正在檢測(cè)系統(tǒng)硬件系統(tǒng),存儲(chǔ)系統(tǒng)和操作系統(tǒng)信息,檢測(cè)完,/home/目錄下回產(chǎn)生一個(gè)report.zip 就是我們要的報(bào)告
[root@bogon ~]#dellsysteminfo -f /home/report
7 查看報(bào)告內(nèi)容。
使用ssh工具把report.zip下載到我們本地計(jì)算機(jī)上,然后解壓縮包,密碼dell
8 解壓縮完了之后,雙擊dsetreport.hta打開報(bào)告內(nèi)容
9 系統(tǒng)總體概覽
10 硬件日志。這里看到我們的cpu有一個(gè)出問(wèn)題了。
11 下面這里我們硬件日志,這里我們看到,6月17日22:22:03首先在檢測(cè)到設(shè)備0上有錯(cuò)誤,接著就是6月18日21:50:55內(nèi)存發(fā)生持久錯(cuò)誤,中間重啟過(guò)一次系統(tǒng),正常了一段時(shí)間,有出錯(cuò)。最下面是從6月27號(hào)又開始出現(xiàn)錯(cuò)誤,我們又重啟了系統(tǒng)。
12 以下這些是軟件信息沒(méi)有什么錯(cuò)誤,是有關(guān)操作系統(tǒng)。下面這個(gè)是啟動(dòng)項(xiàng)信息
13 驅(qū)動(dòng)及模塊信息
14 開機(jī)啟動(dòng)過(guò)程信息