Introduction to Smaug

Quick Facts
Hostnamesmaug.dsl.uow.edu.au
OSDebian Linux 3.0
CPUP4 1.7GHz
Memory512MB Ram, 2GB Swap
QuotasNone

Smaug holds the DSL United source code in a CVS repository. To access Smaug, you can use SSH or XDMCP. Once logged into Smaug, you can access the DSL United source code by:

$ cvs checkout dslunited

For those who have access to another Linux machine with CVS and ssh installed, you can access the cvs repository on smaug by:

$ export CVSROOT=:ext:username@smaug.dsl.uow.edu.au:/var/lib/cvs
$ export CVS_RSH=ssh
$ cvs checkout dslunited

In either case, you will end up with a directory called 'dslunited'. This is called your working directory, and contains all the source. To see what you've modified in the source use (from your working directory):

$ cvs diff [filename]

To get an updated copy of the source use (again from your working directory):

$ cvs update -d

To place your changes in the main source so everyone else can get them, use:

$ cvs commit [filename]

A commit will use your favourite editor (set by the EDITOR environment variable) to get a short description of the changes from you. Make sure you describe what you did as if it were a diary entry - we don't need to know what variables you changed, but we do need to know what functionality changed.

For more details on CVS see the man pages, the book (available in the Technical Documentation on the project website) or email me.

OpenMosix

OpenMosix is a simple clustering system which is added to the Linux kernel. It can automatically migrate processes between Smaug, Elrond, Gimli, Gandalf and Beorn if demand on any one is too high. Currently, automatic migration is turned on. To disable automatic migration for your current shell use:

$ echo 1 > /proc/self/lock 

You can find out the load on various nodes using:

$ mosmon

Again, for more details see the man pages or email me.