Cumulative Update 6 for System Center Operations Manager 2007 R2 is available

 

Download Cumulative Update 6 for System Center Operations Manager 2007 R2

Cumulative Update 6 for Operations Manager 2007 R2 resolves the following issues:

  • RMS promotion fails if NetworkName and PrincipalNames are not in sync for agents.
  • UI is limited to only 100 MB for the Memory Usage field in the wizard.
  • Additional OIDs in auth certificate are not processed correctly.
  • AEM creates duplicate computer objects in OpsMgr based on Agents NetBIOS name.
  • Cannot open reporting pane on OpsMgr 2007 R2 remote console.
  • Cannot view schedule for scheduled report.
  • ManagementServerConfigTool with the option "promoterms" fails because it stops polling the SDK Service.
  • OpsMgr reports are failing on Windows 7 with the error: "Cannot initialize report."
  • ACS events have "n/a" as their category in the ACS database.
  • Watch agentless monitoring listener to detect failure to respond.
  • SCOM SDK memory leak on cryptography keys and cryptography contexts.
  • After you click Edit Schedule, a message box appears, and you cannot save the change value.
  • Audit events can be lost when the AdtServer process crashes.

Cumulative Update 6 for Operations Manager 2007 R2 resolves the following cross-platform issues:

  • The installation process for the IBM AIX 6.1 agent incorrectly checks for AIX 5.3 packages.
  • After a system restart, the OpsMgr agent for Solaris may start to run before local file systems are mounted.
  • On Red Hat Linux version 4 and SUSE Linux version 9, LVM disks are not discovered and cannot be monitored.
  • The OpsMgr agent for AIX does not report the arguments for monitored processes.
  • When Microsoft security update MS12-006 is installed on an OpsMgr management server, that management server can no longer communicate with the OpsMgr agent on any Linux or UNIX server.
  • On HP-UX, OpsMgr cannot discover and monitor a logical volume that is composed of more than 127 physical volumes.

Cumulative Update 6 for Operations Manager 2007 R2 adds the following cross-platform features:

  • Support for IBM AIX 7.1 (POWER).
  • Support for Oracle Solaris 11 (x86 and SPARC).

Note The new agents for IBM AIX 7.1 and Oracle Solaris 11 are included in Cumulative Update 6 for Operations Manager 2007 R2. You can download the management packs for these new operating system versions by going to the following Microsoft website:

System Center Operations Manager 2007 R2 Cross Platform Monitoring Management Packs

Troubleshooting SCOM engine performance

you may sometims  notice that your SCOM console is not responding very well. Or may also want to check once a week your engine to see if there are some workflows, alerts or events , devices etc are causing some extra noise and want to reduce the amount of them.

with SCOM 2007 R2, Microsoft has introduced  some great core engine reports that you can use to analyse your SCOM perfromance:

 

image

 

you may run those reports once a week and maintenance the noisy alerts, events etc

 

image

 

as you can see, you have out of the box a very great report of alle the monitors, Discoveries, alerts, Perfcounts, eventcounts and state counts. If you click on one of them you can zoom further to see the path of the one causing the issues.

reports

New SQL Management Pack Version: 6.3.173.0

A new SQL management pack is available now. Many interessting features has been added to this MP  like adding support of SQL Server 2012 AlwaysOn Monitoring and support of SQL Server 2012 Monitoring Glimlach

I will test this MP in my labs and let you know.

you can get this MP fromt here:

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

Publishing SCOM with Windows Server 2008 R2 Remote Desktop Services

 

One of the beautiful feautures of Windows Server 2008 R2 is the Remote Desktop Services. You can use this feature to use your IE browser to open some virtualized applicatins ,a virtualized desktop or server.

 

Sometimes you want to use the SCOM native console without installing it locally, or for some performance reasons or whatever.

I have deployed the SCOM console as a Remote-Application using  RDS, to do this you may follow the following steps:

1- First you have to decide howmany people are going to use the published SCOM console , or are you going to deploy one or more RDS servers, all the RDS roles are going to be installed on one server … etc.

2- Prepare a Windows  Server 2008 R2, and follow those steps to install, configure the RDS server I am not going to discuss that on this blog:

http://technet.microsoft.com/nl-nl/library/dd647502%28v=ws.10%29.aspx

3-  After installing, configuring the RDS server,install the SCOM 2007 (or SCOM  2012 console Glimlach).

4- Open Remote App manager

image

5-  Click on Add remote app programs and choose the Operations manager Console follow the installation steps to the end;

image

6- you should now  see the Operations Console between the published app’s

image

7- You can now test the published SCOM console, by openning IE and  typing http://servername/rdweb 

image

8- After logging in, you should see the published SCOM console;

image

9- You may now, configure a publishing role in your Firewall server using some certificates to publish this to the outside Glimlach and you are done.

Have Fun !

Finally… I had the time to upgrade my SCOM labs to 2012 pre rtm.

So, last week I had finally the time to upgrade my test labs form SCOM 2012 RC to the SCOM 2012 pre RTM,, that is the advantage of being in the Microsoft 2012 TAP program ;) .. I am not allowed to talk much about the pre rtm so do not expect me to do that :)

The upgrade went with no problems, I also updated my SCOM test Gatewat, and all the SCOM agents. I have also installed a new fresh SCOM 2012 native console.

Converting a management pack to a XML file

Sometimes you have to envestigate how some monitors, rules work. or you want to edit the xml file of a certain management pack.

There are several ways to do that, there are differnt ways to do that, Tim McFadden  has a very usefull GUI based tool.

you can download it from here;

http://www.scom2k7.com/mp2xmlpro-management-pack-conversion-tool/

[Quick Fix] alert Windows 2008 Logical Disk is Not Available

Last week I got a question from one of my customers, he was getting in SCOM the alert “Logical Disk Not Available” from one of his Windows 2008 r2 servers  while there was is nothing wrong with the disk.

logocal disk availability

so I started envestigating the problem and started first as usual with the SCOM console, looked at the Alert and the alert knowledge:

Summary

The logical disk volume is not available. The data stored on the volume is inaccessible.

Causes

A logical disk may become inaccessible due to a number of reasons some of which include:

Related physical disk has been removed

Physical disk has become corrupt (for example; bad sectors) or inoperable

Problem with physical disk driver

Resolutions

Check the status of your hardware for any failures (for example, a disk, controller, cabling failure). In most cases, the system log contains additional events from the lower-level storage drivers that indicate the cause of the failure.

After you have isolated and resolved the hardware problem:

1. Open the Disk Management snap-in.

2. Rescan the disks and then reactivate any disks with errors.

Resynchronize or regenerate the volume as necessary if the disk was a member of a mirrored or RAID-5 volume.

3. Run chkdsk on any reactivated volumes.

 

I went through all the steps, and  this did not solve the problem. I decided to see what exactly the monitor does. The alert come from the Windows Server  Operating System  2008 Management pack

logical disk

after further  research I found that  there is a Script that checks if the disk has a dirty bit flag and if that is true then you will get this alert in SCOM

If (Not IsNull(sDriveLetter)) And (Not IsEmpty(sDriveLetter)) Then
Dim DirtyBitSet
If IsVolumeInfoSupported Then
DirtyBitSet = oWmiDisk.DirtyBitSet
Else
DirtyBitSet = oWmiDisk.VolumeDirty
End If
Set oBag = oAPI.CreatePropertyBag()
oBag.AddValue “DiskLabel”, sDriveLetter
If IsNull(DirtyBitSet) Then
oBag.AddValue “State”, “OK”
Else
If DirtyBitSet = True Then
oBag.AddValue “State”, “BAD”
Else
oBag.AddValue “State”, “OK”
End If
End If
oAPI.AddItem oBag
End If
Next

dirty

A volume’s dirty bit is set, this indicate that the file system may be in an inconsistant state. To check that, I loged in to the server, opend CMD and typed  “fsutil dirty query E” the results has confirmed what is found:

image

To solve this you have to run to commands in cmd:

CHKNTFS /X E:  then reboot the server

CHKDSK /f /r E

This should solve the problem Glimlach

New Configuration Manager 2007 MP v6.0.6000.3 errors

Today, I have tested the new Microsoft Configuration Manager MP Version 6.0.6000.3 and I wanted to blog on it. The MP is still a Converted one so dont be very happy :)

Reading the MP guide, the following issues are been solved;

 

- Consolidation Event Rules have been disabled to prevent the generation of false alerts.

- Operating system architecture detection logic was updated to determine 64-bit operating systems.

- You no longer have to run the SQL Server query to clean up the localizedtext tables as part of the post-installation cleanup

- Scripts that target site database servers now retrieve time values directly from servers running instances of SQL Server instead of site servers to avoid time-zone discrepancies.

- Site hierarchy discovery now succeeds even if a site or component server does not have a fully qualified domain name (FQDN) configured.

- The AlertLevel property can now be overridden, giving you control over the severity level.

- All monitors and rules are now public.

- The “ConfigMgr 2007 Collection Evaluations Tasks” script has been updated to let you monitor a collection that has a NULL StartTime value.The “ConfigMgr 2007 Collection Evaluations Tasks” script now uses Collection ID instead of Collection Name to track collection tasks.

 

The previous version of the MP was very noisy, this MP did solve many issues. I have implemented the MP in my test lab, every thing went ok when I tested it on a 32 bit SCCM server.

 

When testing the MP on a 64bit server, I actually noticed many script errors like this one:

ConfigMgr 2007 Software Update Point Health: Script error

sccmdemo01

ConfigMgr 2007 Software Update Point Health: Script error.

The script ‘ConfigMgr 2007 Monitor Server Health’ running under processing rule ‘{B42BF5C6-0ECE-4E62-550A-608AD4E4FC02}’ encountered a runtime error.

Failed to read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class.
while further examining the problem and searching in the xml mp file, I found that there are several parts in the vb script that checks what type of processor (32 bit or 64 bit) the server has. This checks are not working properly:

On Error Resume Next
Dim sCimv2namespace, sProcArchQuery, oProcArchObjectSet, oProcArchObject, sProcArch
sCimv2namespace = “winmgmts:\.rootcimv2″
sProcArchQuery = “Select * From Win32_Environment Where Name = “”Processor_Architecture”"”
Set oProcArchObjectSet = WMIExecQuery (sCimv2namespace, sProcArchQuery)
Set oProcArchObject = oProcArchObjectSet.Item(“Win32_Environment.Name=”"PROCESSOR_ARCHITECTURE”",UserName=”"<SYSTEM>”"”)
sProcArch = oProcArchObject.VariableValue
On Error GoTo 0
Select Case sProcArch
Case “AMD64″
REG_PATH_SMS = “SOFTWAREWow6432NodeMicrosoftSMS”
Case “x86″
REG_PATH_SMS = “SOFTWAREMicrosoftSMS”
Case Else
ScriptError “read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class.”
End Select

You may chose to replace this checks with your own one, (which is not recommended) or wait till Microsoft bring a fix for this issue.

Workflow Runtime: Failed to run a WMI query Citrix XenApp Citrix Presentation Server Active Sessions Collection Rule [Quick Fix]

 

Have you been tired from getting this warning workflow failure?image

This error come from the Official Citrix XenApp version 6.0.0.0. the rule fail when it trys to run a WMI query using the the Citrix WMI provider.

Citrix has published a KB article about this problem:
http://support.citrix.com/article/CTX122283

Use the steps below to complete the task. Back up citrixProv.XP10FR3.mof, metaframeProv.XP10FR3.mof, and mgmt.XP10FR4.mof files before you proceed.

1. Traverse to <Programfiles>CitrixSystem32CitrixWMI

2. Edit citrixProv.XP10FR3.mof, metaframeProv.XP10FR3.mof, and mgmt.XP10FR4.mof files to set the Hosting Model as “SelfHost” in the following sections of each of the files:

    a. citrixProv.XP10FR3.mof – Registers Framework Provider, Registers Citrix Event Provider, Registers Citrix Event Purge Provider

    b. metaframeProv.XP10FR3.mof – Registers Framework Provider, Registers MetaFrame Event Provider, Registers MetaFrame Event Happenings Purge Provider

    c. mgmt.XP10FR4.mof – Registers Framework Provider, Registers Mgmt Happenings Provider, Registers Mgmt Event Provider

Example:-
//*************************************************************
//*** Registers Framework Provider ***
//*************************************************************
instance of __Win32Provider as $P
{
Name = "MgmtProv";
HostingModel = "SelfHost";
ClsId = "{0201D664-2253-4ca8-88EE-B2E6E78D8CAE}";
};
instance of __InstanceProviderRegistration
{
Provider = $P;
SupportsGet = TRUE;
SupportsPut = FALSE;
SupportsDelete = FALSE;
SupportsEnumeration = TRUE;
QuerySupportLevels = NULL;
};
instance of __MethodProviderRegistration
{
Provider = $P;
};

the only problem is that this issue is only addressed to windows 2003, but what to do when you have Citrix XenApp installed on Windows 2008?

I did search the whole web for a solution and can’t find anything !

I did try everythins till I found a very simple solution for this problem, the only thing you have to do is to Restart the Citrix WMI service under services and the whole problem
will disappear and you can go on with your normal life Glimlach

[Quick Fix] SharePoint 2010 Ping To Web Application Failed !

The new SCOM SharePoint 2010 Management Pack is not so easy to configure and use, you may have noticed that you had to follow some steps before you can add your SharePoint 2010 servers in SCOM.

but this is not all, The SharePoint 2010 MP have some monitors that discovers all your SharePoint 2010 sites and run some web application monitors against them. After a while you may have noticed that most of these Web Application Monitors raise alerts and they may fail:

 

image

 

In the alert details you see that there is a knowledge Article that may be a good start for examining the problem, http://go.microsoft.com/fwlink/?LinkID=147311. The Microsoft Article suggests that you check two things;

 

1- Verify that the Web application exists and is running (in my case it exists and it is running well)

2- Confirm that the Run as administrator account has sufficient permissions. (the Run-As account has sufficient permissions)

so you may begin to wonder, what is here wrong? even when browsing the site, there are no problem the IT site is available. let us examine this problem and give it more depth. Open the Health Explorer and look for some details. In the Context we see that the monitor fails and it give us some Error Code “2147954407”

 

image

After doing some Google search I found that this error code means ” 2147954407 ERROR_WINHTTP_NAME_NOT_RESOLVED”

hmmm this is interesting, it look likes that the name of the web site is not been resolved through the monitor. So I opened the properties of the website and found there is an overridable parameter that is called Url. So I made an override and put the name of my site on it itweb.contoso.com .

After applying this override, the web application monitor went good and I didn’t get that alert anymore Smile