The following registry change will improve your SCOM 2012 console performance overall but I’ve notived a particular improvement when creating dashboard views.
The value can be from 0 to 10. 0 will disable automatic refresh and require using F5 to refresh manually. The every incriment will increase the console refresh period by 15 seconds to a maximum of 2 minutes and 30 seconds.
Earlier today I received the following error in SCOM 2012 SP1 when trying to open a Run As Account in order to add a new server for distribution
“Specified cast is not valid”
Clicking ok on the error brings up the run as properties but the distribution list is empty.
This error seems to be caused when an agent is deleted from the console and doesn’t get removed properly from the run as distribution. If you are able to, re-approving the agent does fix the error allowing you to remove that device from distribution before deleting it again.
However if the server is no longer availible (due to being decomissioned or just plain crashing) the following steps, courtesy of Blake Wilson will help:
Create a list of your servers which use the affected Run As Account.
Rename the current Run As Account to “Run as Account – Old” or similar.
Created a new Run As Account with the name and credentials of the orgional, then distribute to all of the servers from step 1.
Assign the new Run As Account to all of the Run as Profiles associated with the origional one. The easiest way is to edit the existing entry and select the new Run As Account.
Once you’ve confirmed everything is working you can safely remove the old Run As Account.
Well the old “Manually installed agent that doesn’t appear under pending management” situation still exists in SCOM 2012. What is different is that the powershell cmdlet get-agentpendingaction no longer works.
Instead we have the following cmdlet Get-SCOMPendingManagement which provides you all agents
that are in pending management and with Approve-SCOMPendingManagement you can approve the agent you need to.
For a specific agent open the Operations Manager Shell and enter: Get-SCOMPendingManagement | where {$_.AgentName -eq “ServernameFQDN“} | Approve-SCOMPendingManagement
Step 2: Install Visual Studio 2010 Tools for Office Runtime Link to download VSTO 2010 (64 or 32): http://www.microsoft.com/en-za/download/details.aspx?id=35594 Note depending on the version of Office 2010 you have installed you will need to install the x64 or x32 version of VSTO 2010.
Step 3: Reboot the OpsMgr Console machine. Note there is not prompt in the VSTO setup requiring you to reboot but this is something you have to do otherwise it will not work.
Step 4: Replace the Knowledge.DOT file found in install path:\\Program Files\System Center 2012\Operations Manager\Console with Knowledge.DOT file attached to this blog
Step 5: Replace the Microsoft.EnterpriseManagement.Monitoring.Console.exe configuration file found in install path:\\Program Files\System Center 2012\Operations Manager\Console with the Microsoft.EnterpriseManagement.Monitoring.Console.exe file attached to this blog
Recently I had to move our OperationsManager database to a different server as part of testing a disaster recovery plan. While the Microsoft procedure for this (http://technet.microsoft.com/en-us/library/hh278848.aspx) is quite in-depth there is something to be aware of if you upgraded your environment from SCOM 2007.
Step 8 will ask you you to update the table dbo. MT_Microsoft$SystemCenter$ManagementGroup in your OperationsManager database however if you upgraded this table does not exist. Instead you will need to update the old SCOM 2007 management group table dbo.MT_ManagementGroup.
Step below:
Update the operational database with the new database server name.
Open SQL Server Management Studio.
Expand Databases, OperationsManager, and Tables.
Right-click dbo. MT_Microsoft$SystemCenter$ManagementGroup (or dbo.MT_ManagementGroup if you upgraded from SCOM 2007), and then click Edit Top 200 Rows.
Change the value in the SQLServerName_6B1D1BE8_EBB4_B425_08DC_2385C5930B04 column to reflect the name of the new SQL Server-based computer.
This article is about an issue experienced with SCOM SMS notifications after upgrading from SCOM 2007 R2 to SCOM 2012. If you are looking for how to setup SMS notifications in SCOM in general I’d recommend this great article by Jeremy Pavleck (http://www.pavleck.net/2009/04/configuring-sms-in-opsmgr/)
We use a GSM modem in order to send alerts via SMS to our engineers. After upgrading to SCOM 2012 however this method stopped working and we started getting the following alert in the console.
Notification subsystem failed to locate (discover) devices/servers to use to send notification over ‘SMS’ protocol or no devices/servers were provided in configuration. All notifications for ‘SMS’ protocol will not be sent. Rule id: Subscriptionaad09d28_a5b8_4b24_ad06_7b0145a34e79
This was quite strange as testing with the modem software, it was possible to successfully send a test SMS.
As it turns out the issues lies with the Notification Resource Pool, in order to get SCOM to successfully send SMSs again I had to switch the resource pool to manual membership and remove all management servers from the pool with the exception of the one with the modem attached. Now everything is working again.
During our SCOM 2012 upgrade I came across some 2007 agents would not upgrade to 2012 due to being unable to complete the uninstall portion of the agent installer.
Errors we experienced included corrupt MSIEXEC packages and a rollback of the 2012 agent upgrade with the message “unable to install performance counters.”
After attempting manually uninstalling from Add / Remove programs as well as the SCOM 2007 removal tool with no success we came across a tool called MSIZAP. (Thanks to Jonathan Almquist for his great blog post pointing us in the right direction)
The following process will allow you to remove the SCOM agent from your servers which will in turn allow you to install your new 2012 agent: As always backup your registry before attempting any process that makes changes to it.
Download MSIZAP and copy to a location on the affected computer.
Find the product code, which is a GUID that is required for the MSIZAP product code switch. This can be found by opening the registry and navigating to:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
With the Uninstall key highlighted, click on Edit > Find, and look for the string System Center Operations Manager. Open the UninstallString string value, and copy the GUID. Include the squiggly brackets.
3. Open an elevated command prompt and run the program as follows:
4. Delete the SCOM program files, usually located under “%ProgramFiles%\System Center Operations Manager 2007”. Some files may be locked those can be ignored.
5. Open the registry, search for the Management Group name
6. Delete the Microsoft Operations Manager key that the management group name is part of
7.Open the registry and navigate to:
HKLM\System\CurrentControlSet\Services
Delete the following registry entries:
healthservice
opsmgr*
MOMConnector
System Center Management APM (2012 only)
8. Reboot the server
You will now be able to install your agent manually or with your console.
After a bit of a battle we managed to upgrade our environment to SCOM 2012, after letting everything settle we fired up the SP1 media and immediately had the following error.
Unable to Proceed
Setup could not detect the current database scenario.
Luckily for us after a bit of research, (Thanks to Stefan Roths’s blog for pointing us in the right direction) the resolution was quite simple, checking the registryHKLM\SOFTWARE\Microsoft\Microsoft Operations Manager\3.0\Setup The following keys were empty DataWarehouseDBName and DataWareHouseDBServerName
After populating the relevant values for our DB server and Data Warehouse database the install allowed us to proceed.