Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

20411B-ENU-TrainerHandbook

.pdf
Скачиваний:
237
Добавлен:
01.05.2015
Размер:
16.48 Mб
Скачать

Administering Windows Server® 2012

Exercise 2: Identifying the Source of a Performance Problem

Task 1: Create additional workload on the server

1.On LON-SVR1, switch to the command prompt.

2.At the command prompt, type the following command, and then press Enter:

C:

3.At the command prompt, type the following command, and then press Enter:

Cd\Labfiles

4.At the command prompt, type the following command, and then press Enter:

StressTool 95

Task 2: Capture performance data by using a data collector set

L13-MCT89

ONLY USE .

1.

Switch to Performance Monitor.

STUDENT

2.

 

In Performance Monitor, click User Defined, in the results pane, right-click LON-SVR1 Performance,

 

and then click Start.

 

3.

Wait one minute to allow the data capture to occur.

 

1.

After one minute, switch to the command prompt.

 

2.

Press Ctrl+C.

 

3.

Do NOT close the command prompt.

 

4.

Switch to Performance Monitor.

 

5.

In the navigation pane, right-click LON-SVR1 Performance, and then click Stop.

USE

6.

In Performance Monitor, in the navigation pane, click Performance Monitor.

 

7.

On the toolbar, click View log data.

 

8.

In the Performance Monitor Properties dialog box, on the Source tab, click Log files, and then

 

 

click Remove.

PROHIBITED

9.

Click Add.

 

10.

In the Select Log File dialog box, click Up One Level.

 

11.

Double-click the LON-SVR1_date-000002 folder, and then double-click DataCollector01.blg.

 

12.

Click the Data tab, and then click OK.

 

Note: If you receive an error at this point, or the values in your report are zero, repeat steps 4 through 11.

Question: Compared with your previous report, which values have changed?

Answer: Memory and disk activity are reduced, although processor activity has increased significantly.

L13-90 Monitoring Windows Server 2012

Question: What would you recommend?

Answer: You should continue to monitor the server to ensure that the processor workload does not reach capacity.

Results: After this exercise, you should have used performance tools to identify a potential performance bottleneck.

Exercise 3: Viewing and Configuring Centralized Event Logs

Task 1: Configure subscription prerequisites

1.On LON-SVR1, switch to the command prompt.

2.At the command prompt, type the following command, and then press Enter:

.ONLY USE MCT

winrm quickconfig

3.If prompted, type Y, and then press Enter. STUDENT

4.On the taskbar, click Server Manager.

5.In Server Manager, in the navigation pane, click Local Server. On the toolbar, click Tools, and then click Computer Management.

6.In Computer Management (Local), expand System Tools, expand Local Users and Groups, and then click Groups.

7.In the results pane, double-click Administrators.

8.Click Add, and in the Select Users, Computers, Service Accounts or Groups dialog box, click Object Types.

9.In the Object Types dialog box, select the Computers check box, and then click OK.

10.In the Select Users, Computers, Service Accounts or Groups dialog box, in the Enter the object USE names to select box, type LON-DC1, and then click OK.

11.In the Administrators Properties dialog box, click OK.

12.Switch to LON-DC1.

13.Pause your mouse in the lower-left of the taskbar, and then click Start. PROHIBITED

14.In Start, type Cmd, and in the Apps list, click Command Prompt.

15.At the command prompt, type the following command, and then press Enter:

Administering Windows Server® 2012 L13-91

5.

In the Subscription Properties dialog box, in the Subscription name box, type LON-SVR1 Events.

6.

Click Collector Initiated and then click Select Computers.

MCT

7.

In the Computers dialog box, click Add Domain Computers.

USE

8.

In the Select Computer dialog box, in the Enter the object name to select box, type LON-SVR1,

 

 

and then click OK.

 

9.

In the Computers dialog box, click OK.

 

10.

In the Subscription Properties – LON-SVR1 Events dialog box, click Select Events.

.ONLY

11.

In the Query Filter dialog box, select the Critical, Warning, Information, Verbose, and Error

 

 

check boxes.

 

12.

In the Logged list, click Last 7 days.

 

13.

In the Event logs list, expand Applications and Services, expand Microsoft, expand Windows,

 

 

expand Diagnosis-PLA, and then select the Operational check box.

 

14.

Click the mouse back in the Query Filter dialog box, and then click OK.

 

15.

In the Subscription Properties – LON-SVR1 Events dialog box, click OK.

 

Task 3: Configure a performance counter alert

1.Switch to the LON-SVR1 computer.

2.In Performance Monitor, in the navigation pane, expand Data Collector Sets, and then click

User Defined.

3.Right-click User Defined, point to New, and then click Data Collector Set.

4.In the Create new Data Collector Set Wizard, in the Name box, type LON-SVR1 Alert.

5.Click Create manually (Advanced), and then click Next.

6.On the What type of data do you want to include? page, click Performance Counter Alert, and then click Next.

7.On the Which performance counters would you like to monitor? page, click Add. USE

8.In the Available counters list, expand Processor, click %Processor Time, click Add >>, and then click OK.

9.On the Which performance counters would you like to monitor? page, in the Alert when list,

click Above. PROHIBITED

10.In the Limit box, type 10, and then click Next.

11.On the Create the data collector set? page, click Finish.

12.In the navigation pane, expand the User Defined node, and then click LON-SVR1 Alert.

13.In the results pane, right-click DataCollector01, and then click Properties.

14.In the DataCollector01 Properties dialog box, in the Sample interval box, type 1, and then click the

Alert Action tab.

15.Select the Log an entry in the application event log check box, and then click OK.

16.In the navigation pane, right-click LON-SVR1 Alert, and then click Start. STUDENT

L13-92 Monitoring Windows Server 2012

Task 4: Introduce additional workload on the server

1.At the command prompt, type the following command, and then press Enter:

C:

2.At the command prompt, type the following command, and then press Enter:

Cd\Labfiles

3.At the command prompt, type the following command, and then press Enter:

StressTool 95

4.Wait one minute to allow for alerts to generate.

5.Press Ctrl+C.

6.Close the command prompt.

Task 5: Verify results

1.Switch to LON-DC1.

2.In Event Viewer, in the navigation pane, expand Windows Logs.

3.Click Forwarded Events.

Question: Are there any performance-related alerts?

Answer: Answers may vary, but there should be some events that relate to the imposed workload on LON-SVR1. Events will have an ID of 2031.

Results: At the end of this exercise, you will have centralized event logs and examined these logs for performance-related events.

To prepare for the next module

When you are finished the lab, revert all virtual machines to their initial state. To do this, perform the following steps:

1.On the host computer, start Hyper-V Manager.

2.In the Virtual Machines list, right-click 20411B-LON-DC1, and then click Revert.

3.In the Revert Virtual Machines dialog box, click Revert.

4.Repeat steps 2 and 3 for 20411B-LON-SVR1.

PROHIBITED USE STUDENT .ONLY USE MCT

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]