February 17, 2019

Case Study: Clusters and Image Processing, Part II - page 7

The ImageLink Case, Reviewed

  • March 25, 2002
  • By Dee-Ann LeBlanc

To set up an NFS installation server, perform the following steps as root on the server machine:

  1. Determine where on the server you want to host the distribution files.
  2. 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.
  3. 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.
  4. Copy the entire CD-ROM contents into this hierarchy. For example, you might use cp -R /mnt/cdrom /exports/distro.
  5. Copy any additional packages you might want available, such as the Beowulf clustering additions, into this hierarchy as well--maybe into /exports/distro/additions.
  6. Open the NFS configuration file /etc/exports with your preferred text editor.
  7. 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, you might add the following entry to /etc/exports:
  1. Save and exit the file.
  2. Restart the nfs daemon. In Red Hat, you do this by typing /etc/rc.d/init.d/nfs restart.
  3. 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.

Most Popular LinuxPlanet Stories