Next Previous Contents

6. Setting up clients

There are are three main methods of installing the client nodes. First is cloning the nodes using the dd command. The second method is the one I used in the first stage of our topcat system, that is installing the operating system on each client separately and then running a configuration script on the server which performs the rest of the setup. The third method is to use disk-less clients in which case all installation and configuration is done on the server. I shall describe the last two methods in detail because this is how I configured our topcat system.

6.1 Cloning clients

The basic concept of cloning is making an exact copy of a partition from one drive onto a partition on another drive. You can install one client, configure it, and make an exact copy of the disk. You can use this disk image on other clients, and you should only have to change few settings like the IP address and hostname. If your clients have their own disk with the operating system, then this method is the easiest way of achieving it. Cloning is described in more detailed by Jan Lindheim in Building a Beowulf System http://www.cacr.caltech.edu/beowulf/tutorial/beosoft/. It is basically copying a partition from one disk to another exactly, sector by sector.

6.2 Configuring disk-less clients

This method is different to the previous two because all client configuration is done on the server. This is because the clients have no physical disk of their own, and all their files are stored on the server node. if you want more information about booting a disk-less client you should read both NFS Root mini howto http://metalab.unc.edu/LDP/HOWTO/mini/NFS-Root.html and the NFS Root Client HOWTO.

Because on a disk-less client all system files are actually on the server, this is where the client configuration will be done. I have followed the NFS-root howto when configured our system with minor modifications.

Troubleshooting ideas

6.3 How to access clients' consoles ?

Because your clients do not have a video card or a keyboard attached to them you cannot access them directly as you can with the server. There might be a time (specially during changes of configuration) when there is a problem with the network and you cannot telnet or rlogin to the clients so you must access them some other way. There are basically to methods of accessing clients' consoles. The first one is using monitor and keyboard switches as described by Jan Lindheim in Building a Beowulf System http://www.cacr.caltech.edu/beowulf/tutorial/building.html, and the other is using a serial terminal.

6.4 Installing the operating system on each client separately.

If you are installing off a CD-ROM and only have one drive for the whole system, you will have to move the CD-ROM drive from client to client after each install, or do an NFS install. If you have only one floppy disk drive you will have to move it as well. In my case I installed all the nodes from our local ftp server so I only had to move the floppy drive. To cut down on the installation time I recommend installing the full distribution. Selecting packages to install is a real pain and it is even worse if you have 16 nodes to install. These days the smallest hard disks you can buy are well over a 2 GB so you should not have to worry about disk space shortage.


Next Previous Contents