前幾天我們公司的一個服務器宕機了,ping不通ssh連不上。只好讓IDC機房工作人員幫我們重啟我們的服務器。重啟完之后趕緊查看日志,但是自身服務日志并沒有報錯。接下來就是分析硬件問題了。我們服務器是DELL的,經(jīng)理讓我安裝了一個DELL 的檢測工具。Dell System E-Support Tool (DSET)這個工具可以用來收集服務器硬件信息,存儲信息(RAID卡,硬盤等)。及l(fā)inux 驅動,服務,網(wǎng)絡設置等等,同時又包括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 授予權限執(zhí)行這個可執(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 //默認程序安裝位置 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)報告,-f 指定報告位置在/home/report.zip,這里會等一段時間,這是他正在檢測系統(tǒng)硬件系統(tǒng),存儲系統(tǒng)和操作系統(tǒng)信息,檢測完,/home/目錄下回產(chǎn)生一個report.zip 就是我們要的報告
[root@bogon ~]#dellsysteminfo -f /home/report
7 查看報告內容。
使用ssh工具把report.zip下載到我們本地計算機上,然后解壓縮包,密碼dell
8 解壓縮完了之后,雙擊dsetreport.hta打開報告內容
9 系統(tǒng)總體概覽
10 硬件日志。這里看到我們的cpu有一個出問題了。
11 下面這里我們硬件日志,這里我們看到,6月17日22:22:03首先在檢測到設備0上有錯誤,接著就是6月18日21:50:55內存發(fā)生持久錯誤,中間重啟過一次系統(tǒng),正常了一段時間,有出錯。最下面是從6月27號又開始出現(xiàn)錯誤,我們又重啟了系統(tǒng)。
12 以下這些是軟件信息沒有什么錯誤,是有關操作系統(tǒng)。下面這個是啟動項信息
13 驅動及模塊信息
14 開機啟動過程信息