All of a sudden, I received this error at a costumer site. At first I was thinking that it was simply because the web site has stopped, or another IIS-related thing, but all everything was running. I even restarted the web site and the IIS service. But, this was in fact related to framework, and the solution was simply to open a Command Prompt as Administrator and run the following command: c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –iru The command finished in a matter of seconds, the error disappeared from Operations Manager right away and the web console worked fine again. When [...]
During many Operations Manager installations at customers two things really struck me – the lack of naming conventions and good coffee – You guys have really good coffee machines which for sure make a consultant daily life easier and even better. Back to Naming Conventions – SCOM is just easier to maintain when you have good references aka Naming’s for all of your Object Reference. Sometimes companies writes a 28 pages long documents about the naming’s – like Microsoft’s (From MSDN) pretty good explanations where one of the first statement is: Do not use Hungarian Notations, - Ohhh no - [...]
In my previous blog I wrote a step by step guide on how to seal a management pack. Say you have a custom created management pack, containing groups and such, which is sealed. Now you need to add another server to this group, which isn’t possible because it is sealed. To unseal you need to run a pretty simple command and a Powershell script, and here’s how: 1. On your management server, create a folder named MpToXml on the C-drive. 2. Copy the sealed management pack you want to unseal into this folder. 3. Create a .ps1 (Powershell) script [...]
Sealing a management pack is fairly easy (everything’s easy when you’re good at it, i know), but this can be a little tricky the first couple of times. Follow this guide and you should not encounter any problems! To get started you need to download sn.exe and all referenced management packs. For OpsMgr 2007, these can be found in the Program Files\Operations Manager folder. For OpsMgr 2012, these can be found on the installation media. I have uploaded sn.exe and the management packs you need. Download them from here. It is far easiest seal management packs from your management server, as you need [...]
If you are having trouble to install your SCOM Agent on a server where you have installed the HP eva management tools, Insight Manager etc. – first try to stop the Pegasus WMI Mapper – it seams like there are some kind of exclusive locks on WMI from the Open Pegasus WMI Mapper – which affect the SCOM Agent Installation. Stop This one, and run the Agent installation again (Or discovery) See you Kåre
Want to keep the local firewall on your management sevrers and the SQL? Use the following commands to open what you need – Remember to run these the commands on each Management Server in the Resource pool you use for network monitoring. On the SQL Server: Run this at the SQL Server who is to be Database server for your Management Servers netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = localsubnet profile = DOMAIN netsh advfirewall firewall add rule name = SQLBrowserPort dir = in [...]
If you already have installed Operations Manager 2012 - Then Microsoft has a resolution: http://blogs.technet.com/b/momteam/archive/2012/06/28/kb-the-system-center-data-access-service-fails-to-start-after-applying-kb2677070.aspx For installation use the workaround In a couple of SCOM 2012 Installations I have now recieved an exeption when the installation tries to start the services, and the installation is rolled back. This seams to be after one of the newly updates from Microsoft, and I think its one of the many .NET updates. I haven’t identified exactly the ones being the bad boy. If you have a plain Windows 2008 R2 with a plain .NET 4.0 Standalone installation everything is running with flying colors. Workaround: [...]
I know that SCOM can restart the service automatically, it can even run scripts to check if it was OK. but in some cases, especially when the service need a complex check before the service is marked OK, you might want to use Orchestrator Luckily the Monitor Alert is easy to use and it has all data from the alert, that we can utilize to restart the correct service. I have created a runbook for this specific task. The runbook is setup the following way: 1. Monitor Alert: This activity is setup to monitor one or [...]
I know it – Orchestrator is the tool everyone should use to export/Import Alerts from Operations Manager 2012 SDK and of course there is a reason of why Microsoft does not deliver a connector as they did with 2007. Last week one of my customers ask about a solution they could use until they build enough confidence and knowledge about Orchestrator to let it be the conductor. So back to the solution, my very skilled colleague Jakob Svendsen has done a great job about developing a connector with both two way communication and with configuration possibilities. This connector will [...]
Freeware! New connector for SCOM 2012 that imports and exports XML.
I remember when I started my IT carrier at the European Union, every time we met up in Bruxelles we were divided into three groups a German, a French and an English spoken. But we still got an translated paper copy from the meeting in our own language (Danish). So all the meetings was translated to the locale language… Perhaps they don’t do it like this anymore – njjaaa….. Back to Operations Manager 2012 – an annoying issue with the current version (2012 RTM and 2012 CU1) seams to affect all other users than the localized one. I first saw [...]
Just returned from a customer where we installed the Final Realease of Operations Manager downloaded from Microsoft Volume License Service Center. After the installation we checked the About window in the Help Menu and as you can see from below it stated that we installed a Eval edition… To enter your license key so you avoid the Time bomb of 180 days you must use a Powershell cmdlet, start your Operations Manager Shell and enter the Set-SCOMLicense –ProductID command, like: Enter Y to Confirm the License, and thats it. Reboot your Management Server, and check the About window in the [...]
This solution have been tested with the RC Release – it could be changed in the Final Release. Last week I had an interesting case at a customer – they have a need of making the OpsMgr 2012 RC installation completely Fault tolerance – both the Operator console, Web console and report service need to be able to switch between two OpsMgr Management servers. By default if your System Center 2012 – Operations Manager Operations console is connected to the Data Access service of one management server and the connection fails, it does not automatically failover to another management server [...]
One very importent thing to check BEFORE you upgrade is the log file environment for your Operations Manager database, Please check the log size and the possibility to expand it along with the installation. Unfortunately is did cost me a couple of hours because of a Database where Autogrowth was disabled. Beside the Error 26319 in the Operations Manager log you will also get an error with MPInfra_p_ManagementPackinstall in the setup log. This is done when the installation is importing the new Management pack, Resolution – extend the size of your Operations Manager database log or Enable Autogrowth.
Next version of Operations Manager will be released first half of 2012, but already now you can get a solid training on its new features as well as the upgrade path from earlier version. This unique training is based on Operations Manage 2012 RC version of the product and is targeted at level (300). This class will take you through the installation, dimensioning and configuration of the main features in Operations Manager 2012 based on Windows 2008 R2 and MS SQL 2008 R2. After the training you will have a solid understanding of the product and be able to [...]
Now its time to use a vbs script to ensure that all services are stopped and started in the correct way – so if any services are dependent on other they will be restated as well. First Create a new task from your Console: Let it be an Agent Tasks and Remember the Management Pack: Give it a Name and a Target like this: Add a Parameter – either your Service shortname or a text like this: Press [OK] and [Create]. Choose a server and [Restart a Services and its dependencies] When running te task you need to create a [...]
If you need to restart a service with a Task, you can create a Task like this: Use either a command file or an vbs script – this sample shows using a command shell file with this content: And at the end you could run it from your Computer State View.
“How to Raise Alert from Microsoft Outlook in OpsMgr 2007” or a New Outlook Connector to Operations Manager 2007 R2
Have you ever thought on creating Alerts directly from a mail? Or Send a mail to your OpsMgr to raise an alert in your Operations Manager? A few weeks ago I was talking with a guy participating on one of the Advanced OpsMgr courses, his existing monitoring environment currently delivered an mail to a group mailbox in which they used to react and resolve issues from a Nagios/IPMonitor installation. But what he really would like to was gather all issues in the Operation Manager Console, after a quick talk with Jakob Svendsen http://blog.ctglobalservices.com/jgs/outlook-2010-auto-export-body-of-new-e-mails/ he came up with a “How To” [...]
If you are one of the guys who unfortunately live in other countries than an english spoken one – you could have problems with defining your SLA on e.g. a distributed application. But try to Log in on your RMS with the service account and change regional setting to your locale, and then you should be able to define SLA with commas…. ,,,, Have a great day…
Need to see all your Agents and the Install date / time – run this query – or download the report and import it. SELECT Path, InstallTime FROM BaseManagedEntity INNER JOIN MT_HealthService ON BaseManagedEntity.BaseManagedEntityID = MT_HealthService.BaseManagedEntityId Where InstallTime > ‘2009-21-02’ And a Report file, if you want to deliver your Operations Manager Administrators the nice view:
Have you ever tried to create a command as a Notification Channel in OpsMgr 2007? – Normally you would expect it to use the Notification Account Profile since this is the account which have been designed for this, and this account is sure doing the job on Instant Messenger and SMTP – But when you configure a Command Channel and run a command; it will run as Local System and as so the computeraccount – So if you try to call a command on another machine like when using Sysman with a modem on another machine – remember to include [...]
If you need to change the Resolution State when a new Alert appears, or change the status of an alert from a specific source or a given period of time, it could be done with a script. The script will be called by creating a Notification. Often you specify a SMTP, SMS or IM as a Channel but lets instead call a script – In this sample I will use a Powershell script to change new alerts Resolution state to the “Print Guys”. Lets start with creating a Command Notification Channel - Give it a name like this one: Start [...]
To create a Group and a rollup for all your DNS servers like: DkCphDNS0xx you could create your own Management Pack like this walk through. The code used in the example is from Jonathan Almquist\s blogpost: http://blogs.technet.com/b/jonathanalmquist/archive/2010/04/28/how-to-create-a-computer-group-in-the-r2-authoring-console.aspx and in this example the code is like this: [crayon-5a0fb87f9d301512034093/]
If you want to create groups with servers from specific locations, you could use this step-by-step description. Click on the first picture below...