You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-10 01:22:48 +03:00
To build the software from source, consult the file INSTALL. Brief Install Instructions: 1. Install the 3 Calpont InfiniDB RPMs. 2. Install and start the software, run: /usr/local/Calpont/bin/postConfigure 3. Setup some aliases: . /usr/local/Calpont/bin/calpontAlias 4. Connect to MySQL: idbmysql 5. Try the test in step 12 below Detailed Installation Instructions: 1. Download the package calpont-2.2.0-2.x86_64.rpm.tar.gz (RHEL5 64-BIT) to the server where you are installing Calpont. 2. Obtain root user access. 3. Unpack the tarball, which will generate 4 RPMs. tar xvf calpont-2.2.0-2.x86_64.rpm.tar.gz 4. Install the 3 RPMs in this order, the Calpont InfiniDB software will be installed in /usr/local/Calpont. rpm -ivh infinidb-libs-2.2.0-2.x86_64.rpm rpm -ivh infinidb-platform-2.2.0-2.x86_64.rpm rpm -ivh infinidb-mysql-2.2.0-2.x86_64.rpm rpm -ivh infinidb-storage-engine-2.2.0-2.x86_64.rpm 5a.To configure and run on a single server system utilizing local disk storage, run install script: /usr/local/Calpont/bin/postConfigure 5b.To configure and run on a multi-server system and/or to utilize a SAN storage system, follow the instructions in the Calpont InfiniDB Installation Guide. /usr/local/Calpont/bin/postConfigure 6. Ports utilized by the Calpont InfiniDB Software The Calpont MySQL daemon utilizes port 3306. To use a different port, update the 2 locations in the following file: /usr/local/Calpont/mysql/my.cnf port = 3306 port = 3306 You must reserve the following ports to run the Calpont InfiniDB Software: 8600 - 8622, 8700, and 8800 7. Setup some aliases: . /usr/local/Calpont/bin/calpontAlias 8. To manually start and stop the Calpont InfiniDB Software as the root user run: cc startSystem To stop the Calpont Software, run: cc stopSystem 9. To start/stop the Calpont InfiniDB Software during system boot/shutdown use the chkconfig command /sbin/chkconfig --add infinidb /sbin/chkconfig infinidb on 10. After the Calpont InfiniDB Software has been started, use the following command to connect to the Calpont OAM Console and watch for the System to go to the ACTIVE status. The follow will repeatedly run the OAM command getsysteminfo every 5 seconds. calpontOAMconsole getsysteminfo -r Here is an example display from a Single Server Install: System and Module statuses Component Status Last Status Change ------------ ---------------------- ------------------------ System ACTIVE Mon Apr 6 18:07:14 2009 Module dm1 ACTIVE Mon Apr 6 18:07:12 2009 Calpont Process statuses Process Module Status Last Status Change Process ID ------------------ ------ ------------ ------------------------ ---------- ProcessMonitor dm1 ACTIVE Mon Apr 6 18:06:41 2009 12753 ProcessManager dm1 ACTIVE Mon Apr 6 18:06:46 2009 12954 SNMPTrapDaemon dm1 ACTIVE Mon Apr 6 18:06:41 2009 12963 SNMPAgent dm1 ACTIVE Mon Apr 6 18:06:50 2009 13565 ServerMonitor dm1 ACTIVE Mon Apr 6 18:06:55 2009 13635 DBRMWorkerNode dm1 ACTIVE Mon Apr 6 18:06:51 2009 13640 DBRMControllerNode dm1 ACTIVE Mon Apr 6 18:06:52 2009 13645 ExeMgr dm1 ACTIVE Mon Apr 6 18:07:05 2009 14578 PrimProc dm1 ACTIVE Mon Apr 6 18:07:03 2009 13842 DDLProc dm1 ACTIVE Mon Apr 6 18:07:10 2009 14936 DMLProc dm1 ACTIVE Mon Apr 6 18:07:13 2009 15114 Active Alarm Counts: Critical = 0, Major = 0, Minor = 0, Warning = 0, Info = 0 Once the System status is ACTIVE, enter the following to exit back to the UNIX prompt: CNTR<C> Or to get back Calpont OAM Console Prompt,enter the following: CNTR<D> 11. Use the following command to access the Calpont InfiniDB MySQL console: idbmysql Example output: Welcome to the Mysql monitor. Commands end with ; or \g. Your Mysql connection id is 1 Server version: 5.1.26-Calpont-log Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> 12. Run the following upgrade script to create calponsys schema and upgrade the syscolumn table: /usr/local/Calpont/bin/upgrade-infinidb.sh 13. As an example to get you started, try this: create database calpont; use calpont; create table caltest (col1 int, col2 int) engine=infinidb; show create table caltest; insert into caltest values (1, 2); insert into caltest values (3, 4); commit; select * from caltest; 14. Consult the Admin Guide and Syntax Guide for additional information on how to get started.