Kåre Rude Andersen

About Kåre Rude Andersen

Microsoft Certified Trainer since 1996, MCSE, TS and ITP in Microsoft Windows, SQL (also Microsoft), Exchange (MS) and Microsoft Operations Manager. Senior Consultant and have recently worked as a consultant at CSC, SAS, ISS, Nokia and Scandlines.

Autogrowth Setting in SCOM 2012 R2 are pretty static

After running System Center Operations Manager 2012 R2 for a week, I began getting these errors: Ops DB Free Space Low – And amazingly the default setting on the Operations Manager database are Autogrowth = None, which will work in a production environment for about 17 minuttes. So remember to change this when you do the installation or afterwards – by changing the InitialSize (MB) to appr 50 GB (The largest OperationsManager database I’ve ever seen at a customer where 180GB)       Change it according to your database size calculations or at least!!   Have a great day [...]

By | 2013-10-25T10:11:43+00:00 October 25th, 2013|Operations Manager (SCOM)|2 Comments

SCOM 2012 R2 – Advanced Operations Manager Training

The new instructor led training (Now in R2) are ready and scheduled. I have scheduled training in both US, Norway, Sweden and Denmark. So please contact me or one of the training centers about this training. If you have questions to the content or want more information – please send me an email. kra@coretech.dk And exactly as on the Mastering training – you will get a training book with more than 25 real life Labs. And samples of every Rule and Monitor in SCOM 2012 R2.   Training Schedule: SCOM Advanced Denmark: Coretech: 30. April – 2. may 2013 SCOM [...]

By | 2013-03-22T09:38:47+00:00 March 22nd, 2013|Operations Manager (SCOM)|1 Comment

Running Tasks with PowerShell and $ID$

Whenever you want to run a Task against an Alert, its so easy to use the $ID$ variable: Create the powershell script c:\scripts\UpdAlert.ps1 with at least the following lines: Param($ID) Import-module OperationsManager GET-SCOMAlert –id “$ID” | SET-SCOMAlert –TicketID ‘100’ –ResolutionState 249 And create the following Task: Stay on one of your Alerts and Run the tasks Refresh (F5) before you check the Alert You could extend the script with other parameters like Logging Computer and User etc. Check the Powershell help with the command: Get-Help Setp-SCOMAlert – Detailed to see more parameters. See you a MMS Kåre

By | 2013-03-09T11:10:22+00:00 March 9th, 2013|Operations Manager (SCOM)|0 Comments

Powershell to change Resolution State in Operations Manager 2012

A powershell sample used at a customer for semi-automatically changing the Resolution States: [crayon-5b5276cde81b1982514712/] [crayon-5b5276cde81c2638713012/] [crayon-5b5276cde81c7938191557/] [crayon-5b5276cde81cc079521578/] [crayon-5b5276cde81d1434852214/] [crayon-5b5276cde81d5015491471/] [crayon-5b5276cde81da274933909/] [crayon-5b5276cde81de375264938/] [crayon-5b5276cde81e3647070472/] [crayon-5b5276cde81e7392060420/] [crayon-5b5276cde81ec912055131/] [crayon-5b5276cde81f1708183279/] [crayon-5b5276cde81f5058316805/] [crayon-5b5276cde81fa539960557/] [crayon-5b5276cde81fe093217942/] [crayon-5b5276cde8203462152577/] [crayon-5b5276cde8207849516684/] [crayon-5b5276cde820c043259098/] [crayon-5b5276cde8218232929643/] [crayon-5b5276cde821d192532327/] [crayon-5b5276cde8221973469280/] [crayon-5b5276cde8226285976806/] [crayon-5b5276cde822a680066389/] [crayon-5b5276cde822f093469171/] [crayon-5b5276cde8233413673285/] [crayon-5b5276cde8238858048770/] [crayon-5b5276cde823d818101666/] [crayon-5b5276cde8243636445312/] [crayon-5b5276cde824a270908939/] [crayon-5b5276cde824f019418654/] [crayon-5b5276cde8254754853728/] [crayon-5b5276cde8258431032724/] [crayon-5b5276cde825d810709654/] And have a great Day Kåre

By | 2017-08-22T13:05:40+00:00 November 13th, 2012|Automation, Operations Manager (SCOM), Powershell|3 Comments

New Application/Tool to create Health Rollups of groups, Classes and Distributed Applications

In the past couple of years I have seen how companies are dealing with presenting their Services, Distributed Applications, Multi-Tired Applications; Many names for the same object. This Diagram Creation has often been a bit difficult, either you could create a group and use the group in Distributed Apps, which could give you a possibility of enabling the rollup and let the group be green, yellow, red or you could export the Management Pack after the creation and change the content  there are some good blogs around. And now for the Challenge of creating a nice Diagram with servers in [...]

By | 2012-11-08T13:13:31+00:00 November 8th, 2012|Operations Manager (SCOM)|6 Comments

Naming Conventions in SCOM 2012

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 - [...]

By | 2012-10-02T21:43:50+00:00 October 2nd, 2012|Operations Manager (SCOM)|1 Comment

System Center Operations Manager 2012 Agent installation failed on a HP EVA Management server

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

By | 2012-09-19T09:46:50+00:00 September 19th, 2012|Operations Manager (SCOM)|0 Comments

Firewall rules for a SCOM Management Server

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 [...]

By | 2017-08-22T13:04:01+00:00 August 15th, 2012|Operations Manager (SCOM)|3 Comments

Major issue with SCOM Install or “My SDK Data Service is not starting”

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: [...]

By | 2012-07-11T13:41:06+00:00 July 11th, 2012|Operations Manager (SCOM)|1 Comment

A New XML Connector for SCOM 2012

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 [...]

By | 2012-06-26T00:59:30+00:00 June 26th, 2012|Operations Manager (SCOM)|5 Comments

SCOM 2012 and errors with Regional Settings (other than english)

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 [...]

By | 2012-05-21T22:50:36+00:00 May 21st, 2012|Operations Manager (SCOM)|8 Comments

Adding the Product ID to your Operations Manager 2012 (SCOM 2012)

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 [...]

By | 2012-04-03T19:32:02+00:00 April 3rd, 2012|Operations Manager (SCOM)|21 Comments

How to make Operations Manager 2012 RC (SCOM 2012) Fault Tolerance

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 [...]

By | 2012-01-09T20:12:15+00:00 January 9th, 2012|Operations Manager (SCOM)|7 Comments

ERROR EventID 26319 when upgrading to Operations Manager 2012

  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.

By | 2011-12-28T23:16:26+00:00 December 28th, 2011|Operations Manager (SCOM)|1 Comment

New Operations Manager 2012 Training

  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 [...]

By | 2011-11-21T09:01:50+00:00 November 21st, 2011|Operations Manager (SCOM)|0 Comments

Exchange and Activesync: Limiting the mailbox to sync with only one device

Just came back from a customer which needed to limit the number of mobile device to one per mailbox. For this implementation the customer used all kind of smart phones, so the challange was also to find the unique Device ID from the Smartphone and add it to a Active Directory Attribute called: msExchMobileAllowedDeviceIDs. I created a Powershell script which read a text file and add the ID to AD. The script is also adding a dummy ID for all other mailboxes. It could also be disabled but the customer was more satisfied with the error from a wrong device [...]

By | 2011-05-17T12:04:59+00:00 May 17th, 2011|Powershell|0 Comments

Restart a service and all antecedent from a Task in OpsMgr

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 [...]

By | 2011-04-12T21:37:00+00:00 April 12th, 2011|Operations Manager (SCOM)|1 Comment

“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” [...]

Cannot use comma when defining SLA in OpsMgr 2007

  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…

By | 2011-04-06T13:16:46+00:00 April 6th, 2011|Operations Manager (SCOM)|0 Comments

Report based on Agent Install Date

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:

By | 2011-04-06T10:21:02+00:00 April 6th, 2011|Operations Manager (SCOM)|1 Comment