1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-10-31 18:30:33 +03:00

MCOL-1823 - add distributed install default option flag to postConfigure

This commit is contained in:
David Hill
2018-10-18 14:11:57 -05:00
parent 3dedb6139a
commit a2506e08e3

View File

@@ -16,8 +16,6 @@ for arg in "$@"; do
elif [ `expr -- "$arg" : '--system-name='` -eq 14 ]; then elif [ `expr -- "$arg" : '--system-name='` -eq 14 ]; then
systemName="`echo $arg | awk -F= '{print $2}'`" systemName="`echo $arg | awk -F= '{print $2}'`"
systemName="-sn "$systemName systemName="-sn "$systemName
elif [ `expr -- "$arg" : '--dist-install'` -eq 14 ]; then
nonDistrubutedInstall=" "
elif [ `expr -- "$arg" : '--help'` -eq 6 ]; then elif [ `expr -- "$arg" : '--help'` -eq 6 ]; then
echo "Usage ./quick_installer_amazon.sh [OPTION]" echo "Usage ./quick_installer_amazon.sh [OPTION]"
echo "" echo ""
@@ -63,9 +61,9 @@ if [[ $HOME = "/root" ]]; then
echo "${bold}Run postConfigure script${normal}" echo "${bold}Run postConfigure script${normal}"
echo "" echo ""
if [[ $umCount = "" ]]; then if [[ $umCount = "" ]]; then
/usr/local/mariadb/columnstore/bin/postConfigure -qa -pm-count $pmCount $systemName /usr/local/mariadb/columnstore/bin/postConfigure -qa -pm-count $pmCount $systemName -d
else else
/usr/local/mariadb/columnstore/bin/postConfigure -qa -pm-count $pmCount -um-count $umCount $systemName /usr/local/mariadb/columnstore/bin/postConfigure -qa -pm-count $pmCount -um-count $umCount $systemName -d
fi fi
else else
echo "${bold}Run post-install script${normal}" echo "${bold}Run post-install script${normal}"
@@ -74,8 +72,8 @@ else
echo "${bold}Run postConfigure script${normal}" echo "${bold}Run postConfigure script${normal}"
echo "" echo ""
if [[ $umCount = "" ]]; then if [[ $umCount = "" ]]; then
. /etc/profile.d/columnstoreEnv.sh;$HOME/mariadb/columnstore/bin/postConfigure -i $HOME/mariadb/columnstore -qa -pm-count $pmCount $systemName . /etc/profile.d/columnstoreEnv.sh;$HOME/mariadb/columnstore/bin/postConfigure -i $HOME/mariadb/columnstore -qa -pm-count $pmCount $systemName -d
else else
. /etc/profile.d/columnstoreEnv.sh;$HOME/mariadb/columnstore/bin/postConfigure -i $HOME/mariadb/columnstore -qa -pm-count $pmCount -um-count $umCount $systemName . /etc/profile.d/columnstoreEnv.sh;$HOME/mariadb/columnstore/bin/postConfigure -i $HOME/mariadb/columnstore -qa -pm-count $pmCount -um-count $umCount $systemName -d
fi fi
fi fi