diff options
author | liyin <liyin11@huawei.com> | 2017-05-08 09:04:32 +0000 |
---|---|---|
committer | liyin <liyin11@huawei.com> | 2017-05-10 11:16:02 +0000 |
commit | 6a8257127b3dce1f18a650afe6921a34b6c6f5b8 (patch) | |
tree | bfb2d60c1ce3f6688b92e5787818f222d620f52e /testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh | |
parent | 2d9642a33a6a58f53aceba4ff3d6242f191f25f0 (diff) |
Delete testcase of rubbos and vstf.
JIRA:BOTTLENECK-167
This patch will delete vstf and rubbos testcase code.
Include some testcase config file,
if there will be someone who want to use this testcase
maybe B or C version code will contain those testcase.
if you use the D version code to run this two testcase
we will info you that:
Rubbos testsuite is not updating anymore.
This entrance for running Rubbos within Bottlenecks is no longer supported.
Change-Id: I04e4042ff3998b3696df2ed47a9ffab6f1620ec3
Signed-off-by: liyin <liyin11@huawei.com>
Diffstat (limited to 'testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh')
-rw-r--r-- | testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh b/testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh deleted file mode 100644 index 4e9258bc..00000000 --- a/testsuites/rubbos/rubbos_scripts/1-1-1/rubbos_conf/rubbos-servletsBO.sh +++ /dev/null @@ -1,77 +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 -############################################################################## - -############################################################################### -# -# This script runs first the RUBBoS browsing mix, then the read/write mix -# for each rubbos.properties_XX specified where XX is the number of emulated -# clients. Note that the rubbos.properties_XX files must be configured -# with the corresponding number of clients. -# In particular set the following variables in rubis.properties_XX: -# httpd_use_version = Servlets -# workload_number_of_clients_per_node = XX/number of client machines -# workload_transition_table = yourPath/RUBBoS/workload/transitions.txt -# -# This script should be run from the RUBBoS/bench directory on the local -# client machine. -# Results will be generated in the RUBBoS/bench directory. -# -################################################################################ - -#setenv SERVLETDIR $RUBBOS_HOME/Servlets - -set -x - -# Go back to RUBBoS root directory -cd .. - -export scp_options='-o StrictHostKeyChecking=no -o BatchMode=yes' - -# Browse only - -cp -fin ./workload/browse_only_transitions.txt ./workload/user_transitions.txt -cp -fin ./workload/browse_only_transitions.txt ./workload/author_transitions.txt - -for host in ${CLIENT1_HOST} ${CLIENT2_HOST} ${CLIENT3_HOST} ${CLIENT4_HOST} -do - scp ${scp_options} ./workload/browse_only_transitions.txt ${host}:${RUBBOS_HOME}/workload/user_transitions.txt - scp ${scp_options} ./workload/browse_only_transitions.txt ${host}:${RUBBOS_HOME}/workload/author_transitions.txt - scp ${scp_options} Client/rubbos.properties ${host}:${RUBBOS_HOME}/Client/rubbos.properties -done - -#bench/flush_cache 490000 -#ssh $HTTPD_HOST "$RUBBOS_HOME/bench/flush_cache 880000" # web server -#ssh $MYSQL1_HOST "$RUBBOS_HOME/bench/flush_cache 880000" # database server -#ssh $TOMCAT1_HOST "$RUBBOS_HOME/bench/flush_cache 780000" # servlet server -#ssh $CLIENT1_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client -#ssh $CLIENT2_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client -#ssh $CLIENT3_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client -#ssh $CLIENT4_HOST "$RUBBOS_HOME/bench/flush_cache 490000" # remote client - -RAMPUP=48000 -MI=72000 -current_seconds=`date +%s` -start_seconds=`echo \( $RAMPUP / 1000 \) + $current_seconds - 60 | bc` -SMI=`date -d "1970-01-01 $start_seconds secs UTC" +%Y%m%d%H%M%S` -end_seconds=`echo \( $RAMPUP / 1000 + $MI / 1000 + 30 \) + $current_seconds | bc` -EMI=`date -d "1970-01-01 $end_seconds secs UTC" +%Y%m%d%H%M%S` - -for host in $BENCHMARK_HOST $CLIENT1_HOST $CLIENT2_HOST $CLIENT3_HOST \ - $CLIENT4_HOST $HTTPD_HOST $TOMCAT1_HOST $MYSQL1_HOST -do - ssh $scp_options $host "sudo nice -n -1 $RUBBOS_APP/cpu_mem.sh $SMI $EMI" & -done - -echo "Rubbos emulator start $(date)" -make emulator -echo "Rubbos emulator end $(date)" - -set -x - |