Perl for System Administration: Managing multi-platform environments with Perl

by O'Reilly Media, Inc.

$34.95
buy from amazon.com
Average Rating: * * * half star -
Sales Rank:509881 (lower is better)
Price Used:$13.19
Shipping:Free Shipping on most orders over $25*
Availability:Usually ships in 24 hours
Label:O'Reilly Media, Inc.
Pages:430
Binding:Paperback
Publication Date:2000-01-15
Published By:O'Reilly Media, Inc.
ASIN:1565926099
Category:Book

Authors

Editorial Reviews and Product Descriptions

Product Description

The Perl programming language lets you write quick yet powerful scripts for automating many administrative tasks. Written for several different platforms (Unix, Windows NT, and MacOS), Perl for System Administration is aimed at all levels of administrators--from hobbyists to card-carrying SAGE members-- sysadmins on multi-platform sites. Assuming only a little familiarity with Perl, this book leads you through the pockets of administration where Perl can be most useful, including filesystem management, user administration, directory services, database administration, log files, and security and network monitoring. Each chapter concentrates on a single administrative task, discusses the possible pitfalls, and then shows how Perl comes to the rescue. Perl for System Administration is for anyone who needs to use Perl for administrative tasks and needs to hit the ground running.
Amazon.com Review

The title of David N. Blank-Edelman's new book, Perl for System Administration, is strangely redundant and thankfully misleading. The soul and source of Perl's core competence is Unix system administration, and another O'Reilly tome on Perl tricks for managing backups would not have been welcome. But the subtitle Managing Multiplatform Environments with Perl communicates the essential task: how to administer heterogeneous Unix, Windows NT/2000, and Mac OS systems from the same Perl-based conceptual platform.

Blank-Edelman introduces this diversity of notation to motivate a far-reaching discussion of system internals, and shows how Perl is a natural choice for cross-platform administration. The Unix and Windows "slash" path separators--"/" and "\", respectively--are like crossed swords, where the Mac OS uses the less- generally-known colon (":"). In lesser hands, this treatment still would have been about LAN backups, but Blank-Edelman's familiarity with network imperatives drives the synthesis.

As the topics move beyond file systems, user accounts, and process control, the tripartite division in the discussion breaks down. Treatments of TCP/IP and e-mail feature discussions of NIS, WINS, DNS, and nslookup. The chapters on directory services and SQL database management--while apparently digressive--are inserted tactically to enable elegant approaches to the more mundane administrative tasks of sending and receiving e-mail and managing log files to maximize their utility. Blank-Edelman's keen pragmatism shines in the chapter on security in which noticing intrusion earlier instead of later draws on many of the skills that are developed throughout the book. Notably, each chapter ends with a recapitulation of Perl modules that were referenced in the preceding text.

The eclectic tutorial appendices--an old revision-control system (RCS), the extensible markup language (XML), the database language (SQL), and two undermotivated and esoteric protocols (LDAP and SNMP)--are so brief as to function more as a Perl-free zone for shop talk than as valuable précis for their respective subjects.

Delightfully, this is one of Perl's and O'Reilly's best-written books. Blank-Edelman's wit buoys the argument without descending into the all-too-common parlance of sappy testimonials, hollow confessions, or the burdensome ornamentation of inside jokes and puns. --Peter Leopold

Customer Reviews

Advanced Yet Empowering - Reviewed on 2006-10-23
* * * * *

This book is very uncanny in that it is able to cover advanced administration procedural concepts (such as log rotation) and networking technologies (like SNMP), and the automation that applies to these areas. The coverage is from a platform neutral perspective, but does delve into platform specific solutions where needed, e.g. Windows events vs. UNIX syslogs, Active Directory vs. LDAP, etc. What is nice is that these system or network administration chores, is that the coverage uses generic cross-platform libraries (Mozilla's LDAP modules for example), but where needed delves into platform specific libraries such as ADSI (for Active Directory LDAP OLE-DB provider).

I highly recommend this book as supplementary material for existing scripting books and system administration books. I would note that the material is advanced and would be suited for those already familar with intermediate Perl programming (map, grep, array slicing, split, etc.) and advanced system administration and network administration concepts (or ability and eagerness to learn)
Multiplatform SysAdmin Perl Tools - Reviewed on 2001-11-16
* * * * *
7 customers found this review helpful, 1 did not.

The biggest asset of this book is the author's expert knowledge of the three platforms (Unix, Windows NT/2000, Mac) and the in-depth coverage he gives to each. With almost every Perl sysadmin tool he covers, he outlines the OS-specific Perl modules necessary to make the tool work on any of the platforms. This book is truly unique in that regard.
The Art of System Administration...revealed! - Reviewed on 2001-05-01
* * * *
13 customers found this review helpful, 10 did not.

I was surprised to find a disclaimer at the beginning of the book on the places where it might NOT be a good idea to use Perl. Typically people take an all-or-nothing approach to toolsets like Perl. This might save some work where a small ksh script works ok - it's not always necessary to build a Perl program.

The best part of the book is highlighting the art and craft of system administration, possibly better than most attempts at it that I've previously read. Even disregarding the excellent examples and specific code for same, this is good as another resource of the harried sysadmin. Somewhat less so for the Perl junkies, however.

The biggest downside to this book is the inclusion of NT-specific constructs and concepts. Most system administrators won't touch NT, and most network administrators maintaining NT server farms probably won't touch Perl. This may be a bias of mine, of course.

Perl for System Administration - Reviewed on 2001-04-30
* * *
4 customers found this review helpful, 14 did not.

I was surprised to find a disclaimer at the beginning of the book on the places where it might NOT be a good idea to use Perl. Typically people take an all-or-nothing approach to toolsets like Perl. This might save some work where a small ksh script works ok - it's not always necessary to build a Perl program.

The best part of the book is highlighting the art and craft of system administration, possibly better than most attempts at it that I've previously read. Even disregarding the excellent examples and specific code for same, this is good as another resource of the harried sysadmin. Somewhat less so for the Perl junkies, however.

The biggest downside to this book is the inclusion of NT-specific constructs and concepts. Most system administrators won't touch NT, and most network administrators maintaining NT server farms probably won't touch Perl. ....

Buy it for the apendicies! - Reviewed on 2000-11-27
* * * *
14 customers found this review helpful, 3 did not.

Heck, i haven't even looked at the main part of this book, but the appendicies are priceless. A fifteen minute crash course on SQL? An 8 minute crash course on XML? Like treatment is given to RCS, LDAP, and SNMP. I've used this book for less than an hour of my life, and it's been a terriffic investment.
Read More Customer Reviews »
Go To Amazon Product Page

* - See Amazon Product Page for shipping and pricing details.


Book Subjects