|
|
SysAdm /
Base install of Worker NodesNavigation yum install ig_WN_torque_noafs install minimal SL4.7 x86_64 in an hurry, so we did not use Oscar shm uses shmux: shmux -c "$*" \ root@10.0.0.1\ root@10.0.0.2\ root@10.0.0.3\ root@10.0.0.4\ root@10.0.0.5\ root@10.0.0.6\ root@10.0.0.7
#!/bin/bash set -x WNS=" root@10.0.0.2 root@10.0.0.3 root@10.0.0.4 root@10.0.0.5 root@10.0.0.6 root@10.0.0.7 " YUMCACHECP=~/yum/ ssh root@10.0.0.1 "yum $*" mkdir -p $YUMCACHECP rsync -a root@10.0.0.1:/var/cache/yum/ $YUMCACHECP for H in $WNS; do rsync -a $YUMCACHECP $H:/var/cache/yum/ done shmux -c "yum $*" $WNS Generic configurations: shm chkconfig sendmail off shm chkconfig cups off shm chkconfig isdn off gridvm]$ shm 'for name in ca dag ig jpackage gilda glite-wn_torque; do wget http://grid018.ct.infn.it/mrepo/repos/$name.repo -O /etc/yum.repos.d/$name.repo; done' gridvm]$ shm yum -y install jdk java-1.5.0-sun-compat gridvm]$ shm java -version root@10.0.0.1! java version "1.6.0_10" root@10.0.0.1! Java(TM) SE Runtime Environment (build 1.6.0_10-b33) root@10.0.0.1! Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode) gridvm]$ yumWNs -y install ig_WN_torque_noafs gridvm]$ yumWNs -y install lcg-CA gridvm]$ yumWNs -y install gilda_utils gridvm]$ yumWNs -y install gilda_applications |