diff options
author | 2015-11-30 02:58:25 -0500 | |
---|---|---|
committer | 2015-11-30 02:58:25 -0500 | |
commit | b6d3d6e668b793220f2d3af1bc3e828553dc3fe6 (patch) | |
tree | eeebb5a818b8e23ddb54fe6a609e1cd8aeebe158 /rubbos/rubbos_scripts/1-1-1/scripts/bakrun.sh.bak | |
parent | 9401f816dd0d9d550fe98a8507224bde51c4b847 (diff) |
bottleneck testcase based on rubbos
JIRA: BOTTLENECK-31
Change-Id: I35b1bcdca28c4e06e316143cc895b4cdf689d0d3
Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/bakrun.sh.bak')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/bakrun.sh.bak | 194 |
1 files changed, 194 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/bakrun.sh.bak b/rubbos/rubbos_scripts/1-1-1/scripts/bakrun.sh.bak new file mode 100755 index 00000000..c7be8c73 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/scripts/bakrun.sh.bak @@ -0,0 +1,194 @@ + +cd /root/rui/rubbos/rubbosMulini6/1-1-1 +source set_elba_env.sh +cd /root/rui/rubbos/rubbosMulini6/1-1-1/scripts +# Transfer all sub scripts to target hosts +echo "*** scp scripts *************************************************" + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CONTROL_checkScp_exec.sh $CONTROL_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CONTROL_emulabConf_exec.sh $CONTROL_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CONTROL_rubbos_exec.sh $CONTROL_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes BENCHMARK_rubbos_install.sh $BENCHMARK_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes BENCHMARK_install.sh $BENCHMARK_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes BENCHMARK_configure.sh $BENCHMARK_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes BENCHMARK_uninstall.sh $BENCHMARK_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes BENCHMARK_rubbos_uninstall.sh $BENCHMARK_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT1_rubbos_install.sh $CLIENT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT1_install.sh $CLIENT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT1_configure.sh $CLIENT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT1_uninstall.sh $CLIENT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT1_rubbos_uninstall.sh $CLIENT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT2_rubbos_install.sh $CLIENT2_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT2_install.sh $CLIENT2_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT2_configure.sh $CLIENT2_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT2_uninstall.sh $CLIENT2_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT2_rubbos_uninstall.sh $CLIENT2_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT3_rubbos_install.sh $CLIENT3_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT3_install.sh $CLIENT3_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT3_configure.sh $CLIENT3_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT3_uninstall.sh $CLIENT3_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT3_rubbos_uninstall.sh $CLIENT3_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT4_rubbos_install.sh $CLIENT4_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT4_install.sh $CLIENT4_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT4_configure.sh $CLIENT4_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT4_uninstall.sh $CLIENT4_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes CLIENT4_rubbos_uninstall.sh $CLIENT4_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_install.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_rubbos_install.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_configure.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_ignition.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_stop.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_rubbos_uninstall.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes HTTPD_uninstall.sh $HTTPD_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_install.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_rubbos_install.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_configure.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_rubbosSL_configure.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_ignition.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_stop.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_rubbos_uninstall.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes TOMCAT1_uninstall.sh $TOMCAT1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_install.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_rubbos_install.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_configure.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_reset.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_ignition.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_stop.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_rubbos_uninstall.sh $MYSQL1_HOST:/tmp + +scp -o StrictHostKeyChecking=no -o BatchMode=yes MYSQL1_uninstall.sh $MYSQL1_HOST:/tmp + + +# Install and Configure and run Apache, Tomcat, CJDBC, and MySQL +echo "*** install scripts & configure & execute ***********************" + +ssh $CONTROL_HOST /tmp/CONTROL_checkScp_exec.sh +ssh $CONTROL_HOST /tmp/CONTROL_emulabConf_exec.sh + + +ssh $MYSQL1_HOST /tmp/MYSQL1_install.sh + + +ssh $TOMCAT1_HOST /tmp/TOMCAT1_install.sh + + +ssh $HTTPD_HOST /tmp/HTTPD_install.sh + + +ssh $MYSQL1_HOST /tmp/MYSQL1_rubbos_install.sh + + +ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbos_install.sh + + +ssh $HTTPD_HOST /tmp/HTTPD_rubbos_install.sh + + +ssh $BENCHMARK_HOST /tmp/BENCHMARK_rubbos_install.sh + + +ssh $CLIENT1_HOST /tmp/CLIENT1_rubbos_install.sh + + +ssh $CLIENT2_HOST /tmp/CLIENT2_rubbos_install.sh + + +ssh $CLIENT3_HOST /tmp/CLIENT3_rubbos_install.sh + + +ssh $CLIENT4_HOST /tmp/CLIENT4_rubbos_install.sh + + +ssh $BENCHMARK_HOST /tmp/BENCHMARK_install.sh + + +ssh $CLIENT1_HOST /tmp/CLIENT1_install.sh + + +ssh $CLIENT2_HOST /tmp/CLIENT2_install.sh + + +ssh $CLIENT3_HOST /tmp/CLIENT3_install.sh + + +ssh $CLIENT4_HOST /tmp/CLIENT4_install.sh + + +ssh $MYSQL1_HOST /tmp/MYSQL1_configure.sh & +sleep 60 + +ssh $TOMCAT1_HOST /tmp/TOMCAT1_configure.sh + + +ssh $HTTPD_HOST /tmp/HTTPD_configure.sh + + +ssh $BENCHMARK_HOST /tmp/BENCHMARK_configure.sh + + +ssh $CLIENT1_HOST /tmp/CLIENT1_configure.sh + + +ssh $CLIENT2_HOST /tmp/CLIENT2_configure.sh + + +ssh $CLIENT3_HOST /tmp/CLIENT3_configure.sh + + +ssh $CLIENT4_HOST /tmp/CLIENT4_configure.sh + + +ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbosSL_configure.sh + + +#ssh $CONTROL_HOST /tmp/CONTROL_rubbos_exec.sh + |