diff options
author | QiLiang <liangqi1@huawei.com> | 2015-12-15 01:30:54 +0000 |
---|---|---|
committer | QiLiang <liangqi1@huawei.com> | 2015-12-15 01:30:54 +0000 |
commit | c3f9ac49b773679e9f929f542619140bf3c6ef49 (patch) | |
tree | c534856e436d6369c655eff9dab30789ba9d1140 /rubbos/rubbos_scripts/1-1-1/scripts/run.sh | |
parent | 693b3d3cd44a651514b1925eadbc668f296588b7 (diff) |
Update Benchmark configure
JIRA:BOTTLENECK-24
Change-Id: I1bf8c3fd555da1ddf8919838c5d20c9f794c0d2e
Signed-off-by: QiLiang <liangqi1@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/run.sh')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/scripts/run.sh | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/run.sh b/rubbos/rubbos_scripts/1-1-1/scripts/run.sh index 5a1de25a..fd0915d6 100755 --- a/rubbos/rubbos_scripts/1-1-1/scripts/run.sh +++ b/rubbos/rubbos_scripts/1-1-1/scripts/run.sh @@ -7,6 +7,15 @@ echo "*** scp scripts *************************************************" scp_options="-o StrictHostKeyChecking=no -o BatchMode=yes" if true; then +for script in BENCHMARK_rubbos_install.sh BENCHMARK_install.sh \ + BENCHMARK_configure.sh BENCHMARK_uninstall.sh \ + BENCHMARK_rubbos_uninstall.sh +do + scp $scp_options $script $BENCHMARK_HOST:/tmp +done +fi + +if true; then for script in HTTPD_install.sh HTTPD_rubbos_install.sh \ HTTPD_configure.sh HTTPD_ignition.sh \ HTTPD_stop.sh HTTPD_rubbos_uninstall.sh \ @@ -35,13 +44,14 @@ for script in MYSQL1_install.sh MYSQL1_rubbos_install.sh \ do scp $scp_options $script $MYSQL1_HOST:/tmp done +fi # Prepare software packages echo "*** prepare software packages ***" ./MYSQL1_pkg_prepare.sh ./TOMCAT1_pkg_prepare.sh ./HTTPD_pkg_prepare.sh - +./BENCHMARK_pkg_prepare.sh # Install and Configure and run Apache, Tomcat, CJDBC, and MySQL echo "*** install scripts & configure & execute ***********************" @@ -64,6 +74,12 @@ ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbos_install.sh ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_rubbos_install.sh ssh $HTTPD_HOST /tmp/HTTPD_rubbos_install.sh +ssh root@$BENCHMARK_HOST chmod 770 /tmp/BENCHMARK_rubbos_install.sh +ssh $BENCHMARK_HOST /tmp/BENCHMARK_rubbos_install.sh + +ssh root@$BENCHMARK_HOST chmod 770 /tmp/BENCHMARK_install.sh +ssh $BENCHMARK_HOST /tmp/BENCHMARK_install.sh + ssh root@$MYSQL1_HOST chmod 770 /tmp/MYSQL1_configure.sh ssh $MYSQL1_HOST /tmp/MYSQL1_configure.sh @@ -73,6 +89,9 @@ ssh $TOMCAT1_HOST /tmp/TOMCAT1_configure.sh ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_configure.sh ssh $HTTPD_HOST /tmp/HTTPD_configure.sh +ssh root@$BENCHMARK_HOST chmod 770 /tmp/BENCHMARK_configure.sh +ssh $BENCHMARK_HOST /tmp/BENCHMARK_configure.sh + ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbosSL_configure.sh ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbosSL_configure.sh |