Tuesday, April 24, 2012

[Powershell][OpsMgr 2007] Get All objects in Maintenance Mode using powershell

The need here is to be able to list all objects in Maintenance mode in a management group.

Here is also a very short powershell function you can use :

  1. function ListObjectsInMaintMode {
  2.  $criteria = new-object Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria("InMaintenanceMode=1")
  3.  $objectsInMM = (Get-ManagementGroupConnection).ManagementGroup.GetPartialMonitoringObjects($criteria)
  4.  $objectsInMM | select-object DisplayName, @{name="ObjectType";expression={foreach-object {$_.GetLeastDerivedNonAbstractMonitoringClass().DisplayName}}},@{name="StartTime";expression={foreach-object {$_.GetMaintenanceWindow().StartTime.ToLocalTime()}}},@{name="EndTime";expression={foreach-object {$_.GetMaintenanceWindow().ScheduledEndTime.ToLocalTime()}}},@{name="Path";expression={foreach-object {$_.Path}}},@{name="User";expression={foreach-object {$_.GetMaintenanceWindow().User}}},@{name="Reason";expression={foreach-object {$_.GetMaintenanceWindow().Reason}}},@{name="Comment";expression={foreach-object {$_.GetMaintenanceWindow().Comment}}}
  5. }
In a powershell shell, connect to a management group and just launch ListObjectsInMaintMode

Result be look like :



This can be really usefull ! :)

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

Monday, April 23, 2012

[MMS 2012] How to recorded Microsoft Management Summit 2012 sessions for offline Viewing

If you want to download sessions for offline viewing see this PowerShell script provided by Stefan Roth. Thanks to him for this script.

Sessions listing can be found at this link. That could be helpfull !

Remind that online sessions are available here http://www.mms-2012.com/digitalmms

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

Friday, April 20, 2012

[OpsMgr 2007R2][OpsMgr 2012] Management Pack for Microsoft Visual Studio Team Foundation Server 2010 Work Item Synchronization


Date published: 4/13/2012

Version:            7.0.8561.0
Language:         English


File name
Size
Microsoft.SystemCenter.TFSWISynchronization.msi563 KBDownload
Microsoft.SystemCenter.TFSWISynchronization_MPGuide.docx61 KBDownload


This management pack synchronizes System Center 2012 - Operations Manager Application Performance Monitoring (APM) alerts and Team Foundation Server (TFS) work items. After importing this management pack, operators can manually assign APM alerts to the engineering team. Assigning an APM alert to engineering creates a new work item in Team Foundation Server. The management pack workflow tracks and synchronizes changes made to TFS work items and changes made to associated Operations Manager APM alerts.


Overview

This management pack synchronizes System Center 2012 - Operations Manager Application Performance Monitoring (APM) alerts and Team Foundation Server (TFS) work items. After importing this management pack, operators can manually assign APM alerts to the engineering team. Assigning an APM alert to engineering creates a new work item in Team Foundation Server. The management pack workflow tracks and synchronizes changes made to TFS work items and changes made to associated Operations Manager APM alerts.

Important:
Only APM alerts that are directly linked to events in Application Diagnostics can be linked to TFS work items. If you assign any other type of alerts to engineering, they will not synchronize with TFS work items.

Feature Summary
After importing this management pack, operators can:
  • Manually assign APM alerts to the engineering team which results in the creation of a new work item in Team Foundation Server.
  • Track and synchronize changes made to TFS work items and changes made to associated Operations Manager APM alerts.

Release History
  • April 13, 2012 - Original English release, version 7.0.8561.0
This management pack synchronizes System Center 2012 - Operations Manager Application Performance Monitoring (APM) alerts and Team Foundation Server (TFS) work items.

Quick details

Version:7.0.8561.0Date published:4/13/2012
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
Microsoft.SystemCenter.TFSWISynchronization.msi563 KBDownload
Microsoft.SystemCenter.TFSWISynchronization_MPGuide.docx61 KBDownload

Overview

This management pack synchronizes System Center 2012 - Operations Manager Application Performance Monitoring (APM) alerts and Team Foundation Server (TFS) work items. After importing this management pack, operators can manually assign APM alerts to the engineering team. Assigning an APM alert to engineering creates a new work item in Team Foundation Server. The management pack workflow tracks and synchronizes changes made to TFS work items and changes made to associated Operations Manager APM alerts.

Important:
Only APM alerts that are directly linked to events in Application Diagnostics can be linked to TFS work items. If you assign any other type of alerts to engineering, they will not synchronize with TFS work items.

Feature Summary
After importing this management pack, operators can:
  • Manually assign APM alerts to the engineering team which results in the creation of a new work item in Team Foundation Server.
  • Track and synchronize changes made to TFS work items and changes made to associated Operations Manager APM alerts.

Release History
  • April 13, 2012 - Original English release, version 7.0.8561.0

System requirements

Supported operating systems: Windows Server 2008, Windows Server 2008 R2, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2
​
  • Other Software:
    • System Center 2012 - Operations Manager running on any supported OS. A dedicated Operations Manager management group is not required.
    • Microsoft Visual Studio Team Foundation Server 2010
  • Prerequisites
  • One of the following requirements must be met to run this management pack:
    • The Team Foundation Server (TFS) Object Model must be installed on the servers designated for TFS work item synchronization.
    • Or
    • Microsoft Visual Studio Team Explorer 2010 must be installed on the servers designated for TFS work item synchronization.

Instructions

Follow "How to Import an Operations Manager Management Pack" (http://go.microsoft.com/fwlink/p/?LinkID=219431) section of System Center 2012 - Operations Manager user guide.

Using the TFS Work Item Synchronization Template
  1. In the Operations Manager console, in the navigation pane, click the Authoring button, click Management Pack Templates, and then, in the tasks pane, click the Add Monitoring Wizard.
  2. To open the TFS Work Item Synchronization template, in the Add Monitoring Wizard on the Monitoring Type page, select TFS Work Item Synchronization.
  3. On the General Properties page enter the synchronization name and description of the connection, and select a target management pack.
  4. On the Server Settings page, enter the TFS server URL to the collection, select the Operations Manager target resource pool, and choose the Run As account to be used for the TFS access. These credentials will be used to manage work items, so they should have the rights to create a new work item type. On the first synchronization the work item type is also imported, so TFS administrator credentials are also required.
  5. On the Project Settings page, click Add to add application components previously configured for monitoring with .NET Application Performance Monitoring.
  6. Map the selected application components to a TFS project (discovered at the TFS server through connection and populated). This enables escalation of alerts to the mapped project in TFS.
  7. Complete the management pack configuration.
  8. For additional information, see Guide for System Center Management Pack for Microsoft Visual Studio Team Foundation Server 2010 Work Item Synchronization.

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

Thursday, April 19, 2012

[OpsMgr 2007R2][OpsMgr 2012] Building groups in Operations Manager, with a bit of Orchestrator magic

Anders Bengtsson  has posted on April 2012 the 11th an article to show how to use Orchestrator to update a management pack that contains groups. Each time you run the runbook, a new version of your MP is generated and groups members are also updated.



In many scenarios you have a list of servers, a database query result or a place in your Active Directory that contains servers that you want to monitor in some special way. Often you need the machines in a group in Operations Manager so you can for example create overrides, maintenance mode and views for that group. It is a pretty boring work to build the group manually and then to keep the group updated.

A way to get the Operations Manager group in sync with the machine list is to use a runbook that creates a management pack including a group based on the list. This set of example runbooks reads a list of machine, creates a management pack with a group that includes the machines. The list of servers could be generated by another runbook or another tool. The last runbook also imports the management pack into Operations Manager.

Read more on http://contoso.se/blog/?p=2963

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

[MMS 2012] Watch Keynotes and Sessions On Demand

DIGITAL MMS

Were you unable to register for MMS before the record-breaking sell out this year? While we are sorry not everyone can join us in person, the MMS team has made it possible for everyone to join us virtually! Imagine you’re there with direct access to MMS content.
Watch On Demand!

Watch Keynotes and Sessions On Demand

MMS offers over 175 breakout sessions across 5 technical tracks. That is a lot of content to take in! If you are unable to attend the event, or even if you will be there in person, you'll be able to view any sessions, including keynotes, you may have missed within 24 hours of the live presentation on the Digital MMS site. Access is easy - just log in with your preferred social credentials, find the session you want, and click the play icon.
Check the complete MMS Content Catalog to see what will be available. MMS attendees may also sign in to the site to access the Schedule Builder to view and add sessions to their schedules for the week.



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

[OpsMgr 2007][OpsMgr 2012] Visio Management Pack Designer for System Center 2012 - Operations Manager (en-US)

Source : Technet

The Visio Management Pack Designer is an add-in for Microsoft Visio 2010 that lets you quickly create management packs for Operations Manager with minimal complexity.  It provides the following features:
 
  • Drag and Drop Visio Shapes to design the application you want to monitor.
  • Drag and Drop Visio Shapes to add monitoring
  • Uses Best Practices for developing a Management Pack.
Note : It's not available yet for download but we can find some documentation and example already.

When to use the Visio Management Pack Designer

Operations Manager offers a variety of tools for creating management packs, of which the VMPD is only one. Depending on the complexity of your system or your application, the VMPD might not be the right tool for you. If this is the case, then you should use the Visual Studio Authoring Extentions or the Operations Manager Authoring Console.

When to use the VMPD

  • When your application fits one of the patterns provided: single-server patterns for single server roles or groups, with or without components; or distributed applications, two-tier or three-tier, with individual servers or computer groups.
  • When your monitoring needs fall within the bounds of the five performance monitors the VMPD provides: Performance monitoring, Event monitoring, Service monitoring, Web site monitoring, and Database monitoring. However, those monitors are subject to some limitations, described below.

When not to use the VMPD

  • If your monitor is based on a script. The monitoring shapes that are part of the VMPD provide a wide range of monitoring features but do not support script-based monitoring at this time.
  • If your monitor requires logic that is not available in an existing shape. For example, you may want an event monitor that checks an application log at specific intervals and looks for a heartbeat event. If that event does not appear for a certain period of time, you’d want to raise an alert. There is not currently a missing event monitor in the VMPD.

Operations Manager Versions

The Visio Management Pack Designer builds management packs based on the schema for Operations Manager 2007 R2.  This format is compatible with System Center 2012 Operations Manager, so any management packs built with the tool will work with either version of the product.


Some other links to VMPD documentation :

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

[OpsMgr 2012] SCOM 2012 Design and Planning Guide Document

The SCOM Team has published a planning and design guide for System Center Operations Manager 2012 (SCOM). The guide covers different considérations for different scenarios:

Contents
  • Considerations when Upgrading to System Center 2012 - Operations Manager
  • Considerations for a Clean Installation of System Center 2012 – Operations Manager
  • Considerations when Designing a Management Group for Network Monitoring
  • Considerations for Application Performance Monitoring
  • Considerations for High Availability and Disaster Recovery
 
About This Document

The content in this guide is written primarily for online presentation in the TechNet Library. The document version of this guide (.doc or .pdf) compiles the online topics into a single file. Because the individual online topics must include the appropriate context and navigation to other topics, you will note some redundancy between topics in the document version of this guide.


You can get it by clicking >>>>>>>>>> Here <<<<<<<<<<

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