SCOM 2012 Maintenance Mode Scheduler

SCOM 2012 Maintenance Mode Scheduler is an all new web based maintenance mode scheduler built from the ground up for SCOM 2012, SP1, and R2.

The new web based scheduler simplifies the process of scheduling maintenance mode for SCOM administrators and IT staff.  You can easily schedule a computer group or any object to maintenance mode in seconds.

Once the app is installed and configured.  All you need to do is visit the SCOM Maintenance Mode web page and select the computer, group or class object you want to schedule.  Pick a start time, end time, and then click schedule; the app will automatically calculate the minutes for you.

Download Free Trial

image

One Click Maintenance Mode

Another great feature is the ability to do one click maintenance mode from any server.  This means is you can place the same shortcut on the desktop of your all your servers.  With one click, the IT administrator can put the server into maintenance mode.


image

 

After the shortcut is clicked, the web page automatically detects what server you are on and puts the server into Maintenance Mode with no interaction.

image

Integrate Into The SCOM Console

SCOM 2012 Maintenance Mode Scheduler is web based.  So you can create a web link right in the SCOM 2012 Console.

image

 

Windows 8 App

The Windows 8 app can be download from the Windows App Store.  It uses the existing the same infrastructure and web service as the Web based version.

Download Now from the App Store

image

image

image

 

Click Here to Purchase

Any problems, bugs, or issues please e-mail:  timothymcfadden@scom2k7.com

 

Related Posts

Securing SCOM 2012 Maintenance Mode Scheduler - http://www.scom2k7.com/securing-scom-2012-maintenance-mode-scheduler/

SCOM 2012 Maintenance Mode Scheduler V1.2 Released - http://www.scom2k7.com/scom-2012-maintenance-mode-scheduler-v1-2-released/

Installing SCOM 2012 Maintenance Mode Scheduler on a non Management Server

A few people have asked me if it is possible to install the SCOM 2012 Maintenance Mode Scheduler on a server other then a Management Server.  The answer is yes.  The reason in the documentation I specify to install it on a Management Server is to make the install super simple.

So lets get started.  I am using a vanilla server running Server 2008 R2 SP1.

1.)  I download and install .Net 4.5.1 from here http://www.microsoft.com/en-us/download/details.aspx?id=40779

2.)  I install the SCOM Operations Console.

image

3.)  Next I Install and configure IIS using the same process as the SCOM Web Console.  I recommend using powershell

Here is a link to make the process easy

http://www.scom2k7.com/installing-the-scom-2012-web-console-prerequisites-the-easy-way/

4.)  Make the SCOMSDK account a member of the local administrators group and restart the server.

image

5.) Download and run the SCOM 2012 Maintenance Mode Scheduler  http://www.scom2k7.com/downloads/SCOM2012MMScheduler.zip

6.) Double click on Maintenance Mode 2012 Config on the desktop  image

7.)  You will get an error. “Cannot access registry.  Please run-as administrator“

image

8.)  You can safely ignore this error.  Click OK (Because this is not a Management Server it will not have some of the registry keys to auto populate the configuration tool.)

9.)  You will be presented with a screen with a bunch of blank fields.  You will have to fill out all the fields manually.

NOTICE THAT THE MANAGEMENT SERVER WILL BE WRONG.   Make sure you delete this and fill in the name of a real Management Server

If you are using an instance under Operations Manager DB Server put in the serverName\Instance

Before

image

After

image

Click OK.  Then Click Start

image

If you get an Error:    ***Error**** Requested registry access is not allowed.

This is because you need to make the scomsdk account a local admin on this server or you need to restart the server.  Add the user to the local administrators group and restart the server.

image

Securing SCOM 2012 Maintenance Mode Scheduler

SCOM 2012 Maintenance mode scheduler by default is installed as a website with anonymous access.  You can easily secure and control access to the website by following these steps.

1.)  Launch Internet Information Services (IIS) Manager from the Start Menu

image

 

2.)  In IIS Manager Expand your ServerName, Sites, Default Website and select MMWeb.

3.)  In the Actions Pane Click Edit Permissions.

image

4.)  On the Security Tab click Advanced

image

5.)  Click Disable inheritance

image

6.) Select Convert inherited permissions into explicit permissions on the object.

image

7.)  Select Users and click Remove.

image

8.)  Click Add.  On the permission screen.  Select a principal.

image

9.)  Add the domain group you want to have permission to the Maintenance Mode Scheduler Website

image

10.)  Leave the default permissions and select OK

11.)  Select Replace all child object permission entries with inheritable permission entries from this object and click Apply

image

12.)  On the Windows Security Screen click Yes.  Then Click OK and OK.

13.)  Click on the MMweb Site again and double click Authentication

image

14.)  Right click on Anonymous Authentication and change it to Disabled.

15.)  Right click on Windows Authentication and change it to Enabled.

image

16.)  Click on the ServerName and in the Actions Pane select Restart

image

17.)  Test access to the MM Scheduler Website for a user in the group and one not in the group.

The user not in the group should get a prompt like this.

image

SCOM 2012 Maintenance Mode Scheduler V1.2 Released

SCOM 2012 Maintenance Mode Scheduler is an all new web based maintenance mode scheduler built from the ground up for SCOM 2012, SP1, and R2.

You can read more about it in my original post here. Link

Download free trial Buy now

New in Version 1.2

  • New Manage Web Page that gives users the ability to View and Delete Scheduled Maintenance Mode Jobs from within the Web Site.

image

  • Fixed issue where some international users were receiving a message “***Error*** String was not recognized as valid DateTime”

 
Any problems, bugs, issues or to request an additional 30 day trial please e-mail: timothymcfadden@scom2k7.com

 

Capacity planning with SCOM 2012 and the Veeam MP

Mike Resseler, has put together an excellent white paper on how to do Virtualization capacity management with the Veeam MP and SCOM 2012.

Download Here: Link

Veeam 6.5 MP: Link

Here are some of the highlights

Solving key challenges

With Veeam MP, you will be able to solve some key challenges, including:

  • No VMware visibility in your monitoring environment and lack of detailed
    insight
  • Forecasting and planning
  • Missed or difficult-to-maintain SLAs for problem solving
  • Faster root cause analysis
  • Datacenter inefficiencies
  • Resource optimization
  • Streamlining your monitoring processes over different technologies
  • Fire fighting
  • Reporting and analysis

Capacity planning

Version 6 of Veeam Management Pack adds a huge amount of capacity
planning for VMware out-of-the box. These capabilities are built around
three concepts:

  • Capacity reporting
  • Forecasting
  • Dashboards

Capacity reporting

Capacity reporting is what most people know and do when they talk about
capacity reporting; namely, the current capacity on your hosts, how many
resources you are using today and the prediction for the near future.
Many new and enhanced reports are built into Veeam MP and will provide
you with the detailed information needed to do capacity planning. These
reports use the “what-if” modeling concept so you can safely manage the
growth of your infrastructure.

image

 

image

Monitoring CentOS in SCOM 2012

I needed to setup monitoring of a CentOS Linux server in SCOM 2012 R2.

Kevin Holman has a full write up on how to install Unix/Linux Agents on SCOM 2012 here: Link

I am going to focus specifically on my experience with CentOS using the New Universal Linux Agents and Management Packs.

First I did a discovery using the IP address.

It fails telling me that my Linux server is not in DNS.

image

I ping the server to verify it exists in DNS.

image

I do a reverse lookup on the IP Address using NSLookup and it’s not found.

image

To fix this I go to Active Directory DNS and add the Pointer to the Reverse Lookup Zone.

I do another NSLookup  and its now working.

image

Now I try to discover the Linux Server in SCOM and get an error of Unsupported OS.

image

I look in the catalog and these are specifically for SCOM 2007 R2 and will not work with SCOM 2012.

image

I need the new Universal Unix / Linux Management Packs as CentOS doesn’t have its own MPs.

For SCOM 2012 RTM and SP1 I browse out to the web. http://www.microsoft.com/en-us/download/details.aspx?id=29696

For SCOM 2012 R2 I go to the Installation media d:\Management Packs.

image

With the new Universal MPs installed the discovery process works.

image

But I click manage and the Agent Fails Sad smile

image

The details say

image

Agent deployment operation was not successful

Failed to copy kit. Exit code: -1073479144
Standard Output:
Standard Error:
Exception Message: An exception (-1073479144) caused the SSH command to fail –

I check the Wiki for this error http://social.technet.microsoft.com/wiki/contents/articles/4966.troubleshooting-unixlinux-agent-discovery-in-system-center-2012-operations-manager.aspx

I couldn’t find a solution so I browse out to C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server\AgentManagement\UnixAgents\DownloadedKits  on the Management Server and use WinSCP to copy the file over to the /tmp directory on the CentOS server and install it manually using this command

rpm -ihv scx-1.5.0-128.universalr.1.x64.rpm

image

The manual install works ok but throws a security warning.  This is just a test server so I am going to ignore it.  I go back to SCOM and try to discover it.  I get a new message that it needs to Sign certificate and manage computer instance.   Sounds good to me.

image

I click Ok and the Wizard completes.

I open the SCOM Console Linux Server State view and the server shows up Healthy.

image

System Center 2012 Visual Studio Authoring Extensions with support for Visual Studio 2012 and 2013 Released

 

Download: http://www.microsoft.com/en-us/download/details.aspx?id=30169

Documentation: http://social.technet.microsoft.com/wiki/contents/articles/5236.visual-studio-authoring-extensions-for-system-center-2012-operations-manager.aspx

 

 

image

 

Feature Summary

  • VS Projects for Monitoring MPs, System Center 2012 and later MPs including Operations Manager and Service Manager.
  • MP Item Templates for quick creation of MP Items.
    • XML MP Item Templates (generates MP XML for editing).
    • Template Group Item Templates (Abstract your intent from MP XML).
    • Snippet Templates (generates MP XML from CSV)
  • IntelliSense for MP XML for the following versions:
    • System Center Operations Manager 2007 R2
    • System Center Operations Manager 2012 and later
    • System Center Service Manager 2012 and later
  • Integrates into Visual Studio Project System with *.mpproj.
    • Enables building within VS & MSBuild.
    • Supports custom build tasks (simply edit *.mpproj or *.sln)
    • Build multiple MPs (multiple *.mpproj) in a solution.
    • Integrates into any VS supported Source Control systems.
  • MP Navigation Features
    • Management Pack Browser for browsing MP Items.
    • Go to Definition
    • Find All References
  • ResKit Tools integrated
    • Workflow Simulator
    • Generate Visio Diagram
    • MP Best Practice Analyzer
    • MP Spell Checker
    • MP Cookdown Analyzer

System Center Management Pack for Windows Server 2012 R2 Released

 

The RTM Management Packs to support Windows Server 2012 R2 RTM have been released.

Download: http://www.microsoft.com/en-us/download/details.aspx?id=9296&WT.mc_id=rss_alldownloads_all

 

Changes in This Update

 

The October 2013 update (version 6.0.7061.0) of the Windows Server Operating System Management Pack included the following changes:

  • Fixed Windows Server 2012 R2 Beta Monitoring bugs for final release.

 

Changes in Version 6.0.7043.0

 

The June 2013 update (version 6.0.7043.0) of the Windows Server Operating System Beta Management Pack included the following changes:

  • Added support for Windows Server 2012 R2 monitoring.
  • Added filter to discovery for Windows Server 2012 and Windows Server 2012 R2.
  • Fixed MaxConcurrentAPI issues.
  • Changed Cluster Discovery to only discover volumes and resource type “Physical Disk”.
  • Added performance rules and reports for Windows Server 2012 R2 that target Windows Server 2012 R2 Operating System.

Veeam Management Pack for VMware v6.5 Released

 

I was recently working with a customer that had this solution configured in full production and I must say it is impressive.  They were getting really useful alerts about disk I/O issues and Virtual CPUs being overloaded.  Everything in the MP just seemed to work from alerts to dashboards to reports .  It is worth checking out.

 

http://www.veeam.com/vmware-microsoft-esx-monitoring.html

 

 

New features in 6.5

 

New enhanced fault tolerance
Automatic re-targeting of data collection ensures continuous delivery of monitoring
data. Even if vCenter goes down, it will not have an impact on monitoring. If vCenter
should fail, Veeam MP will automatically fail over and reconfigure so that data will
then be collected directly from vSphere hosts. And failback is automatic—when
vCenter is restored, Veeam MP returns to the default data collection method
without interruption.

New configuration tracking and alert correlation
New configuration tracking shows what has changed in the vSphere environment,
so if there’s an issue with resources or capacity, you’ll have a correlation of events
to help you pinpoint the cause. This new report offers detailed tracking of
configuration properties for all vSphere objects, including clusters, datastores,
network switches, hosts and VMs

image

New monitoring and reporting for Veeam Backup & Replication
Veeam MP v6.5 discovers the Veeam Backup & Replication environment to provide monitoring, status, availability, performance and
reporting of your backup infrastructure directly in the Operations Manager console.

If you already have Veeam Backup & Replication, Veeam MP will be able to monitor all infrastructure created by Veeam Backup
& Replication, including proxy servers, repository servers, WAN accelerators, backup jobs running on backup servers, and more.
Repositories are monitored for free disk space and availability; Backup Proxies and WAN accelerators are monitored for availability.
Veeam MP also monitors the global cache (deduplication) and sends out alerts if the cache cannot be created.

 
Veeam MP provides performance metrics for individual backup jobs running on backup servers, with alerts that are specific to
each job. The backup jobs are monitored to alert on job failure and job duration (optional). Veeam MP also collects backup-related
performance metrics such as size of transferred data or compression and deduplication rate. The backup jobs can be grouped by
server and by type (e.g., replication, backup, copy, etc.) Veeam MP discovers and displays the topology of the backup infrastructure.

Veeam MP delivers advanced analysis reports that include:

  • Protected and unprotected VMs: shows which VMs have valid recovery points for the specified period. The report includes
    information on the completion status of recent backup and replication jobs, with the number of restore points available for
    each listed VM. It helps you identify the VMs that lack proper backup protection, either because of failed or outdated backup or
    configuration error.
  • VM Verification: details VMs where automated verification (i.e., SureBackup® jobs performed by Veeam Backup & Replication)
    has checked that all restore points are recoverable. The report shows how many protected VMs have been tested and verified,
    the status of SureBackup job completion and the test details.
  • Restore Operator Activity: shows what was restored, by whom, when and where. The report provides audit information on
    all types of restore actions (file, application-level and VM restores by authorized persons) performed across the selected Veeam
    Backup & Replication servers.
  • Backup Copy Job: tracks performance and status for backup copies, evaluating the efficiency of backup data transfer through
    WAN accelerators and estimating the reduction in network traffic. Traffic usage history is documented and accompanying
    tables report the amount of data transmitted and include individual job properties.
  • Capacity Planning for Backup Repositories: analyzes the amount of free space on backup repositories and predicts when the
    repository will run out of available storage capacity. The report recommends how to adjust the allocated storage resources to
    meet future demands for backup storage, ensuring there is sufficient space for backup data at any point in time.

How to set Agent proxy enabled for all agents in SCOM 2012

 

Here is an updated PowerShell script that can be used to set agent proxy in SCOM 2012.

 

param ($MSSvr)
Import-Module -Name "OperationsManager"
New-SCManagementGroupConnection -ComputerName:$MSSvr;

## set proxy enabled for all agents where it is disabled
$NoProxy = get-SCOMagent | where {$_.ProxyingEnabled -match "False"}
$NoProxy|foreach {$_.ProxyingEnabled=$true}
$NoProxy|foreach {$_.ApplyChanges()}

 

Download: setproxyenabled12.txt

To run from a PowerShell Command Prompt you need to supply parameter MSSvr

 

It would look something like this.  

.\setproxyenabled12.ps1 -MSSvr "OM01.scom2k7.com"

image

 

Kevin Homan has an excellent post from SCOM 2007 on why you would want to do this.  http://blogs.technet.com/b/kevinholman/archive/2010/11/09/how-to-set-agent-proxy-enabled-for-all-agents.aspx

Disable The Server Manager Dashboard on Windows Server 2012 and Windows Server 2012 R2

 

It was not real obvious to me how to disable the Server Manager Dashboard that launches every time I login to a Windows Server 2012 or 2012 R2 Server.

Personally I find it annoying unless the server is running one of the built-in roles.

In Server 2008 R2 it was a simple check box.

image

In Server 2012 and 2012 R2 it is a little more hidden.

To disable the Server Manager at login you need to go to

Manage

Server Manager Properties

image

Then Check the check box for “Do not start Server Manager automatically at logon”

image

Download Windows 8.1 RTM, Visual Studio 2013 RC and Windows Server 2012 R2 RTM Today

Starting today, we will extend availability of our current Windows 8.1, Windows 8.1 Pro and Windows Server 2012 R2 RTM builds to the developer and IT professional communities via MSDN and TechNet subscriptions. The Windows 8.1 RTM Enterprise edition will be available through MSDN and TechNet for businesses later this month. Additionally, today we’re making available the Visual Studio 2013 Release Candidate.

Updated SQL Management Pack released with sweet new SQL Server 2012 Dashboard

 

Download: http://www.microsoft.com/en-us/download/details.aspx?id=10631

 

image

 

Changes in This Update

SQL Server Management Pack version 6.4.0.0 includes the following changes:

·        New Dashboard for SQL Server 2012 DB

·        New Monitors and Rules – only for SQL 2008 and SQL 2012

o   Collect DB Active Connections count

o   Collect DB Active Requests count

o   Collect DB Active Sessions count

o   Collect DB Active Transactions count

o   Collect DB Engine Thread count

o   Thread Count monitor

o   Transaction Log Free Space (%) monitor

o   Transaction Log Free Space (%) collection

o   Collect DB Engine CPU Utilization (%)

o   CPU Utilization (%)  monitor for DB engine

o   Buffer Cache Hit Ratio monitor

o   Collect DB Engine Page Life Expectancy (s)

o   Page Life Expectancy monitor

o   Collect DB Disk Read Latency (ms)

o   Collect DB Disk Write Latency (ms)

o   Disk Read Latency monitor

o   Disk Write Latency monitor

o   Collect DB Transactions per second count

o   Collect DB Engine Average Wait Time (ms)

o   Average Wait Time monitor

o   Collect DB Engine Stolen Server Memory (MB)

o   Stolen Server Memory monitor

o   Collect DB Allocated Free Space (MB)

o   Collect DB Used Space (MB)

o   Collect DB Disk Free Space (MB)

o   SQL Re-Compilation monitor

·        SPN monitor improved

·        Support for special symbols in DB names.

·        Improved AlwaysOn seed discovery

·        Run As configuration changes to support Low privilege for SQL Server 2012 Cluster

·        Improved performance of AlwaysOn discovery

·        Custom User Policy Discovery and Monitoring performance optimization

·        Hided AG health object from Diagram view

·        Minor changes

Free ebook and Hands on Lab for Windows Server 2012 R2 Preview Release

 

Get the high-level overview you need to begin preparing your deployment now. This book is based on the Preview release and will be updated to cover Windows Server 2012 R2 RTM.

 

 

Download the PDF version of this title here (108 pages, 5 MB).

The EPUB format is here

 

The MOBI format is here.

 

 

Hands on Lab: Getting to Know Windows Server 2012 R2 Preview

https://vlabs.holsystems.com/vlabs/hol?eng=Windows8&auth=none&src=microsoft.holsystems.com&altadd=true&labid=10407&loc=zTS3z&prod=zWSz&tech=zOttechz&prog=zOTprogz&type=zVLz&media=zOTmediaz&country=zUSz

Team Foundation Service – A great place to store your Management Packs using the Visual Studio Authoring Extensions

 

http://tfs.visualstudio.com

I recently started building Management Packs using the Visual Studio Authoring Extensions.  Using Visual Studio in the past, I used a local Team Foundation Server for versioning of my C# projects.  Maintaining a TFS server for one user is a pain as I am constantly updating it for the newest version of Visual Studio.  I recently found out about the new cloud based Team Foundation Service on Azure.

The great thing about this is that it’s free for MSDN subscribers (and everyone right now).  I can access my projects from any computer anywhere in the world.

image

Right now I only have a few projects. But I plan on building a library of examples so that whenever I am building a MP I can quickly find and reference an MP I created in the past.