在SMS部署或者是运行维护的过成中免不了出现各种各样的问题,那么我们按照常规的方法排错还不能
解决问题怎么办?对了,你说多了我们需要去分析LOG。
有人说:但是日志那么多我怎么去收集呢?
不用怕那么这次Prain给大家介绍一个
微软提供的日志收集
工具Microsoft Product Support Services Reporting Tool,这款
工具是一款不错的日志收集
工具,在早期版本中他将Server和Client端的Log收集
工具分开了,最新版本又合并到一起。
你可以在这里
下载到你需要的工具:
http://www.microsoft.com/downloads/details.aspx?familyid=cebf3c7c-7ca5-408f-88b7-f9c79b7306c0&displaylang=en
注意:微软网站没有提供For SMS的工具,如果有需要可以联系Prain或者去
技术中国下载。
整个工具可以运行在WINDOWS2000以后的版本上,
在启动工具之后会提示你,是否需要收集包括MSINFO32的所有日志信息,如果是选择YES如果NO则不收集。
整个收集过
程序要5-20分钟,(根据你的
计算机的速度和日志
文件决定)
在执行过程中会在
系统盘中创建
%SystemRoot%\MPSReports\SMSClient
%SystemRoot%\MPSReports\SMS
文件夹
结构如下
%SystemRoot%
|
+---MPSReports
| \---SMSClient
| +---bin
| +---Reports
| +---CCMLogs
| +---CCMSETUP
| +---HotfixInstallLogs
| +---WBEMLogs
| +---cab
| \---SMS
| +---bin
| +---Reports
| +---CCMLogs
| +---CCMSETUP
| +---HotfixInstallLogs
| +---WBEMLogs
| +---cab
当整个收集完成以后将会形成一个计算机名+MPSRPT_SMS.CAB 的文件,此文件可以用WINRAR解压缩开
其中内容包含如下信息
文件夹:
=======================
CCMLogs - Folder containing the SMS Advanced client logs (from %windir%\system32\ccm\logs)
CCMSETUP - Folder containing the ccmsetup logs
HotfixInstallLogs - Folder containing all hotfix installation log files
WBEMLogs - Folder containg the WMI logs
文件:
=======================
BitsAdmin.txt - BITS service and queued job(s) status
bitssetup.log - BITS service installation log
Eventlog_Application.evt - Application Event log in .EVT format
Eventlog_Application.txt - Application Event log in .TXT format
Eventlog_Security.evt - Security Event log in .EVT format
Eventlog_Security.txt - Security Event log in .TXT format
Eventlog_System.evt - System Event log in .EVT format
Eventlog_System.txt - System Event log in .TXT format
Filelist_CCM.txt - File list for %windir%\system32\ccm
Filelist_TEMP.txt - File list for %temp%
Filelist_WINDIR.txt - File list for %windir%
Hotfix.txt - Registry entries: HKLM\Software\Microsoft\
WindowsNT\CurrentVersion\ (Hotfix, Updates, Uninstall)
NI.txt - Network Statistics log.
PROGRESS.TXT - Progress Log that MPS Reports updates to track how far it has gotten.
ProxyCFG_WinHTTP.txt - Winhttp proxy configuration status
RegKey_CCM.txt - Registry entries: HKLM\SOFTWARE\Microsoft\CCM
RegKey_Internet_Settings.txt - Registry entries: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings
RegKey_SMS.txt - Registry entries: HKLM\SOFTWARE\Microsoft\SMS
RegKey_Uninstall.txt - Registry entries: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
sc_CCMEXEC.txt - sc query for ccmexec
sc_list.txt - sc query for all the services
SMS_ADContainer.txt - Containing the data under the "system management" container of GC
SMS_ADContainer.XML - Containing the data under the "system management" container of GC
SMS_Client.txt - Containing the SMS 2003 Advanced client's properties, components status and actions
SMS_Client.XML - Containing the SMS 2003 Advanced client's properties, components status and actions
SMS_PolicySpy.xml - Policy Spy export
SMS_SimulateAssign.txt - Simulate SMS advanced client assignment process. Get assigned from AD
SMS_SimulateAssignFromSLP.txt - Simulate SMS advanced client assignment process. Get assigned from SLP
tlist.txt - The output of "tlist -t"
variables.txt - Environment variables configured on target machine (both set output and Environment registry key)
Winmsd.nfo - NFO format of Winmsd.
Winmsd.txt - TXT format of Winmsd.
LOG文件可以使用SMSTOOLKIT文件打开,TXT文件可以直接使用记事本打开。