diff --git a/image/base/paradiseo.tgz b/image/base/paradiseo.tgz new file mode 100755 index 000000000..5b85d5953 Binary files /dev/null and b/image/base/paradiseo.tgz differ diff --git a/image/environment/paradiseo.env b/image/environment/paradiseo.env new file mode 100755 index 000000000..190b64c65 --- /dev/null +++ b/image/environment/paradiseo.env @@ -0,0 +1,17 @@ +name = paradiseo +id = +version = 2 +description = Paradiseo +author = clive.canape@inria.fr +filebase = file:///home/lille/ccanape/paradiseo.tgz +filesite = file://grid5000/postinstall/sid-x64-base-1.0-post.tgz +size = +initrdpath = /boot/initrd.img-2.6.18-3-amd64 +kernelpath = /boot/vmlinuz-2.6.18-3-amd64 +kernelparam = +fdisktype = 83 +filesystem = ext2 +siteid = 1 +optsupport = 0 +user = ccanape + diff --git a/image/install/sid-x64-base-1.0-post.tgz b/image/install/sid-x64-base-1.0-post.tgz new file mode 100755 index 000000000..c90946832 Binary files /dev/null and b/image/install/sid-x64-base-1.0-post.tgz differ diff --git a/image/scripts/deploy.sh b/image/scripts/deploy.sh new file mode 100755 index 000000000..7f08a8845 --- /dev/null +++ b/image/scripts/deploy.sh @@ -0,0 +1,93 @@ +#! /bin/bash + +function exe() +{ + if [ -e $1 ]; + then + kadeploy -e paradiseo -f $1 -p $2 + rm $1 + PIDS="$PIDS $!" + fi +} + +`cat $OAR_NODEFILE | uniq > machines` +NODEFILE=machines +PIDS="" +N=0 +for i in `cat machines`; +do + name=${i%-*r} + if [ "$name" = "azur" ];then + echo $i >>machineAzur + let $[N+=1] + fi + + if [ "$name" = "sol" ];then + echo $i >>machineSol + let $[N+=1] + fi + + if [ "$name" = "helios" ];then + echo $i >>machineHelios + let $[N+=1] + fi + + if [ "$name" = "chti" ];then + echo $i >>machineChti + let $[N+=1] + fi + + if [ "$name" = "chicon" ];then + echo $i >>machineChicon + let $[N+=1] + fi + + if [ "$name" = "capricorne" ];then + echo $i >>machineCapricorne + let $[N+=1] + fi + + if [ "$name" = "sagittaire" ];then + echo $i >>machineSagittaire + let $[N+=1] + fi + + if [ "$name" = "gdx" ];then + echo $i >>machineGdx + let $[N+=1] + fi + + if [ "$name" = "node" ];then + echo $i >>machineNode + let $[N+=1] + fi + + if [ "$name" = "grelon" ];then + echo $i >>machineGrelon + let $[N+=1] + fi + + if [ "$name" = "grillon" ];then + echo $i >>machineGrillon + let $[N+=1] + fi + +done + +exe machineSol sda3 +exe machineAzur hda3 +exe machineHelios sda3 +exe machineChti sda3 +exe machineChicon sda3 +exe machineCapricorne hda3 +exe machineSagittaire sda3 +exe machineGdx sda3 +exe machineNode sda3 +exe machineGrelon sda3 +exe machineGrillon sda3 +wait $PIDS +MASTER=`head -n 1 $OAR_NODEFILE` +scp -o StrictHostKeyChecking=no machines root@${MASTER}:/home/g5k/machines +echo "You can connect to the Master : $MASTER" + + diff --git a/image/scripts/launch.sh b/image/scripts/launch.sh new file mode 100755 index 000000000..1f14137ee --- /dev/null +++ b/image/scripts/launch.sh @@ -0,0 +1,7 @@ +if [ $# -eq 2 ];then + oarsub -I -t deploy -l nodes=$1,walltime=0$2:00:00 +else + echo "Usage : launch.sh