在我的環境中發現導入MP有問題,提示dependencympMicrosoft.SystemCenter.Library的版本是6.1.7221.0.
SCOM:Therequestedmanagementpackwasinvalid.Seeinnerexceptionfordetails.
Justopenupwindowseventviewerandcheck“OperationsManager”eventlog
LogName:OperationsManager
Source:OpsMgrSDKService
Date:10/15/20134:20:40AM
EventID:26319
TaskCategory:None
Level:Error
Keywords:Classic
User:N/A
Computer:HDC-TEST-OMMS12.seo.test
Description:
AnexceptionwasthrownwhileprocessingImportManagementPackforsessioniduuid:d28da303-ed75-4f65-b370-ed008c5c3463;id=52.
ExceptionMessage:ThecreatorofthisfaultdidnotspecifyaReason.
FullException:System.ServiceModel.FaultException`1[Microsoft.EnterpriseManagement.Common.ManagementPackException]:ThecreatorofthisfaultdidnotspecifyaReason.(FaultDetailisequalto:ManagementPackVersion[6.1.7221.81]isnotupgradecompatiblewitholderversion[6.1.7221.0].Compatibilitycheckfailedwith1errors:
-------------------------------------------------------
檢查了下Rollup,發現已經安裝了rollup5
http://support.microsoft.com/kb/2495674
但是沒有運行sqlupdate.
我們可以再一下路徑中找到sqlupdate文件:C:\ProgramFiles(x86)\SystemCenter2007R2HotfixUtility\KB2495674\SQLUpdate:
TimetoruntheSQLscripts.Thereare2scripts,locatedontheRMS,intheC:\ProgramFiles(x86)\SystemCenter2007R2HotfixUtility\KB2626076\SQLUpdatefolder:
CU_Database.sql
CU_DataWarehouse.sql
Let’sstartwithCU_Database.sql
IsimplyneedtoopenthisfilewithSQLmanagementstudio–oredititwithnotepad–copythecontents–andpasteitinaquerywindowthatisconnectedtomyOperations(OperationsManager)Database.Ipastethecontentsofthefileinmyquerywindow,ittakesaboutaminutetocompleteinmylab.Itwillreturnalistofrowsupdated.
Nextup–wenowneedtoconnecttotheWarehousedatabaseinstance,andopenanewquerywindowagainsttheOperationsManagerDWdatabase.WewillexecuteCU_DataWarehouse.sqlwhichwillreturn“Command(s)completedsuccessfully”.
運行完兩個sql查詢腳本之後,發現Microsoft.SystemCenter.Library版本升級到了6.1.7221.81