понедельник, 10 октября 2016 г.

Ошибка 0x80131534 при обновлении SCOM Reporting Server 2012 R2 до 2016 RTM.

При обновлении до System Center Operation Manager 2016 RTM все первоначально прошло настолько замечательно, что я даже начал волноваться. Но вот как только начался апдейт Reporting Server, все стало на свои места - ошибка "Management server upgraded check". Утверждает, что я не обновил Operation Management Server. Врет. Поиски решения, увы, успехом не увенчались.

Наиболее "понятный" текст ошибки был в логе C:\Users\Linby\AppData\Local\SCOM\LOGS\SCOMPrereqCheck.log:

  <Result StatusCode="2">
    <Status>Failed</Status>
    <Check>MgmtServerUpgradedTitle</Check>
    <Components>
      <Component>OMWEBCONSOLE</Component>
      <Component>OMREPORTING</Component>
    </Components>
    <Description>MgmtServerUpgradedFailed</Description>
    <Resolution>MgmtServerUpgradedResolution</Resolution>
    <LogInformation>System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager' threw an exception. ---&gt; System.TypeLoadException: Could not load type 'Microsoft.EnterpriseManagement.Mom.InternalSdkOnly.IdUtil' from assembly 'Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager.CreateDataSet()
   at Microsoft.EnterpriseManagement.Administration.Settings..ctor(ManagementGroup managementGroup)
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.InitializeSettings()
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.GetSettings()
   at Microsoft.EnterpriseManagement.Administration.ComputerHealthService.Reconnect(EnterpriseManagementGroup managementGroup)
   at Microsoft.EnterpriseManagement.Administration.ManagementServer.Reconnect(EnterpriseManagementGroup managementGroup)
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.CreateManagementServers(IList`1 computerMonitoringObjects, IList`1 healthServiceMonitoringObjects, Pair`2 computerResultsPair)
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.GetManagementServers(ManagementServerCriteria criteria)
   at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupHelpers.GetVersionOfManagementServer(String managementServer)
   at Microsoft.SystemCenter.Essentials.SetupFramework.HelperClasses.OMPrequisiteChecks.ManagementServerAlreadyUpgradedCheck(String arguments, String formatValue)</LogInformation>
  </Result>

Дополнительно в файле C:\Users\Linby\AppData\Local\SCOM\LOGS\OpsMgrSetupWizard.log была такая ошибка:

[17:01:03]: Error: :Inner Exception.Type: System.TypeLoadException, Exception Error Code: 0x80131534, Exception.Message: Could not load type 'Microsoft.EnterpriseManagement.Mom.InternalSdkOnly.IdUtil' from assembly 'Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
[17:01:03]: Error: :InnerException.StackTrace:   at Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager..cctor()
[17:01:03]: Debug: :**************************************************
[17:01:03]: Error: :System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager' threw an exception. ---> System.TypeLoadException: Could not load type 'Microsoft.EnterpriseManagement.Mom.InternalSdkOnly.IdUtil' from assembly 'Microsoft.EnterpriseManagement.Core, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.EnterpriseManagement.Common.Internal.SettingsCacheManager.CreateDataSet()
   at Microsoft.EnterpriseManagement.Administration.Settings..ctor(ManagementGroup managementGroup)
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.InitializeSettings()
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.GetSettings()
   at Microsoft.EnterpriseManagement.Administration.ComputerHealthService.Reconnect(EnterpriseManagementGroup managementGroup)
   at Microsoft.EnterpriseManagement.Administration.ManagementServer.Reconnect(EnterpriseManagementGroup managementGroup)
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.CreateManagementServers(IList`1 computerMonitoringObjects, IList`1 healthServiceMonitoringObjects, Pair`2 computerResultsPair)
   at Microsoft.EnterpriseManagement.Administration.AdministrationManagement.GetManagementServers(ManagementServerCriteria criteria)
   at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupHelpers.GetVersionOfManagementServer(String managementServer)
   at Microsoft.SystemCenter.Essentials.SetupFramework.HelperClasses.OMPrequisiteChecks.ManagementServerAlreadyUpgradedCheck(String arguments, String formatValue)
[17:01:03]: Error:
[17:01:03]: Error: :CheckPrerequisites: MgmtServerUpgradedTitle: Failed

Решение - установить на данный сервер SCOM 2012R2 Operations Console и обновить его через Windows Update. После этого обновление до 2016 RTM проходит корректно:




Комментариев нет:

Отправить комментарий