Case Study: Clusters and Image Processing, Part II - page 7
The ImageLink Case, Reviewed
To set up an NFS installation server, perform the following steps as root on the server machine:
- Determine where on the server you want to host the distribution files.
- Create the hierarchy. For example, you might want to have the files under /exports/distro/, so you would use mkdir /exports and then mkdir /exports/distro.
- Mount the CD-ROM onto the file system with mount /mnt/cdrom, if you're using a distribution that has that shortcut, or mount -t iso9660 /dev/cdrom /mnt/cdrom if you're not.
- Copy the entire CD-ROM contents into this hierarchy. For example, you might use cp -R /mnt/cdrom /exports/distro.
- Copy any additional packages you might want available, such as the Beowulf clustering additions, into this hierarchy as well--maybe into /exports/distro/additions.
- Open the NFS configuration file /etc/exports with your preferred text editor.
- Determine the range of machines from which you want to allow access to this export. If the installation server is in the cluster, and the cluster is assigned the private network address 192.168.10.0, you might add the following entry to /etc/exports:
- Save and exit the file.
- Restart the nfs daemon. In Red Hat, you do this by typing /etc/rc.d/init.d/nfs restart.
- To have clients look to the NFS export for their files, you need to boot them with the netboot.img boot disk if you're installing Red Hat. Read the documentation for the distribution you're setting up for how to do an NFS install otherwise.