blob: 0b93f757eeb2d7b15a02a8f2912778757611c184 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
#!/bin/bash
cd /bottlenecks/rubbos/rubbos_scripts/1-1-1
source set_bottlenecks_rubbos_env.sh
echo "Uninstalling ...."
ssh $BENCHMARK_HOST /tmp/BENCHMARK_uninstall.sh
ssh $CLIENT1_HOST /tmp/CLIENT1_uninstall.sh
ssh $CLIENT2_HOST /tmp/CLIENT2_uninstall.sh
ssh $CLIENT3_HOST /tmp/CLIENT3_uninstall.sh
ssh $CLIENT4_HOST /tmp/CLIENT4_uninstall.sh
ssh $HTTPD_HOST /tmp/HTTPD_uninstall.sh
ssh $TOMCAT1_HOST /tmp/TOMCAT1_uninstall.sh
ssh $MYSQL1_HOST /tmp/MYSQL1_uninstall.sh
echo "Cleaning up ...."
for i in "$BENCHMARK_HOST" "$CLIENT1_HOST" "$CLIENT2_HOST" "$CLIENT3_HOST" "$CLIENT4_HOST" "$HTTPD_HOST" "$TOMCAT1_HOST" "$MYSQL1_HOST"
do
ssh $i "
sudo \rm -r $RUBBOS_TOP
"
done
ssh $CONTROL_HOST rm -f /tmp/CONTROL_checkScp_exec.sh
ssh $CONTROL_HOST rm -f /tmp/CONTROL_emulabConf_exec.sh
ssh $CONTROL_HOST rm -f /tmp/CONTROL_rubbos_exec.sh
ssh $BENCHMARK_HOST rm -f /tmp/BENCHMARK_rubbos_install.sh
ssh $BENCHMARK_HOST rm -f /tmp/BENCHMARK_install.sh
ssh $BENCHMARK_HOST rm -f /tmp/BENCHMARK_configure.sh
ssh $BENCHMARK_HOST rm -f /tmp/BENCHMARK_uninstall.sh
ssh $BENCHMARK_HOST rm -f /tmp/BENCHMARK_rubbos_uninstall.sh
ssh $CLIENT1_HOST rm -f /tmp/CLIENT1_rubbos_install.sh
ssh $CLIENT1_HOST rm -f /tmp/CLIENT1_install.sh
ssh $CLIENT1_HOST rm -f /tmp/CLIENT1_configure.sh
ssh $CLIENT1_HOST rm -f /tmp/CLIENT1_uninstall.sh
ssh $CLIENT1_HOST rm -f /tmp/CLIENT1_rubbos_uninstall.sh
ssh $CLIENT2_HOST rm -f /tmp/CLIENT2_rubbos_install.sh
ssh $CLIENT2_HOST rm -f /tmp/CLIENT2_install.sh
ssh $CLIENT2_HOST rm -f /tmp/CLIENT2_configure.sh
ssh $CLIENT2_HOST rm -f /tmp/CLIENT2_uninstall.sh
ssh $CLIENT2_HOST rm -f /tmp/CLIENT2_rubbos_uninstall.sh
ssh $CLIENT3_HOST rm -f /tmp/CLIENT3_rubbos_install.sh
ssh $CLIENT3_HOST rm -f /tmp/CLIENT3_install.sh
ssh $CLIENT3_HOST rm -f /tmp/CLIENT3_configure.sh
ssh $CLIENT3_HOST rm -f /tmp/CLIENT3_uninstall.sh
ssh $CLIENT3_HOST rm -f /tmp/CLIENT3_rubbos_uninstall.sh
ssh $CLIENT4_HOST rm -f /tmp/CLIENT4_rubbos_install.sh
ssh $CLIENT4_HOST rm -f /tmp/CLIENT4_install.sh
ssh $CLIENT4_HOST rm -f /tmp/CLIENT4_configure.sh
ssh $CLIENT4_HOST rm -f /tmp/CLIENT4_uninstall.sh
ssh $CLIENT4_HOST rm -f /tmp/CLIENT4_rubbos_uninstall.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_install.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_rubbos_install.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_configure.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_ignition.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_stop.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_rubbos_uninstall.sh
ssh $HTTPD_HOST rm -f /tmp/HTTPD_uninstall.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_install.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_rubbos_install.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_configure.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_rubbosSL_configure.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_ignition.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_stop.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_rubbos_uninstall.sh
ssh $TOMCAT1_HOST rm -f /tmp/TOMCAT1_uninstall.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_install.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_rubbos_install.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_configure.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_reset.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_ignition.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_stop.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_rubbos_uninstall.sh
ssh $MYSQL1_HOST rm -f /tmp/MYSQL1_uninstall.sh
|