A modern computer system that's not part of a network is even more of an anomaly today than it was when we published the first edition of this book in 1991. But however widespread networks have become, managing a network and getting it to perform well can still be a problem. Managing NFS and NIS, in a new edition based on Solaris 8, is a guide to two tools that are absolutely essential to distributed computing environments: the Network Filesystem (NFS) and the Network Information System (formerly called the "yellow pages" or YP). The Network Filesystem, developed by Sun Microsystems, is fundamental to most Unix networks. It lets systems ranging from PCs and Unix workstations to large mainframes access each other's files transparently, and is the standard method for sharing files between different computer systems. As popular as NFS is, it's a "black box" for most users and administrators. Updated for NFS Version 3, Managing NFS and NIS offers detailed access to what's inside, including: * How to plan, set up, and debug an NFS network * Using the NFS automounter * Diskless workstations * PC/NFS * A new transport protocol for NFS (TCP/IP) * New security options (IPSec and Kerberos V5) * Diagnostic tools and utilities * NFS client and server tuning NFS isn't really complete without its companion, NIS, a distributed database service for managing the most important administrative files, such as the passwd file and the hosts file. NIS centralizes administration of commonly replicated files, allowing a single change to the database rather than requiring changes on every system on the network. If you are managing a network of Unix systems, or are thinking of setting up a Unix network, you can't afford to overlook this book.
Arvustused
"If you administrate a collection of Unix systems of any flavour then buy this book. There will always be something of interest that will make your Unix network easier to use and manage - guaranteed. If your network involves NT interconnectivity then still buy it but read the opinion on PCNFS verses SAMBA with an open mind." - Jon Wilks, Cvu, June 2002
Preface |
|
ix | |
|
|
1 | (19) |
|
|
2 | (2) |
|
Physical and data link layers |
|
|
4 | (1) |
|
|
5 | (7) |
|
|
12 | (2) |
|
The Session and presentation layers |
|
|
14 | (6) |
|
Introduction to Directory Services |
|
|
20 | (8) |
|
Purpose of directory services |
|
|
20 | (2) |
|
Brief survey of common directory services |
|
|
22 | (5) |
|
|
27 | (1) |
|
Which directory service to use |
|
|
27 | (1) |
|
Network Information Service Operation |
|
|
28 | (29) |
|
Masters, slaves, and clients |
|
|
29 | (3) |
|
|
32 | (8) |
|
|
40 | (14) |
|
|
54 | (3) |
|
System Management Using NIS |
|
|
57 | (17) |
|
|
57 | (3) |
|
|
60 | (8) |
|
Advanced NIS server administration |
|
|
68 | (3) |
|
Managing multiple domains |
|
|
71 | (3) |
|
Living with Multiple Directory Servers |
|
|
74 | (10) |
|
|
74 | (3) |
|
|
77 | (2) |
|
Fully qualified and unqualified hostnames |
|
|
79 | (2) |
|
Centralized versus distributed management |
|
|
81 | (1) |
|
Migrating from NIS to DNS for host naming |
|
|
82 | (1) |
|
|
83 | (1) |
|
System Administration Using the Network File System |
|
|
84 | (34) |
|
|
85 | (1) |
|
|
86 | (6) |
|
|
92 | (13) |
|
|
105 | (3) |
|
|
108 | (5) |
|
|
113 | (5) |
|
Network File System Design and Operation |
|
|
118 | (29) |
|
Virtual filesystems and virtual nodes |
|
|
119 | (1) |
|
NFS protocol and implementation |
|
|
120 | (10) |
|
|
130 | (6) |
|
|
136 | (6) |
|
|
142 | (2) |
|
|
144 | (3) |
|
|
147 | (24) |
|
NFS support for diskless clients |
|
|
148 | (1) |
|
Setting up a diskless client |
|
|
149 | (3) |
|
Diskless client boot process |
|
|
152 | (5) |
|
Managing client swap space |
|
|
157 | (2) |
|
|
159 | (1) |
|
|
160 | (5) |
|
|
165 | (3) |
|
Brief introduction to JumpStart administration |
|
|
168 | (1) |
|
|
169 | (2) |
|
|
171 | (35) |
|
|
173 | (9) |
|
Invocation and the master map |
|
|
182 | (5) |
|
|
187 | (3) |
|
Key and variable substitutions |
|
|
190 | (4) |
|
|
194 | (10) |
|
|
204 | (2) |
|
|
206 | (10) |
|
|
206 | (2) |
|
|
208 | (3) |
|
|
211 | (1) |
|
Common PC/NFS usage issues |
|
|
212 | (2) |
|
|
214 | (2) |
|
|
216 | (10) |
|
|
216 | (3) |
|
|
219 | (2) |
|
Troubleshooting locking problems |
|
|
221 | (5) |
|
|
226 | (55) |
|
User-oriented network security |
|
|
226 | (7) |
|
How secure are NIS and NFS? |
|
|
233 | (1) |
|
Password and NIS security |
|
|
234 | (4) |
|
|
238 | (15) |
|
Stronger security for NFS |
|
|
253 | (26) |
|
|
279 | (2) |
|
Networks Diagnostic and Administrative Tools |
|
|
281 | (55) |
|
|
283 | (2) |
|
|
285 | (20) |
|
Remote procedure call tools |
|
|
305 | (10) |
|
|
315 | (8) |
|
|
323 | (13) |
|
|
336 | (43) |
|
|
336 | (4) |
|
|
340 | (9) |
|
|
349 | (4) |
|
Publicly available diagnostics |
|
|
353 | (7) |
|
Version 2 and Version 3 differences |
|
|
360 | (1) |
|
|
361 | (15) |
|
|
376 | (3) |
|
Debugging Networks Problems |
|
|
379 | (16) |
|
|
379 | (2) |
|
|
381 | (2) |
|
Boot parameter confussion |
|
|
383 | (1) |
|
Incorrect directory content caching |
|
|
384 | (5) |
|
Incorrect mount point permissions |
|
|
389 | (2) |
|
Asynchronous NFS error messages |
|
|
391 | (4) |
|
Server-Side Performance Tuning |
|
|
395 | (22) |
|
Characterization of NFS behavior |
|
|
396 | (1) |
|
|
397 | (3) |
|
|
400 | (1) |
|
Identifying NFS performance bottlenecks |
|
|
401 | (4) |
|
|
405 | (12) |
|
Network Performance Analysis |
|
|
417 | (11) |
|
Network congestion and network interfaces |
|
|
417 | (3) |
|
Network partitioning hardware |
|
|
420 | (2) |
|
|
422 | (2) |
|
|
424 | (2) |
|
|
426 | (2) |
|
Client-Side Performance Tuning |
|
|
428 | (21) |
|
|
428 | (6) |
|
|
434 | (2) |
|
Adjusting for network reliability problems |
|
|
436 | (2) |
|
NFS over wide-area networks |
|
|
438 | (1) |
|
|
439 | (3) |
|
|
442 | (2) |
|
Mount point constructions |
|
|
444 | (1) |
|
|
445 | (4) |
A. IP Packet Routing |
|
449 | (7) |
B. NFS Problem Diagnosis |
|
456 | (4) |
C. Tunable Parameters |
|
460 | (7) |
Index |
|
467 | |
Mike Eisler graduated from the University of Central Florida with a master's degree in computer science in 1985. His first exposure to NFS and NIS came while working for Lachman Associates, Inc., where he was responsible for porting NFS and NIS to System V platforms. He later joined Sun Microsystems, Inc., as a member of the Solaris Network Technology group, responsible for projects such as NFS server performance, NFS/TCP, WebNFS, NFS secured with Kerberos V5, and NFS Version 4. He later moved to Sun's Java Customer Engineering group, working with JavaCard technology. Mike has authored or coauthored several Request For Comments documents for the Internet Engineering Task Force, relating to NFS and security. He is currently a Distinguished Software Engineer for Zambeel, Inc. Ricardo Labiaga is a staff engineer at Sun Microsystems, Inc., where he concentrates on networking and wireless technologies. Ricardo spent 8 years in the Solaris NFS group at Sun, where he worked on a variety of development projects with a primary focus on automounting and the NFS server. Ricardo is responsible for implementing significant functionality and performance enhancements to the automounter, as well as leading the NFS Server Logging design team. He holds a master of science degree in computer engineering from The University of Texas at El Paso. Hal Stern is a technical consultant with Sun Microsystems, where he specializes in networking, performance tuning, and kernel hacking. Hal earned a Bachelor of Science degree from Princeton University in 1984. Before joining Sun, Hal was a member of the technical staff at Polygen Corporation, developing UNIX-based molecular modelling and chemical information system products. Hal also worked on the Massive Memory Machine project as a member of the Research Staff in Princeton University's Department of Computer Science. His interests include large installation system administration, virtual memory management systems, performance, local and wide-area networking, interactive graphics, applications in financial services, cosmology, and the history of science. Hal is active in the Sun User's Group and has served on the advisory trustee board of the Princeton Broadcasting Service for seven years. Hal and his wife Toby live in Burlington, Massachusetts. At home, Hal enjoys carpentry, jazz music, cooking, and watching the stock market