diff options
author | MatthewLi <matthew.lijun@huawei.com> | 2016-03-25 03:55:53 -0400 |
---|---|---|
committer | MatthewLi <matthew.lijun@huawei.com> | 2016-03-25 03:55:53 -0400 |
commit | f84c8dcc22f1499128893e62b0e15b4b592c47ba (patch) | |
tree | ee14029aa59c076fdfde1c504a385f3389477a6a /rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh | |
parent | 7ba76747d55669e2bbaf70a3061e1c0b5dea912e (diff) |
adjust project directories
JIRA: BOTTLENECK-56
Change-Id: Ic9acad5eaa4917093bdb85a80960f796f5b4ba7f
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh')
-rwxr-xr-x | rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh b/rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh deleted file mode 100755 index 0d175eba..00000000 --- a/rubbos/rubbos_scripts/1-1-1/set_bottlenecks_rubbos_env.sh +++ /dev/null @@ -1,95 +0,0 @@ -#!/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=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 - -# Directories from which files are copied -WORK_HOME=/bottlenecks/rubbos/rubbos_scripts/rubbosMulini6 -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=${CONTROL_HOST} -RUBBOS_RESULTS_DIR_BASE=/bottlenecks/rubbos/rubbos_results -RUBBOS_RESULTS_DIR_NAME=2015-01-20T081237-0700 - -# Target directories -BOTTLENECKS_TOP=/bottlenecks -RUBBOS_TOP=$BOTTLENECKS_TOP/rubbos -RUBBOS_APP=$RUBBOS_TOP/app -TMP_RESULTS_DIR_BASE=$RUBBOS_TOP/tmp_results -RUBBOS_HOME=$RUBBOS_APP/RUBBoS -SYSSTAT_HOME=$RUBBOS_APP/sysstat-9.0.6 - -HTTPD_HOME=$RUBBOS_APP/apache2 -HTTPD_INSTALL_FILES=$RUBBOS_APP/httpd-2.0.64 -MOD_JK_INSTALL_FILES=$RUBBOS_APP/tomcat-connectors-1.2.32-src -MOD_JK_INSTALL_CONFIGURE=$MOD_JK_INSTALL_FILES/native -CATALINA_HOME=$RUBBOS_APP/apache-tomcat-5.5.17 -SERVLET_API_PATH=$CATALINA_HOME/common/lib/servlet-api.jar -CATALINA_BASE=$CATALINA_HOME -CJDBC_HOME= - -MYSQL_HOME=$RUBBOS_APP/mysql-5.5.46-linux2.6-x86_64 - -# Java & Ant -JAVA_HOME=$RUBBOS_APP/jdk1.6.0_27 -JAVA_OPTS="-Xmx1300m" -J2EE_HOME=$RUBBOS_APP/j2sdkee1.3.1 -ANT_HOME=$RUBBOS_APP/apache-ant-1.6.5 - -# Tarballs -JAVA_TARBALL=jdk1.6.0_27.tar.gz -J2EE_TARBALL=j2sdkee1.3.1.jar.gz -ANT_TARBALL=apache-ant-1.6.5.tar.gz -SYSSTAT_TARBALL=sysstat-9.0.6.tar.gz -HTTPD_TARBALL=httpd-2.0.64.tar.gz -MOD_JK_TARBALL=tomcat-connectors-1.2.32-src.tar.gz -TOMCAT_TARBALL=apache-tomcat-5.5.17.tar.gz -CJDBC_TARBALL= -MYSQL_TARBALL=mysql-5.5.46-linux2.6-x86_64.tar.gz -RUBBOS_TARBALL=RUBBoS-servlets.tar.gz -RUBBOS_DATA_TARBALL=rubbos_data.sql.tar.gz -RUBBOS_DATA_SQL=rubbos_data.sql -RUBBOS_DATA_TEXTFILES_TARBALL=smallDB-rubbos-modified.tgz - -# for MySQL -MYSQL_CONNECTOR=mysql-connector-java-5.1.7-bin.jar -MYSQL_PORT=3313 -MYSQL_SOCKET=$MYSQL_HOME/mysql.sock -MYSQL_DATA_DIR=$MYSQL_HOME/data -MYSQL_ERR_LOG=$MYSQL_HOME/data/mysql.log -MYSQL_PID_FILE=$MYSQL_HOME/run/mysqld.pid - -# for DBs & C-JDBC -ROOT_PASSWORD=new-password -BOTTLENECKS_USER=mysql -BOTTLENECKS_PASSWORD=mysql - - -CLASSPATH=$CLASSPATH:$JONAS_ROOT/bin/unix/registry:$JAVA_HOME:$JAVA_HOME/lib/tools.jar:$SERVLET_API_PATH:. - -PATH=$JAVA_HOME/bin:$JONAS_ROOT/bin/unix:$ANT_HOME/bin:$CATALINA_HOME/bin:$PATH -set +o allexport - |