SCOM Microsoft 2012
SCOM Microsoft 2012
Introduction
SCOM 2012 is a big deal. Microsoft is overhauling the product to make it what it should be: A robust, comprehensive monitoring
tool that has no single points of failure and that can provide comprehensive monitoring for Windows Systems, some UNIX/Linux
systems and network devices. In this article, you will learn about the new and changed elements of SCOM 2012 and discover
some important prerequisites that you must understand before embarking on an installation. In later parts of this series, we will
delve deeper into new features and discover how they can improve your business.
VLAN health monitoring (SCOM will discover all of the VLANs for you)
New visualization/dashboards
o Overall network summary. The health of the network.
Console modifications
The overall look of the primary console in SCOM 2012 isnt all that different from preceding versions although Microsoft has
made a few changes, such as renaming the Actions pane Tasks. You will find other content modifications as you explore, which
well be doing later in this series, but the overall structure of the console remains consistent with previous versions.
Virtualization notes
SCOM 2012 can run completely in a virtual environment. However, Microsoft recommends the use of a physical server for
SCOM 2012s operational and data warehouse databases unless you use direct-access mechanisms. Microsoft also indicates
that the virtual platform used cant use any functionality where activity on the virtual computer is not immediately committed to
the virtual hard drive. This includes making use of point-in-time snapshots and writing changes to a temporary virtual hard
drive.
Management Server
Operations Console
Web Console
Operational Database
Operations Manager Reporting
Operations Manager DW
Operations Manager Gateway
Processor
RAM
Disk
2.8 GHz
2.8 GHz
2.8 GHz
2.8 GHz
2.8 GHz
2.8 GHz
2.8 GHz
2 GB
2 GB
2 GB
4 GB
2 GB
4 GB
2 GB
1 GB
512 MB
1 GB
1 GB
1 GB
1 GB
.NET 3.5
SP1
X
X
X
X
X
X
.NET 4.0
X
X
X
X
X
X
Table 1
There are a number of other requirements that need to be met depending on which role youre working with. Bear in mind that
Im currently working with a beta version of SCOM 2012, so these requirements can and probably will change as RTM
approaches.
Other requirements
For the purposes of this article, Im using Windows Server 2008 R2 and SQL Server 2008 R2. With the exception of the
Reporting feature, all components will be installed to a single server. So, for my purposes, SCOM 2012 will be installed to the
same server that holds the SQL Server instance for SCOM 2012.
Im going to install the Reporting feature later on. Well cover specific reporting requirements later in this series.
I wont be covering the requirements for SQL Server 2008 R2 in this article. However, if youre following along at home perform
a installation of SQL Server 2008 R2 that includes Full Text Search and uses the SQL_Latin1_General_CP1_CI_AS collation.
Im using the default SQL Server instance here.
For SCOM 2012, you also need:
.NET 4.0
For your own lab, if you run the SCOM installer, you will be able to use the prerequisites checker to see if anything else is
missing. You may need to take additional steps to prepare your environment, but the SCOM installer will lead the way.
Introduction
In part 1 of this series, you learned about many of the new features coming to System Center Operations Manager 2012 and
you also discovered some key prerequisites that must be met before you can forge ahead with an installation of this technology
monitoring framework and system.
Im assuming that youve already downloaded the beta or, if its available when youre reading this, the RTM version and
have deployed a server to which SCOM can be installed.
To get started, double-click the installer program that is included in the download. Once you do so, youre greeted with a screen
like the one shown in Figure 1 below. Click the Install option to proceed.
Server name and instance name. For my purposes, Im installing SCOM using a locally installed copy of SQL Server, so Ive
simply used localhost as the server name. If youre installing to a SQL Server instance other than the default, then use SQL
Server name\Instance name.
SQL Server port. The default SQL Server port is 1433 and is the one Im using in this lab.
Database name. The SCOM installer uses the database name of OperationsManager as its default suggestion, but you can
change that to any name allowed by SQL Server.
Database size. The initial database size is set to 1,000 MB but you can provide any value you like.
Data file folder. Choose the folder to which the database files should be saved.
Log file folder. Likewise, decide where the database log files should be written.
Mixed authentication. Depending on the location from which the user if logging in, a user name and password may not have to
be provided.
Network authentication. Users always have to provide a user name and password.
The second choice you have to make is whether or not to participate in the Error Reporting program. In this program, you have
more than just a Yes or No decision to make at least if you choose to participate. If you do decide to share your error
information with Microsoft, you can choose to have the error details sent automatically or you can request that they be queued
so that you can review them before sending.
Figure 12: Decide whether or not you want to participate in Microsoft's improvement programs
Way back in the day, Microsoft launched Windows Update so that the process of updating Windows could be streamlined.
Today, the process is called simply Microsoft Update and the updater can handle a number of different Microsoft products
through the same process, including Operations Manager 2012. On the next screen of the installer, decide if you want to check
for new Operations Manager updates automatically.
Youre getting close! The next screen of the installation process provides you with an opportunity to review the selections that
you have made. Once youre satisfied with your decisions, click the Install button to proceed with the installation of Operations
Manager 2012.
Summary
Youve now successfully installed SCOM 2012. In the next and final part of this series, you will discover how to begin monitoring
critical infrastructure elements including your domain controllers, Exchange Server, file server and network hardware.
Introduction
Welcome back! In part 1 of this series, you learned about many of the new features coming to System Center Operations
Manager 2012 and you also discovered some key prerequisites that must be met before you can forge ahead with an
installation of this technology monitoring framework and system.
In this part 2, you performed a complete installation of the product and, by the end of the article, had a working system that well
use in this partpart 3to begin understanding the OpsMgr framework.
Specifically, in this part of this series, you will learn how SCOM works and what role management packs play in System Center
Operations Manager. By the end of this article, you will know how management packs work and the role that agents play.
Advertisement
Each Monday. Log on to each server and verify that available disk space is sufficient.
Each morning. Use your log-viewing tool (aggregate logs) to see if there were any major issues since the previous day.
Continually. Monitor Exchange-related performance counters to ensure that the service is operating normally.
As needed.
o React to user-discovered issues, such as a database going offline for some reason, resulting in problems with Outlook.
o If issues, such as disk space issues, crop up between manual monitoring cycles, address the issue.
When you look at this simplistic list, the following needs come to mind:
You need to identify which servers you plan to monitor for disk space.
You then need to go to the disk object and look at the remaining space and determine if the remaining space is within tolerance.
Using the event viewer, you need to peruse operational logs and sift through thousands of entries to locate the ones that might
be pertinent.
You need to continually monitor various Exchange-related metrics and determine whether or not the result of the information
that youre monitoring are within desirable operational parameters.
With OpsMgr 2012, everything on the above list can be handled for you with various pieces of management
packs. Management packs take the place of your old manual rule sets and do a lot of your work for you. Here are some things
you should know about management packs:
Management packs include a number of rules and other components designed to monitor events, hardware, services and other
items.
Management packs are not one-stop shops. Generally, each management has a laser focus on a particular service, such as
DNS, DHCP or printing.
You should deploy only the management packs you need. Resist the temptation to simply start installing dozens of management
packs at a time.
There are a great many management packs available on the Internet. Some are free and some are not.
Most are sealed, meaning that the content cannot be modified, but you customize the monitoring environment through the use
of what are called overrides.
So, you might want to install a management pack that monitors the specific performance of your DHCP server and you might
install another management pack that focuses on monitoring your Active Directory environment. Each individual management
pack has components that allow it to monitor its intended components.
Here are the individual items that comprise a management pack:
Object Discoveries. Each monitored item in SCOM must be discovered in some way. Management Packs contain items
necessary to discover managed objects. Discovery can be accomplished with the registry, WMI, scripting, OLE DB, LDAP, or
custom code. If too much is discovered and it becomes difficult to sift through the morass, you can use an override to limit object
discovery. In the case of the examples above, the DHCP management pack would contain discovery methods that help OpsMgr
discover DHCP servers.
Monitors. Monitors are used to determine health information and make sure items are working within specifications. If things
are out of whack, raise an alert if. Only state change events are stored in the data warehouse for future reporting. There are
different kinds of monitors available for your use:
o Unit monitors.
SNMP, WMI performance, Log files, Windows events, Windows services, Windows performance counters, Scripting, WMI
events
o Aggregate rollup monitor.
An aggregate rollup monitor is a collection of several other monitors. State can be monitored on either a best-case or worstcase basis.
- Best-case. If any one of the child monitors is healthy, the overall aggregate monitor will show up as healthy.
- Worst-case.If any one of the child monitors is not healthy, the overall aggregate monitor will not be healthy, either.
o Dependency rollup monitor.
Very similar to aggregate rollup monitors, but more flexible and granular (i.e. Only raise alert if 5 of 8 DNS servers are down)
- Monitor state can also change based on monitoring availability.
- Ability to decide how alerts will be handled when the system is in maintenance mode.
Rules. Whereas a monitor actively checks on a components state, a rule serves a similar purpose through the collection of
performance data or by running scripts. All collected data is stored in the data warehouse, making the use of rules superior
when data collection and analysis is a top priority. Like a monitor, a rule is capable of raising an alert to an OpsMgr operator, but
the objects included in a rule cannot be monitored for health.
Tasks. Like the name implies, a task is a method that performs some action based on rules that are defined. Among other
actions, a task can run a program or script, or reset a failed service.
Views. A view is a customized look at items that might be unique to a particular management pack. For example, the
Operations Manager management pack (yes, there is a management pack so that OpsMgr can monitor itself) includes a view
for displaying the current state of agents that have been deployed to servers.
Knowledge. What caused a particular alert? How was it addressed? As operators learn how to correct problems, that
knowledge can be captured right in a management pack, making it quickly available to other operators that might run across the
same problem in the future.
Reports. A management pack can include reports customized to support the management pack.
Run As Profiles. Discovering objects, running scripts and gathering information requires credentials that can access the
appropriate resources. This is the job of a Run As profile.
o Windows credentials
o SNMP community string
o Basic authentication
o Simple Authentication
o Digest Authentication
o Binary Authentication
o Action account
Overrides. Overrides are discussed in-depth later in this series. In short, an override is a way by which an operator can
customize a management pack.
Agents
As you add management packs, their impact will be immediate. You will see new items added to the Monitoring area in the form
of new monitored items, dashboard and the like. But, even though management packs have the ability to discover items, nothing
can be discovered until OpsMgr agents have been deployed to systems you wish to monitor.
The agent is responsible for communications from monitored systems to the OpsMgr server. The agent operates by watching
various event sources, such as the local Windows logs and WMI counters and other sources. Information is forwarded to the
OpsMgr server for analysis.
Summary
Well cover how to install agents and perform basic monitoring using the built-in management packs in the next part of this
article series.
Introduction
Welcome back! In part 1 of this series, you learned about many of the new features coming to System Center Operations
Manager 2012 and you also discovered some key prerequisites that must be met before you can forge ahead with an
installation of this technology monitoring framework and system.
In part 2, you performed a complete installation of the product and, by the end of the article, had a working system.
In part 3, you gained anunderstanding of the OpsMgr framework.
In this part of this series, you will learn how to install and manage agents.
Note:
In previous parts of this series, I was using the public beta for OpsMgr 2012. In this part, Ive upgraded to the release candidate.
To do this, I:
Upgraded my server to Windows Server 2008 R2 SP1 (I didnt have SP1 installed before). SP1 is required for the release.
Perform a discovery process that allows OpsMgr to determine what is available for it to monitor and then automatically deploy
the OpsMgr agent to selected devices.
In OpsMgr, as you attempt to work with managed systems, you will need to maintain a series of credentials that you use for
different purposes. In the discovery process, OpsMgr needs credentials that allow administrative access to the discovered
machines so that the OpsMgr agent can be installed. In the next step of the discovery process, youre asked to provide
credentials either explicitly which I have done or you can use one of the Management Server Action Accounts that youve
previously defined.
Summary
In this article, you learned how to install and manage OpsMgr agents, a foundational element in any OpsMgr environment. In the
next article, we will continue learning how to monitor these servers in OpsMgr 2012.
If you would like to read the other parts of this article series please go to:
Introduction
Welcome back! So far in this series, youve learned about many of the new features coming to System Center Operations
Manager 2012 and you also discovered some key prerequisites that must be met before you can forge ahead with an
installation of this technology monitoring framework and system.
In this part 2, you performed a complete installation of the product and, by the end of the article, had a working system.
In part 3, you gained an understanding of the OpsMgr framework.
In part 4, you discovered how to manage agents, which are key to making OpsMgr operate.
In this part of this series, you will learn how to further manager OpsMgr 2012.
Advertisement
OpsMgr Operations
In previous parts of this series, weve discussed some of the elements that comprise an OpsMgr installation. Specifically, we
discussed the role that management packs and agents pay in the monitoring process.
There are, however, a lot of other pieces of the puzzle that are important to understand before you can jump into the deep end
with OpsMgr. Admittedly, its really tempting to just start clicking around the console and installing dozens of management packs
so that you can just get things up and running. Speaking from personal experience, I can guarantee you that its better to take a
more methodical approach when it comes to using OpsMgr. Each management pack and each element in a management pack
is tunable and comes set to defaults that Microsoft believes are appropriate. While this may be true for a vast majority of the
settings, there are almost certainly going to be elements youd like to monitor differently than Microsoft recommends or, you
might choose to skip monitoring a particular component altogether.
Heres a simple rule of thumb when it comes to deciding what to monitor: If a particular monitored item goes askew of norms,
are you going to actually act on it? OpsMgr management packs can monitor dozens, hundreds or thousand of different
elements. Do you, for example, really care if the network interface card that you use on a dedicated backup network is running
at maximum utilization for 2 hours each night? Probably not. After all, thats a good thing! The higher the utilization, the less time
that it will take to back up your server.
If you fail to take things slowly and methodically in OpsMgr, youre likely to run into situations in which youre simply
overwhelmed by the number of alerts that are being generated, even if most of them mean nothing to you.
With slow and methodical as the marching orders, make sure that youve thoroughly read Part 3 of this series as it contains
critical information related to whats contained in management packs. Im not going to repeat here the elements that comprise
management packs, but do want to reiterate two important points. First, most management packs that you download and install
are sealed. A sealed management pack is actually a binary file with a .mp file extension and you cant directly edit the file. In
some cases, you may run across or might create yourself an unsealed management pack. Unsealed management packs
are easy to identify because theyre just everyday XML files that you can edit to your hearts content. In Figure 1, you can see
some of the .mp files that are available in the directory structure.
What gives?
This is where the real power and flexibility of OpsMgr becomes apparent. Through the use of whats called an override, you are
able to change the default behavior of a sealed management pack and make OpsMgr do your bidding. Pretty neat, huh?
Heres an override explained: Suppose youre monitoring available disk space and the default management pack wants to warn
you when youre down to less than 20% of available space. By creating an override for the individual monitor, you can change
the behavior of the monitor to, for example, alert you when youre at 5% or less disk space instead of the default 20%. You
create this override rule in the OpsMgr console and then save it to a separate but linked unsealed management pack. In this
way, youre not modifying the original management pack at all. Rather, youre creating a rule that tells OpsMgr to override the
behavior of the original management pack based on a rule you create in the linked management pack.
Cool!
Figure 3: A rule
want to make sure that the OpsMgr agent itself isnt the root cause of a clients performance issues. Easy! Take a look at the
screen in Figure 5.
Availability
Configuration
Performance
Security
Inside each of these components, you can have rules related to that area. We looked earlier at a graph that showed you the
process utilization for a selected OpsMgr agent. Well, in Figure 7, heres why that information is captured. Theres a rule that
explicitly instructs the OpsMgr agent to track this information and report it back to OpsMgr. As you can see in Figure 7, the
metric currently has a green check mark meaning that everything is operating within expected parameters.
Introduction
Welcome back! So far in this series, youve learned how to get System Center 2012 Operations Manager installed and begin
some basic monitoring activities.
Part 2. You performed a complete installation of the product and, by the end of the article, had a working system.
Part 3. You gained an understanding of the OpsMgr framework.
Part 4. You discovered how to manage agents, which are key to making OpsMgr operate.
Part 5. You will learn how to further manager OpsMgr 2012 by investigating rules and monitoring.
In this, part 6, you will continue to investigate the OpsMgr interface and discover how monitors work.
Yellow. A monitored element has fallen into a warning level for the particular monitor. For example, you might configure a free
space alerts to go to yellow when a disk goes below 15% free space so that an administrator can be alerted that something
might be amiss.
Red. Now, suppose that disk falls below 5% available space. In this state, the alert may show as red, indicating that immediate
action on the part of the administrator is necessary.
There are a few different kinds of monitors available for your use. Each is described in the sections below.
Unit monitors
Unit monitors are often described as the workhorses of SCOM monitoring and are the most common kind of monitor out there.
A unit monitor is used to measure a specific item, such as the amount of free disk space on drive C:.
In short, unit monitors measures some aspect of a service. This might consist of checking a Windows performance counter to
determine the current performance of a specific service, running a script to perform a synthetic transaction that is then
measured against predefined management pack rules, or watching for an event in an event that indicates an error that needs to
be raised to the administrator.
The table below describes the various kinds of unit monitors you might encounter as you work with OpsMgr.
Description
Looks for events in the Windows event log
matching specified criteria.
Tracks specific text-based logs.
WMI events
Dependency monitors
Also known as a dependency rollup monitor, a dependency monitor in SCOM 2012 allows the health of one object to directly
affect the health of another completely unrelated object. Although dependency monitors are similar to aggregate rollup monitors,
they are more flexible and much more granular. In Figure 2 below, you can see how this might work. Suppose that the different
monitored item is the aforementioned free space on drive C:. The monitored item might be a Windows server object whose
health is dependent on a number of underlying dependent monitors.
Figure 2
This type of monitor also adheres to the previously discussed best and worst health state policies. However, there is some
additional flexibility with this kind of monitor. You also have the capability to define a percentage health policy. Suppose you
have five monitored items and a percentage health policy of 60%. This would mean that 60% of the monitored items would need
to stay operational before the monitor goes red. In this example, the monitor would stay green even if two monitored elements
failed. But, once a third one failed, the 60% availability threshold would be violated and the monitor would go red.
Summary
This has been a primer for how monitors work in OpsMgr 2012. We will continue our introduction to OpsMgr 2012 in Part 7 of
this series.