CIT 470: Advanced Network and System Administration

Slides:



Advertisements
Similar presentations
PC Tips & Trouble Shooting I didnt know that! Short Cut Keys Short cut keys are an easy way to complete tasks on a computer.
Advertisements

Networking Essentials Lab 3 & 4 Review. If you have configured an event log retention setting to Do Not Overwrite Events (Clear Log Manually), what happens.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Upgrades and Maintenance.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Debugging.
Chapter 14: Troubleshooting and Problem Resolution.
IST346: Troubleshooting Problems. Today’s Agenda Debugging Fixing Things Once  Understand the problem you’re trying to fix  Finding the root cause 
Debugging CPSC 315 – Programming Studio Fall 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
AutoPLANT Piping - Tips and Tricks
Ch 11 Managing System Reliability and Availability 1.
IBM Software Group Washington Area Informix User Group Forum 2004 The DB2 DBA Checklist Dwaine R Snow, DB2 & Informix.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Troubleshooting Your Network Networking for Home and Small Businesses.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Help Desks.
Hands-On Microsoft Windows Server 2008
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Help Desks.
Chapter 2 Applying Practical Automation Speaker : Chuang-Hung Shih Date :
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Performance Monitoring.
Chapter Fourteen Windows XP Professional Fault Tolerance.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Chapter 18: Windows Server 2008 R2 and Active Directory Backup and Maintenance BAI617.
Problem Determination Your mind is your most important tool!
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration People.
Day 8 Exporting Displays Cronjobs Mount. Chapter 5 Chapter 5 talks about X windows. –You should read the chapter. –However, you do not need to pay particular.
Computer Maintenance and Troubleshooting
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Disaster Recovery.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration System Monitoring.
Fixing the Defect CEN4072 – Software Testing. From Defect to Failure How a defect becomes a failure: 1. The programmer creates a defect 2. The defect.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Workstations.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
11.1 Silberschatz, Galvin and Gagne ©2005 Operating System Principles 11.5 Free-Space Management Bit vector (n blocks) … 012n-1 bit[i] =  1  block[i]
(1) Introduction to Continuous Integration Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of.
Troubleshooting. Why Troubleshoot? What Can Go Wrong? –Misconfigured zone –Misconfigured server –Misconfigured host –Misconfigured network.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Services.
Deadlocks Lots of resources can only be used by one process at a time. Exclusive access is needed. Suppose process A needs R1 + R2 and B needs R1 + R2.
How to Fix the Blue Screen of Death on Windows
CIT 470: Advanced Network and System Administration
Unit Testing.
Jonathan Walpole Computer Science Portland State University
Troubleshooting Tools
Managing Multi-User Databases
Version Control with Subversion
Instructor Materials Chapter 9: Testing and Troubleshooting
Introduction to Operating Systems
Troubleshooting IP Communications
Lab 10 Overview DNS.
Bomgar Remote support software
Microsoft FrontPage 2003 Illustrated Complete
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
Windows Operating Systems (Cont.)
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
Introduction to Configuration Management
CSCE 315 – Programming Studio, Fall 2017 Tanzir Ahmed
CIT 470: Advanced Network and System Administration
Inovonics Wireless Corporation
Data Backup Strategies
MAINTAINING SERVER AVAILIBILITY
CS 240 – Advanced Programming Concepts
Periodic Processes Chapter 9.
View Change Protocols and Reconfiguration
The Troubleshooting theory
CIT 470: Advanced Network and System Administration
System Center Third Party Tools Ivanti Patch and RCT Recast April 2019.
Presentation transcript:

CIT 470: Advanced Network and System Administration Debugging CIT 470: Advanced Network and System Administration

CIT 470: Advanced Network and System Administration Debugging Debugging Learn the customer’s problem. Find the problem’s cause and fix it. Have the right tools. Fix things once Fix something once rather than over and over. Avoid the temporary fix trap. Measure twice, cut once, and other advice. CIT 470: Advanced Network and System Administration

Learn the Customer’s Problem Understand at a high level what customer is attempting to do and what part is failing. Customer problem reports vary: My mail program is broken. I can’t reach the mail server. My mailbox disappeared! Actual problem might be: Network problem. Power failure. DNS problem. CIT 470: Advanced Network and System Administration

Find the Problem and Fix it Approach debugging systematically Form a hypothesis. Test hypothesis. Record results. Modify hypothesis based on results. Problem is often in the last change. Last config change, last new hardware, etc. Avoid random changes and workarounds. Rebooting is not a solution! CIT 470: Advanced Network and System Administration

Process of Elimination Remove parts of system one by one until problem disappears. Problem must have been in last component. Examples Remove DIMMs one by one to identify a bad memory unit. Remove driver or application one by one to identify the source of the conflict. CIT 470: Advanced Network and System Administration

Successive Refinement Add a component at a time, verifying that it works correctly at each step along the way. Examine output at each step along the way. Examples traceroute: tests network connectivity one hop at a time until it encounters problem or reaches dest pipeline: develop a piped set of commands by adding one command a time to the pipeline CIT 470: Advanced Network and System Administration

CIT 470: Advanced Network and System Administration Have the Right Tools Tools to let you see inside devices/systems. network: sniffer, ping, traceroute, telnet/nc network services: netstat, rpcinfo operating system: log files process: system call tracer, e.g. strace performance: top, ps, vmstat, iostat Know how tools draw their conclusions. Tools can make mistakes or mislead you. CIT 470: Advanced Network and System Administration

CIT 470: Advanced Network and System Administration Fix Things Once Fixing something once is faster than fixing it over and over again. Corollaries Fix the problem permanently. Don’t reinvent the wheel. Fix the problem for all hosts at the same time. CIT 470: Advanced Network and System Administration

Avoid Temporary Fix Trap Quick fixes aren’t. A few minutes of your time every day adds up over a month or year. Temporary fixes accumulate until you spend your entire day doing one quick fix after another. Temporary fixes may be required Lack of resources (hardware/software) or time. Must always be followed by permanent fixes. Add permanent fix to your calendar or request system to ensure that it happens. CIT 470: Advanced Network and System Administration

Learning from Carpenters Measure twice, cut once. Double-check your work before making changes. ex: Replace UNIX command with echo to be sure you’re modifying the correct files. ex: Reread configuration file before restarting server. Copy exact Develop correct solution and test it. Copy solution exactly to other hosts or sites. CIT 470: Advanced Network and System Administration

CIT 470: Advanced Network and System Administration Automate Automation can fix problems permanently Log rotation script will ensure you don’t have to manually delete logs to avoid full disks. Tape jukebox will ensure that you don’t forget to manually swap backup tapes. Avoid using automation for quick fixes Automation can perform a temporary fix without needing human intervention, e.g. kill runaways. Problem may grow over time without your awareness, and automation can’t fix buggy software. CIT 470: Advanced Network and System Administration

CIT 470: Advanced Network and System Administration Key Points Learn the customer’s problem. Systematically identify the cause and fix it. Process of elimination. Successive refinement. Fix the problem permanently. Don’t reinvent the wheel. Test your solution. Use fix on all of your hosts. Use automation wisely. CIT 470: Advanced Network and System Administration

CIT 470: Advanced Network and System Administration References Mark Burgess, Principles of System and Network Administration, Wiley, 2000. Aeleen Frisch, Essential System Administration, 3rd edition, O’Reilly, 2002. Thomas A. Limoncelli and Christine Hogan, The Practice of System and Network Administration, Addison-Wesley, 2002. Evi Nemeth et al, UNIX System Administration Handbook, 3rd edition, Prentice Hall, 2001. CIT 470: Advanced Network and System Administration