Академический Документы
Профессиональный Документы
Культура Документы
2012 R2
Datacenter with
System Center 2012
R2 Operations
Hands-on lab
Manager
System Center 2012 R2 Operations Manager is central to
being able to monitor your datacenter and cloud, both public
and private. Using Operations Manager, you can better ensure
that your infrastructure meets its performance goals and
objectives; that you can quickly be notified of and remediate
any potential issues with infrastructure, application, and
service availability; and that you can plan for future growth.
In this Introductory lab, you will gain a basic understanding of
the features and benefits of System Center 2012 R2
Operations Manager. You will learn how to import
management packs, monitor the infrastructure, analyze data
using Excel PowerPivot and Power View, and how to create
visualization using the new Windows PowerShell Web Browser
widget.
Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter
in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document
does not give you any license to these patents, trademarks, copyrights, or other intellectual property.
Microsoft, Bing, Hyper-V, Internet Explorer, Windows, Windows PowerShell, and Windows Server 2012 are trademarks of the
Microsoft group of companies.
Introduction
Estimated time to complete this lab
75 minutes
Objectives
After completing this lab, you will be able to:
Prerequisites
Before working on this lab, you must have:
In this introductory lab, you will gain a basic understanding of the features and benefits of System Center
2012 R2 Operations Manager. You will learn how to import management packs, monitor the
infrastructure, analyze data using Excel PowerPivot and Power View, and how to create visualization using
the new Windows PowerShell Web Browser widget.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 3
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
Note on activation
The virtual machines for these labs may have been built by using software that has not been activated.
This is by design in the lab to prevent the redistribution of activated software. The unactivated state of
software has been taken into account in the design of the lab. Consequently, the lab is in no way affected
by this state. For operating systems other than Windows 8.1, please click Cancel or Close if prompted by
an activation dialog box. If you are prompted by an Activate screen for Windows 8.1, press the Windows
key to display the Start screen.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 4
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
In this exercise, you will install a management pack, configure a connector for System Center 2012 R2
Virtual Machine Manager, and review the pre-installed connector for System Center Advisor.
By default, when Operations Manager is first installed, only a subset of the available management packs
are imported and installed. These management packs allow you to monitor the features of your
Operations Manager infrastructure, such as management servers, reporting servers, and databases. To
extend the reach and functionality of Operations Manager, you can import and install additional
management packs, available either from Microsoft or from third parties.
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
4. In the Import Management Packs dialog box, click Add, and then click Add from disk.
The Online Catalog Connection wizard opens.
You could also search the Microsoft catalog for management packs to download and then install.
5. Click No.
Some management packs you select may have dependencies that cannot be located locally. If that is the
case you can search the online catalog for these dependencies. For the purpose of this lab you can click
No.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 5
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
The remaining management packs in this folder have already been installed as part of the lab setup.
The .mpb extension indicates a management pack bundle. A management pack typically contains a
single XML file, or in the case of sealed management pack, a binary file. A management pack bundle
contains the XML plus associated resources, such as images, workflow assemblies, scripts, and others.
A management pack with an XML extension indicates that it is an unsealed management pack and can
be modified. A sealed management pack usually has am .MP extension.
machine-manager-dashboards-from-the-opsmgr-unleashed-team-scom/.
In this task, you will configure the connector that enables integration of System Center 2012 R2 Virtual
Machine Manager with Operations Manager.
Perform this task logged on to SCVMM01 as Contoso\Administrator using the password Passw0rd!
1. From the taskbar, open the System Center Virtual Machine Manager console.
6. On the Connection to Operations Manager page, enter the following information, and then click
Next.
Item Value
Server name SCOM01
Use the VMM server service account Checked
Enable Performance and Resource Optimization (PRO) Checked
Enable maintenance mode integration with Operations Manager Checked
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 6
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
7. On the Connection to VMM page, enter the following values, and then click Next.
Item Value
User name Contoso\Administrator
Password Passw0rd!
8. On the Summary page, review your settings, and then click Finish.
A job window opens showing the progress of the job. The job will take a few minutes to complete.
Please wait for the job to complete successfully before proceeding to the next exercise.
The System Center Advisor consists of a web service hosted in Microsoft Azure and an on-premise
installation of a gateway and agent. The agent collects data from your environment and synchronizes it
with the web service. Administrators can log on to System Center Advisor to review information about the
environment and any alerts that require attention and remediation.
System Center Advisor can be attached to your infrastructure as a standalone service; however, it can also
be attached to Operations Manager. In this case, the agent communicates directly with the management
service, extending the value of Advisor to Operations Manager.
In this task, you will review the connector between Operations Manager and System Center Advisor.
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
This exercise requires that you use a personal Windows Live account. If you do not have a Microsoft Formatted: Caution
account, you can create one prior to performing or during the following steps. The lab instructions
assume that you either have a Microsoft account you can use or are able to create one in the absence of
specific steps. Before performing these steps, For the online System Center Advisor service, use the
2. On the Favorites bar, click Microsoft System Center Advisor. Formatted: Intense Emphasis
3. On the System Center Advisor page, click Create account. Formatted: Intense Emphasis
4. In the Create System Center Advisor Account pop up, click Microsoft Account. Formatted: Font: Bold
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 7
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
6. When prompted to update Microsoft Silverlight, click Remind me later. Formatted: Intense Emphasis
7. In the Account Information page, enter a unique name for the account and your first and last
name.
9. On the Stay connected page, click Remind me later. Formatted: Intense Emphasis
10. On the Select the Advisor version to use page, click Load Current. Formatted: Intense Emphasis
Alternatively, you can try the Preview. Formatted: Additional Information, No bullets or numbering
11. On the Welcome to System Center Advisor page, check I accept the Subscription Agreement, Formatted: Intense Emphasis
12. On the Account Activated page, click Close. Formatted: Intense Emphasis
The connection has already been set up for you; however, you will need to reconfigure it for your Formatted: Additional Information, No bullets or numbering
14. From the taskbar, open the Operations Manager console, if not already open.
1.15. In the Administration workspace, click System Center Advisor, and then click Advisor
Connection.
The connection has already been set up for you; however, you will need to re-configure it for your
3.17. On the Sign into your Microsoft account page, log onsign in using the Microsoft Account
you associated with the System Center Advisor subscription in the previous steps
4.18. On the Create or Select Advisor Account page, click the drop-down, click the name you
8. Navigate to http://systemcenteradvisor.com.
9.24. Click Remind me later, and then click Load Current. Formatted: Intense Emphasis
Formatted: Intense Emphasis
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 8
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
configured the subscription and the attached service in Operations Manager, it will take some time for
Operations Manager to populate data to System Center Advisor. You can leave the web page open as
you do the rest of the lab and then return to it upon completion of the lab.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 9
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
2. Click Monitoring, and then, in the navigation pane, expand Microsoft System Center Virtual
4. In the Diagram View for SCVMM01, expand Managed Resources by clicking the plus sign ( ).
A list of Virtual Machine Manager managed resources appears. Some of these may show an unhealthy
state. This is expected in this environment.
5. Spend a few moments drilling down into the various resources to see the type of data that is
6. Still in the Monitoring workspace, in the navigation pane, scroll down, and then expand Virtual
8. Spend a few moments reviewing the dashboard and others that are available through the
Perform this task logged onto SCOM01 as Contoso\Administrator using the password Passw0rd!
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 10
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
3. Click any critical alert to show the Alert Details in the bottom pane.
An Advisor alert contains information about the computer or instance where the alert was discovered,
4. In the Tasks pane, under Advisor Tasks, click View Solution/KB Article.
You may have to scroll down in the task pane to see the Advisor Tasks section.
Internet Explorer opens and displays the relevant knowledge base article.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 11
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
In this exercise, you will learn how to create a new user role in System Center 2012 R2 Operations
Manager to implement Operations Manager role-based security access.
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
2. Click Administration.
3. In the navigation pane, right-click User Roles, and then click New User Role.
7. In the Select Users or Groups dialog box, in Enter the object names to select field, type Support,
8. Click Next.
9. On the Group Scope page, accept the default settings, and click Next.
10. On the Dashboards and Views page, select Only the dashboards and views selected in each tab
are approved.
11. In Approved dashboards and views, check Windows Computers view and Microsoft Windows
Server.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 12
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
Only Windows Computers and the Microsoft Windows Servers are visible in the Monitoring workspace.
The Administration, Authoring, and other workspaces, with the exception of My Workspace, are not
visible.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 13
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
In System Center 2012 R2, the dashboard capability of Operations Manager has been extended. With
Update Rollup 2 for Operations Manager, the number and functionality of out-of-the box widgets that are
available for creating dashboards is significantly enlarged.
In this exercise, you will learn how to use one of the new widgets to create a dashboard that will assist you
to quickly and easily find knowledge on the Internet that is relevant to Operations Manager alerts you
may encounter in day-to-day operations. You will also create a three-grid dashboard to retrieve the alert
name from an alert widget and pass this information to the PowerShell Web Browser Widget to search for
a solution on Bing and TechNet.
The new PowerShell Web Browser Widget displays the output of a web page URL and parameters that
have been generated by a Windows PowerShell script. Both GET and POST requests are supported. You
can also use the GlobalSelectedItems parameter in Windows PowerShell to get the details of selected
objects in other widgets.
In this task, you will create a two-cell dashboard that displays alerts and then performs a Bing search for
relevant information about the alert. At the end of the task, you will modify the code to restrict the search
to the technet.microsoft.com site.
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
2. At the top of the navigation page, right-click Monitoring, point to New, and then click
Dashboard View.
3. On the Select a dashboard layout or widget template, click Grid Layout, and then click Next.
4. On the Enter a friendly name and description page, in Name, type Alert Internet Search, and
5. On the Specify the layout of the dashboard page, click the drop-down arrow, and then select 2
Cells.
6. In the Select a Layout Template area, click the layout that displays two horizontal cells, as shown
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 14
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
9. On the Select a dashboard layout or widget template, select Alert Widget, and then click Next.
You will only see this expanded, list of widgets if your System Center 2012 R2 Operations Manager
10. On the Enter a friendly name and description page, in Name, type Alerts, and then click Next.
12. On the Specify the Criteria page, check the following criteria, and then click Next.
Item Value
Display alerts only with the specified severities Critical
Warning
Display alerts only with the specified resolution states New
Awaiting Evidence
Assigned to Engineering
Acknowledged
Scheduled
13. On the Display page, accept the defaults, and then click Next.
14. On the Summary page, click Create, and then click Close.
The alert widget appears in the upper area of the details pane.
16. On the Select a dashboard or layout or widget template page, select PowerShell Web Browser
17. On the Enter a friendly name and description page, type Bing Search Results, and then click
Next.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 15
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
The Script page appears. You now need to enter a script. For this lab, a script has been prepared for you.
18. Open File Explorer, and then navigate to C:\Labfiles\Lab 1 Operations Manager\Scripts.
20. Press CTRL-A, and then press CTRL-C to copy the following script to the clipboard.
Param($globalSelectedItems)
$dataObject =
$ScriptContext.CreateInstance("xsd://Microsoft.SystemCenter.Visualiz
ation.Component.Library!Microsoft.SystemCenter.Visualization.Compone
nt.Library.WebBrowser.Schema/Request")
$dataObject["BaseUrl"]="http://www.bing.com/search ; "
$parameterCollection=$ScriptContext.CreateCollection("xsd://Microsof
t.SystemCenter.Visualization.Component.Library!Microsoft.SystemCente
r.Visualization.Component.Library.WebBrowser.Schema/UrlParameter[]")
foreach ($globalSelectedItem in $globalSelectedItems)
{
$parameter=$ScriptContext.CreateInstance("xsd://Microsoft.SystemCent
er.Visualization.Component.Library!Microsoft.SystemCenter.Visualizat
ion.Component.Library.WebBrowser.Schema/UrlParameter")
$parameter["Name"] = "q"
$alert = Get-SCOMAlert -Id $globalSelectedItem["Id"]
$parameter["Value"] = "opsmgr alert `"" + $alert.Name + "`""
$parameterCollection.Add($parameter)
}
$dataObject["Parameters"]= $parameterCollection
$ScriptContext.ReturnCollection.Add($dataObject)$dataObject["Paramet
ers"]= $parameterCollection
$ScriptContext.ReturnCollection.Add($dataObject)
This source for this code is a TechNet Wiki article, Operations Manager Dashboard Script Widgets,
which is found at http://social.technet.microsoft.com/wiki/contents/articles/24595.operations-manager-
Guide.
21. Switch to the New Dashboard and Widget Wizard, click in the PowerShell script area, and then
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 16
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
In the Bing Search Results you will likely see a message stating that the web page does not exist. The
reason you see this is that the code causes the search terms to be enclosed in quotes, which requires
that the Bing search engine find an exact match for the string. The code does this to increase the
25. In the Bing Search Results cell, scroll to the right, and then click Search (magnifying glass icon).
This will display a wider range of search results (the search results for the text string without any
restricting quotes).
26. Just above the right-hand corner of the Bing Search Results cell, right-click the gear icon ( ), and
27. In the Update Configuration wizard, in Enter a friendly name or description, type TechNet Search
28. In the Windows PowerShell script, locate the following line toward the end of the script:
1. At the end of this line, add a space, and then append the following text:
+ site:technet.microsoft.com
You are adding this string to restrict the Bing search scope to technet.microsoft.com.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 17
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
2. Click Finish.
3. In the navigation pane, right-click Alert Internet Search, and then click Open in new window.
5. If necessary, on the Bing search results page, click the Search icon (magnifying glass) to search for
the terms without the quotes. Search to for the terms without the quotes.
The search now shows results from technet.microsoft.com.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 18
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
Excel 2013 can integrate with the Operations Manager data sources to provide you with data analysis and
reporting capabilities. Using PowerPivot and Power View (an integrated visualization option available in
Excel 2013 and Microsoft SharePoint 2010 and 2013), you have ability to extract relevant data and
visualize it for easier understanding. Furthermore, with Power Pivot and Power View, ad hoc reporting is
easier.
In this exercise, you will learn how to use PowerPivot and Power View to connect to an Operations
Manager data source and display the data in meaningful ways.
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
You can find the scripts used in this exercise in C:\LabFiles\Lab1 OperationsManager\Scripts\
6. Click Start.
11. On the ribbon, click Get External Data, click From Database, and then click From SQL Server. Formatted: Intense Emphasis
Depending on your screen resolution, Get External Data may appear as an area on the ribbon, rather
than a drop-down selection. In this case, in the Get External Data area, click From Database.
12. On the Connect to a Microsoft SQL Server Database, in Friendly connection name, type
OperationsManagerDW.
15. Click the Database name drop-down arrow, and then click OperationsManagerDW.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 19
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
17. On the Choose How to Import the Data page, select Write a query that will specify the data to
18. On the Specify a SQL Query page, in Friendly Query Name, type SCOM Alerts.
IMPORTANT: Please ensure you enter this name. Other, subsequent steps in the lab may be confusing if
you leave the name at the default or type a different name.
19. From the taskbar, open File Explorer, and then navigate to C:\LabFiles\Lab1
OperationsManager\Scripts.
21. In Notepad, press CTRL-A, and then press CTRL-C to copy the contents to the clipboard.
22. Close Notepad, but leave File Explorer open for subsequent steps.
23. On the taskbar, click PowerPivot to switch to the Table Import Wizard.
24. On the Specify a SQL Query page, click in the SQL Statement area, and then press CTRL-V to
SELECT AL.AlertName
,AL.AlertDescription
,AL.Severity
,AL.Priority
,AL.Category
,AL.ManagedEntityRowId
,AL.MonitorAlertInd
,AL.RaisedDateTime
,AL.RepeatCount
,AL.DWCreatedDateTime
,AL.WorkflowRowId
FROM Alert.vAlert AL
--WHERE AL.RaisedDateTime > (GETUTCDATE() + 1) -- Dummy condition to
return no rows
WHERE AL.RaisedDateTime > (GETUTCDATE() - 35)
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 20
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
31. On the top menu, click Insert, and then on the ribbon, click Power View.
33. In the Power View Fields pane, expand SCOM Alerts, and then check AlertName, RepeatCount,
You have now successfully created a Power View report to analyze the alerts within your environment.
Perform this task logged on to SCOM01 as Contoso\Administrator using the password Passw0rd!
2. On the ribbon, click Get External Data, and then click Existing Connections.
Alternatively, depending on your screen resolution, in the Get External Data area on the ribbon, click
Existing Connections.
3. In the Existing Connections dialog box, under PowerPivot Data Connections, click
4. On the Choose How to Import the Data page, select Write a query that will specify the data to
5. On the Specify a SQL Query page, in Friendly Query Name, type Performance Data.
IMPORTANT: Please ensure you enter this name. Other, subsequent steps in the lab may be confusing if
you leave the name at the default or type a different name.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 21
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
double-click PerfData.txt.
7. In Notepad, press CTRL-A, and then press CTRL-C to copy the query to the clipboard.
8. Close Notepad.
10. Click in the SQL Statement area, and then press CTRL-V to paste the following query from the
clipboard.
SELECT PERF.ManagedEntityRowId
,PR.RuleRowId ,PERF.DateTime ,PERF.AverageValue ,PERF.MinValue
,PERF.MaxValue ,PERF.SampleCount
,PR.ObjectName,PR.CounterName,PRI.InstanceName FROM Perf.vPerfHourly
PERF INNER JOIN vPerformanceRuleInstance PRI ON
PRI.PerformanceRuleInstanceRowId = PERF.PerformanceRuleInstanceRowId
INNER JOIN vPerformanceRule PR ON PR.RuleRowId = PRI.RuleRowId WHERE
PERF.DateTime > (GETUTCDATE() - 7)
13. On the ribbon, click Get External Data, and then click Existing Connections.
14. In the Existing Connections dialog box, under PowerPivot Data Connections, click
15. On the Choose How to Import the Data page, select Write a query that will specify the data to
16. On the Specify a SQL Query page, in Friendly Query Name, type Performance Entities.
IMPORTANT: Please ensure you enter this name. Other, subsequent steps in the lab may be confusing if
you leave the name at the default or type a different name.
double-click PerfEntities.txt.
18. In Notepad, press CTRL-A, and then press CTRL-C to copy the query to the clipboard.
20. On the taskbar, click PowerPivot to switch to the Table Import Wizard.
21. Click the mouse in the SQL Statement area, and then press CTRL-V to paste the following query
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 22
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
25. In the Performance Data dataset, click ManagedEntityRowID, and then drag a line to
26. In the SCOM Alerts dataset, click ManagedEntityRowID, and then drag a line to
28. In the Power View dialog box, click OK to acknowledge that the data model has changed.
29. In the Power View Fields pane, expand Performance Entities, and then drag and drop
30. In Power View Fields, expand Performance Data, and then check AverageValue and
Countername.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 23
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
32. On the ribbon, click Other Chart, and then click Pie.
You have now successfully created a Power View report to analyze Performance data.
33. Hover the mouse over the upper-right hand corner of the pie chart, and click Pop out.
34. Hover the mouse over the upper-right hand corner of the pie chart and click Pop in.
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 24
Monitoring your Datacenter with System Center 2012 R2 Operations Manager
Lab created by HynesITe, Inc. For questions or comments, send an email message to labs@holsystems.com Page | 25