Tài liệu Module 4: Managing Applications and Services by Using Process Control pdf

80 484 0
Tài liệu Module 4: Managing Applications and Services by Using Process Control pdf

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Module 4: Managing Applications and Services by Using Process Control Contents Overview Process Execution Environment Job Objects 11 Process Control Concepts 13 Rules, Processes, and Process Groups 19 Configuring the Process Control Service 21 Demonstration: Tuning the Process Scan Interval 23 Rules 24 Defining Process Alias Rules 25 Demonstration: Defining and Testing a Process Alias Rule 27 Defining Process Execution Rules 29 Setting Process Group Execution Rule Properties 37 Managing Processes and Process Groups 55 Managing Processes by Using the Command Line 56 Backing Up and Restoring Process Control Information 58 Best Practices 59 Lab A: Managing Applications and Services by Using Process Control 60 Review 71 Information in this document is subject to change without notice The names of companies, products, people, characters, and/or data mentioned herein are fictitious and are in no way intended to represent any real individual, company, product, or event, unless otherwise noted Complying with all applicable copyright laws is the responsibility of the user No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of Microsoft Corporation If, however, your only means of access is electronic, permission to print one copy is hereby granted 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  2001 Microsoft Corporation All rights reserved Microsoft, Active Directory, BackOffice, FrontPage, Outlook, PowerPoint, Visual Studio, Windows, Windows Media, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the U.S.A and/or other countries Other product and company names mentioned herein may be the trademarks of their respective owners Program Manager: Don Thompson Product Manager: Greg Bulette Instructional Designers: April Andrien, Kelley Umphrey Subject Matter Experts: Conrad Cahill (Entirenet), Jack Creasey Classroom Automation: Lorrin Smith-Bates Graphic Designer: Andrea Heuston (Artitudes Layout & Design) Editing Manager: Lynette Skinner Editor: Lori Kane Copy Editor: Gwen Bloomsburg (S&T Consulting) Production Manager: Miracle Davis Build Manager: Julie Challenger Print Production: Lori Walker (S & T Consulting) CD Production: Eric Wagoner Test Manager: Eric R Myers Test Lead: Robertson Lee (Volt) Creative Director: David Mahlmann Media Program Manager: Scott Daniels Media Producer: Dean Connolly Lead Production Artist: Scott Serna Localization Manager: Rick Terek Operations Coordinator: John Williams Manufacturing Support: Laura King; Kathy Hershey Lead Product Manager, Release Management: Bo Galford Lead Technology Manager: Sid Benavente Lead Product Manager: Ken Rosen Group Manager, Courseware Infrastructure: David Bramble Group Product Manager, Content Development: Julie Truax Director, Training & Certification Courseware Development: Dean Murray General Manager: Robert Stewart Module 4: Managing Applications and Services by Using Process Control iii Instructor Notes Presentation: 90 Minutes Lab: 90 Minutes This module provides students with the ability to use Process Control—a tool included with Microsoft® Windows® 2000 Datacenter Server that you can use to organize, control, and manage the processes on a system and the resources they use After completing this module, students will be able to manage applications and services by using Process Control, including: Describing the process execution environment Describing how job objects function Describing Process Control concepts such as components, functionality, and user interface Identifying rules, processes, and process groups Configuring the Process Control service by using Process Control properties Identifying Process Alias rules, Process Execution rules, and Process Group Execution rules Defining and testing Process Alias rules Defining and testing Process Execution rules Setting Process Group Execution rule properties Managing processes and process groups Managing processes by using the command line Backing up and restoring process control information from the command line Identifying best practices for using Process Control Materials and Preparation This section provides the materials and preparation tasks that you need to teach this module Required Materials To teach this module, you need the following materials: Microsoft PowerPoint® file 2089a_04.ppt Module 4, “Managing Applications and Services by Using Process Control” The Trainer Materials compact disc for two executable files, including leakyapp.exe and cpustres.exe Preparation Tasks To prepare for this module, you should: Read all of the materials for this module Complete the demonstrations Complete the labs iv Module 4: Managing Applications and Services by Using Process Control Module Strategy Use the following strategy to present this module: Process Execution Environment This topic introduces the concepts of priority, affinity, and scheduling that will be applied when using the Process Control tool later in this module This topic covers processes, threads, fibers, base priority, dynamic priority, scheduler, and processor and thread affinity Job Objects This topic introduces the concept of job objects that will be applied when using the Process Control tool later in this module This is followed by a discussion of accounting information and controlling child processes within a job object Process Control Concepts This topic begins by introducing the Process Control components that control and manage processes This is followed by a discussion on how Process Control depends on these components to function The section concludes with a discussion on how the Process Control user interface can be scripted, managed with graphical tools, or controlled from the command line Rules, Processes, and Process Groups This topic defines rules, processes, and process groups It introduces the Process Control console tree and explains how you can use this console tree to define, view, and manage rules, processes, and process groups Configuring the Process Control Service This topic describes Process Control properties, explaining scan interval and request timeout interval Demonstration: Tuning the Process Scan Interval In this demonstration, the instructor modifies the process scan interval so that Process Control checks for new processes more frequently than the 60second default interval This demonstration supports the Configuring the Process Control Service topic in this module and can be conducted simultaneously Rules This topic introduces three types of rules created in Process Control: Process Alias rules, Process Execution rules, and Process Group Execution rules Defining Process Alias Rules This topic explains the purpose of defining Process Alias rules It discusses types of names, match string, and process alias assigned on a match Demonstration: Defining and Testing a Process Alias Rule In this demonstration, the instructor defines and tests a new Process Alias rule for the process called notepad.exe This demonstration supports the Defining Process Alias Rules topic in this module and can be conducted simultaneously Module 4: Managing Applications and Services by Using Process Control Defining Process Execution Rules This topic explains the purpose of defining Process Execution rules It describes how to assign a process to a process group, apply affinity, apply priority, and apply memory limits Demonstration: Defining and Testing a Process Execution Rule to Control Memory Usage In this demonstration, the instructor defines and tests a Process Execution rule for the process alias called Notepad Alias This demonstration supports the Defining Process Execution Rules topic in this module and can be conducted simultaneously Setting Process Group Execution Rule Properties This topic explains the purpose of creating Process Group Execution rules It describes limiting process count within a single processor group, applying scheduling class, setting group memory limits, setting time limits, and configuring advanced process group controls Demonstration: Creating and Testing a Process Group Execution Rule to Control Memory Usage In this demonstration, the instructor creates and tests a Process Group Execution rule for the process alias called Notepad Alias This demonstration supports the Setting Process Group Execution Rule Properties topic in this module and can be conducted simultaneously Demonstration: Creating and Testing a Process Group Execution Rule to Control Processor Affinity In this demonstration, the instructor creates and tests the affinity setting of a Process Group Execution rule This demonstration supports the Setting Process Group Execution Rule Properties topic in this module Note This demonstration can be completed only if a server with two or more processors is available Managing Processes and Process Groups There are many ways that students can use the Process Control console to manage processes and process groups This topic explains three different ways Managing Processes by Using the Command Line The Process Control command-line utility uses a series of switches that describe the operation to perform and supply the required data This topic covers a summary of command-line operations including where, verbs, and objects Backing Up and Restoring Process Control Information This topic covers the syntax used at the command prompt to back up and restore Process Control rules Best Practices This topic explains the recommended range of operation, maintained by Process Control, for Microsoft SQL Server™, Microsoft Internet Explorer, and Microsoft Project v vi Module 4: Managing Applications and Services by Using Process Control Lab A: Managing Applications and Services by Using Process Control In this lab, students have an opportunity to manage applications and services by using Process Control Exercises include tuning the process scan interval, defining and testing a Process Alias rule, defining and testing a Process Execution rule to control memory usage, creating and testing a Process Group Execution rule to control memory usage, and creating and testing a Process Group Execution rule to control processor affinity Note Exercise 5, “Creating and Testing a Process Group Execution Rule to Control Processor Affinity,” can be completed only if a server with two or more processors is available Module 4: Managing Applications and Services by Using Process Control Overview Topic Objective To provide an overview of the module topics and objectives Lead-in Process Control is a tool included with Windows 2000 Datacenter Server that helps you organize, control, and manage the processes on your system and the resources they use Process Execution Environment Job Objects Process Control Concepts Rules, Processes, and Process Groups Configuring the Process Control Service Rules Defining Process Alias Rules *****************************ILLEGAL FOR NON-TRAINER USE***************************** Process Control is a tool included with Microsoft® Windows® 2000 Datacenter Server that helps you organize, control, and manage the processes on your system and the resources they use Explain the purpose of the module Describe the list of learning objectives After completing this module, you will be able to manage applications and services by using Process Control, including: Describing the process execution environment Describing how job objects function Describing Process Control concepts such as components, functionality, and user interface Identifying rules, processes, and process groups Configuring the Process Control service by using Process Control properties Identifying Process Alias rules, Process Execution rules, and Process Group Execution rules Defining and testing Process Alias rules Defining and testing Process Execution rules Setting Process Group Execution rule properties Managing processes and process groups Managing processes by using the command line Backing up and restoring process control information from the command line Identifying best practices for using Process Control Module 4: Managing Applications and Services by Using Process Control Overview (continued) Topic Objective To provide an overview of the module topics and objectives Lead-in Process Control is a tool included with Windows 2000 Datacenter Server that helps you organize, control, and manage the processes on your system and the resources they use Defining Process Execution Rules Setting Process Group Execution Rule Properties Managing Processes and Process Groups Managing Processes by Using the Command Line Backing Up and Restoring Process Control Information Best Practices *****************************ILLEGAL FOR NON-TRAINER USE***************************** Explain the purpose of the module Describe the list of learning objectives Module 4: Managing Applications and Services by Using Process Control Process Execution Environment Topic Objective To describe the process execution environment Lead-in The purpose of this section is to make sure that you understand priority, affinity, and scheduling Processes, Threads, and Fibers Scheduling Thread Priorities Scheduler Processor and Thread Affinity *****************************ILLEGAL FOR NON-TRAINER USE***************************** The purpose of this section is to make sure that you understand priority, affinity, and scheduling Later in the module, you will apply these concepts when using the Process Control tool Introduce the topic, Process Execution Environment The following four supportive slides discuss Processes, Threads, and Fibers; Scheduling Thread Priorities; Scheduler; and Processor and Thread Affinity This section provides the students with an opportunity to learn about the concepts of priority, affinity, and scheduling These concepts will be applied later in the module when they use the Process Control tool This section begins with a discussion of processes, threads, and fibers Next, you will have an opportunity to determine how base priority is assigned This leads into an explanation of how scheduler uses the assigned base priority to allocate processor time This section concludes with a discussion about processor and thread affinity Module 4: Managing Applications and Services by Using Process Control Processes, Threads, and Fibers Topic Objective To identify processes, threads, and fibers Process Process Lead-in Thread Thread To understand the concepts and control that the Process Control tool uses, the student must understand how code is executed in a computer running Windows 2000-based operating systems Example.exe Thread Thread Thread Fibers +1 Thread +1 Thread Code Data Process Tree Process Tree Fibers Fibers *****************************ILLEGAL FOR NON-TRAINER USE***************************** To understand the concepts and control that the Process Control tool uses, you must understand how code is executed in a computer running Windows 2000based operating systems Describe processes, threads, and fibers Briefly introduce scheduling, which will be covered in the next two slides In the graphic, the entire box represents a process The left column, including Example.exe, with code and data, represents a thread The middle circle represents a process tree The right column represents fibers in a thread There are several key elements: Processes Threads Fibers Scheduling A process provides the resources needed to execute an application or program, including a collection of allocated virtual memory space, executable code, data, threads, and system resources A thread is executable code that is to be serially executed within a process A processor or CPU executes threads, not processes, so each 32-bit application must have at least one process and one thread A process always has at least one thread of execution, known as the primary thread, and can have multiple threads in addition to this After a thread is scheduled to execute, the thread continues to run until it is complete, is ended by some event, or is interrupted by a thread with higher priority (by a user action or the kernel's thread scheduler) Each thread can run separate sections of code, or multiple threads can execute the same section of code Threads that execute the same block of code maintain separate stacks All threads of a process share its virtual address space and system resources In addition, each thread maintains exception handlers, a scheduling priority, and a set of structures that the operating system uses to save the thread context until it is scheduled The thread context includes the thread's set of machine registers, the kernel stack, a thread environment block, and a user stack in the address space of the thread's process 60 Module 4: Managing Applications and Services by Using Process Control Lab A: Managing Applications and Services by Using Process Control Topic Objective To introduce the lab Lead-in In this lab, you will manage applications and services by using Process Control *****************************ILLEGAL FOR NON-TRAINER USE***************************** Explain the lab objectives Objectives Each exercise is dependent on the exercises that come before Exercise 5, “Creating and Testing a Process Group Execution Rule to Control Processor Affinity,” can be completed only if a server with two or more processors is available Ensure the files listed in the Instructor Notes are loaded on the server running Datacenter Server After completing this lab, you will be able to manage applications and services by using Process Control, including: Important You must delete all of the rules you created in the demonstrations prior to beginning the lab Upon completion of the demonstrations and prior to the labs, delete all Process Alias rules, Process Execution rules, and Process Group Execution rules, except the default alias rule After deleting all the rules, on the Actions menu, click Refresh Tuning the process scan interval Defining and testing a Process Alias rule Defining and testing a Process Execution rule to control memory usage Creating and testing a Process Group Execution rule to control memory usage Creating and testing a Process Group Execution rule to control processor affinity Module 4: Managing Applications and Services by Using Process Control Exercise Tuning the Process Scan Interval In this exercise, you modify the process scan interval so that Process Control checks for new processes more frequently than the 60-second default interval To open Process Control • Click Start, point to Programs, point to Administrative Tools, and click Process Control To open the Process Control properties • In the console tree, right-click Process Control (Local), and then select Properties To modify the process scan interval In the Process Control Properties dialog box, click the Service tab In the Process scan interval (seconds) box, type Click OK To open a command prompt • Click Start, click Run, type CMD and then click OK To restart Process Control At the command prompt, type net stop proccon and press ENTER At the command prompt, type net start proccon and press ENTER 61 62 Module 4: Managing Applications and Services by Using Process Control Exercise Defining and Testing a Process Alias Rule In this exercise, you define and test a new Process Alias rule for the process called leakyapp.exe To open Process Control • Click Start, point to Programs, point to Administrative Tools, and click Process Control To define a new Process Alias rule In the console tree, expand Rules, and then click Process Alias Rules In the details pane, right-click Default Alias Rule, and then click Insert Rule In the Define New Process Alias Rule dialog box, in the Type of match area, click Image Name In the Match string box, type leakyapp.exe In the Process alias assigned on a match box, type Leaky App Alias In the Rule description or comment box, type This process simulates a memory leak Click OK To verify that the Process Alias rule will be applied to the process when it is executed From the desktop, double-click leakyapp.exe In the Process Control console tree, click Processes In the details pane, locate the process alias called Leaky App Alias Verify that the image name for Leaky App Alias is leakyapp.exe It may be necessary to refresh the window by pressing F5 From the My Leaky App window, click Exit Module 4: Managing Applications and Services by Using Process Control 63 Exercise Defining and Testing a Process Execution Rule to Control Memory Usage In this exercise, you define and test a Process Execution rule for the process alias called Leaky App Alias To open Process Control • Click Start, point to Programs, point to Administrative Tools, and click Process Control To define a new Process Execution rule In the console tree, click Processes In the details pane, right-click the process alias called Leaky App Alias, and click Define Process Execution Rule to open the wizard On the Process Alias page of the Define Process Execution Rule Wizard, notice that Leaky App Alias is already designated in the Process Alias box On the Process Alias page, in the Description or comment box, type Leaky App Execution Rule, and then click Next On the Group Membership page, click Next On the Affinity page, click Next On the Priority page, click Next Select the Apply working set limits check box In the Minimum memory (Kilobytes) box, type 2,048 and in the Maximum memory (Kilobytes) box, type 3,072 and then click Finish In the Process Control details pane, in the Status column, verify that the process alias called Leaky App Alias appears as Managed It may be necessary to refresh the window by pressing F5 To open Windows Task Manager Right-click the taskbar, and then click Task Manager On the Options menu, clear Always on Top To verify that the Process Execution rule will be applied to the process when it is executed From the desktop, double-click leakyapp.exe Position the My Leaky App window next to the Windows Task Manager window so that both are visible at the same time In Windows Task Manager, click the Processes tab From the My Leaky App window, click Start Leaking In Windows Task Manager, on the Processes tab, look at the number displayed in the MEM Usage meter After the MEM Usage meter has increased by more than 4,000 K, click Stop Leaking in the My Leaky App window 64 Module 4: Managing Applications and Services by Using Process Control In the My Leaky App window, click Exit Close Windows Task Manager Click Start, point to Programs, point to Administrative Tools, and click Event Viewer 10 In the Event Viewer console tree, click System log, and press F5 to refresh the events 11 In the details pane, double-click the most recent event with the source of ProcCon In the Event Properties dialog box, if there are multiple events, use the arrows to locate Event 154 that has a source of ProcCon Note The event with an ID of 154 indicates that the working set and priority for the process Leaky App Alias was changed by Process Control 12 Close Event Viewer Module 4: Managing Applications and Services by Using Process Control 65 Exercise Creating and Testing a Process Group Execution Rule to Control Memory Usage In this exercise, you create and test a Process Group Execution rule for the process alias called Leaky App To open Process Control • Click Start, point to Programs, point to Administrative Tools, and click Process Control To define a new Process Group Execution rule In the console tree, click Processes In the details pane, right-click the process alias called Leaky App Alias, and then click Properties Notice that the properties of the Process Execution rule called Leaky App Alias are displayed in the Leaky App Alias on Local Computer Properties dialog box On the General tab, select the Execute within a process group check box In the box below the Execute within a process group check box, type Leaky Group and then click Apply Notice that the settings on the Affinity, Priority, and Memory tabs now appear dimmed because the process is going to be executed within the group Click OK To configure the newly created process group In the Process Control console tree, expand Process Groups Right-click Leaky Group, and then click Properties On the General tab, select the Apply process count limit check box In the Maximum number of active processes box, type On the Affinity tab, select the Apply affinity check box Select only one available processor check box Note Notice that unavailable processors have a dimmed check mark in the box when selected 66 Module 4: Managing Applications and Services by Using Process Control On the Priority tab, select the Apply priority check box, and then click Below normal On the Scheduling tab, not enable any setting On the Memory tab, select the Apply working set limits check box In the Minimum memory (Kilobytes) box, type 2,048 and in the Maximum memory (Kilobytes) box, type 3,072 On the Memory tab, select the Apply process committed memory limits check box In the Maximum memory (Kilobytes) box, type 5,120 On the Memory tab, select the Apply process group committed memory limit check box In the Maximum memory (Kilobytes) box, type 8,192 10 On the Time tab, not enable any setting 11 On the Advanced tab, not enable any setting 12 Click OK To open Windows Task Manager • Right-click the taskbar, and then click Task Manager To verify the Process Group Execution rule will be applied to the process when it is executed From the desktop, double-click leakyapp.exe In the Leaky App window, click Start Leaking Position the My Leaky App window next to the Windows Task Manager window so that both are visible at the same time On the Processes tab of the Windows Task Manager window, look at the number in the Mem Usage column for leakyapp.exe This number will not exceed the 3,072 KB limit that was specified because a Process Group Execution rule applies a hard limit Open a second and third instance of leakyapp.exe by double-clicking it on the desktop, each time clicking Start Leaking in the newly opened window In Windows Task Manager, to alphabetize the running processes, click Image Name Notice that the number of bytes allocated is less in the third instance than in the first two Attempt to launch a fourth instance of leakyapp.exe A fourth window may be displayed briefly Process Control ends this fourth instance of leakyapp.exe due to the process count limit of that was configured for the process group In the remaining My Leaky App windows, click Stop Leaking, and then click Exit 10 Close Windows Task Manager 11 Click Start, point to Programs, point to Administrative Tools, and click Event Viewer 12 In Event Viewer, click System log, and then press F5 to refresh the events pane Module 4: Managing Applications and Services by Using Process Control 13 In the details pane, double-click the most recent event with the source of ProcCon 14 In the Event Properties dialog box, use the arrow buttons to locate Event 206 and Event 205 that have a source of ProcCon Note These events may not be in order These events indicate that the group memory limit and process count for the group Msjob_Leaky Group was reached and controlled 15 Close Event Viewer 67 68 Module 4: Managing Applications and Services by Using Process Control Exercise Creating and Testing a Process Group Execution Rule to Control Processor Affinity In this exercise, you create and test the Affinity setting of a Process Group Execution rule Note This exercise can be completed only if a server with two or more processors is available To open Process Control • Click Start, point to Programs, point to Administrative Tools, and click Process Control To define a new Process Alias rule In the Process Control console tree, expand Rules, and then select Process Alias Rules In the details pane, right-click Default Alias Rule, and then click Insert Rule In the Define New Process Alias Rule dialog box, in the Type of match area, click Image Name In the Match string box, type cpustres.exe In the Process alias assigned on a match box, type CPU Stress Rule In the Rule description or comment box, type This process stresses the CPU Click OK To open Windows Task Manager • Right-click the taskbar, and then click Task Manager To verify that cpustres.exe uses all of the available CPUs From the desktop, double-click cpustres.exe Position the CPU Stress window next to the Windows Task Manager window (Windows Task Manager should have the Performance tab selected) so that both are visible at the same time From the CPU Stress window, select the Active check box for threads 1, 2, 3, and 4, and then at the bottom of the Activity list for each thread, click Maximum Look at the CPU Usage History graph All available processors will show CPU usage Close the CPU Stress window Minimize Windows Task Manager Module 4: Managing Applications and Services by Using Process Control 69 To define a new Process Group Execution rule In the Process Control console tree, right-click Process Execution Rules, and then click New Process Execution Rule In the Process Alias box, type CPU Stress Rule and then click Next Select the Execute within a process group check box In the box below the Execute within a Process Group check box, type CPU Stress Group and then click Next On the Affinity page, click Next On the Priority page, click Next On the Working set page, click Finish to exit the Define Process Execution Rule Wizard In the Process Control console tree, click Process Groups In the details pane, right-click CPU Stress Group, and then click Properties On the Affinity tab, select the Apply Affinity check box Select the second processor check box that is available in the server Click OK Note Notice that unavailable processors have a dimmed check mark in the box when selected To verify that the Process Execution rule will be applied to the process when it is executed From the desktop, double-click cpustres.exe Position the CPU Stress window next to the Windows Task Manager window (with the Performance tab selected in Windows Task Manager) so that both are visible at the same time From the CPU Stress window, select the Active check box for threads 1, 2, 3, and 4, and then at the bottom of the Activity list for each thread, click Maximum Look at the CPU Usage History graph Only one processor shows maximum CPU usage In Process Control, right-click CPU Stress Group, and then click Properties Click the Affinity tab, and position the CPU Stress Group on Local Computer Properties dialog box next to Windows Task Manager 70 Module 4: Managing Applications and Services by Using Process Control Select another available processor by using the associated check box, and then click Apply Verify in the CPU Usage History graph and CPU Usage meter that CPU Stress is now using two CPUs Close the CPU Stress Group on Local Computer Properties dialog box 10 Close Windows Task Manager 11 Close the CPU Stress window Module 4: Managing Applications and Services by Using Process Control 71 Review Topic Objective To reinforce module objectives by reviewing key points Lead-in The review questions cover some of the key concepts taught in the module Process Execution Environment Job Objects Process Control Concepts Rules, Processes, and Process Groups Configuring the Process Control Service Rules Defining Process Alias Rules *****************************ILLEGAL FOR NON-TRAINER USE***************************** How is base priority determined? It is the sum of the priority level and the priority class Describe a job object A job object: • Is a kernel object that is namable, securable, sharable, and inheritable • Groups one or more processes together • Controls attributes of the processes associated with them • Can enforce limits on each associated process • Collects and retains accounting information Processes running within a job object can create child processes Name two ways that you can access the Process Control service through the user interface MMC console and snap-in Command-line utility 72 Module 4: Managing Applications and Services by Using Process Control What is the difference between a process and a process group? A process is an instance of a program running in a computer A process group is a container for a designated group of processes that have been collected by a user for simplified management What does the process scan interval set? The process scan interval sets the number of seconds between scans of all Process Control managed processes Name the three types of rules that Process Control uses Process Alias rule Process Execution rules Process Group Execution rules What is a Process Alias rule? Process Control identifies processes in a meaningful way by assigning each process an intuitive alias based on a list of Process Alias rules that you define Module 4: Managing Applications and Services by Using Process Control 73 Review (continued) Topic Objective To reinforce module objectives by reviewing key points Lead-in The review questions cover some of the key concepts taught in the module Defining Process Execution Rules Setting Process Group Execution Rule Properties Managing Processes and Process Groups Managing Processes by Using the Command Line Backing Up and Restoring Process Control Information Best Practices *****************************ILLEGAL FOR NON-TRAINER USE***************************** What is a Process Execution rule? A Process Execution rule can associate a rule with a process alias and specify the affinity, priority, and working set of an individual process What is a Process Group Execution rule? A Process Group Execution rule manages and controls the execution of processes grouped together in a process group Process Group Execution rules provide hard limits by using job objects to control grouped processes The grouped processes cannot exceed the limits set by the rule 74 Module 4: Managing Applications and Services by Using Process Control 10 Explain the three ways that you can manage rules by using the Process Control console You can: • Modify Process Alias rules by using the Process Alias Rules object in the Rules object • Modify Process Execution rules by using the Process Execution Rules object in the Rules object In addition, you can manage Process Execution rules by using the Processes object in the Process Control console Click Processes, right-click the process you want to manage, and then click Properties • Manage Process Group Execution rules by using the Process Group Execution Rules object in the Rules object In addition, you can manage Process Execution rules by using the Process Groups object in the Process Control console If you expand the Process Groups object, you see the groups that you can manage If you click the individual group, a list of the grouped Process Execution rules appears in the details pane 11 How can you manage processes by using the command line? The Process Control command-line utility uses a series of switches that describe the operation to perform and supply the required data 12 Where does Process Control store all of its configuration information? It stores its configuration information in the Windows 2000 registry 13 Based on best practices, if your desired actual range of operation is 55–65 percent (a span of 10 percent), what should your controlled range be? As a rule, the range of operation maintained by Process Control should be at least 50 percent higher and 50 percent lower than the actual range desired For example, if the actual range desired is 55–65 percent (a span of 10 percent), your controlled range should be at least 50–70 percent (a span of 20 percent) ... vi Module 4: Managing Applications and Services by Using Process Control Lab A: Managing Applications and Services by Using Process Control In this lab, students have an opportunity to manage applications. .. a process alias Process Control uses the Process Execution rule to control how and where the process runs 30 Module 4: Managing Applications and Services by Using Process Control Naming a Process. .. the Process Control UI can be scripted, managed with graphical tools, or controlled from the command line Module 4: Managing Applications and Services by Using Process Control 15 Process Control

Ngày đăng: 24/01/2014, 10:20

Tài liệu cùng người dùng

Tài liệu liên quan