在我的环境中发现导入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�Coredititwithnotepad�Ccopythecontents�CandpasteitinaquerywindowthatisconnectedtomyOperations(OperationsManager)Database.Ipastethecontentsofthefileinmyquerywindow,ittakesaboutaminutetocompleteinmylab.Itwillreturnalistofrowsupdated.
Nextup�CwenowneedtoconnecttotheWarehousedatabaseinstance,andopenanewquerywindowagainsttheOperationsManagerDWdatabase.WewillexecuteCU_DataWarehouse.sqlwhichwillreturn“Command(s)completedsuccessfully”.
运行完两个sql查询脚本之后,发现Microsoft.SystemCenter.Library版本升级到了6.1.7221.81
相关文章:http://support.microsoft.com/kb/2590414