InfiniDB at this moment does not support "share nothing" configuration, so multiple-node InfiniDB configuration actually assumes the underlying storage is on a SAN.
foobar ALL = NOPASSWD: ALL
export INFINIDB_INSTALL_DIR=/opt/Calpont export LD_LIBRARY_PATH=$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql:$LD_LIBRARY_PATH source /opt/Calpont/bin/calpontAlias
To check, execute ldd /opt/Calpont/bin/PrimProc
Set up socket file location, port number, datadir, max_allowed_packet, etc.
The InfiniDB Enterprise version supports data compression. Add the following line to /opt/Calpont/mysql/my.cnf (it should be there by default):
[mysqld] infinidb_compression_type=2
export INFINIDB_INSTALL_DIR=/opt/Calpont export LD_LIBRARY_PATH=$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql:$LD_LIBRARY_PATH
/opt/Calpont/mysql/bin/mysql --defaults-file=/opt/Calpont/mysql/my.cnf -u root -p
(by default root's password is empty)
/opt/Calpont/bin/calpontConsole
/var/log/Calpont/err.log
/var/log/Calpont/debug.log
/var/log/Calpont/info.log
/var/lock/subsys/infinidb (If one gets Calpont InfiniDB Database Platform already running error, delete this above file)
/bin/bash /opt/Calpont/bin/run.sh /opt/Calpont/bin/ProcMon \_ /opt/Calpont/bin/ProcMon \_ [ProcMgr] \_ /opt/Calpont/bin/controllernode fg \_ /opt/Calpont/bin/ServerMonitor \_ /opt/Calpont/bin/workernode DBRM_Worker1 fg \_ [PrimProc] \_ [ExeMgr] \_ [WriteEngineServ] \_ [DMLProc] \_ [DDLProc] /bin/sh /opt/Calpont/mysql//bin/mysqld_safe --defaults-file=/opt/Calpont/mysql/my.cnf --datadir=.... \_ /opt/Calpont/mysql/libexec/mysqld --defaults-file=/opt/Calpont/mysql//my.cnf --basedir=/opt/Calpont ...
mysql> USE mydb; mysql> SELECT * FROM t1 INTO OUTFILE '/tmp/t1.tbl' FIELDS TERMINATED BY '|';
mysql> SHOW CREATE TABLE t1;Note that InfiniDB does not have indices, so remove all KEY clauses in the table scheme. Also, switch the ENGINE to InfiniDB.
InfiniDB does not recognize things like COLLATE='utf8_general_ci' (in a table column) when creating a table. Use DEFAULT CHARSET=utf8 instead.
$ /opt/Calpont/bin/cpimport mydb t1 /tmp/t1.tbl
$ sudo chmod 444 /etc/init.d/infinidb /etc/init.d/mysql-Calpontand then reboot.
System Server install: Single
System Name: calpont-1
Data Storage: internal
List (Nx,Ny,Nz) or range (Nx-Nz) of dbroot IDs assigned to module 'pm1': 1
SNMP-Trap process enabled: n