Feeds:
Posts
Comments

cat script.sh

#! /bin/bash

wget http://www.clusterresources.com/downloads/torque/torque-2.5.2.tar.gz
tar xvzf torque-2.5.2-tar.gz

cd torque-2.5.2

./configure

make -j

make install

make packages

./torque.setup root

killall pbs_server
for node in  node001 node002

do

echo $node np=8 >> /var/spool/torque/server_priv/nodes

echo “Deploying clients and mom’s on $node”

scp torque-2.4.8/torque-package-mom-linux-x86_64.sh $node:/tmp

scp torque-2.4.8/torque-package-clients-linux-x86_64.sh $node:/tmp

ssh $node “/bin/bash /tmp/torque-package-mom-linux-x86_64.sh –install ;/bin/bash /tmp/torque-package-clients-linux-x86_64.sh –install ;killall pbs_mom;sleep 3;/usr/local/sbin/pbs_mom”

done

pbs_server

pbsnodes
echo “Finished”

I saw SHM earlier this year at Brixton, if you ever get a chance to see them live do it!

http://www.myspace.com/swedishhousemafia

http://www.moguai.com/

Jonny L – Oh Yeah

www.myspace.com/jonnylrecords

Follow

Get every new post delivered to your Inbox.