3.7 File and Print ServersThe last two network services, file and print services, make the network more convenient for users. Not long ago, disk drives and high-quality printers were relatively expensive, and diskless workstations were common. Today every system has a large hard drive and many have their own high-quality laser printers, but the demand for resource-sharing services is higher than ever. 3.7.1 File SharingFile sharing is not the same as file transfer. It is not simply the ability to move a file from one system to another. A true file-sharing system does not require you to move entire files across the network. It allows files to be accessed at the record level so that it is possible for a client to read a record from a file located on a remote server, update that record, and write it back to the server - without moving the full file from the server to the client. File sharing is transparent to the user and to the application software running on the user's system. Through file sharing, users and programs access files located on remote systems as if they were local files. In a perfect file-sharing environment, the user neither knows nor cares where files are actually stored. File sharing didn't exist in the original TCP/IP protocol suite. It was added to support diskless workstations. Unlike a proprietary LAN where one vendor defines the official file-sharing protocol, TCP/IP is an open protocol suite and anyone can propose a new protocol. That's why there are three TCP/IP protocols for file sharing:
You will probably use NFS, as it is the most widely used TCP/IP file-sharing protocol. For a detailed discussion, see Chapter 9 . 3.7.2 Print ServicesA print server allows printers to be shared by everyone on the network. Printer sharing is not as important as file sharing, but it is a useful network service. The advantages of printer sharing are:
There are two techniques commonly used for sharing printers on a TCP/IP network. One technique is to use the network's file sharing services. The other approach is to use the traditional UNIX lpr command and an lpd server. Print server configuration is covered in Chapter 9 . |
|