[MCOL-1823] Amazon AMI quick installer script - add in default to do distributed install Created: 2018-10-18 Updated: 2023-10-26 Resolved: 2018-11-13 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | 1.2.0 |
| Fix Version/s: | 1.2.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Hill (Inactive) | Assignee: | David Hill (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Amazon AMI 1.2.0 |
||
| Sprint: | 2018-20 |
| Description |
|
Using the Amazon AMI Quick Install script fails in the 1.2.0-alpha version because its not passing the distributed flag as the default to postConfigure Based on the AMI design and how it creates and launches instances, the distributed option is required. |
| Comments |
| Comment by David Hill (Inactive) [ 2018-10-18 ] |
|
added command line argument -d to the postConfigure calls. |
| Comment by David Hill (Inactive) [ 2018-10-18 ] |
|
https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/598 |
| Comment by Andrew Hutchings (Inactive) [ 2018-11-09 ] |
|
Since this is merged I'm going to assume it is supposed to be in test |
| Comment by David Hill (Inactive) [ 2018-11-13 ] |
|
passed [mysql@ip-172-31-28-193 bin]$ ./quick_installer_amazon.sh --pm-count=2 --um-count=1 --system-name=1.2.1-ami NOTE: Performing a Multi-Server Seperate install with um and pm running on seperate servers Run post-install script NOTE: For non-root install, you will need to run the following commands as root user to export COLUMNSTORE_INSTALL_DIR=/home/mysql/mariadb/columnstore The next steps are: If installing on a pm1 node using non-distributed install export COLUMNSTORE_INSTALL_DIR=/home/mysql/mariadb/columnstore If installing on a pm1 node using distributed install export COLUMNSTORE_INSTALL_DIR=/home/mysql/mariadb/columnstore If installing on a non-pm1 using the non-distributed option: export COLUMNSTORE_INSTALL_DIR=/home/mysql/mariadb/columnstore Run postConfigure script This is the MariaDB ColumnStore System Configuration and Installation tool. IMPORTANT: This tool requires to run on the Performance Module #1 With the no-Prompting Option being specified, you will be required to have the following: 1. Root user ssh keys setup between all nodes in the system or ===== Quick Install Amazon Configuration ===== Amazon AMI EC2 install defaulting to using local storage ===== Setup System Module Type Configuration ===== There are 2 options when configuring the System Module Type: separate and combined 'separate' - User and Performance functionality on separate servers. 'combined' - User and Performance functionality on the same server Select the type of System Module Install [1=separate, 2=combined] (1) > Seperate Server Installation will be performed. NOTE: Local Query Feature allows the ability to query data from a single Performance Enable Local Query feature? [y,n] NOTE: The MariaDB ColumnStore Schema Sync feature will replicate all of the MariaDB ColumnStore Schema Sync feature is Enabled, do you want to leave enabled? [y,n] NOTE: Configured to have ColumnStore use the Amazon AWS CLI Tools NOTE: MariaDB ColumnStore Replication Feature is enabled Enter System Name (1.2.1-ami) > ===== Setup Storage Configuration ===== ----- Setup User Module MariaDB ColumnStore Data Storage Mount Configuration ----- There are 2 options when configuring the storage: internal and external 'internal' - This is specified when a local disk is used for the Data storage. 'external' - This is specified when the MariaDB ColumnStore Data directory is externally mounted. Select the type of Data Storage [1=internal, 2=external] (1) > ----- Setup Performance Module DBRoot Data Storage Mount Configuration ----- There are 2 options when configuring the storage: internal or external 'internal' - This is specified when a local disk is used for the DBRoot storage. 'external' - This is specified when the DBRoot directories are mounted. Select the type of Data Storage [1=internal, 2=external] (1) > ===== Setup Memory Configuration ===== NOTE: Setting 'NumBlocksPct' to 70% ===== Setup the Module Configuration ===== Amazon Install: For Module Configuration, you have the option to provide the ----- User Module Configuration ----- Enter number of User Modules [1,1024] (1) >
Launched Instance for um1: i-0fe06cd2412c98fec ----- Performance Module Configuration ----- Enter number of Performance Modules [1,1024] (2) >
EC2 Instance ID for pm1: i-03b80fd0b26abc4ad Enter the list (Nx,Ny,Nz) or range (Nx-Nz) of DBRoot IDs assigned to module 'pm1' (1) >
Launched Instance for pm2: i-0230c82248fa8a8e0 Enter the list (Nx,Ny,Nz) or range (Nx-Nz) of DBRoot IDs assigned to module 'pm2' (2) > Next step is to enter the password to access the other Servers. Enter password, hit 'enter' to default to using a ssh key, or 'exit' > ===== System Installation ===== System Configuration is complete. Performing a MariaDB ColumnStore System install using a Binary package ----- Performing Install on 'um1 / i-0fe06cd2412c98fec' ----- Install log file is located here: /home/mysql/.tmp/um1_binary_install.log ----- Performing Install on 'pm2 / i-0230c82248fa8a8e0' ----- Install log file is located here: /home/mysql/.tmp/pm2_binary_install.log MariaDB ColumnStore Package being installed, please wait ... DONE ===== Checking MariaDB ColumnStore System Logging Functionality ===== The MariaDB ColumnStore system logging is setup and working on local server ===== MariaDB ColumnStore System Startup ===== System Configuration is complete. ----- Starting MariaDB ColumnStore on local server ----- MariaDB ColumnStore successfully started MariaDB ColumnStore Database Platform Starting, please wait ............. DONE System Catalog Successfully Created Run MariaDB ColumnStore Replication Setup.. DONE MariaDB ColumnStore Install Successfully Completed, System is Active Enter the following command to define MariaDB ColumnStore Alias Commands . /home/mysql/.bash_profile Enter 'mcsmysql' to access the MariaDB ColumnStore SQL console NOTE: The MariaDB ColumnStore Alias Commands are in /etc/profile.d/columnstoreAlias.sh [mysql@ip-172-31-28-193 bin]$ |