Friday, March 8, 2013

[OpsMgr 2007 R2][OpsMgr 2012] Powershell script to list all references stored in all unsealed Management Pack

I'm actually doing some clean up in our 2007 R2 environment to be sure that all management pack are OK before importing them in our new SCOM 2012  environment.



As you know, best practices is to create one override MP by MP you want to tune. One of the tasks we wanted to do is to ensure that all overrides stored in unsealed MPs are corresponding to the sealed assocaited MP.

Listing all references of unsealed MPs is a good help to identify what unsealed MP has a reference on a MP (and also override) that should not be referenced !

Download the file :

Or create a file : ListReferenceUnsealedMPs.ps1

  1. param([string]$Path)
  2. $Exportfile = [string]$Path + "\ListAllReferencesForNonSealedMPs.csv"
  3. $Exportfile
  4. # SCOM 2007R2
  5. $mps = get-managementpack | where-object {$_.Sealed -eq $false}
  6. # SCOM 2012
  7. # $mps = Get-SCOMManagementPack | where-object {$_.Sealed -eq $false}
  8. "Management Pack Name;Reference Name;Reference Key Token;Reference Version;Reference ID;Reference Version ID" >> $Exportfile
  9. Foreach ($mp in $mps)
  10.  {
  11.  $References = $mp.References
  12.  foreach ($Ref in $References)
  13.   {
  14.   $mp.Name + ";" + $Ref.name + ";" + $Ref.KeyToken + ";" + $Ref.Version  + ";" + $Ref.Id + ";" + $Ref.VersionId >> $Exportfile
  15.   }
  16.  }
 Then you can use the ListReferenceUnsealedMPs.ps1 "C:\temp" command line in a powershell connected to your SCOM (don't forget to comment line 5 + un-comment line 7 for using in 2012).

This will create a c:\Temp\ListAllReferencesForNonSealedMPs.csv that contains all References by unsealed MP.

Openning the .csv file with excel will give you :


 Enjoy !

This posting is provided "AS IS" with no warranties.

[OpsMgr 2012 SP1 UR1] Groups containing explicit members not present in the management group are shown as Dynamic Group !

We have detect a very stange thing importing our SCOM 2007 override management packs in our new SCOM 2012 environment that have today not all agents.

Our override MPs contains explicit members groups but some of them contains agent not 'homed' yet. Those groups show the explicit members has empty but this is a normal behaviour !


What is not really understandable is that my explicit group is shown as a dynamic group by SCOM




Clicking View Group Members, on this group show an empty group instead of giving all Windows Server 2008... FORTUNATELY !!!
 
And checking within the xml code of my override MP does not show any dynamic group population for this group, before and after beeing imported ! Really strange... The only thing we can see is that the class used for the dynamic view is the same class used to populate the explicit members.

 
 
Removing the formula is generating an error :
 
 
 
 
 
Date: 3/8/2013 10:40:04 AM
Application: Operations Manager
Application Version: 7.0.9538.0
Severity: Error
Message:

System.InvalidOperationException: A membership rule for the target "UINameSpaceb565f3d172de4893aea7e8266e342b3a.Group" failed with the following error: "Invalid column name Name_761097C7_8EA8_EAD8_5039_C5A81D0A5473 for query MTV_SelectProperty_78e44951-b8d7-e88f-b378-549183629ac4." There are two common conditions that could cause a membership rule to fail, 1) a cycle was formed by having two groups contain each other, 2) the monitoring relationship class used is incompatible with either the source or target monitoring class. Review and correct the membership rule to avoid further failures.
   at Microsoft.EnterpriseManagement.Common.Internal.EntityObjectsServiceProxy.HandleChannelExceptions(String methodName, Exception ex)
   at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message)
   at Microsoft.EnterpriseManagement.Common.Internal.EntityObjectsServiceProxy.PerformGroupMembershipDiscoverySnapshot(String managementPackXml)
   at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)

 
But, when one of the explicit members is discovered, it appears in the group has explicit member (good), the formula in the dynamic pane is not shown any more and the group population is well working since View Group Members show the discovered server !
 
This is a very stange behavior ! 
 
 

This posting is provided "AS IS" with no warranties.

[OpsMgr 2012] Could not allocate a new page for database ‘OperationsManager’ because of insufficient disk space in filegroup ‘PRIMARY’

Today, when I'd like to multi-home some agent on my new SCOM 2012 environment, I got this error :

 
 
Searching on Internet, gave me an article from Florent APPOINTAIRE that was explaining he has the same issue and explained how to solve.
You can read his article >>>>>> Here <<<<<<
 
 
 
 
 
In our case here, initial size for the logical name MOM_DATA couldn't be set due to an issue to detect the mount point during the installation. Default value has been kept and we forgot to increase the size in a second step ! Too bad ! :)

This posting is provided "AS IS" with no warranties.

Tuesday, March 5, 2013

[Book] System Center 2012 Operations Manager Unleashed, 2nd Edition

System Center 2012 Operations Manager Unleashed, 2nd Edition



By Kerrie Meyler, Cameron Fuller, John Joyner
Published Feb 28, 2013 by Sams. Part of the Unleashed series.

3 format : Book + eBook Bundle, Book or eBook (Watermarked)

System Center 2012 Operations Manager Unleashed, 2nd Edition




This is the first comprehensive Operations Manager 2012 technical resource for every IT implementer and administrator. Building on their bestselling OpsMgr 2007 book, three Microsoft System Center Cloud and Data Center Management MVPs thoroughly illuminate major improvements in Microsoft’s newest version–including new enhancements just added in Service Pack 1.

You’ll find all the information you need to efficiently manage cloud and datacenter applications and services in even the most complex environment. The authors provide up-to-date best practices for planning, installation, migration, configuration, administration, security, compliance, dashboards, forecasting, backup/recovery, management packs, monitoring including .NET monitoring, PowerShell automation, and much more.

Drawing on decades of enterprise and service provider experience, they also offer indispensable insights for integrating with your existing Microsoft and third-party infrastructure.

Detailed information on how to…
  • Plan and execute a smooth OpsMgr 2012 deployment or migration
  • Move toward application-centered management in complex environments
  • Secure OpsMgr 2012, and assure compliance through Audit Collection Services
  • Implement dashboards, identify trends, and improve forecasting
  • Maintain and protect each of your OpsMgr 2012 databases
  • Monitor virtually any application, environment, or device: client-based, .NET, distributed, networked, agentless, or agent-managed
  • Use synthetic transactions to monitor application performance and responsiveness
  • Install UNIX/Linux cross-platform agents
  • Integrate OpsMgr into virtualized environments
  • Manage and author management packs and reports
  • Automate key tasks with PowerShell, agents, and alerts
  • Create scalable management clouds for service provider/multi-tenant environments
  • Use OpsMgr 2012 Service Pack 1 with Windows Server 2012 and SQL Server 2012




Downloads

Download free online content for System Center 2012 Operations Manager Unleashed here


This posting is provided "AS IS" with no warranties.

Friday, March 1, 2013

[OpsMgr 2012] System Center 2012 Management Pack for Microsoft Windows Server File & iSCSI Services 2012

System Center 2012 Management Pack for Microsoft Windows Server File & iSCSI Services 2012.


Quick details

Version:7.0.8560.0Date published:2/26/2013
Language:English

Files in this download

The links in this section correspond to files available for this download. Download the files appropriate for you.
File nameSize
MPGuide_DFSNRoleMgmt.doc795 KBDownload
MPGuide_DFSReplication_Guide.doc               412 KBDownload
MPGuide_FileServer2012.doc459 KBDownload
System Center Monitoring Pack for File
and Storage Management.msi
892 KBDownload

Overview

System Center 2012 Management Pack for Microsoft Windows Server File & iSCSI Services 2012. This version of Management Pack for File Server 2012 includes the following changes:
  • DeDuplication – Stay current
  • FSRM
  • Support for clustered namespaces
  • Support for clustered replication group members
  • Agentless monitoring
  • More detailed product knowledge
  • Support for clustered replication group members
  • Agentless monitoring
  • iSCSI – iSCSI Target is built inbox first time in Server 2012. This is the first version integrated with File Server.
  • NFS – Stay current.
  • SMB – New


Release History

  • 10/11/2012 - Original release, version 7.0.8560.0

System requirements

Supported operating systems: Windows Server 2012
  • Other Software: System Center 2012 Operations Manager
                               

Instructions

Please refer to MP Guide

This posting is provided "AS IS" with no warranties.

[OpsMgr 2012] System Center 2012 Management Pack for Windows Deployment Services

The Windows Deployment Services Management Pack includes monitors, rules, views, tasks and knowledge for the monitoring of your Windows Deployment Services infrastructure for Windows Server 2012.
 
 

Quick details

Version:7.0.8560.0Date published:2/27/2013
Language:English

Files in this download

The links in this section correspond to files available for this download. Download the files appropriate for you.
File nameSize
System Center Monitoring Pack for
Windows Deployment Services.msi                   
444 KBDownload
WDS 2012 MP Guide.doc247 KBDownload

Overview

​The Windows Deployment Services Management Pack includes monitors, rules, views, tasks and knowledge for the monitoring of your Windows Deployment Services infrastructure for Windows Server 2012.



Feature Summary

  • Windows Server 2012 Support
  • Service Health Monitoring
  • State and Alert Views
  • Performance Monitoring
  • Alert Knowledge Base Information


Release History

  • 2/27/2013 - Initial English release, version 7.0.8560.0
                                 

System requirements

Supported operating systems: Windows Server 2012
  • Other Software:
    • Windows Server 2012 with Windows Deployment Services Role
    • System Center 2012 - Operations Manager

                                 

Instructions

​Please refer to WDS 2012 MP Guide for instructions.

This posting is provided "AS IS" with no warranties.

[OpsMgr 2007 R2] Windows Server 2008 Network Load Balancing Management Pack for Operations Manager 2007

The Windows Server 2008 Network Load Balancing Management Pack monitors the health of the Windows Server 2008 and Windows Server 2008 R2 NLB clusters and improves the availability, performance, and security of your Windows Server 2008 and Windows Server 2008 R2 NLB deployment.
 
 

Quick details

Version:6.0.6726.0                 Date published:10/22/2009
  English

Files in this download

The links in this section correspond to files available for this download. Download the files appropriate for you.
File nameSize
OM2007_MP_NLB.doc310 KBDownload
Windows Server 2008 Network
Load Balancing OpsMgr 2007 MP.msi                  
622 KBDownload

Overview

The Windows Server 2008 Network Load Balancing (NLB) Management Pack provides discoveries, monitors, alerts, and warnings to help the operator understand the state of NLB clusters and NLB servers running Windows Server 2008 and Windows Server 2008 R2. The Windows Server 2008 NLB Management Pack can provide early warnings that an operator can use to proactively monitor the state of the NLB servers in the computing environment.



Feature Summary

  • Monitor the NLB Node status.
  • Based on the status of individual cluster nodes, determine the overall state of the cluster.
  • Where an integration management pack exists, determine the health state of a cluster node by looking at the health state of the load balanced application, such as IIS.
  • Alert on errors and warnings that are reported by the NLB driver, such as an incorrectly configured NLB cluster.
  • Take the node out of the NLB cluster if the underlying load-balanced application becomes unhealthy, and add the node back to the cluster when the application becomes healthy again.

Release History
  • 4/27/2009 - Initial release of the English version, version 6.0.6573.0
  • 10/22/2009 - Updated release, version 6.0.6726.0, with added support for Windows 2008 R2. Please see the Management Pack Guide for details.

                               

System requirements

Supported operating systems: Windows Server 2008, Windows Server 2008 R2
  • Other Software: System Center Operations Manager 2007
Note:
All management packs (MPs) included in this download are supported on System Center Operations Manager (OpsMgr) with Service Pack (SP) 1 and later. The Windows Server 2008 specific management packs require that portions of the Windows Microsoft Windows Server Operating System Management Pack be imported as well. If the necessary MP’s are not present in the management group at the time of import then the import wizard will indicate which MPs are required. A link to download the Microsoft Windows Server Operating System Management Pack is available on the System Center Operations Manager 2007 Catalog (http://www.microsoft.com/technet/prodtechnol/scp/opsmgr07.aspx) .

The Windows Server 2008 Network Load Balancing (NLB) Management Pack supports monitoring NLB clusters on all editions of the Windows Server 2008 and Windows Server 2008 R2 operating system, including Windows Server Core, on both 32-bit and 64-bit systems.  
                               

Instructions

Please refer to MP guide.

This posting is provided "AS IS" with no warranties.

[OpsMgr 2012] System Center Management Pack for Windows Server 2012 Cluster

The System Center Management Pack for Windows Server 2012 Cluster monitors the health of the Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and Windows Server 2012 clusters. This management pack is designed to improve the availability, performance, and security of your Windows Server cluster deployment.

 

Quick details

Version:7.0.8560.0               Date published:2/27/2013
  English

Files in this download

The links in this section correspond to files available for this download. Download the files appropriate for you.
File nameSize
OM2012_MP_Cluster.doc355 KBDownload
System Center Monitoring Pack-
Windows Server 2012 Cluster.msi                     
956 KBDownload

Overview

The Windows Server Failover Cluster Management Pack provides both proactive and reactive monitoring of your Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, and Windows Server 2012 failover cluster deployments.


Feature Summary


 Some of the conditions monitored by this management pack are as follows:
  • Configuration or hardware issues that interfere with starting the Cluster service
  • Connectivity problems that affect communication between cluster nodes or between a node and a domain controller
  • Active Directory Domain Services (AD DS) settings that affect the cluster; for example, permissions needed by the computer account that is used by the cluster
  • Configuration issues with the network infrastructure needed by the cluster; for example, issues with Domain Name System (DNS)
  • Issues with the availability of a cluster resource, such as a clustered file share
  • Issues with the cluster storage


Release History:

  • 3/6/2008 - Version 6.0.6277.0 - Original English release
  • 4/2/2008 - Version 6.0.6277.1 - Updated version, see MP guide for details
  • 2/12/2009 - Version 6.0.6505.0 - Introduced support for Windows Server 2008 clusters and addressed some issues from the previous release.
  • 4/9/2009 – Version 6.0.6568.0 – Updated Management Pack and Management Pack Guide. Please refer to the Management Pack Guide for details.
  • 10/21/2009 - Version 6.0.6720.0 – Added support for Windows Server 2008 R2 and addressed some issues from the previous release. Please refer to the Management Pack Guide for details.
  • 2/27/2013 - Version 7.0.8560.0 – Added support for Windows Server 2012. Please refer to the Management Pack Guide for details.
                                

System requirements

Supported operating systems: Windows Server 2003, Windows Server 2008, Windows Server 2012
    This management pack requires System Center 2012 – Operations Manager or later.
    The Windows Server Failover Cluster Management Pack for System Center 2012 – Operations Manager supports failover clusters on the following configurations:
    • Windows Server 2003 operating systems with Service Pack 1 (SP1) and Service Pack 2 (SP2) on 32-bit and 64-bit servers.
    • Windows Server 2003 R2 operating systems with Service Pack 1 (SP1) and Service Pack 2 (SP2) on 32-bit and 64-bit servers.
    • Windows Server 2008 Enterprise, Windows Server 2008 R2 Enterprise, Windows Server 2008 Datacenter, and Windows Server 2008 R2 Datacenter operating systems on 32-bit and 64-bit servers.
    • Windows Server 2012 Standard and Windows Server 2012 Datacenter operating systems on 64-bit servers.

    This management pack is also supported on the Server Core installation option of the Windows Server 2008, Windows Server 2008 R2, and Windows Server 2012 operating systems.

    Note :
    The Windows Server Failover Cluster Management Pack for System Center 2012 – Operations Manager is not supported on the Windows Server 2008 R2 Web and Standard operating systems because the Cluster service is not supported on these editions.

Instructions

Please refer to the MP guide for full instructions.

This posting is provided "AS IS" with no warranties.