diff options
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh | 20 | ||||
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/run.sh | 4 |
2 files changed, 15 insertions, 9 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh b/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh index adaf3d19..8c4dcc85 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh @@ -14,7 +14,7 @@ ssh $BENCHMARK_HOST " mkdir -p $TMP_RESULTS_DIR_BASE/$RUBBOS_RESULTS_DIR_NAME " -#for i in "rubbos.properties_200" "rubbos.properties_300" "rubbos.properties_400" "rubbos.properties_500" "rubbos.properties_600" "rubbos.properties_700" "rubbos.properties_800" "rubbos.properties_900" "rubbos.properties_1000" "rubbos.properties_1100" "rubbos.properties_1200" "rubbos.properties_1300" "rubbos.properties_1400" "rubbos.properties_1500" "rubbos.properties_1600" "rubbos.properties_1700" +#TODO use for loop to genrate rubbos.properties file 200 ~ 1700 for i in "rubbos.properties_200" do @@ -24,8 +24,8 @@ do " scp $OUTPUT_HOME/rubbos_conf/$i $BENCHMARK_HOST:$RUBBOS_HOME/Client/rubbos.properties - echo "Resetting all data" - $OUTPUT_HOME/scripts/reset_all.sh + #echo "Resetting all data" + #$OUTPUT_HOME/scripts/reset_all.sh # Browsing Only echo "Start Browsing Only with $i" @@ -34,8 +34,8 @@ do ssh $TOMCAT1_HOST "rm -f $CATALINA_HOME/logs/*" ssh $MYSQL1_HOST "rm -f $MYSQL_HOME/run/*.log $RUBBOS_APP/mysql_mon-*" - $OUTPUT_HOME/scripts/start_all.sh - sleep 15 + #$OUTPUT_HOME/scripts/start_all.sh + #sleep 15 ssh $BENCHMARK_HOST "rm -f $RUBBOS_APP/sar-* $RUBBOS_APP/ps-* $RUBBOS_APP/iostat-*" ssh $CLIENT1_HOST "rm -f $RUBBOS_APP/sar-* $RUBBOS_APP/ps-* $RUBBOS_APP/iostat-*" @@ -47,10 +47,10 @@ do ssh $MYSQL1_HOST "rm -f $RUBBOS_APP/sar-* $RUBBOS_APP/ps-* $RUBBOS_APP/iostat-*" ssh $MYSQL1_HOST "sudo rm -f /tmp/*.log" ssh root@$MYSQL1_HOST chmod 777 /tmp/oprofile_start.sh - ssh $MYSQL1_HOST " - cd /tmp - ./oprofile_start.sh - " & + #ssh $MYSQL1_HOST " + # cd /tmp + # ./oprofile_start.sh + #" & ssh $BENCHMARK_HOST " source /bottlenecks/rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh @@ -108,6 +108,8 @@ do mv 20* $TMP_RESULTS_DIR_BASE/$RUBBOS_RESULTS_DIR_NAME/ " + # TODO debug the rest of sciripts + exit 0 #$OUTPUT_HOME/scripts/stop_all.sh $OUTPUT_HOME/scripts/kill_all.sh sleep 15 diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/run.sh b/rubbos/rubbos_scripts/1-1-1/scripts/run.sh index 95dc08b9..e71c6ec2 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/run.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/run.sh @@ -6,6 +6,8 @@ echo "*** scp scripts *************************************************" scp_options="-o StrictHostKeyChecking=no -o BatchMode=yes" +scp $scp_options CONTROL_rubbos_exec.sh $CONTROL_HOST:/tmp + if true; then for script in BENCHMARK_rubbos_install.sh BENCHMARK_install.sh \ BENCHMARK_configure.sh BENCHMARK_uninstall.sh \ @@ -133,3 +135,5 @@ done ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbosSL_configure.sh ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbosSL_configure.sh +ssh $CONTROL_HOST /tmp/CONTROL_rubbos_exec.sh + |