Wednesday, February 29, 2012

OM12 Survival Guide

Microsoft TechNet has made a wiki functioning as a pointer to the best information about OM12 on the web.

Survival guide is to be found here.

New KB article: Removing orphaned Operations Management agents using PowerShell

Some time ago Microsoft released a new KB article about how to remove orphaned SCOM Agents using PowerShell. When reading the KB however one will notice the removal is actually performed by running some SQL queries against the Operations Manager database. Nomne the less, it’s still a very useful KB article.

KB2626752 tells the cause of this issue and how to solve it.

How To Seal a Management Pack?

Phew! Was about to write a long posting about how to seal a MP since I do get a lot of questions about it. This posting already describes why to seal a MP. So I thought it was time for a follow up.

However, Bing saved me a lot of time since I found this posting written by Jonathan Almquist, all about how to seal a MP. Since his posting is very detailed I have decided not to write my own posting about how to seal a MP but refer to his posting instead.

So here it is:
image

However, for sealing MPs a tool is required in order to create a key. For creating this key a tool named sn.exe is required. You can download the SDK containing this tool or you can download it from my SkyDrive directly. Saves you a lot of time Glimlach.

OM12: How to dump Management Pack Bundles (.mpb files)

Daniele Grandini, a fellow MVP from Italy, and highly respected for his knowledge on authoring MPs and SQL knowledge, has posted an excellent article all about dumping Management Pack Bundles for OM12 and SCSM.

Taken directly from the posting:

‘…Since the first way to understand new techniques is learning from others, or if you want via reverse engineering, one of the first steps to achieve this is to get access to MP contents and indeed we had several scripts in the community to do this . With Operations Manager 2012, a new format for MPs has been introduced: Management Pack Bundles (.mpb files). Actually Service manager had MPBs since a long time. The old scripts to dump the content of an MP file need to be updated to dump MPB as well…’

Daniele shares a PowerShell script which enables one to dump of both MP and MPB files for both OpsMgr and Service Manager. Want to know more? Go here.

So Italy isn’t only famous for its magnificent cars, food and wine but also for the PowerShell scripts! Glimlach

OM12–Xplat Permissions and Sudo

Taken directly from System Center Central (thank you David!):

‘…Within SC2012 Operations Manager it is now possible to use sudo elevation for agent push, upgrades etc, and for RunAs accounts. With this addition though, you will probably get more questions for the your UNIX/Linux admins about configuring the accounts to perform monitoring and agent tasks with the minimum amount of permissions…’

In order to address all these questions, Microsoft has written a TechNet Wiki article providing all the information you need:
image

This article is a must-read for anyone monitoring Xplat with OM12.

MMS 2012 SOLD OUT!

Wow! MMS 2012 is SOLD OUT! All 5500 available ‘seats’ are sold! Unbelievable! This is 1000 more than the highest ever registration before. Awesome!
image

But then again, MMS 2012 is expected to be special since 2012 is the year all System Center products will get a new version. And many people expect MMS 2012 to be THE event where all System Center 2012 products will be announced…

Monday, February 27, 2012

Testing APM with OM12 – Say hello to nopCommerce and iPad 4 running Windows 8!

Update 2nd of March 2012:
As it turns out, the latest version of nopCommerce doesn’t work with OM12 APM. Instead, read this posting all about two alternatives.

AVIcode, used for monitoring .NET applications is up to SCOM R2 a set of separate modules and additional infrastructure which has to be bought, licensed, installed and configured separately. However, with OM12 AVIcode is integrated and rebranded to APM (Application Performance Monitoring).

APM is really something special and adds so much more to the overall monitoring capabilities of OM12. Actually, it’s a world on its own. So when one runs an OM12 test environment it’s good to put APM through it’s paces as well so one knows how to configure it in production environments.

But how does one create a .NET application on the fly based on IIS 7.0? The answer is really simple: you DON’T! You download a .NET application from the internet follow a wizard and in the matter of a few minutes one has a full blown .NET application running on IIS 7.0 at hand. This .NET application represents a web shop where one can order all kind of stuff and – as an administrator – add new items and modify existing items as well. So you can add the iPad 4 running Windows 8 for instance! One has to create some bogus transactions in the web shop of course in order for APM to collect some data, but at least one has the change to test APM. Nice!

This posting will be all about downloading, installing and configuring this .NET application based web shop, titled nopCommerce.
image

There is much to tell so let’s start.

Requirements

  1. It’s best to have a SQL Server in place. The SQL Server hosting the OM12 databases can be used for instance;
  2. On the server which is going to host nopCommerce install the Web Server (IIS) Role with the most common Role Services;
  3. Install .NET Framework 4.0 as well.

A: Download & Installation

  1. Log on with an account which has local admin permissions on the Web Server which is going to host nopCommerce;
  2. Go to this web page and hit the Install button;
  3. Click Install Now or wait a few seconds for running the Web Platform Installer 3.0;
  4. Click Run
    image
  5. Click Run;
    image
  6. The installer files will be downloaded now. Just wait for some seconds;
  7. Click Install;
    image
  8. In this setup I use another SQL Server so I select the option Use a remote server > Continue;
    image
  9. Depending on your server an additional set of software (Microsoft or third party) and components will be installed and configured as well > I Accept;
    image
  10. All software is being downloaded and installed. Be patient;
    image
  11. Select New Web Site for the Web Site option. Enter all required information like the application name, Web Site name, Physical path, IP Address, Port and Host Name > Continue;
    image
  12. nopCommerce is being installed now. Be patient;
    image
  13. nopCommerce is successfully installed. Click the Launch nopCommerce link in the screen (it will open IE) and close this installation screen byy clicking Finish. The installation part is finished now.
    image

B: Configuring nopCommerce

  1. As stated before IE will be opened with the nopCommerce configuration screen (this can take a while for the first time which is normal):
    image
    Don’t forget to bookmark this page!
  2. Now you have to enter the name of the SQL server which is going to host the SQL database for nopCommerce. Even though this is a straight forward process it’s important to pay attention to these items:
    • Enable the SQL Server to allow remote connections (SQL Server Configuration Manager is used as a tool for this):
      image
    • Many times the installation fails because the account isn’t recognized. Create a SQL account which has enough permissions on the SQL instance. In test environments I always make this account (nopCommerce for instance) SA. So no hassles there :). 
      image
      In a test environment you can deselect the option Enforce password policy;
      image
    • When the SQL account is created and granted SA permissions, configure SQL Server to accept this type of Server authentication (Microsoft SQL Server Management Studio is used as a tool for this. Connect to the SQL instance, right click it and select Properties. Select Security page and set Server authentication to SQL Server and Windows Authentication mode):
      image
    • Make sure the firewalls (when enabled) allow the SQL server traffic to pass through.
  3. Now it’s time to fill out the installation page of the nopCommerce web site, item: Store Information.
    image 
    Write down the Admin user email and password. With this information you can administer the website and add the iPad 4 with Windows 8 :). Don’t forget to keep the option Create Sample data selected otherwise your store is EMPTY!!!
  4. Item: Database Information.
    image
    - Select the option Select SQL Server (or SQL Express) database. [Recommended];
    - Put a mark in the check box Create database if it doesn’t exist:
    - Enter the SQL Server name and the name of the database which is going to be created for nopCommerce;
    - Select the option Use SQL Server account.
  5. Now all the required information is provided. Hit the Install button and the noPCommerce database will be created and filled with sample data:
    image
    This will take a while, be patient…
    Yes, something is happening, the nopCommerce SQL database is created:
    image
    nopCommerce is still under construction:
    image
    More patience is needed I guess :)
  6. Yeah baby! noPCommerce is OK:
    image
    Bookmark this page!
  7. Click on Log in and use the Administrator credentials (see B3) and click Administration. Now you can add your iPad 4 with Windows 8 item:
    image

Now nopCommerce is in place and functional. In a later posting I will describe how to setup OM12 RC for monitoring the nopCommerce web application. So stay tuned!

Friday, February 24, 2012

OM12: Improved Health Explorer

In SCOM (R2) it can take ages for the Health Explorer to load, especially when the related server is monitored on many items like AD, DNS, DHCP, Server OS and the lot.

Main reason for this load time is the fact every single Monitor relevant to that server is loaded and shown. In OM12 the behavior of Health Explorer is changed. Now only the unhealthy Monitors will be shown, like this:
image

This saves a lot of loading time thus making Health Explorer far more snappier. Another thing is that now only the relevant Monitors will be shown enabling one to zoom in much quicker to the issue at hand. So all the clutter/noise is removed.

Nice!

SCOM Super Tools updated for OM12

Every time I run into a SCOM implementation I advise the SCOM admins to use – what I personally call - The SCOM Super Tools. These tools are made by Boris Yanushpolsky and are really required in any SCOM environment. These tools consist out of these parts:
  1. Override Explorer
  2. MP Viewer
  3. Proxy Settings

Sadly Boris has left the OpsMgr Team in order to pick up another challenge within Microsoft. He will be missed for sure. However, there is good news as well. Daniele Muscetta has updated the code of these tools so they work with OM12 as well. These tools can be found here.

Good to know:
These tools are provided "AS IS" with no warranties, and confers no rights. Use of included utilities are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Monday, February 20, 2012

General overview of the Security Model for SCOM/OM12

Kevin Holman has written an excellent posting containing a general overview of the security model, and rights required, to deploy and operate System Center Operations Manager.

In a nutshell all the required information (and resources!) are described in that posting. So it’s a good starting point for any one running a SCOM/OM12 environment.

The posting can be found here.

Testing the network monitoring capabilities with OM12

OM12 brings a totally new component for network monitoring. When you want to test it but don’t have any network devices available for it, a smart approach is running a network device simulator.

Jalasoft has such a tool, for free. Kevin Holman has written a posting about this tool and how to set it up. Want to know more? Go here.
image
(Picture taken directly from Kevin’s blog posting.)

System Center Orchestrator 2012 Component Add-ons and Extensions available for download

For the Release Candidate of SCO there are for some days now the RC versions of the Integration Packs (IPs) for the SC 2012 products available for download. Taken directly from the webpage:
image

Whenever you’re testing the RC of SC this software is a requirement. It can be downloaded from here.

SCOM R2/OM12 and Linux: Some very good resources

Whenever you want to monitor cross-platform environments with SCOM R2 or OM12 it’s always good to know what you’re doing. Many of us live in Windows-only world so a good test lab comes in handy. But setting up a test lab for that can be a challenge as well.

Of course, all of us know very well how to setup a test lab running Windows VMs. But how about setting up a test lab with Linux VMs? After all, we want to test monitoring of cross-platform with SCOM R2/OM12 so those Linux VMs are a requirement. And yet, we build the test lab in order to learn more about it.

Gladly there are two highly respected fellow MVPs who posted very good stuff about just that! Pete Zerger and Cameron Fuller went to great lengths in order to explain how to setup a test lab with Linux VMs. Of course, based on Hyper-V.

Want to know more? Check out these AWESOME postings:

  1. Pete Zerger: Linux Configuration Resource Kit for System Center Administrators;
  2. Cameron Fuller: Installing and working with Unix/Linux in SCVMM 2012 RC.

All credits go to these two guys. Thanks Cameron and Pete for sharing this kind of information. Awesome!

Friday, February 17, 2012

System Center Universe Recordings are available now

On January the 19th there was a BIG System Center event in the US (when you ask me, EVERYTHING is BIG in the US Glimlach). Much was told about the new SC 2012 products, so these sessions were very interesting.
 

For the ones who couldn’t attend it’s good to know the video recordings and PowerPoint presentations are available for download from here.
image

nWorks MP for VMware updated!

For some weeks now version 5.7 of the nWorks MP for monitoring VMware is available. Even though the version change (from 5.6 to 5.7) seems minor, much has been changed, like (but not limited to):
  1. Ghost Computers are gone!
    Up to version 5.6 there was this nagging issue of unmonitored Windows Computers. What happened was that the nWorks MP detected the VMs hosted by the VMware ESX(i) servers and piped it into SCOM. However, a relationship between a VM and a Windows Computer was created as well. As long as the VM ran a SCOM Agent, nothing was wrong. But when the VM was nothing but a test server without a SCOM Agent, the VM would show up in SCOM as an unmonitored Windows Computer. I have seen environments with many unmonitored Windows Computers because of that.

    With the latest version of the nWorks MP this is remedied. Nice!

  2. Reports: More, better & improved!
    What’s a good MP without any Reports? Exactly, a bad MP! Also when the MP has Reports but they aren’t good enough, the overall quality of the MP is affected as well. The nWorks MP already had good reports. In the latest version however, new Reports are added, existing ones are totally rewritten. So all you ever wanted to know about your VMware environment, but didn't have the time for it, it’s there now with a single click on the mouse button!

  3. vSphere 5.0 support
    VMware ESXi 5.0 and VMware vCenter Server 5.0 are fully supported now, also the new metrics. These metrics are monitored and collected as well. So one gets an even better grip on the VMware ESXi 5.0 environment. Nice!

  4. CIM-XML protocol support
    With this protocol hardware data is collected directly from the ESX(i) hosts. This reduces the overhead on vCenter and exposes more sensors as well. A welcome side-effect is that the ‘noise’ (Refresh Hardware Information’ events in the VI-Client) is gone as well. I know many VMware admins who will love this one!

  5. New Views and Dashboards
    This version of the nWorks MP has new Views and Dashboards. So with a single glance one gets a better and detailed status information about the VMware environment.

But there is much more to it as well. Want to know more? Want to test drive it yourself? Go here. IMO, this MP is very good and adds much functionality to any existing SCOM environment out there. Whenever you run VMware and you have SCOM in place as well, you really need this MP.

Sometimes people tell me they already have vCenter in place, so why bother? However, vCenter is primarily a resource manager tool with some basic monitoring capabilities. The nWorks MP – in conjunction with SCOM – brings the monitoring of your VMware environment to whole new level.

Thursday, February 2, 2012

SCOM R2 Gateway Server Approval Tool fails with error: ‘The gateway name already exists as a computer instance.’

Issue
Got this interesting error today when trying to install a new Gateway server. It really puzzled me. Since this server wasn’t present at all in SCOM. It was a brand new server provisioned in a VMware environment. No Agent present on that server nor was it Agentless monitored. And yet when I ran the Gateway Approval Tool I got an error stating: ‘The gateway name already exists as a computer instance’.

Cause
Hmm. Wait! The VMware environment itself is being monitored by the nWorks Veaam MP which is older then version 5.7 (it has to updated soon). And the versions older then 5.7 of that MP have a small issue to reckon with: whenever a VM is detected it’s piped into SCOM and a relationship with a Windows Computer Object is created. Whether or not a SCOM R2 Agent is in place or not. Since this VM didn’t run a SCOM R2 Agent but was picked up by the nWorks Veeam MP it turned up into SCOM R2 as an unmonitored Windows Computer Object. And very hard to remove.

Resolution
The PS cmdlet Remove-DisabledMonitoringObject didn’t work here so it was time for more drastic measures.

Be aware though it may wreck your SCOM database, so make a valid back up of it before you go ahead. Also good to know is that I am not responsible when your DB dies. (Anyhow, I have used this trick some times already and until now with no DB corruption…).

Preparations are key here since when the unmonitored Windows Computer is removed out of SCOM, the Gateway Server must be installed ASAP. Otherwise the computer will be back and might wreck the installation of the Gateway Server again. So in order to stay away from that scenario, prepare the installation of the Gateway Server in such a manner you can move fast.

Preparation

  1. Create the required certificates (for the Gateway Server and the Management Servers) and install them;
  2. Copy the required installation files to the Gateway Server and don’t forget the MOMCertImport.exe tool AND CU#5;
  3. Create the required syntax for the SCOM R2 Gateway Server Approval Tool and keep it at hand;
  4. I found the required query on this blog posting (thanks Maarten Goet for sharing). Read this posting twice so you know what you’re doing;
  5. Open SQL Server Management Studio and make a backup of the SCOM R2 database.

The Real Deal (and now you’ve got to move FAST!!!)

  1. When the backup is OK run the query as stated on Maarten’s blog;
  2. Check the SCOM R2 Console for the unmonitored Windows Computer which must become the Gateway Server. You’ll see it’s gone now;
  3. Run the Gateway Server Approval Tool. It will succeed now;
  4. Install the Gateway Server right after it;
  5. Run the MOMCertImport.exe tool in order to map the correct certificate to the SCOM R2 Gateway instance;
  6. Now in SCOM R2 the SCOM R2 Gateway Server is accepted;
  7. Wait until the Gateway Server shows up healthy in the SCOM R2 Console;
  8. Install CU#5 and be HAPPY!