Home > Store > Operating Systems, Server > Linux/UNIX/Open Source

larger cover

Add To My Wish List

DevOps Troubleshooting: Linux Server Best Practices

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Reviews
  • Sample Content

Product Author Bios

Kyle Rankin, a senior systems administrator, is president of the North Bay Linux Users’ Group and is an award-winning columnist for Linux Journal. Rankin speaks frequently on open source software at SCALE, OSCON, Linux World Expo, Penguicon, and many Linux user groups. His other books include The Official Ubuntu Server Book; Knoppix Hacks, Second Edition; Knoppix Pocket Reference;and Linux Multimedia Hacks. He is also coauthor of Ubuntu Hacks.

“If you’re a developer trying to figure out why your application is not responding at 3 am, you need this book! This is now my go-to book when diagnosing production issues. It has saved me hours in troubleshooting complicated operations problems.”

Trotter Cashion, cofounder, Mashion

 

DevOps can help developers, QAs, and admins work together to solve Linux server problems far more rapidly, significantly improving IT performance, availability, and efficiency. To gain these benefits, however, team members need common troubleshooting skills and practices.

 

In DevOps Troubleshooting: Linux Server Best Practices, award-winning Linux expert Kyle Rankin brings together all the standardized, repeatable techniques your team needs to stop finger-pointing, collaborate effectively, and quickly solve virtually any Linux server problem. Rankin walks you through using DevOps techniques to troubleshoot everything from boot failures and corrupt disks to lost email and downed websites. You’ll master indispensable skills for diagnosing high-load systems and network problems in production environments.

 

Rankin shows how to

  • Master DevOps’ approach to troubleshooting and proven Linux server problem-solving principles
  • Diagnose slow servers and applications by identifying CPU, RAM, and Disk I/O bottlenecks
  • Understand healthy boots, so you can identify failure points and fix them
  • Solve full or corrupt disk issues that prevent disk writes
  • Track down the sources of network problems
  • Troubleshoot DNS, email, and other network services
  • Isolate and diagnose Apache and Nginx Web server failures and slowdowns
  • Solve problems with MySQL and Postgres database servers and queries
  • Identify hardware failures–even notoriously elusive intermittent failures

Customer Reviews

1 of 1 people found the following review helpful
4.0 out of 5 stars Great book; covers many topics, February 15, 2013
By 
B. Fiedler (Phoenix, AZ USA) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: DevOps Troubleshooting: Linux Server Best Practices (Paperback)
This covers many topics and helps give a very useful _brief_ explanation on tools to help (e.g. iostat, sysstat), in addition to explaining how to find extremely high loads reported by 'top' that are caused by disk issues; something I didn't know at all but was encountering a ton at work that puzzled us all.. thanks!

While it covers a broad range of topics, the book itself is pretty short and doesn't go into much detail as I thought it would (those 240 pages go by very fast). I left it at our work library and it is a great reference when someone client is complaining about a random performance issue on their dedicated server that leaves us all puzzled.

Overall, this book is definitely worth reading at least once, but you will probably want/need it as a reference as well :)
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars Completely worth having in your library, May 19, 2013
By 
Drake "Drake" (Montreal, Quebec Canada) - See all my reviews
This review is from: DevOps Troubleshooting: Linux Server Best Practices (Paperback)
If you have anything to do with Linux then you'd likely get value from having this practical hands-on book. I found that it gave great coverage and clear explanations without any fluff. Its probably not for newbies as there is very little in terms of explanation of general topics. It dives directly into problems/solutions which is perfect for what I was looking for - a reference guide to keep on the shelf that is not boring to read through either. Great job, especially considering that I find that there are few books in this subject area and level.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


5.0 out of 5 stars gift for son, May 18, 2013
Amazon Verified Purchase(What's this?)
This review is from: DevOps Troubleshooting: Linux Server Best Practices (Paperback)
my son says this book was excellent and useful for his job. He requested it as a gift and got out of it what he wanted to get.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 9 customer reviews...

Table of Contents

Preface         xiii

Acknowledgments         xix

About the Author         xxi

 

Chapter 1: Troubleshooting Best Practices         1

Divide the Problem Space 3

Practice Good Communication When Collaborating 4

Favor Quick, Simple Tests over Slow, Complex Tests 8

Favor Past Solutions 9

Document Your Problems and Solutions 10

Know What Changed 12

Understand How Systems Work 13

Use the Internet, but Carefully 14

Resist Rebooting 15

 

Chapter 2: Why Is the Server So Slow? Running Out of CPU, RAM, and Disk I/O         17

System Load 18

Diagnose Load Problems with top 20

Troubleshoot High Load after the Fact 29

 

Chapter 3: Why Won’t the System Boot? Solving Boot Problems         35

The Linux Boot Process 36

BIOS Boot Order 45

Fix GRUB 47

Disable Splash Screens 51

Can’t Mount the Root File System 51

Can’t Mount Secondary File Systems 55

 

Chapter 4: Why Can’t I Write to the Disk? Solving Full or Corrupt Disk Issues         57

When the Disk Is Full 58

Out of Inodes 61

The File System Is Read-Only 62

Repair Corrupted File Systems 63

Repair Software RAID 64

 

Chapter 5: Is the Server Down? Tracking Down the Source of Network Problems         67

Server A Can’t Talk to Server B 68

Troubleshoot Slow Networks 78

Packet Captures 83

 

Chapter 6: Why Won’t the Hostnames Resolve? Solving DNS Server Issues         93

DNS Client Troubleshooting 95

DNS Server Troubleshooting 98

 

Chapter 7: Why Didn’t My Email Go Through? Tracing Email Problems         119

Trace an Email Request 120

Understand Email Headers 123

Problems Sending Email 125

Problems Receiving Email 135

 

Chapter 8: Is the Website Down? Tracking Down Web Server Problems         141

Is the Server Running? 143

Test a Web Server from the Command Line 146

HTTP Status Codes 149

Parse Web Server Logs 154

Get Web Server Statistics 158

Solve Common Web Server Problems 163

 

Chapter 9: Why Is the Database Slow? Tracking Down Database Problems          171

Search Database Logs 172

Is the Database Running? 174

Get Database Metrics 177

Identify Slow Queries 182

 

Chapter 10: It’s the Hardware’s Fault! Diagnosing Common Hardware Problems         185

The Hard Drive Is Dying 186

Test RAM for Errors 190

Network Card Failures 191

The Server Is Too Hot 192

Power Supply Failures 194

 

Index         197

 

Sample Pages

Download the sample pages (includes Chapter 5 and Index)

 
Best Value

Book + eBook Bundle  $62.98  $37.79

Book Price $27.99
eBook Price $9.80
eBook formats included

Buy

This book includes free shipping!

Buy

Book  $34.99  $27.99

Usually ships in 24 hours.

This book includes free shipping!

Buy

eBook (Watermarked)  $27.99  $22.39

Includes EPUB, MOBI, and PDF
About eBook Formats

This eBook includes the following formats, accessible from your Account page after purchase:

ePubEPUBThe open industry format known for its reflowable content and usability on supported mobile devices.

MOBIMOBIThe eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

Adobe ReaderPDFThe popular standard, used most often with the free Adobe® Reader® software.

This eBook requires no passwords or activation to read. We customize your eBook by discretely watermarking it with your name, making it uniquely yours.

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.