Update MySQL configure
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / scripts / run.sh
1 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
2 source set_bottlenecks_rubbos_env.sh
3 cd /bottlenecks/rubbos/rubbos_scripts/1-1-1/scripts
4 # Transfer all sub scripts to target hosts
5 echo "*** scp scripts *************************************************"
6
7 scp_options="-o StrictHostKeyChecking=no -o BatchMode=yes"
8
9 if true; then
10 for script in HTTPD_install.sh HTTPD_rubbos_install.sh \
11               HTTPD_configure.sh HTTPD_ignition.sh \
12               HTTPD_stop.sh HTTPD_rubbos_uninstall.sh \
13               HTTPD_uninstall.sh
14 do
15     scp $scp_options $script $HTTPD_HOST:/tmp
16 done
17 fi
18
19 if true; then
20 for script in TOMCAT1_install.sh TOMCAT1_rubbos_install.sh \
21               TOMCAT1_configure.sh TOMCAT1_rubbosSL_configure.sh \
22               TOMCAT1_ignition.sh TOMCAT1_stop.sh \
23               TOMCAT1_rubbos_uninstall.sh TOMCAT1_uninstall.sh
24 do
25     scp $scp_options $script $TOMCAT1_HOST:/tmp
26 done
27 fi
28
29 if true; then
30 for script in MYSQL1_install.sh MYSQL1_rubbos_install.sh \
31               MYSQL1_configure.sh MYSQL1_reset.sh \
32               MYSQL1_ignition.sh MYSQL1_stop.sh \
33               MYSQL1_rubbos_uninstall.sh \
34               MYSQL1_uninstall.sh
35 do
36     scp $scp_options $script $MYSQL1_HOST:/tmp
37 done
38
39 # Prepare software packages
40 echo "*** prepare software packages ***"
41 ./MYSQL1_pkg_prepare.sh
42 ./TOMCAT1_pkg_prepare.sh
43 ./HTTPD_pkg_prepare.sh
44
45
46 # Install and Configure and run Apache, Tomcat, CJDBC, and MySQL
47 echo "*** install scripts & configure & execute ***********************"
48
49 ssh root@$MYSQL1_HOST chmod 770 /tmp/MYSQL1_install.sh
50 ssh $MYSQL1_HOST /tmp/MYSQL1_install.sh
51
52 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_install.sh
53 ssh $TOMCAT1_HOST /tmp/TOMCAT1_install.sh
54
55 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_install.sh
56 ssh $HTTPD_HOST /tmp/HTTPD_install.sh
57
58 ssh root@$MYSQL1_HOST chmod 770 /tmp/MYSQL1_rubbos_install.sh
59 ssh $MYSQL1_HOST /tmp/MYSQL1_rubbos_install.sh
60
61 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbos_install.sh
62 ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbos_install.sh
63
64 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_rubbos_install.sh
65 ssh $HTTPD_HOST /tmp/HTTPD_rubbos_install.sh
66
67 ssh root@$MYSQL1_HOST chmod 770 /tmp/MYSQL1_configure.sh
68 ssh $MYSQL1_HOST /tmp/MYSQL1_configure.sh
69
70 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_configure.sh
71 ssh $TOMCAT1_HOST /tmp/TOMCAT1_configure.sh
72
73 ssh root@$HTTPD_HOST chmod 770 /tmp/HTTPD_configure.sh
74 ssh $HTTPD_HOST /tmp/HTTPD_configure.sh
75
76 ssh root@$TOMCAT1_HOST chmod 770 /tmp/TOMCAT1_rubbosSL_configure.sh
77 ssh $TOMCAT1_HOST /tmp/TOMCAT1_rubbosSL_configure.sh
78