Escolar Documentos
Profissional Documentos
Cultura Documentos
Table of Contents
System Center Operations Manager 2007 R2-Introduction ..................................................... 1
Exercise 1 Reviewing the Operations Manager Console and Your Lab Environment ..................................................2 Exercise 2 Importing & Updating Management Packs ..................................................................................................5 Exercise 3 Configure Run as for Non-Windows Computers .........................................................................................7 Exercise 4 Created a Privileged UNIX User Run as Profile ..........................................................................................9 Exercise 5 Discovering and Managing Computers to be Managed ............................................................................. 11 Exercise 6 Create and Manipulate a Custom View ..................................................................................................... 13 Exercise 7 Dashboard View......................................................................................................................................... 15 Exercise 8 Creating and Using Monitors ..................................................................................................................... 16 Exercise 9 Creating and Using Rules .......................................................................................................................... 18 Exercise 10 Monitoring a Windows Process ............................................................................................................... 19 Exercise 11 Monitoring OLE DB Databases ............................................................................................................... 21 Exercise 12 Monitoring IT Services ............................................................................................................................ 22 Exercise 13 Viewing the Health of Servers Using the Web Console .......................................................................... 23
75 Minutes
DC
RMS
EXCH
SLES
WEB
The password for the Administrator account on all computers in this lab is: P@ssword
Page 1 of 23
Exercise 1 Reviewing the Operations Manager Console and Your Lab Environment
Scenario
Operations Manager 2007 R2 is generally available now, and is the latest version of the product that introduced new and enhanced capabilities including: Extended monitoring to Unix and Linux servers and workloads; The ability to report on service levels across IT availability and performance; Enhanced system and web monitoring; And much more!
Through both this lab and the System Center Operations Manager 2007 R2 Advanced lab, you should gain a good understanding of the capabilities of the product and how it can help you in managing your datacenters and IT environments.
Tasks Complete the following tasks on: RMS 1. Before you begin
Detailed Steps Note: Right click on the background, and click Personalize. Click Display Settings and set Resolution to 1024 by 768 pixels. Click Yes, then close Personalization. a. b. c. d. e. f. Click Start | Administrative Tools | Services. Click Startup type to sort the services by Automatic startup. Ensure that all Automatic services have a status of Started with the exception of TPM Base Services. If they have not, then select the service and click Start. To simulate a failure for this lab, right-click the Operations Manager Audit Collection Service, and click Stop. Close Services. Start the Operations Manager console by double-clicking the Operations Console shortcut on the desktop.
2.
Login and start up the Operations Manager console Review the console
a.
3.
a. The console opens in the Monitoring view. Note: In this view, you can quickly find the monitoring data you need such as alerts, performance data, and diagram views. The view displays different aspects of the monitoring data collected by Operations Manager 2007 R2. Each item in the Monitoring navigation tree is either a view type or a folder that contains additional views. b. In the tree pane, click the Authoring button. Note: This opens the Authoring view, used create new (or edit existing) monitors, distributed applications, and groups, as well as configure management pack objects such as rules, service levels, monitors, tasks, etc. c. Click the Reporting button. Note: This opens the Reporting view providing access to all the different reports currently installed in your Operations Manager environment. When you install a new Page 2 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps management pack, it may come with new reports that you can leverage to help report on the workload addressed by the management pack. d. Click the Administration button. Note: Use this view to discover new systems to manage, manage those already in your management group, install new management packs, configure notifications, control user access, etc. e. f. 4. Review the systems that we are already managing a. b. c. Click the My Workspace button. Many users use the My Workspace area as their primary dashboard, allowing them to customize views and focus on the areas within their scope of control. In the tree pane, click the Monitoring button to open the Monitoring view. In the tree pane under Monitoring, select Windows Computers. In the results pane you will see 3 systems: EXCH.contoso.com RMS.contoso.com WEB.contoso.com d. If it is not already in critical state, the RMS computer will soon turn to a critical state. Once the state changes, right-click RMS.contoso.com, point to Open, and select Health Explorer for RMS.contoso.com. Note: In the health explorer, you will see a list of monitors on the left hands side of the window, and that the Audit Collection Collector is showing as critical. In the tree pane, select the Audit Collection Collector (it is in critical state).
e.
f. In the results pane, review the information in the Knowledge tab. Note: On the right hand side, the Knowledge tab shows information indicating why this monitor might be showing as critical, likely causes, and possible resolutions g. Click the State Change Events tab. Note: The State Change Events tab shows when this monitor has registered transitions from Healthy to Critical, helping you identify if this is a regularly recurring problem that requires further attention. h. Select the top-most state change, (i.e., the state change with the most recent time). Review the details of the change. Note: Many management packs will provide the ability to restart a service from within this view, or within the details view of an alert, using an inline task. For this situation however, this option is not available to us. However, we are on RMS, so we can start the service manually. Click Start, in the Start Search box, type services.msc and press ENTER. Scroll down to find the service Operations Manager Audit Collection Service. Right-click Operations Manager Audit Collection Service, and click Start. Close Services, and return to the Health Explorer. In the Taskbar at the top, click Recalculate Health.
i. j. k. l. n.
m. To reset focus, click the Audit Collection Collector monitor. o. Click Yes on the confirmation dialog. Note: We are initiating a call to the monitor to retest the conditions that forced it into a critical state. p. Click Close when the calculation has completed.
Page 3 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps q. You should now see that all state data shows as Healthy. Note: In some cases it may take a little longer for the calculation to succeed. If this happens on your system, you can safely ignore this and move on with the lab. The monitor will autotomatically correct itself shortly. r. Close the Health Explorer. Note: Back in the monitoring view, you should now see that all 3 machines that we are monitoring are showing as healthy.
Page 4 of 23
Page 5 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps that some of the management packs have already been imported. l. Click Install. Note: The Import Management Packs window shows the progress for each management pack. m. When the import has completed, click Close.
Page 6 of 23
On the Run As Accounts page, click Add to create a new account. The Add a Run As Account dialog will open. Note: If you examine the list of available Run As accounts in the drop-down you will not see one for UNIX/Linux, so we have to create one. g. h. i. j. k. Click New to start the Create Run As Account Wizard. On the Introduction page, click Next. On the General Properties page, select Basic Authentication from the dropdown. In the Display name box, type UNIX non-Privileged Account, and then click Next. On the Credentials page, type the following information: Account name: scxuser Password: scxuser Confirm password: scxuser l. Click Next. m. On the Distribution Security page, ensure that the More Secure option is selected, and then click Create.
Page 7 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps Note: When the creation is complete, you will see a warning message that the Run Account must be associated with an appropriate Run As profile. We will do this in just a moment. n. Click Close to return to the Add a Run As Account dialog. Note: The UNIX non-Privileged Account you just created now appears as the selected option in the drop-down and is available for additional use from that dropdown. o. p. q. r. Click the A selected class, group, or object option which is used to define the objects that this account will manage. Click Select and click Class from the drop-down. In the Class Search dialog, in the Filter by box, type Unix, and click Search.
From the list of items returned from the search, select Unix Computer and click OK. Note: Youve just created a user account that will be applied across all UNIX and Linux servers, (i.e., applied across the Unix Computer class). You may wish to configure user accounts at a more granular level, such as across a group or individual server. Click OK to close the Add a Run As Account dialog.
s.
t. On the Run As Accounts page, click Save. Note: You should now see the UNIX non-privileged account listed as a more-secure account, but with a yellow warning symbol. This indicates that the credentials have not yet been distributed to the desired agents or management servers. u. v. x. y. z. Click the UNIX non-Privileged Account hyperlink to open the Run As Account Properties. Ensure that you are on the Distribution tab. Above the Selected computers box, click Add. In the Option drop-down, select Show Management Servers, and click Search. Select RMS.contoso.com from the results, and click Add
aa. Click OK. bb. You should now see RMS.contoso.com in the list of selected computers. Click OK. Note: The Run As account now has a green check mark next to it to indicate that it now fully configured. cc. Click Close.
Page 8 of 23
On the Run As Accounts page, click Add to create a new Run As Account. The Add a Run As Account dialog will open. Note: If you examine the list of current Run As accounts you see the account we just created for non-Privileged users, but none for UNIX/Linux Privileged users, so we have to create one. Click New to open the Create Run As Account Wizard. On the Introduction page, click Next. On the General Properties page, select Basic Authentication from the dropdown. In the Display name box, type UNIX Privileged Account, and click Next. On the Credentials page, type the following information: Account name: root Password: password Confirm password: password
h. i. j. k. l.
m. Click Next. n. On the Distribution Security page, ensure that the More Secure option is selected, and then click Create. Note: When the creation is complete, you will see a warning message informing you that the Run Account must be associated with an appropriate Run As profile. We will do this in just a moment.
o. Click Close to return to the Add a Run As Account dialog. Note: Notice that the UNIX Privileged Account you just created now appears as the selected option in the drop down box. p. q. Select the A Selected class, group, or object option. Click Select and select Class from the drop-down.
Page 9 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps r. s. In the Class Search dialog, type Unix in the Filter by box, and click Search From the list of items returned from the search, select Unix Computer, and click OK. Note: Youve just created a user account that will be applied across all UNIX and Linux servers, (i.e., applied across the Unix Computer class). In your situation you may wish to configure user accounts at a more granular level, such as across a group or individual server. Click OK.
t.
u. Click Save. Note: You should now see the UNIX privileged account listed as a more-secure account, but with a yellow warning symbol. This indicates that the credentials have not yet been distributed to the desired agents or management servers. We now have to associate the Run As account with the RMS management server. v. Click on the UNIX Privileged Account hyperlink to open the Run As Account Properties. Ensure that the More Secure remains selected. Click Add. In the Option drop-down, select Show Management Servers, and click Search.
aa. Select RMS.contoso.com from the results, and click Add bb. Click OK Note: You should now see RMS.contoso.com in the list of selected computers. cc. Click OK Note: That the Run As Account now has a green check mark next to it, indicating that it now fully setup. dd. Click Close.
Page 10 of 23
Start the Discovery wizard using the hyperlink at the bottom of the Administration pane. Note: This wizard has been redesigned to simplify the way that users can select the computers and/or devices that they wish to manage. c. d. Ensure that the Windows Computers option is selected, and click Next. On the Auto or Advanced page, ensure that the Advanced discovery option is selected. Note: Automatic computer discovery scans for Windows-based computers in the domain to which the root management server belongs. Advanced discovery allows you to specify criteria for the computers that the wizard will return, such as computer names starting with NY. From the Computer and Device Classes drop-down, select Servers Only. Click Next.
e. f. g.
On the Discovery Method page, select Browse for, or type-in computer names. Note: You can locate the computers that you want to manage by either scanning or browsing Active Directory Domain Services or typing the computer names. Click Browse. In the Enter the object names to select box, type DC, and click Check Names. Click OK. You should now see DC.contoso.com in the list of machines to be discovered. Click Next. On the Administrator Account page, accept the default, and click Discover.
h. i. j. k. l.
m. On the Select Objects to Manage page, click Select All, and click Next. n. On the Summary page, click Finish. Note: The agent will now be deployed and registered in the current Operations Manager management group. Tracking the deployment is shown in the Agent Management Task Status dialog, the Status for each selected computer changes
Page 11 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps from Queued to Started to Success. If the task fails for a computer, click the targeted computer. The reason for the failure is displayed in the Task Output text box. o. 2. Discover the SUSE Linux computer a. b. c. d. e. f. When the task completes (i.e., the target shows a Success status), click Close. Start the Discovery wizard using the hyperlink at the bottom of the Administration pane. On the Discovery Type page, click Unix/Linux computers, and click Next. On the Discovery Method page, click Add. In the Define discovery criteria dialog, click DNS name. In the DNS name box, type sles2 and press TAB to complete the FQDN. In the Credentials area, enter the following: User name: root Password: password Confirm password: password Note: The Root password box (which is blank) and SSH port (which shows port 22) are both grayed out; this is expected. g. Click OK. Note: You should now see sles2.contoso.com in the Discovery Scope box. h. i. Ensure that the Management Server is RMS.contoso.com. Click Enable SSH based discovery.
j. Click Discover. Note: After a few moments the discovery results will be shown. sles2.contoso.com is identified with IP address information, operating system, version and architecture.
Page 12 of 23
j. Click OK. Note: When the view has finished saving, it appears in the tree pane on the left hand side of the console. k. l. 2. Hide views from the list shown in the console Select the new view, SQL 2008 SP1 DB Engines. In the results pane review the single result, MSSQLSERVER, located on RMS.contoso.com.
a. In the tree pane, click the Show or Hide Views link. Note: The Show or hide views control window allows you to easily manage what views are available when in the monitoring view. b. c. Uncheck Agentless Exception Monitoring and Network Device to hide those views from the monitoring pane. Click OK.
Note: Those two views are now hidden in the Monitoring view, but they still exist should you wish to bring them back. 3. Add a view to My Workspace a. b. c. In the tree pane, right-click SQL 2008 SP1 DB Engines, and click Add to My Workspace. Leave the name as it is (SQL 2008 SP1 DB Engines), click OK.
In the Operations Manager console, click the My Workspace menu button to enter the My Workspace view. Note: If you delete the view from your workspace, the view is not deleted from the public console. In the tree pane under My Workspace | Favorite Views, select SQL 2008 SP1 DB Engines. Page 13 of 23
d.
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps e. f. g. h. In the results pane, right-click on Healthy, point to Open, and select Diagram View. In the diagram, expand some of the nodes to investigate the different components monitored by Operations Manager 2007 R2. On the toolbar, click the Fit to space button on the toolbar (next to the zoom drop-down that is showing 100%) to resize the diagram view to the page. Click File | Close to close the Diagram View.
Page 14 of 23
c. In the Name box, type All Servers, and click OK. Note: The new dashboard view will be created. When the new dashboard view appears, you will need to select the contents of each pane. d. e. f. g. Click the Click to add a view hyperlink in the top box to open the view selector. Expand Monitoring, select Windows Computers, and click OK. Click the Click to add a view hyperlink in the bottom box to open the view selector. Expand Monitoring, select Unix/Linux Servers, and click OK.
Note: You are now looking at a dashboard that presents all the Windows and Unix/Linux Servers managed by Operations Manager 2007 R2 in your environment!
Page 15 of 23
To track this, were going to use a monitor so that we can maintain accurate information about the state of the application. Tasks Complete the following task on: RMS 1. Create a new monitor Detailed Steps a. b. c. d. e. f. g. h. i. j. k. In the Operations Manager console, click the Authoring menu button to enter the Authoring view. In the tree pane under Management Pack Objects, select Monitors. Right-click Monitors, point to Create a Monitor, and select Unit Monitor. Expand Windows Events | Simple Event Detection, and select Windows Event Reset. Click Next. On the General page, in the name box, type Event 100 Unhealthy Event 200 Healthy. Next to the Monitor target box, click Select. Select Agent and click OK. Click Next. On the Event Log (Unhealthy Event) page, click Next. On the Event Expression (Unhealthy Event) page, enter the following values: EventID equals 100 Event Source equals EventCreate Note: We are defining the action of our application or system such that if it generates an event with ID 100 it represents an unhealthy event for that application or system. l. n. Click Next. On the Event Expression (Unhealthy Event) page, enter the following values: EventID equals 200 Event Source equals EventCreate Note: We are defining the action of our application or system such that if it generates an event with ID 200 it represents a healthy event for that application or system. m. On the Event Log (Healthy Event) page, click Next.
Page 16 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps o. p. q. r. s. t. u. Click Next. On the Configure Health page, review the drop-down options for the Health State. Click Next. On the Configure Alerts page, click to select Generate alerts for this monitor. Ensure that Automatically resolve the alert when the monitor returns to a healthy state is selected. From the Priority drop-down, select High. Click Create.
Page 17 of 23
Page 18 of 23
d. On the Process to Monitor page, in the Process name box, type sqlservr.exe. Note: We choose to monitor whether and how a process is running (for processes you want). In this case we are going to monitor a process that we want to be running. Check for the correct spelling of this service. You can also use the browse to find the name of the executable file that initiates the process. e. f. g. h. Next to the Targeted group box, click ellipsis button. In the Filter by box, type SQL 2008 and click Search. In the Available Groups box, select SQL 2008 Computers, and click OK. Click Next.
i. On the Running Processes page, click Next. Note: You define if and how an alert is raised based upon a number of different possible criteria for how the process is running according to ranges and duration. j. On the Performance Data page, select Generate an alert if CPU usage exceeds the specified threshold. Note: Here you specify the performance counter data collection settings. k. In the CPU usage box, type 70. Note: This will generate an alert if the CPU utilization of the sqlservr.exe process averages over 70%. l. Select Generate an alert if memory usage exceeds the specified threshold. m. In the Memory usage box, type 100. Note: This allows administration teams to watch for excessive memory usage by a particular process, which could be indicative of a memory leak by that application. The performance counter sampling settings allow you to sample values across a
Page 19 of 23
System Center Operations Manager 2007 R2 - Introduction Tasks Detailed Steps period of time to avoid false positive errors such as taking the value during a temporary spike in activity. n. o. p. q. r. Click Next. Review the summary and click Create. In the Operations Manager console, click the Monitoring menu button to enter the Monitoring view. In the tree pane, scroll down, expand Windows Service and Process Monitoring, and select Process State. Review the Healthy process states for the template you just created.
Note: It may take a couple of minutes for the servers to report health. Two processes should appear for this monitor - on the WEB and RMS systems. 2. Create a monitor to watch for an unwanted process a. In the Operations Manager console, click the Authoring menu button to enter the Authoring view.
b. In the tree pane, click the Add Monitoring Wizard link. Note: In this example we are going to watch for processes that indicate software that should not be running on certain servers. In this lab we are going to monitor for Outlook running on a management server, but you would also monitor for software on Agent Managed computers as well. c. d. e. f. g. h. i. j. k. l. n. On the Monitoring Type page, select the Process Monitoring template, and click Next. On the General Properties page, in the Name box, type Office Outlook, and click Next. On the Process to Monitor page, select the Monitor only whether the process is running (for unwanted processes). In the Process name box, type OUTLOOK.EXE. Next to the Targeted group box, click ellipsis button. In the Filter by box, type management and click Search. In the Available Groups box, select Management Server Computer Group, and click OK. Click Next. On the Running Processes page, click Next. On the Performance Data page, click Next. In the Operations Manager console, click the Monitoring menu button to enter the Monitoring view.
o. Check to see if there is Healthy process state for the template you just created. Note: You can check this process monitor by starting Outlook on the RMS. It may take a couple of minutes for the servers to report health. It should only appear for the RMS. p. Click Start | All Programs | Microsoft Office | Microsoft Office Outlook 2007.
q. Switch back to the Operations Manager console. Note: Notice what happens to the process state of the monitor. You may have to refresh the view. r. Close Outlook.
Page 20 of 23
Click OK. Click to select the Query to Execute option. In the Query to Execute box, type (select * from dbo.Users). In the Query time-out box, type 2. Click Test to validate the connection and query. Click Next.
m. On the Query Performance page, click Next. Note: You have the option to set thresholds to meet your SLA goals for this database: Connection time refers to the time it takes to successfully connect to the database. Query time refers to the time it takes the database to run the query. Fetch time refers to the time from executing the query until the time the results start to download. n. o. On the Watcher Nodes page, select RMS.contoso.com and WEB.contoso.com, in the Run this query every box, type 5 and click Next. Review the summary and click Create.
Page 21 of 23
Select Objects of the following type(s), select Entity | Logical Entity | Perspective | OLE DB check perspective, and click OK. Note: A new object type for OLE DB check perspective will appear on the lower lefthand menu, and a new component box will appear in the editing pane. Click OLE DB check perspective in the lower-left hand pane to expose the available monitors.
h. i.
Click and drag the Product Orders DB perspectives from the object type area into the Database Monitor component box. Note: Notice that you can only drag that component into its corresponding area in the edit pane. Click Save and then close the window. Back in the Authoring area, right-click Stock Trader distributed application and select View Diagram. Note: There is an additional node in the diagram (click the Fit to space button if necessary) and it includes the newly added Database Monitor we created earlier to help validate the health of the Stock Trader service. Close the diagram view.
j. k.
l.
Page 22 of 23
Tasks Complete the following task on: RMS 1. View the health explorer via the Web Console
Detailed Steps a. From the desktop, double-click on the Operations Manager Web Console icon to launch Internet Explorer. Note: You can also navigate to the page using the following URL: http://rms:51908/default.aspx into your browser. Since the system is setup for Windows authentication, you are automatically logged into the browser. Normally, when full role-based access is employed, operators would authenticate to the Web site. In the tree pane, under the Monitoring node, click Active alerts. Right-click one of the critical alerts shown in the Active Alerts view and click Open | Health Explorer.
b. c.
Note: Navigate the health explorer to quickly find the root cause of the issue, and examine the knowledge and state change events for that monitor.
Page 23 of 23