About This E-Book EPUB is an open, industry-standard format for e-books. However, support for EPUB and its many features varies across reading devices and applications. Use your device or app settings to customize the presentation to your liking. Settings that you can customize often include font, font size, single or double column, landscape or portrait mode, and figures that you can click or tap to enlarge. For additional information about the settings and features on your reading device or app, visit the device manufacturer’s Web site. Many titles include programming code or configuration examples. To optimize the presentation of these elements, view the e-book in single-column, landscape mode and adjust the font size to the smallest setting. In addition to presenting code and configurations in the reflowable text format, we have included images of the code that mimic the presentation found in the print book; therefore, where the reflowable format may compromise the presentation of the code listing, you will see a “Click here to view code image” link. Click the link to view the print-fidelity code image. To return to the previous page viewed, click the Back button on your device or app. The Practice of System and Network Administration Volume 1 Third Edition Thomas A. Limoncelli Christina J. Hogan Strata R. Chalup Boston • Columbus • Indianapolis • New York • San Francisco • Amsterdam • Cape Town Dubai • London • Madrid • Milan • Munich • Paris • Montreal • Toronto • Delhi • Mexico City São Paulo • Sydney • Hong Kong • Seoul • Singapore • Taipei • Tokyo Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising out of the use of the information or programs contained herein. For information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at [email protected] or (800) 382-3419. For government sales inquiries, please contact [email protected]. For questions about sales outside the United States, please contact [email protected]. Visit us on the Web: informit.com/aw Library of Congress Catalog Number: 2016946362 Copyright © 2017 Thomas A. Limoncelli, Christina J. Lear née Hogan, Virtual.NET Inc., Lumeta Corporation All rights reserved. Printed in the United States of America. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, request forms and the appropriate contacts within the Pearson Education Global Rights & Permissions Department, please visit www.pearsoned.com/permissions/. Page 4 excerpt: “Noël,” Season 2 Episode 10. The West Wing. Directed by Thomas Schlamme. Teleplay by Aaron Sorkin. Story by Peter Parnell. Scene performed by John Spencer and Bradley Whitford. Original broadcast December 20, 2000. Warner Brothers Burbank Studios, Burbank, CA. Aaron Sorkin, John Wells Production, Warner Brothers Television, NBC © 2000. Broadcast television. Chapter 26 photos © 2017 Christina J. Lear née Hogan. ISBN-13: 978-0-321-91916-8 ISBN-10: 0-321-91916-5 Text printed in the United States of America. 1 16 Contents at a Glance Contents Preface Acknowledgments About the Authors Part I Game-Changing Strategies Chapter 1 Climbing Out of the Hole Chapter 2 The Small Batches Principle Chapter 3 Pets and Cattle Chapter 4 Infrastructure as Code Part II Workstation Fleet Management Chapter 5 Workstation Architecture Chapter 6 Workstation Hardware Strategies Chapter 7 Workstation Software Life Cycle Chapter 8 OS Installation Strategies Chapter 9 Workstation Service Definition Chapter 10 Workstation Fleet Logistics Chapter 11 Workstation Standardization Chapter 12 Onboarding Part III Servers Chapter 13 Server Hardware Strategies Chapter 14 Server Hardware Features Chapter 15 Server Hardware Specifications Part IV Services Chapter 16 Service Requirements Chapter 17 Service Planning and Engineering Chapter 18 Service Resiliency and Performance Patterns Chapter 19 Service Launch: Fundamentals Chapter 20 Service Launch: DevOps Chapter 21 Service Conversions Chapter 22 Disaster Recovery and Data Integrity Part V Infrastructure Chapter 23 Network Architecture Chapter 24 Network Operations Chapter 25 Datacenters Overview Chapter 26 Running a Datacenter Part VI Helpdesks and Support Chapter 27 Customer Support Chapter 28 Handling an Incident Report Chapter 29 Debugging Chapter 30 Fixing Things Once Chapter 31 Documentation Part VII Change Processes Chapter 32 Change Management Chapter 33 Server Upgrades Chapter 34 Maintenance Windows Chapter 35 Centralization Overview Chapter 36 Centralization Recommendations Chapter 37 Centralizing a Service Part VIII Service Recommendations Chapter 38 Service Monitoring Chapter 39 Namespaces Chapter 40 Nameservices Chapter 41 Email Service Chapter 42 Print Service Chapter 43 Data Storage Chapter 44 Backup and Restore Chapter 45 Software Repositories Chapter 46 Web Services Part IX Management Practices Chapter 47 Ethics Chapter 48 Organizational Structures Chapter 49 Perception and Visibility Chapter 50 Time Management Chapter 51 Communication and Negotiation Chapter 52 Being a Happy SA Chapter 53 Hiring System Administrators Chapter 54 Firing System Administrators Part X Being More Awesome Chapter 55 Operational Excellence Chapter 56 Operational Assessments Epilogue Part XI Appendices Appendix A What to Do When . . . Appendix B The Many Roles of a System Administrator Bibliography Index