summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/scripts
diff options
context:
space:
mode:
authorrexlee8776 <limingjiang@huawei.com>2016-01-08 14:53:12 +0800
committerJun Li <matthew.lijun@huawei.com>2016-01-12 03:21:56 +0000
commit5c1eeb057a6a954556f14cb4968dfeb2e49e5b64 (patch)
tree60b9579348c4f1ee10a797653445a88cdc097baf /rubbos/rubbos_scripts/1-1-1/scripts
parentacbeb20b51c12f5ea486640e0e2a4e2cb81712c3 (diff)
Add dashboard configuration
JIRA: BOTTLENECK-30 Change-Id: Ic093abb9c8b70f5722737c0aa2066455d805e679 Signed-off-by: rexlee8776 <limingjiang@huawei.com> (cherry picked from commit f476468dc4fac62f43987edf3c2501a209b8bcda)
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/scripts')
-rwxr-xr-xrubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh b/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
index 1c785b32..d1b8c165 100755
--- a/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
+++ b/rubbos/rubbos_scripts/1-1-1/scripts/CONTROL_rubbos_exec.sh
@@ -17,8 +17,8 @@ ssh $BENCHMARK_HOST "
mkdir -p $TMP_RESULTS_DIR_BASE/$RUBBOS_RESULTS_DIR_NAME
"
-#TODO use for loop to genrate rubbos.properties file 200 ~ 1700
-for i in {2..17..5}
+# run test rubbos.properties from 200 to 3200
+for i in {2..32..5}
do
echo "Start Browsing Only with rubbos.properties_$((100*i)) $(date)"
@@ -121,6 +121,16 @@ ls $RUBBOS_RESULTS_DIR_NAME.tgz
tar zxf $RUBBOS_RESULTS_DIR_NAME.tgz
ls $RUBBOS_RESULTS_DIR_NAME
+echo "Fetch POD env parameters"
+source /tmp/vm_dev_setup/hosts.conf
+sed -i -e "s/REPLACE_POD_NAME/$POD_NAME/g" \
+ -e "s/REPLACE_INSTALLER_TYPE/$INSTALLER_TYPE/g" \
+ -e "s/REPLACE_VERSION/$BOTTLENECKS_VERSION/g" \
+ -e "s#REPLACE_BOTTLENECKS_DB_TARGET#$BOTTLENECKS_DB_TARGET#g" \
+ $BOTTLENECKS_TOP/utils/dashboard/dashboard.yaml
+
+cat $BOTTLENECKS_TOP/utils/dashboard/dashboard.yaml
+
python $BOTTLENECKS_TOP/utils/dashboard/process_data.py \
$RUBBOS_RESULTS_DIR_BASE/$RUBBOS_RESULTS_DIR_NAME \
$BOTTLENECKS_TOP/utils/dashboard/dashboard.yaml