summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts/run.sh')
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/run.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/run.sh b/rubbos/rubbos_scripts/1-1-1/scripts/run.sh
index fd0915d6..95dc08b9 100755
--- a/rubbos/rubbos_scripts/1-1-1/scripts/run.sh
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/run.sh
@@ -16,6 +16,19 @@ done
fi
if true; then
+for i in {1..4}
+do
+ for script in CLIENT${i}_rubbos_install.sh CLIENT${i}_install.sh \
+ CLIENT${i}_configure.sh CLIENT${i}_uninstall.sh \
+ CLIENT${i}_rubbos_uninstall.sh
+ do
+ CLIENT_HOST=`printenv CLIENT${i}_HOST`
+ scp $scp_options $script $CLIENT_HOST:/tmp
+ done
+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 \
@@ -52,6 +65,10 @@ echo "*** prepare software packages ***"
./TOMCAT1_pkg_prepare.sh
./HTTPD_pkg_prepare.sh
./BENCHMARK_pkg_prepare.sh
+for i in {1..4}
+do
+ ./CLIENT${i}_pkg_prepare.sh
+done
# Install and Configure and run Apache, Tomcat, CJDBC, and MySQL
echo "*** install scripts & configure & execute ***********************"
@@ -77,9 +94,23 @@ 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
+for i in {1..4}
+do
+ CLIENT_HOST=`printenv CLIENT${i}_HOST`
+ ssh root@$CLIENT_HOST chmod 770 /tmp/CLIENT${i}_rubbos_install.sh
+ ssh $CLIENT_HOST /tmp/CLIENT${i}_rubbos_install.sh
+done
+
ssh root@$BENCHMARK_HOST chmod 770 /tmp/BENCHMARK_install.sh
ssh $BENCHMARK_HOST /tmp/BENCHMARK_install.sh
+for i in {1..4}
+do
+ CLIENT_HOST=`printenv CLIENT${i}_HOST`
+ ssh root@$CLIENT_HOST chmod 770 /tmp/CLIENT${i}_install.sh
+ ssh $CLIENT_HOST /tmp/CLIENT${i}_install.sh
+done
+
ssh root@$MYSQL1_HOST chmod 770 /tmp/MYSQL1_configure.sh
ssh $MYSQL1_HOST /tmp/MYSQL1_configure.sh
@@ -92,6 +123,13 @@ ssh $HTTPD_HOST /tmp/HTTPD_configure.sh
ssh root@$BENCHMARK_HOST chmod 770 /tmp/BENCHMARK_configure.sh
ssh $BENCHMARK_HOST /tmp/BENCHMARK_configure.sh
+for i in {1..4}
+do
+ CLIENT_HOST=`printenv CLIENT${i}_HOST`
+ ssh root@$CLIENT_HOST chmod 770 /tmp/CLIENT${i}_configure.sh
+ ssh $CLIENT_HOST /tmp/CLIENT${i}_configure.sh
+done
+
ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbosSL_configure.sh
ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbosSL_configure.sh