CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Debugging.

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 Servers.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Upgrades and Maintenance.
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.
CS 333 Introduction to Operating Systems Class 18 - File System Performance Jonathan Walpole Computer Science Portland State University.
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
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Data Centers.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
CIT 470: Advanced Network and System Administration
Version Control. What is Version Control? Manages file sharing for Concurrent Development Keeps track of changes with Version Control SubVersion (SVN)
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
SQL Server 2008 Implementation and Maintenance Chapter 7: Performing Backups and Restores.
Monitoring and Troubleshooting Chapter 17. Review What role is required to share folders on Windows Server 2008 R2? What is the default permission listed.
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.
Chapter 13 Troubleshooting the Operating System Identifying and Locating Symptoms and Problems LILO Boot Errors Various Reasons for.
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 :
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 Performance Monitoring.
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.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Documentation.
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 Accounts and Namespaces.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Change and Configuration Management.
Pipes & Filters Architecture Pattern Source: Pattern-Oriented Software Architecture, Vol. 1, Buschmann, et al.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Disaster Recovery.
P3 - prepare a computer for installation/upgrade By Ridjauhn Ryan.
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.
Verification & Validation. Batch processing In a batch processing system, documents such as sales orders are collected into batches of typically 50 documents.
Lab 10 Overview DNS. DNS name server Set up a local domain name server . is the root domain .lab is the WH302 lab’s TLD (top level domain)  hades.lab.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Workstations.
CS333 Intro to Operating Systems Jonathan Walpole.
IT1001 – Personal Computer Hardware & system Operations Week7- Introduction to backup & restore tools Introduction to user account with access rights.
1 FreeBSD Installation AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni and Evelyn Namara.
(1) Introduction to Continuous Integration Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of.
LSNDI RMRA 1 Design and troubleshooting M Clements.
MCast Errors and HV Adjustments Multicast Errors (seen on the DATA ERIS connection) have caused a disruption of a HV Adjustment due to a timeout (since.
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.
How to fix Missing Windows Sockets Registry Entries required for Network Connectivity in Windows 10 /pages/Reimage- Repair- Tool/ /u/6/b/
CIT 470: Advanced Network and System Administration
Managing Multi-User Databases
Version Control with Subversion
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
CSCE 315 – Programming Studio, Fall 2017 Tanzir Ahmed
The Troubleshooting theory
CIT 470: Advanced Network and System Administration
CIT 470: Advanced Network and System Administration
Presentation transcript:

CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Debugging

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

CIT 470: Advanced Network and System AdministrationSlide #3 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 AdministrationSlide #4 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 AdministrationSlide #5 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 AdministrationSlide #6 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 AdministrationSlide #7 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 AdministrationSlide #8 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 AdministrationSlide #9 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 AdministrationSlide #10 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 AdministrationSlide #11 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 AdministrationSlide #12 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 AdministrationSlide #13 References 1.Mark Burgess, Principles of System and Network Administration, Wiley, Aeleen Frisch, Essential System Administration, 3 rd edition, O’Reilly, Thomas A. Limoncelli and Christine Hogan, The Practice of System and Network Administration, Addison-Wesley, Evi Nemeth et al, UNIX System Administration Handbook, 3 rd edition, Prentice Hall, 2001.