Archive | SCOM

Error installing SCOM 2012 “OMServer.msi returned error 1603”

 

I ran across this issue when installing SCOM 2012.  This issue was occurring when it got to the step where it was trying to install the management server and would cause the install to roll back.

Looking in the event logs I seen these two errors

Log Name:      Application
Source:        MsiInstaller
Event ID:      11330
Level:         Error

Description:
Product: System Center Operations Manager 2012 Server — Error 1330.A file that is required cannot be installed because the cabinet file C:\SCOM 2012\Setup\AMD64\Server\OMCore.Cab has an invalid digital signature.  This may indicate that the cabinet file is corrupt.  Error 270 was returned by WinVerifyTrust.

 

and this error

 

Log Name:      Application
Source:        MsiInstaller
Event ID:      10005
Level:         Error

Description:
Product: System Center Operations Manager 2012 Server — Error 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.).

In the OpsMgrSetupWizard setup log found in (C:\Users\<installaccount>\AppData\Local\SCOM\LOGS)

 

Error:    :LaunchMSI: MSI C:\SCOM 2012\Setup\AMD64\Server\OMServer.msi returned error 1603
Error:    :ProcessInstalls: Install Item Management Server failed to install.  We did not launch the post process delegate.
Always:    :SetErrorType: Setting VitalFailure. currentInstallItem: Management Server
Info:    :SetProgressScreen: FinishMinorStep.
Always:    :!***** Installing: OMDATAWAREHOUSE ***
Info:    :ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
Always:    :****************************************************************
Always:    :****Starting*RollBack*******************************************

 

After trying a bunch of different fixes I came across this one that worked.

Looking at these two registry values

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\WinTrust\Trust Providers\Software Publishing

 

They had been modified from the default value of 146432  (I believe group policy was automatically modifying these)

 

I changed the value back to the default 146432 and installed completed successfully.

 

  Name:           State
  Type:            REG_DWORD
  Data:            0x23c00

Continue Reading

Windows Server Base OS MP 6.0.6972.0 Update Released

 

Download: http://www.microsoft.com/en-us/download/details.aspx?id=9296

Changes in This Update
Unless explicitly noted, these updates apply to all operating system versions supported by this Monitoring Pack:

  • Updated the Cluster shared volume disk monitors so that alert severity corresponds to the monitor state.
  • Fixed an issue where the performance by utilization report would fail to deploy with the message “too many arguments specified”.
  • Updated the knowledge for the available MB monitor to refer to the Available MB counter.
  • Added discovery and monitoring of clustered disks for Windows Server 2008 and above clusters.
  • Added views for clustered disks.
  • Aligned disk monitoring so that all disks (Logical Disks, Cluster Shared Volumes, Clustered disks) now have the same basic set of monitors.
    • There are now separate monitors that measure available MB and %Free disk space for any disk (Logical Disk, Cluster Shared Volume, or Clustered disk).
      • These monitors are disabled by default for Logical Disks, so you will need to enable them.
    • Updated display strings for all disks to be consistent, regardless of the disk type.
    • The monitors generate alerts when they are in an error state. A warning state does not create an alert.
    • The monitors have a roll-up monitor that also reflects disk state. This monitor does not alert by default. If you want to alert on both warning and error states, you can have the unit monitors alert on warning state and the roll-up monitor alert on error state.
  • Fixed an issue where network adapter monitoring caused high CPU utilization on servers with multiple NICs.
  • Updated the Total CPU Utilization Percentage monitor to run every 5 minutes and alert if it is three consecutive samples above the threshold.
  • Updated the properties of the Operating System instances so that the path includes the server name it applies to so that this name will show up in alerts.
  • Disabled the network bandwidth utilization monitors for Windows Server 2003.
  • Updated the Cluster Shared Volume monitoring scripts so they do not log informational events.
  • Quorum disks are now discovered by default.
  • Mount point discovery is now disabled by default.

Notes
This version of the Management Pack consolidates disk monitoring for all types of disks as mentioned above. However, for Logical Disks, the previous Logical Disk Free Space monitor, which uses a combination of Available MB and %Free space, is still enabled. If you prefer to use the new monitors (Disk Free Space (MB) Low Disk Free Space (%) Low), you must disable the Logical Disk Free Space monitor before enabling the new monitors.

The default thresholds for the Available MB monitor are not changed, the warning threshold (which will not alert) is 500MB and the error threshold (which will alert) is 300MB. This will cause alerts to be generated for small disk volumes. Before enabling the new monitors, it is recommended to create a group of these small disks (using the disk size properties as criteria for the group), and overriding the threshold for available MB.

Continue Reading

How to view SCOM 2012 Dashboards in SharePoint 2010 or SharePoint 2013

 

SCOM 2012 has some nice new dashboards.   The average IT user or application owner often doesn’t want to learn the SCOM console.  They just want to know that state of their application.  With 2012 we now have the ability to create dashboards for these users and show the state of their application in SharePoint.

I start by looking over the TechNet instructions here:

http://technet.microsoft.com/en-us/library/hh212924.aspx#bkmk_howtodeploytheoperationsmanagerwebpart

 

Then I create a basic dashboard that I want to show in my SharePoint site.

image

Next I copy the SharePoint folder from the installation media d:\Setup\amd64\SharePoint over to my SharePoint server c:\Temp.

The user I am logged on as is a Farm Administrator so I have all the SharePoint permissions I need.

On my SharePoint server I open the SharePoint 2010 or SharePoint 2013 Management Shell as an Administrator

image

I navigate over to the temp location where my files are located and type the following command.

.\INSTALL-OPERATIONSMANAGER-DASHBOARDVIEWER.PS1 “C:\Temp\SHAREPOINT”

*Note: If you get an error you may have to run “Set-ExecutionPolicy Unrestricted”

image

It prompts me for a Siteurl.  I just click enter so that it install into all my sites.

*Note: In a large environment I would put in a specific Siteurl.

It takes about a minute to install in my environment.

image

Now I need to configure SCOM in my SharePoint Environment.

First I open up a web browser from my SharePoint server to my Operations Manager environment.

http://scomms1/OperationsManager/default.aspx

It prompts me to install Silverlight so I go ahead and install it.

 

Now I open up the SharePoint 2010 Central Administration site.  Under Site Actions I select View All Site Content

image

Under Lists I select Operations Manager Web Console Environments.

image

Then I select Operations Manager on localhost.

image

A dialog box opens and then I select Edit Item

Where it says HostUri I type in the web address of my Operations Manager Web console but I leave off the default.aspx

http://scomms1/OperationsManager/

image

I click Save.

Now I browse to the actual SharePoint site where I want to display my dashboard.

Under Site Actions I click Edit Page

image

I Check Out the page

image

Under Insert I select Web Part.  Then I select Microsoft System Center, then Operations Manager Dashboard.  Then  I click Add

image

I see the web part is on the page.  Now I have to edit it.

I hover over the text and then select the down arrow on the right side.  I select Edit Web Part

image

 

Over on the right hand side I see Operations Manager Dashboard Viewer Web Part

image

 

I now need the URL for the Dashboard that I want to display. Leaving the SharePoint site open, I open up another web browser and type in the URL of my SCOM Console.

Then I browse to the dashboard I want to display.  I copy the URL of my dashboard.

http://scomms1/OperationsManager/default.aspx#/dashboard(type=Tim!UIGenerated_6658ef51239849e4ac681226c0522df4_Perf)

image

Back to my SharePoint site browser window I paste in the dashboard location and click OK

image

I now see the dashboard open in the SharePoint site.

image

I check in my changes and I am done.

Another thing to note is that I could also setup this site to used shared credentials.  What this means is that instead of controlling permissions from SCOM I can setup one user ID so that anyone who wants to see this dashboard can view it using a common ID.  Instructions are here http://technet.microsoft.com/en-us/library/hh212924.aspx#bkmk_howtodeploytheoperationsmanagerwebpart

Continue Reading

Operations Manager 2012 Sizing Helper Tool Released

The OpsMgr 2012 Sizing Helper is an interactive document designed to assist you with planning & sizing deployments of System Center 2012 Operations Manager. It helps you plan the correct amount of infrastructure needed for a new OpsMgr 2012 deployment, removing the uncertainties in making IT hardware purchases and optimizes cost. A typical recommendation will include minimum hardware specification for each server role, topology diagram and storage requirement.

I personally have used the R2 Sizing helper with great success so I would think the 2012 version would be on par.

Download: http://blogs.technet.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-03-48-96-45/System-Center-2012-Operations-Manager-Sizing-Helper-Tool-v1.xls

 

 

 

Continue Reading

Active Directory MP version 6.0.7822.0 Released

Download: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=21357

 

The March 2012 revision of the Monitoring Pack for Active Directory includes the following changes:

  • Corrected some Publisher names (for example, changed from PublisherName=KDC to PublisherName=Microsoft-Windows-Kerberos-Key-Distribution-Center)
  • Updated rules to generate Alerts and not only go to the Event Viewer
  • Removed unnecessary check for Event Source Name for all NTDS rules (for example, removed EventSourceName=”NTDS General”)
  • Corrected event parameter validation
  • Updated queries to search for correct event IDs
  • Fixed spelling errors
  • Added missing descriptions to rules
  • Fixed problems with Health Monitoring scripts
  • Removed user name checks from Userenv rules

 

Continue Reading

Fix SCOM 2012 Install error “The version of SQL Server on this computer is either not supported or could not be validated because of an issue connecting to the WMI provider. “

 

clip_image002

Looking at the logs I see this

 

[10:30:32]:           Info:      :GetSqlVersion: Collecting SQL Instance information for vscomsql1
[10:30:34]:           Error:     :GetSqlVersion(): Threw Exception.Type: System.Management.ManagementException, Exception Error Code: 0x80131501, Exception.Message: Invalid class
[10:30:34]:           Error:     :StackTrace:   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SetupValidationHelpers.GetSqlVersion(String sqlServerInstance)
[10:30:34]:           Always:                :Current Version of SQL=0.0   Required Version=10.1.0.0

   

Looking at http://technet.microsoft.com/en-us/library/hh205996.aspx I found this note

 

You might receive a message about having the wrong version of SQL Server, or you might encounter a problem with the SQL Server Windows Management Instrumentation (WMI) provider. To resolve this problem, open a Command Prompt window, select Run as administrator, and then run the following command. In the command, replace the <path> placeholder with the location of SQL Server:

mofcomp.exe <path>\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof”.

I tried running the “mofcomp.exe” command on the SQL Server but it doesn’t even seem to execute correctly.

 

mofcomp.exe "C:\Program Files\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof

 

clip_image002[4]

Finally I figured out what this issue was.  I was running the command using the wrong path.  Thinking it was a 64-bit OS and SQL 64-bit I assumed 64-bit path.  Turns out the command needs the x86 Path “C:\Program Files (x86)”

 

I ran the following command and this fixed my issue

mofcomp.exe "C:\Program Files (x86)\Microsoft SQL Server\100\Shared\sqlmgmproviderxpsp2up.mof

 

image

 

Continue Reading

Installing the SCOM 2012 Web Console prerequisites “the easy way”

 

*Note prerequisites may change when SCOM 2012 RTMs

I need the Web Server (IIS) role with the follow server role services:  According to http://technet.microsoft.com/en-us/library/hh205990.aspx#BKMK_RBF_WebConsole

  • Static Content
  • Default Document
  • Directory Browsing
  • HTTP Errors
  • HTTP Logging
  • Request Monitor
  • Request Filtering
  • Static Content Compression
  • Web Server (IIS) Support
  • IIS 6 Metabase Compatibility
  • ASP.NET
  • Windows Authentication

I could go to Server Manager and add the individual roles and features, but I am running Server 2008 R2 so lets make it super simple with PowerShell.

1. Launch the PowerShell command prompt

2. Run this command

Import-Module ServerManager

3. Press Enter

4. Run this command

Add-WindowsFeature NET-Framework-Core,Web-Static-Content,Web-Default-Doc,Web-Dir-Browsing,Web-Http-Errors,Web-Http-Logging,Web-Request-Monitor,Web-Filtering,Web-Stat-Compression,AS-Web-Support,Web-Metabase,Web-Asp-Net,Web-Windows-Auth –restart

5. Press Enter

image

 

I then see

 

6. If you already installed .net 4.0 then you will need to run this command from PowerShell to register IIS with .net 4.0

c:\windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -r

image

 

7.  Now I need to enable IIS to work with .net 4.0

 

c:\windows\system32\inetsrv\appcmd set config /section:isapiCgiRestriction /[path=`’C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll`’].allowed:True

 

image

 

A quick check of IIS and its it looks like it’s ready to go.

 

image

Continue Reading

MP2XMLPRO Management Pack Conversion Tool

 

MP2XMLPRO is a GUI based tool I created to export MP files to XML.

Currently you can do this with Boris’s PowerShell script or the MPDumper tool.  I only need to convert management packs once in a while and I often find myself wasting time trying to remember the correct syntax for these tools.  This new GUI based tool makes it simple.

 

Download: Link

image

Continue Reading