lab | ||||
---|---|---|---|---|
|
Contoso, Ltd is a global engineering and manufacturing company with its head office in Seattle, Washington, in the United States. An IT office and datacenter are in Seattle to support the Seattle location and other locations. Contoso recently deployed a Windows Server 2019 server and client infrastructure.
Because the organization deployed new servers, it’s important to establish a performance baseline with a typical load for these new servers. You’ve been asked to work on this project. Additionally, to make the process of monitoring and troubleshooting easier, you decided to perform centralized monitoring of event logs.
After completing this lab, you’ll be able to:
- Establish a performance baseline.
- Identify the source of a performance problem.
- Review and configure centralized event logs.
Estimated time: 40 minutes
Virtual machines: WS-011T00A-SEA-DC1, WS-011T00A-SEA-ADM1, and WS-011T00A-SEA-CL1
User name: Contoso\Administrator
Password: Pa55w.rd
- Select SEA-DC1.
- Sign in by using the following credentials:
- User name: Administrator
- Password: Pa55w.rd
- Domain: Contoso
- Repeat these steps for SEA-ADM1 and SEA-CL1.
In this exercise, you’ll use Performance Monitor on the server and create a baseline by using typical performance counters.
The main tasks for this exercise are:
- Create and start a data collector set
- Create a typical workload on the server
- Analyze the collected data
Note: After starting the Data Collector Set, there might be a delay of 10 minutes for the results to appear.
Switch to SEA-ADM1.
Open Performance Monitor.
Create a new User Defined data collector set by using the following information to complete the process:
- Name: SEA-ADM1 Performance
- Create: Create manually (Advanced)
- Type of data: Performance counter
- Select the following counters (using all default instances):
- Memory\Pages/sec
- Network Interface\Bytes Total/sec
- PhysicalDisk\% Disk Time
- PhysicalDisk\Avg. Disk Queue Length
- Processor\% Processor Time
- System\Processor Queue Length
- Sample interval: 1 second
- Where to store data: default value
Save and close the data collector set.
In Performance Monitor, in the results pane, right-click or access the context menu for SEA-ADM1 Performance, and then select Start.
Open a Command Prompt window, and then run the following commands by selecting Enter after each command:
Fsutil file createnew bigfile 104857600 Copy bigfile \\SEA-dc1\c$ Copy \\SEA-dc1\c$\bigfile bigfile2 Del bigfile*.* Del \\SEA-dc1\c$\bigfile*.*
Don’t close the Command Prompt window.
- Switch to Performance Monitor.
- Stop the SEA-ADM1 Performance data collector set.
- In Performance Monitor, in the navigation pane, browse to Reports, User Defined, SEA-ADM1, SEA-ADM1_DateTime-000001, and then review the report data. Use the Report view.
- Record the values that are listed in the report for later analysis. Recorded values include:
- Memory\Pages/sec
- Network Interface\Bytes Total/sec
- PhysicalDisk% Disk Time
- PhysicalDisk\Avg. Disk Queue Length
- Processor% Processor Time
- System\Processor Queue Length
After this exercise, you should have established a baseline for performance-comparison purposes.
In this exercise, you’ll simulate a load to represent the system in live usage, gather performance data by using your data collector set, and then determine the potential cause of the performance problem.
The main tasks for this exercise are:
- Create additional workload on the server
- Capture performance data by using a data collector set
- Remove the workload, and then review the performance data
- On SEA-ADM1, open File Explorer.
- Browse to the C:\Labfiles\Mod11 folder.
- On SEA-ADM1, run CPUSTRES64.
- Configure the first highlighted task to run BUSY (75%).
- Switch to Performance Monitor.
- In Performance Monitor, browse to Data Collector Sets, User Defined, and then in the results pane, start the SEA-ADM1 Performance data collector set.
- Wait a minute to allow the data capture to occur.
- Close CPUSTRES64, and then close File Explorer.
- Switch to Performance Monitor.
- Stop the SEA-ADM1 Performance data collector set.
- In Performance Monitor, in the navigation pane, browse to Reports, User Defined, SEA-ADM1, SEA-ADM1_DateTime-000002, and then review the report data. Record the following values:
- Memory\Pages/sec
- Network Interface\Bytes Total/sec
- PhysicalDisk% Disk Time
- PhysicalDisk\Avg. Disk Queue Length
- Processor% Processor Time
- System\Processor Queue Length
After this exercise, you should have used performance tools to identify a potential performance bottleneck.
In this exercise, you’ll use SEA-DC1 to collect event logs from SEA-ADM1. Specifically, you’ll use this process to gather performance-related alerts from your network servers.
The main tasks for this exercise are:
- Configure subscription prerequisites
- Create a subscription
- Configure a performance counter alert
- Introduce additional workload on the server
- Verify the results
- Prepare for the next module
- Switch to SEA-ADM1.
- At the command prompt, run winrm quickconfig to enable the administrative changes that are necessary on a source computer. As you can observe, the WinRM service is running and enabled for remote management already.
- Add SEA-CL1 to the local Event Log Readers group.
- Switch to SEA-CL1.
- Open a Command Prompt window, and then run wecutil qc to enable the administrative changes that are necessary on a collector computer.
- Open Event Viewer.
- Create a new subscription with the following properties:
- Computers: SEA-ADM1
- Name: SEA-ADM1 Events
- Collector: initiated
- Events: Critical, Warning, Information, Verbose, and Error
- Logged: Last 7 days
- Logs: Applications and Services Logs / Microsoft / Windows / Diagnosis-PLA / Operational
- Switch to SEA-ADM1.
- Open Performance Monitor.
- Create a new User Defined data collector set by using the following information to complete the process:
- Name: SEA-ADM1 Alert
- Create: Create manually (Advanced)
- Type of data: Performance counter Alert
- Select the following counters: Processor% Processor Time above 10 percent
- Sample interval: 1 second
- Where to store data: default value
- Alert action: Log an entry in the application event log
- Start the SEA-ADM1 Alert data collector set.
- On SEA-ADM1, open File Explorer.
- Browse to the C:\Labfiles\Mod11 folder.
- On SEA-ADM1, run CPUSTRES64.
- Configure the first highlighted task to run BUSY (75%).
- Switch to SEA-CL1, and then open Forwarded Events. In Performance Monitor, are any performance-related alerts in the subscribed application log? Hint: They have an ID of 2031.