1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-08 03:42:19 +03:00
Files
mariadb-columnstore-engine/utils/scenarios/perf/source/pf/common/step1.sh
2016-01-06 14:08:59 -06:00

28 lines
879 B
Bash
Executable File

#! /bin/sh
#
#/*******************************************************************************
#* Script Name: setTestEnv.sh
#* Date Created: 2008.11.12
#* Author: Daniel Lee
#* Purpose: Set test environment by setting stack configurations and dbroots.
#* The stack will be started.
#*
#* Parameter: numUMs - number of UMs to be enabled
#* numPMs - number of PMs to be enabled
#* setNum - 1 or 2, dbroot set number
#*
#******************************************************************************/
#
# Get number of UMs, PMs, and dbroot set number from user input (command line parameters)
#
numUMs=$1
numPMs=$2
setNum=$3
#
/home/pf/auto/common/setStackConfig.sh $numUMs $numPMs
/home/pf/auto/common/setDBRoots.sh $setNum
/usr/local/Calpont/bin/calpontConsole startsystem
sleep 90
#
# End of script