Make sure you can ssh into each testbox, as root, with no password (hint: use .ssh/authorized_keys, and get the permissions right)

Now set up the runqueues and monitors for each machine.

$ export AUTOTEST_DIR='~/auto'
$ mkdir $AUTOTEST_DIR
$ for testbox in testbox1 testbox2
> do
> mkdir -p $AUTOTEST_DIR/queue/$testbox
> mkdir -p $AUTOTEST_DIR/results/$testbox
> nohup monitor_queue $testbox $AUTOTEST_DIR/queue/$testbox $AUTOTEST_DIR/results/$testbox &
> done

Now let's spit some jobs at it. Let's run kernbench on every kernel from 2.6.0 to 2.6.18, for example:

$ CONTROL=~/autotest/client/tests/kernbench/control
$ for x in `seq 0 18`
> do
> testkernel testbox1 $CONTROL 2.6.$x http://foo/bar/testbox1.config
> testkernel testbox2 $CONTROL 2.6.$x http://foo/bar/testbox2.config
> done

That's all folks!

SimpleServer (last edited 2007-03-27 21:43:00 by PaulTurner)