Red Hat Enterprise Linux troubleshooting guide identify, capture, and resolve common issues faced by Red Hat Enterprise Linux administrators using best practices and advanced troubleshooting techniques

Identify, capture and resolve common issues faced by Red Hat Enterprise Linux administrators using best practices and advanced troubleshooting techniques About This Book Develop a strong understanding of the base tools available within Red Hat Enterprise Linux (RHEL) and how to utilize these tools t...

Descripción completa

Detalles Bibliográficos
Otros Autores: Cane, Benjamin, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham : Packt Publishing 2015.
Edición:1st edition
Colección:Packt enterprise.
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009629861806719
Tabla de Contenidos:
  • Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Troubleshooting Best Practices; Styles of troubleshooting; The Data Collector; The Educated Guesser; The Adaptor; Choosing the appropriate style; Troubleshooting steps; Understanding the problem statement; Asking questions; Attempting to duplicate the issue; Running investigatory commands; Establishing a hypothesis; Putting together patterns; Is this something that I've encountered before?; Trial and error; Start by creating a backup; Getting help; Books
  • Team Wikis or RunbooksGoogle; Man pages; Red Hat kernel docs; People; Documentation; Root cause analysis; The anatomy of a good RCA; The problem as it was reported; The actual root cause of the problem; A timeline of events and actions taken; Any key data points to validate the root cause; A plan of action to prevent the incident from reoccurring; Establishing a root cause; Sometimes you must sacrifice a root cause analysis; Understanding your environment; Summary; Chapter 2: Troubleshooting Commands and Sources of Useful Information; Finding useful information; Log files
  • The default locationCommon log files; Finding logs that are not in the default location; Configuration files; Default system configuration directory; Finding configuration files; The proc filesystem; Troubleshooting commands; Command-line basics; Command flags; The piping command output; Gathering general information; w - show who is logged on and what they are doing; rpm - RPM package manager; df - report file system space usage; free - display memory utilization; ps - report a snapshot of current running processes; Networking; ip - show and manipulate network settings
  • netstat - network statisticsPerformance; iotop - a simple top-like I/O monitor; iostat - report I/O and CPU statistics; vmstat - report virtual memory statistics; sar - collect, report, or save system activity information; Summary; Chapter 3: Troubleshooting a Web Application; A small back story; The reported issue; Data gathering; Asking questions; Duplicating the issue; Understanding the environment; Where is this blog hosted?; Ok, it's within our environment; now what?; What services are installed and running?; Looking for error messages; Apache logs; Verifying the database
  • Verifying the WordPress databaseEstablishing a hypothesis; Resolving the issue; Understanding database data files; Finding the MariaDB data folder; Resolving data file issues; Validating; Final validation; Summary; Chapter 4: Troubleshooting Performance Issues; Performance issues; It's slow; Performance; Application; CPU; Top - a single command to look at everything; Determining the number of CPUs available; ps - Drill down deeper on individual processes with ps; Putting it all together; A quick look with top; Memory; free - Looking at free and used memory; Checking for oomkill
  • ps - Checking individual processes memory utilization