411 REFERENCE · Wikibooks
Building a Beowulf Cluster/Installation, Configuration, and Administration/Miscellaneous
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
These two scripts can help in setting up other user accounts or installing additional software.
# execute command on all slave nodes
function slave {
for i in $(seq 1 7) ;
do ssh 192.168.1.$i $1 ;
done ;
}
# copy to all slave nodes
function slavecopy {
for i in $(seq 1 7) ;
do scp $1 192.168.1.$i:$2 ;
done ;
}
GNU Screen can help you speed up the configuration. On a side note, using screen the above two scripts could be already used for parallelization of computing tasks, however there are dedicated protocols for more advanced usage, you might want to have resource balancing, for example.
To create more users, create them on node0 and node1. Then from node1 you copy /etc/passwd and /etc/group to the other slaves.