windows server 2008 chapter 12
DESCRIPTION
Windows Server 2008 Chapter 12. Last Update 2012.06.07 1.0.0. Objectives. Understand general problem-solving strategies Resolve boot problems Use and configure Event Viewer. Objectives. Troubleshoot network connectivity Remotely administer a server using Remote Desktop - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/1.jpg)
Windows Server 2008Chapter 12
Last Update 2012.06.07
1.0.0
![Page 2: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/2.jpg)
Hands-On Microsoft Windows Server 2008 2
Objectives
• Understand general problem-solving strategies• Resolve boot problems• Use and configure Event Viewer
![Page 3: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/3.jpg)
Hands-On Microsoft Windows Server 2008 3
Objectives
• Troubleshoot network connectivity• Remotely administer a server using Remote Desktop• Remotely administer multiple servers using Remote
Server Administration Tools
![Page 4: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/4.jpg)
Hands-On Microsoft Windows Server 2008 4
General Problem-Solving Strategies
• The best approach to solving server and network problems is to develop effective troubleshooting strategies
• Four general strategies are– Understanding how a server and the network interact– Training your users to help you solve problems– Solving problems step by step– Tracking problems and solutions
![Page 5: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/5.jpg)
Hands-On Microsoft Windows Server 2008 5
How Servers and the Network Interact
• Many server and network administrators create a diagram of the entire network or diagrams of different portions of a network– And then update the diagrams each time an aspect of
the network changes
![Page 6: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/6.jpg)
Hands-On Microsoft Windows Server 2008 6
![Page 7: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/7.jpg)
Hands-On Microsoft Windows Server 2008 7
How Servers and the Network Interact
• A network diagram should include the following elements– Servers and any mainframes– Workstations and network printers– Wireless network devices– Cabled network devices– Telecommunications links– Wireless links– Remote links– Building locations
![Page 8: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/8.jpg)
Hands-On Microsoft Windows Server 2008 8
Training Users to Help
• Train network users to be your partners in reporting problems
• For example, they should– Save their work at the first sign of a problem– Record information about a problem as the problem is
occurring– Report any protocol information, such as error
messages about a protocol or an address– Quickly report a problem by telephone, or by voice
mail if you cannot be reached immediately– Avoid sending e-mail about urgent problems
![Page 9: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/9.jpg)
Hands-On Microsoft Windows Server 2008 9
Solving Problems Step-by-Step
• Steps include– Get as much information as possible about the
problem– Record the error message at the time it appears or
when a user reports it to you– Determine if anyone else is experiencing the problem– Check the Windows Server 2008 event logs for signs
of a problem– Use Performance Monitor, Reliability Monitor, Data
Collector Sets, Task Manager, Server Manager, and the Computer Management tool to help you troubleshoot problems
![Page 10: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/10.jpg)
Hands-On Microsoft Windows Server 2008 10
Solving Problems Step-by-Step
• Steps include– Check for power interruptions– Take the information you have gathered and define the
problem– Determine possible solutions for the problem– Consider the best or most likely solutions– Determine how the solution will affect users– After your solution is implemented, continue
monitoring the server to ensure there are no further problems
![Page 11: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/11.jpg)
Hands-On Microsoft Windows Server 2008 11
Tracking Problems and Solutions
• Keep a log of all network problems and their solution• Help desk system
– Application software designed to maintain information on computer systems, user questions, problem solutions, and other information that members of the organization can reference
• The advantage of tracking problems is that you soon accumulate a wealth of information on solutions
• It is also good practice to keep a change log– A record of changes made to a server’s hardware and
software
![Page 12: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/12.jpg)
Hands-On Microsoft Windows Server 2008 12
Resolving Boot Problems
• Some of the common causes of boot failures include– Disk failure on the drive or drives containing the
system and boot files– A corrupted partition table– A corrupted boot file– A corrupted master boot record– A disk read error
• In most cases, the first step is to power off the computer and try rebooting it
![Page 13: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/13.jpg)
Hands-On Microsoft Windows Server 2008 13
Troubleshooting by Using Safe Mode
• Safe Mode– Boots the server using the most generic default
settings and only those services needed to boot a basic configuration
• After you boot into Safe Mode, you have the opportunity to further troubleshoot the problem
![Page 14: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/14.jpg)
Hands-On Microsoft Windows Server 2008 14
![Page 15: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/15.jpg)
Hands-On Microsoft Windows Server 2008 15
Troubleshooting by Using Safe Mode
• To access the Advanced Boot Options menu– Reboot the computer– Press F8 as soon as the computer boots– Select the option you want to use, such as Safe
Mode, and press Enter• If you use Safe Mode, but are unable to
troubleshoot the problem, or a failed driver message is displayed during the boot process– Use the Enable Boot Logging option so that you can
create a log that you can later check for problems
![Page 16: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/16.jpg)
Hands-On Microsoft Windows Server 2008 16
![Page 17: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/17.jpg)
Hands-On Microsoft Windows Server 2008 17
Troubleshooting by Using the DVD
• Windows Complete PC Restore– When you create a VSS full backup using the
Windows Server Backup tool• This creates a backup of the data and program files
and the system state data– System state data
• Includes the operating system plus extra components and information that reflect the currently configured state of the server
– When you back up the system state data, you also are backing up the system protected files
![Page 18: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/18.jpg)
Hands-On Microsoft Windows Server 2008 18
Troubleshooting by Using the DVD
• Windows Server 2008 offers the capability to perform a Windows Complete PC Restore– From the Windows Server 2008 installation DVD
• Windows Memory Diagnostic Tool– Another tool available from the Repair your computer
option on the Windows Server 2008 installation DVD – Used to test the RAM in your computer
![Page 19: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/19.jpg)
Hands-On Microsoft Windows Server 2008 19
![Page 20: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/20.jpg)
Hands-On Microsoft Windows Server 2008 20
Troubleshooting by Using the DVD
![Page 21: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/21.jpg)
Hands-On Microsoft Windows Server 2008 21
Troubleshooting by Using the DVD
• Using the Command Prompt– When you insert the installation DVD, you can use it to
access the command prompt• So that you can repair a disk problem or copy a critical
file back to the server– You can execute many commands from the command
prompt
![Page 22: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/22.jpg)
Hands-On Microsoft Windows Server 2008 22
![Page 23: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/23.jpg)
Hands-On Microsoft Windows Server 2008 23
General Tips for Fixing Boot Problems
• Stop message– An error message displayed when the server
experiences a serious problem and then stops functioning
![Page 24: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/24.jpg)
Hands-On Microsoft Windows Server 2008 24
![Page 25: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/25.jpg)
Hands-On Microsoft Windows Server 2008 25
![Page 26: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/26.jpg)
Hands-On Microsoft Windows Server 2008 26
![Page 27: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/27.jpg)
Hands-On Microsoft Windows Server 2008 27
Using and Configuring Event Viewer
• Event Viewer– Houses the event logs that record information about
all types of server events, in the form of errors, warnings, and informational events
• Windows Server 2008 event logs are divided into three general categories– Windows logs, applications and services logs, and
Microsoft logs
![Page 28: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/28.jpg)
Hands-On Microsoft Windows Server 2008 28
![Page 29: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/29.jpg)
Hands-On Microsoft Windows Server 2008 29
Using and Configuring Event Viewer
• Windows generates four logs for reporting general operating system and software application events– System log– Security log– Application log– Setup log
• Admin logs– Designed to help give the system administrator
information about a specific problem and its causes and may suggest how to solve the problem
![Page 30: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/30.jpg)
Hands-On Microsoft Windows Server 2008 30
Using and Configuring Event Viewer
• Operational log– Tracks occurrences of specific operations, such as
when a disk drive is added• Applications and services logs available in Event
Viewer include– DFS Replication log– Directory Service log– DNS Server log– File Replication Service log– Hardware Events– Internet Explorer
![Page 31: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/31.jpg)
Hands-On Microsoft Windows Server 2008 31
Using and Configuring Event Viewer
• Analytic logs– Relate to how programs are operating and are
typically used by application or system programmers• Debug logs
– Used by application developers to help trace problems in programs so they can fix program code or program structures
![Page 32: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/32.jpg)
Hands-On Microsoft Windows Server 2008 32
Viewing Log Events
• Log events are displayed in Event Viewer with an icon that indicates the seriousness of the event
• Each log displays descriptive information about individual events, including the following– Description of the event– Name of the log in which the event is recorded– Source of the event– Event ID– Level of the event—information, warning, error– User associated with the event, if any– OpCode of the event
![Page 33: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/33.jpg)
Hands-On Microsoft Windows Server 2008 33
Viewing Log Events
• Event Viewer can be opened from the Administrative Tools menu, as an MMC snap-in, from the Computer Management tool, and from Server Manager
• To view the contents of a log, click that log in the tree under Event Viewer– To view the detailed information about an event,
double-click the event• The event logs are a good source of information to
help you troubleshoot a software or hardware problem
![Page 34: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/34.jpg)
Hands-On Microsoft Windows Server 2008 34
Viewing Log Events
![Page 35: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/35.jpg)
Hands-On Microsoft Windows Server 2008 35
Using the Event Viewer Filter Option
• All of the event logs in Event Viewer have a filter option to help you quickly locate a problem
• The events can be filtered on the basis of the following criteria– When the event was logged, such as in the last seven
days– Event level, such as information, warning, error,
critical, and verbose– By log, such as the system or security log– By source of the event, such as a particular service or
software component
![Page 36: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/36.jpg)
Hands-On Microsoft Windows Server 2008 36
Using the Event Viewer Filter Option
• The events can be filtered on the basis of the following criteria– Task category of the event, such as a security change– Keywords, such as Audit Failure and Audit Success– User associated with the event– Computer associated with the event– Date range– Time of day range
![Page 37: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/37.jpg)
Hands-On Microsoft Windows Server 2008 37
Maintaining Event Logs
• The event logs quickly fill with information• Logs can be maintained using several methods, as
follows– Size each log to prevent it from filling too quickly– Overwrite the oldest events when the log is full– Archive the log when it is full– Clear the log manually (does not overwrite events)
• It is recommended that you develop a maintenance schedule– To save the log contents for a designated time period
![Page 38: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/38.jpg)
Hands-On Microsoft Windows Server 2008 38
Maintaining Event Logs
• To tune the event logs, open Event Viewer and right-click each log you want to tune, one at a time– And click Properties
• On the General tab, set the log size in the Maximum log size (KB) box
• You can save the log as one of the following kinds of files– .evtx– .xml– .txt– .csv
![Page 39: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/39.jpg)
Hands-On Microsoft Windows Server 2008 39
Troubleshooting Connectivity
• One area that server and network administrators often troubleshoot is TCP/IP connectivity
• Both command-line tools and graphical tools are available for troubleshooting Windows Server 2008 connectivity
![Page 40: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/40.jpg)
Hands-On Microsoft Windows Server 2008 40
Command-Line Tools
• Some TCP/IP utilities, such as Telnet, have IP troubleshooting tools built in
• Type ipconfig to view a dialog box showing the adapter address (MAC or Ethernet), IP address, subnet mask, and other information for that computer
• Type ping to poll the presence of another TCP/IP computer
• netstat is a quick way to verify that a workstation or server has established a successful TCP/IP connection
![Page 41: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/41.jpg)
Hands-On Microsoft Windows Server 2008 41
Command-Line Tools
![Page 42: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/42.jpg)
Hands-On Microsoft Windows Server 2008 42
Command-Line Tools
![Page 43: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/43.jpg)
Hands-On Microsoft Windows Server 2008 43
Command-Line Tools
![Page 44: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/44.jpg)
Hands-On Microsoft Windows Server 2008 44
![Page 45: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/45.jpg)
Hands-On Microsoft Windows Server 2008 45
Graphical Tools
• You can use a GUI (graphical user interface) tool for diagnosing and repairing network problems
• The Network and Sharing Center– Can provide a simple GUI representation of the
network to show if network connectivity problems exist between your server and the network or the Internet
• Another way to use the Network and Sharing Center is to have it diagnose a specific connection,– Such as the Local Area Connection from the Network
Connections Window
![Page 46: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/46.jpg)
Hands-On Microsoft Windows Server 2008 46
![Page 47: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/47.jpg)
Hands-On Microsoft Windows Server 2008 47
![Page 48: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/48.jpg)
Hands-On Microsoft Windows Server 2008 48
![Page 49: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/49.jpg)
Hands-On Microsoft Windows Server 2008 49
Remotely Administering a Server
• In some organizations, it is important for server administrators to be able to remotely access a server in order to solve a problem
• Use the Remote Desktop client to remotely access and manage the server
• Configure Remote Desktop using Server Manager– Or the System applet in Control Panel to access the
System Properties dialog box• Configure a strong password for the account from
which you perform administration
![Page 50: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/50.jpg)
Hands-On Microsoft Windows Server 2008 50
![Page 51: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/51.jpg)
Hands-On Microsoft Windows Server 2008 51
Remote Server Administration Tools
• Remote Server Administration Tools– Enable you to manage multiple servers from one
Windows Server 2008 server• The Remote Server Administration Tools are offered
through Server Manager• The Remote Administration Tools
– A subset of the Remote Server Administration Tools automatically installed with the Web Service (IIS) role
• The Remote Server Administration Tools enable you to manage roles and features that are installed on a server
![Page 52: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/52.jpg)
Hands-On Microsoft Windows Server 2008 52
Summary
• Before problems occur, develop a problem-solving strategy
• A server that won’t boot can mean big trouble• The Windows Server 2008 installation DVD offers
options to recover a system, or work with a system that won’t boot
• Regularly perform a full backup, which includes system state data, so that you can fully recover a system that has failed
• Event Viewer is a storehouse of logs from which you can monitor a system and diagnose problems
![Page 53: Windows Server 2008 Chapter 12](https://reader035.vdocuments.site/reader035/viewer/2022062301/56814dbe550346895dbb15e6/html5/thumbnails/53.jpg)
Hands-On Microsoft Windows Server 2008 53
Summary
• Regularly use Event Viewer to monitor the contents of logs
• Windows Server 2008 contains command-line and graphical tools for troubleshooting network connectivity problems
• You can use the Remote Desktop client capability, such as from Windows Vista, to remotely manage a Windows Server 2008 server
• Windows Server 2008 comes with the Remote Server Administration Tools for managing multiple Windows Server 2008