Automating Linux and Unix System Administration (PDF)
The author focuses solely on how UNIX and Linux system administrators can use well-known tools to automate tasks, even across multiple systems.
23 DeutschlandCard Punkte sammeln
- Lastschrift, Kreditkarte, Paypal, Rechnung
- Kostenloser tolino webreader
The author focuses solely on how UNIX and Linux system administrators can use well-known tools to automate tasks, even across multiple systems.
So far weve been discussing automation in a general way. At this point well move beyond single ad hoc measures to a more systematic and robust approach. While you certainly have the option of writing your own collection of automation scripts, we recommend you use a proven automation framework: cfengine.
Getting an Overview of cfengine
Cfengine is software you can use to automate changes on UNIX (and UNIX- like) systems. It is a high- level language that describes system state, not a general- purpose programming language such as Perl or a shell. Its primarily declarative, meaning that the SA writes out a technical description instead of a list of low- level steps to accomplish the goal. It is high- level enough that someone familiar with UNIX concepts and usage can read a cfengine configuration and understand what is being done without any prior cfengine knowledge. The language drives what you should consider your personal software robot. This robot (called ) does your repetitive work for you while you move on to other tasks. In this chapter well use the current version of cfengine at the time of this writing: version 2.2.7.
Defining cfengine Concepts
Cfengine was designed to save time and reduce errors though automation. Its second, related goal is to enable computer systems to self- correct errors. It might take you some time to set up and configure cfengine, but you will be happier when everything has been said and done. At first, performing a new task with cfengine might take longer than performing the same task manually. But when you upgrade the operating system and lose a change made under the old OS installation, youll be glad you used cfengine because it will simply perform the change again. Or, when you realize a few other systems need the same change,you can use cfengine to make this happen in seconds (by adding the new systems
If you made the change manually, on the other hand, it might take some time before you even notice that the change was lost. Once you notice, youll have to make the change manually all over againthat is, of course, if you remember how you did it the last time. If ten new systems need a specific change, you might spend an hour changing each system yourself, whereas cfengine could have just done it for you.
Cfengine allows you to use one set of configuration files. Each host can transfer the configuration files from one or more cfengine servers before each run. As long as you make all the changes in that set of configuration files, all systems will receive the configuration updates automatically. You will no longer need to remember to make manual system changes.
You will no longer need to use special scripts for special systems and/or scripts that have so many conditionals (based on hostname, operating system, etc.) that theyve become unreadable and difficult to maintain. Cfengine comes with a rich set of automatically detected UNIX characteristics that the SA can use to perform tasks on only the desired systems. Perhaps most important, this set of configuration files documents every change you make to every system. If you put a few comments in the files along with the commands, you will document not only what you have done but also why you did it.
- Autoren: Nathan Campi , Kirk Bauer
- 2009, 2nd ed, 448 Seiten, Englisch
- Verlag: Springer-Verlag GmbH
- ISBN-10: 1430210605
- ISBN-13: 9781430210603
- Erscheinungsdatum: 01.02.2009
Abhängig von Bildschirmgröße und eingestellter Schriftgröße kann die Seitenzahl auf Ihrem Lesegerät variieren.
- Dateiformat: PDF
- Größe: 2.71 MB
- Ohne Kopierschutz
- Vorlesefunktion
From the reviews:
"While automating a system is the dream of all sysadmins, there is such a thing as too much automation. Thankfully, this book recognises it. It covers just everything a sysadmin needs to know … . If you’re a sysadmin – get this book, you won’t be sorry. Highly recommended." (Paul F. Johnson, CVU/ ACCU/ Reviews, February, 2004)
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Automating Linux and Unix System Administration".
Kommentar verfassen