Add license headers
[bottlenecks.git] / rubbos / rubbos_scripts / 1-1-1 / set_bottlenecks_rubbos_env.sh
index 8d093cb..0d175eb 100755 (executable)
@@ -1,17 +1,25 @@
 #!/bin/bash
+##############################################################################
+# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
 
 set -o allexport
 
 # HOSTS
-CONTROL_HOST=192.168.122.11
-BENCHMARK_HOST=192.168.122.19
-CLIENT1_HOST=192.168.122.11
-CLIENT2_HOST=192.168.122.11
-CLIENT3_HOST=192.168.122.11
-CLIENT4_HOST=192.168.122.11
-HTTPD_HOST=192.168.122.12
-TOMCAT1_HOST=192.168.122.14
-MYSQL1_HOST=192.168.122.13
+CONTROL_HOST=REPLACE_CONTROL_HOST
+HTTPD_HOST=REPLACE_HTTPD_HOST
+MYSQL1_HOST=REPLACE_MYSQL1_HOST
+TOMCAT1_HOST=REPLACE_TOMCAT1_HOST
+CLIENT1_HOST=REPLACE_CLIENT1_HOST
+CLIENT2_HOST=REPLACE_CLIENT2_HOST
+CLIENT3_HOST=REPLACE_CLIENT3_HOST
+CLIENT4_HOST=REPLACE_CLIENT4_HOST
+BENCHMARK_HOST=REPLACE_BENCHMARK_HOST
 
 # Experiment name on OPNFV
 BOTTLNECKS_NAME=bottlenecks
@@ -22,7 +30,7 @@ OUTPUT_HOME=/bottlenecks/rubbos/rubbos_scripts/1-1-1
 SOFTWARE_HOME=/bottlenecks/rubbos/app_tools
 
 # Output directory for results of RUBBoS benchmark
-RUBBOS_RESULTS_HOST=192.168.122.11
+RUBBOS_RESULTS_HOST=${CONTROL_HOST}
 RUBBOS_RESULTS_DIR_BASE=/bottlenecks/rubbos/rubbos_results
 RUBBOS_RESULTS_DIR_NAME=2015-01-20T081237-0700
 
@@ -76,8 +84,8 @@ MYSQL_PID_FILE=$MYSQL_HOME/run/mysqld.pid
 
 # for DBs & C-JDBC
 ROOT_PASSWORD=new-password
-BOTTLENECKS_USER=bottlenecks
-BOTTLENECKS_PASSWORD=bottlenecks
+BOTTLENECKS_USER=mysql
+BOTTLENECKS_PASSWORD=mysql
 
 
 CLASSPATH=$CLASSPATH:$JONAS_ROOT/bin/unix/registry:$JAVA_HOME:$JAVA_HOME/lib/tools.jar:$SERVLET_API_PATH:.