You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-05 16:15:50 +03:00
Merge branch 'columnstore2' of https://github.com/davidhilldallas/InfiniDB_MariaDB into columnstore2
This commit is contained in:
@@ -298,7 +298,7 @@ Bug # Short Description
|
|||||||
5752 ERROR 138 (HY000) at line 2: Sub-query failed: error code 2003 error for query that exceeded TotalUmMemory
|
5752 ERROR 138 (HY000) at line 2: Sub-query failed: error code 2003 error for query that exceeded TotalUmMemory
|
||||||
5753 When PrimProc restarts, DML statement didn't reset the connections to PrimProc in connector
|
5753 When PrimProc restarts, DML statement didn't reset the connections to PrimProc in connector
|
||||||
5757 addModule for UM failed on Amazon system - remote_command error
|
5757 addModule for UM failed on Amazon system - remote_command error
|
||||||
5759 Must use -p option for hadoop fs -mkdir when creating /usr/local/Calpont
|
5759 Must use -p option for hadoop fs -mkdir when creating /usr/local/MariaDB/Columnstore
|
||||||
5764 select count(*) from a complex view is returning an incorrect answer.
|
5764 select count(*) from a complex view is returning an incorrect answer.
|
||||||
5765 truncate statement does not show schema in the debug.log
|
5765 truncate statement does not show schema in the debug.log
|
||||||
5767 'create table' creates table in front end when spaces are in the table name.
|
5767 'create table' creates table in front end when spaces are in the table name.
|
||||||
|
445
ChangeLog~
Normal file
445
ChangeLog~
Normal file
@@ -0,0 +1,445 @@
|
|||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 InfiniDB Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
July 7, 2014
|
||||||
|
Version 4.6
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
1505 Implement temp file based LargeHashJoin for tuple joins
|
||||||
|
3683 Allow function(column) = function(column) join
|
||||||
|
5308 Improve performance of load data infile and insert into select from
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Short Description
|
||||||
|
|
||||||
|
3858 While "load data infile" is in progress, PrimProc fails to read compressed chunk and retries for more than a minute
|
||||||
|
4295 CPimport Mode 2: Should check for input files on all PMs before starting loading
|
||||||
|
4737 Distributed cpimport does not support a list of import files to a single table
|
||||||
|
4789 InfiniDB came up normally after encountering an critical sessionManager::rollback() error
|
||||||
|
5134 Source package: After compilation and installation, InfiniDB reported lib not found error during startup
|
||||||
|
5140 second and subsequent load data infiles have 30 second delay with auto increment
|
||||||
|
5523 Mysql is resetting when running a query on a information_schema.table and an InfiniDB table.
|
||||||
|
5727 Improve logging around controllernode start up
|
||||||
|
5756 After a failed addModule command movePmDbrootConfig did not fail
|
||||||
|
5758 when amazon UM modules are removed, their associated EBS storages are not removed
|
||||||
|
5761 Support additional versions of Java for Hadoop installations
|
||||||
|
5762 Need a method to handle MySQL port conflict on a multi-server install
|
||||||
|
5773 Startsystem is failing when shutdown has not completed.
|
||||||
|
5847 IDB-2021 on query using multiple pseudo column functions against same column and aggregation
|
||||||
|
5848 No CP elimination from idbPartition(col) in the where clause
|
||||||
|
5865 ERROR 138 (HY000): IDB-1000: 'orders' and 'sub-query' are not joined on a query with an or condition and not in condition
|
||||||
|
5891 getsystemdisk reporting minus value
|
||||||
|
5894 Performance issue when inserting a value in an autoincrement column
|
||||||
|
5930 Not in group by error on query grouping by idbPm and idbDbRoot functions
|
||||||
|
5931 current builds do not support a non-root / hdfs install
|
||||||
|
5946 load data infile error: ERROR 122 (HY000): CAL0006: Error verifying compression headers
|
||||||
|
5947 calonlinealter always creates non compressed columns
|
||||||
|
5950 getModuleHostNames command on AWS returned a segmentation fault error
|
||||||
|
5954 calpontSupport for Windows does not recognize options
|
||||||
|
5958 Query with a subselect is getting an assertion error
|
||||||
|
5963 configxml.sh fails to set CrossEngineSupport Password from the default setting
|
||||||
|
5978 crash with prepared statements
|
||||||
|
5987 hadoop test failed on install, hadoop not install where setenv was looking and not a parcel
|
||||||
|
5992 Bulk load fails on long schema name, long table name, and long column name combination.
|
||||||
|
5993 IDB-2016: Non supported item 'c2' on the GROUP BY list.
|
||||||
|
5996 Table reporting errors after a LDI
|
||||||
|
5997 standard mysql and infinidb mysql incorrectly starting/stopping each other
|
||||||
|
6000 New MySQL port test is insufficient
|
||||||
|
6001 cpimport performance improvement for tables with many dictionary columns
|
||||||
|
6005 addModule command failed to add an UM
|
||||||
|
6010 InfiniDB mysql replication doesn't work when UM mysql Port address is not 3306
|
||||||
|
6013 HW 2.1 testing with 4.5.1-2 - different JAVA_HOME's are setup
|
||||||
|
6017 Queries with "where date(col) in (select dtCol)" not finding rows
|
||||||
|
6026 Prevent potential infinite loops reading input in postConfigure
|
||||||
|
6027 post-install message for a non-root hadoop install is incorrect..
|
||||||
|
6029 when autocommit off, batchinsert set hwm of dictionary store file to 0
|
||||||
|
6041 When loading 4160825419 rows cpimport reported as -134141877 rows
|
||||||
|
6044 'union all' query generates tupleconstantstep.cpp@731: assertion 'fRowConst.getSize() == fRowOut.getSize()' failed
|
||||||
|
6061 window function returned incorrect results
|
||||||
|
6066 query with alias is returning IDB-3009: Unknown column error.
|
||||||
|
6073 setenv scripts issues on Ubuntu
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 InfiniDB Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
June 23, 2014
|
||||||
|
Version 4.5.1
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Short Description
|
||||||
|
|
||||||
|
4438 Implement -j option with simple usage to create a specific job log file
|
||||||
|
4638 Update from 2.2.x to 3.0 is not supported with multiple dbroots
|
||||||
|
5501 update with subquery using a view with an order by receives an error when using infinidb tables
|
||||||
|
5523 Mysql is resetting when running a query on a information_schema.table and an InfiniDB table.
|
||||||
|
5739 install-infinidb.sh script should be removed
|
||||||
|
5756 After a failed addModule command movePmDbrootConfig did not fail
|
||||||
|
5758 when amazon UM modules are removed, their associated EBS storages aren't
|
||||||
|
5761 Add support for additional Java versions with installation on HDFS
|
||||||
|
5762 Need a method to handle MySQL port conflict on a multi-server install
|
||||||
|
5785 While running a complex query a Control C aborts the query but may not clear ExeMgr memory
|
||||||
|
5804 mysql reset occurring following an install when /dev/shm permissions were not set correctly
|
||||||
|
5838 no prompt postConfigure does not work when mysql password is required.
|
||||||
|
5873 install failure - No Calpont.xml: failed to be written in config api
|
||||||
|
5881 with replication, delete with idbpm(colname) in where clause failed with an error.
|
||||||
|
5884 query returns incorrect results when using an on clause filter involving a table not directly involved in the outer join
|
||||||
|
5887 " Incorrect results of Is Null "
|
||||||
|
5891 getsystemdisk returns minus value
|
||||||
|
5893 Pseudo column functions return an "BPS not created 1" error when used as the 2nd expression in a where clause
|
||||||
|
5896 getConfig has no linefeed after returning value
|
||||||
|
5900 PrimProc crashes if NumBlocksPct has '%' in value
|
||||||
|
5903 startsystem reported successful system start when mysqld aborted
|
||||||
|
5904 Changing dbroot-to-pm assignment during postConfigure causes double-mounted storage devices
|
||||||
|
5906 Diagnostic messages logged in the err.log file during new installation
|
||||||
|
5907 After installation, a rsync error was report in UM1 but the stack seems to be in working state
|
||||||
|
5908 4.5 non-root install problems
|
||||||
|
5909 On a stack with replication and local query enabled, rerunning postConfigure caused the two features to become disabled
|
||||||
|
5910 Object names > 64 cause replication errors
|
||||||
|
5913 Renaming an autoincrement column is resetting the next value
|
||||||
|
5915 On hadoop system, SYSTABLE's update was not flushed to disk when implementing split dbroots for systables
|
||||||
|
5916 query using a view on a view causes ERROR 2013 (HY000): Lost connection to MySQL server during query
|
||||||
|
5917 non-root gluster / hadoop installs fail - storage types not being offered in postConfigure
|
||||||
|
5919 Warning of future deprecated "default-character-set" setting on Windows install
|
||||||
|
5923 ERROR 122 (HY000): Lost connection to DDLProc
|
||||||
|
5925 Add the two new options to postConfigure -h
|
||||||
|
5932 Queries with limits sometimes set the extent map min / max incorrectly
|
||||||
|
5943 mysql daemon fails to start on pm2 of a non-root install local-query configured system
|
||||||
|
5944 Incorrect schema name in error message
|
||||||
|
5946 load data infile error: ERROR 122 (HY000): CAL0006: Error verifying compression headers
|
||||||
|
5947 calonlinealter always creates non compressed columns
|
||||||
|
5956 Error Code: 138 IDB-2015: Sorting length exceeded when using a view
|
||||||
|
5958 Query with a subselect is getting an assertion error
|
||||||
|
5973 large system (1um-30pm) failing to start, ProcMgr incorrect stopping with ProcMons not active
|
||||||
|
5981 postconfigure upgrade when enabling local-query fails
|
||||||
|
5983 all the hdfs settings are not in the .bashrc file after install
|
||||||
|
5993 IDB-2016: Non supported item 'c2' on the GROUP BY list.
|
||||||
|
5996 Table reporting errors after a LDI
|
||||||
|
6001 cpimport performance improvement for tables with many dictionary columns
|
||||||
|
6029 with autocommit off, batchinsert set hwm of dictionary store file to 0
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 InfiniDB Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
March 31, 2014
|
||||||
|
Version 4.5
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
|
||||||
|
4021 Selectable pseudo columns for row/PM identification
|
||||||
|
4578 Upgrade to latest MySQL 5.1.73
|
||||||
|
5572 Optimizations to cpimport with Hadoop
|
||||||
|
5634 Optimization: Project only the necessary columns from views with union all or union
|
||||||
|
5635 Optimization: Use partition elimination for from clause sub queries and views with union / union all
|
||||||
|
5657 Local PM query interface
|
||||||
|
5660 Local PM Sqoop Import
|
||||||
|
5740 Enable use of MySQL Replication on UMs with InfiniDB
|
||||||
|
5799 Enhancement request to not provide information when performing a non-hadoop install on a system with hadoop
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Short Description
|
||||||
|
|
||||||
|
5443 An error is not issued when changing a column's datatype
|
||||||
|
5444 alter table will not allow an autoincrement column to be renamed.
|
||||||
|
5611 Windows MySQL doesn't build out of github
|
||||||
|
5640 Hadoop: dumpcol and eval returned a java error with stack trace when non-existing file is supplied
|
||||||
|
5647 cpimport -i option doesn't work with modes 1 and 2
|
||||||
|
5745 hadoop: unknown bulk rollback error on 4PM stack
|
||||||
|
5748 startsystem failure when user-module is disabled
|
||||||
|
5805 Query with avg windowing function returning the average at the wrong decimal scale
|
||||||
|
5806 cpimport loads data incorrectly on a multi-server stack when the table has a mix of compressed and non-compressed columns
|
||||||
|
5807 concat producing an incorrect count when using a view
|
||||||
|
5808 colxml error reported on Windows system.
|
||||||
|
5811 selecting from a view which has a cross engine join produces an ERROR 122 (HY000): fatal error executing query in crossengine client lib(17)(17)
|
||||||
|
5817 addModule / altersystem-enablemodule fails on amazon with InfiniDB 4.x
|
||||||
|
5819 Calpont.xml and Calpont.xml.singleserver do not have the same parameters.
|
||||||
|
5820 Inconsistent rounding on percentile_cont windowing function
|
||||||
|
5861 post-install reported to have run the setenv-hdfs-12 script on a CDH 4 install
|
||||||
|
5864 Include calpontSupport in the standard edition
|
||||||
|
5874 Reset of ProcessMonitor on PM2 on a combo system left mysqld as man_offline
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2014 InfiniDB Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
April 14, 2014
|
||||||
|
Version 4.0.3
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Short Description
|
||||||
|
|
||||||
|
4638 Update from 2.2.x to 3.0 is not supported with multiple dbroots
|
||||||
|
5610 The MySQL front end no longer outputs a descriptive messages when version buffer is full
|
||||||
|
5748 startsystem failure when user-module is disabled
|
||||||
|
5778 Distributed import error message for auto increment overflow is not friendly
|
||||||
|
5793 Remove O/S version checking in glusterconf
|
||||||
|
5801 Queries with string comparison in where clause occasionally causes a PM to hang
|
||||||
|
5805 Query with avg windowing function returning the average at the wrong decimal scale
|
||||||
|
5806 cpimport loads data incorrectly on a multi-server stack when the table has a mix of compressed and non-compressed columns
|
||||||
|
5807 concat producing an incorrect count when using a view
|
||||||
|
5808 colxml error reported on Windows system.
|
||||||
|
5810 update doesn't flush string file with table oid 3000
|
||||||
|
5811 selecting from a view which has a cross engine join produces an ERROR 122 (HY000): fatal error executing query in crossengine client lib(17)(17)
|
||||||
|
5817 addModule / altersystem-enablemodule fails on amazon 4.x
|
||||||
|
5820 Inconsistent rounding on percentile_cont windowing function
|
||||||
|
5821 PM join with F & E in-join filter + a UM join will crash ExeMgr
|
||||||
|
5823 System hung when running concurrent queries with autocommit off
|
||||||
|
5838 no prompt postConfigure does not work when mysql password is required.
|
||||||
|
5874 Reset of ProcessMonitor on PM2 on a combo system left mysqld as man_offline
|
||||||
|
5877 After loading 1 extent worth of data into a table, select count(*) failed.
|
||||||
|
5882 cleartablelock fails on a multi server system.
|
||||||
|
5884 query returns incorrect results when using an on clause filter involving a table not directly involved in the outer join
|
||||||
|
5887 " Incorrect results of Is Null "
|
||||||
|
5870 select following delete statement is encountering a rid error.
|
||||||
|
5896 getConfig has no linefeed after returning value
|
||||||
|
5900 PrimProc crashes if NumBlocksPct has '%' in value
|
||||||
|
5904 Changing dbroot-to-pm assignment during postConfigure causes double-mounted storage devices
|
||||||
|
5915 On hadoop system, SYSTABLE's update was not flushed to disk when implementing split dbroots for systables
|
||||||
|
5916 query using a view on a view causes ERROR 2013 (HY000): Lost connection to MySQL server during query
|
||||||
|
5917 non-root gluster / hadoop installs fail - storage types not being offered in postConfigure
|
||||||
|
5932 Queries with limits sometimes set the extent map min / max incorrectly
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Calpont Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
February 10, 2014
|
||||||
|
Version 4.0.2
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
|
||||||
|
5760 Hadoop with Cloudera parcel-based install
|
||||||
|
5769 Optimization to not preallocate database column files in HDFS
|
||||||
|
5732 Add ability to report compressed bytes used rather than file size on disk
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Short Description
|
||||||
|
|
||||||
|
2437 When expression results in data overflow, no error or warning was returned
|
||||||
|
4930 no prompt install on AWS had an error when it did not use the volume information.
|
||||||
|
5363 HAVING statement regression on 4.0 with COUNT DISTINCT
|
||||||
|
5383 NOT NULL constraint cpimport issues
|
||||||
|
5604 cpimport jobs hanging on HDFS installs
|
||||||
|
5617 Invalid Package error reported during the running of calpontSupport - incorrect error message
|
||||||
|
5636 query gives ERROR 1054 (42S22): Unknown column
|
||||||
|
5678 ERROR 138 (HY000): 'date_last_update_tk' isn't in tuple.
|
||||||
|
5682 HDFS updating a row that was inserted sometimes does not update the row
|
||||||
|
5687 TIMESTAMPADD(SECOND,2147483647, returns incorrect information.
|
||||||
|
5696 insert statement not providing a warning for truncated data
|
||||||
|
5697 IDB produces different results for equivalent calculations
|
||||||
|
5705 hadoop: HdfsFileSystem::listDirectory() not returning all files in directory; bulk rollback not deleting db files
|
||||||
|
5712 left('unsigned int',6) provides incorrect result
|
||||||
|
5715 incorrect calculation provided in result set
|
||||||
|
5716 union sql statement not displaying correct result
|
||||||
|
5717 create table with invalid Infinidb option does not provide an error or warning
|
||||||
|
5718 cross engine join results in ERROR 122 (HY000): InetStreamSocket::readToMagic: Remote is closed
|
||||||
|
5721 amazon upgrade 4.0.0 to 4.0.1 issues
|
||||||
|
5722 cpimport failing on table to PM17; not handling a boundary case where 2 DBRoots have partial HWM extents
|
||||||
|
5726 amazon 3.6.3 to 4.0.1 upgrade issue - the ebs storage data not given in postConfigure
|
||||||
|
5728 update Server cpu-info and disk scheduler in calpontSupport output
|
||||||
|
5733 databaseSizeReport doesn't report the size of dictionary string files in calpontsys tables
|
||||||
|
5735 Launching simultaneous databaseSizeReports at virtually the same time can sometimes yield incorrect results
|
||||||
|
5749 addModule for failed on Amazon system - user_installer password error
|
||||||
|
5750 dbrm halt/resumes need to be put around the load of dbrm files
|
||||||
|
5752 ERROR 138 (HY000) at line 2: Sub-query failed: error code 2003 error for query that exceeded TotalUmMemory
|
||||||
|
5753 When PrimProc restarts, DML statement didn't reset the connections to PrimProc in connector
|
||||||
|
5757 addModule for UM failed on Amazon system - remote_command error
|
||||||
|
5759 Must use -p option for hadoop fs -mkdir when creating /usr/local/Calpont
|
||||||
|
5764 select count(*) from a complex view is returning an incorrect answer.
|
||||||
|
5765 truncate statement does not show schema in the debug.log
|
||||||
|
5767 'create table' creates table in front end when spaces are in the table name.
|
||||||
|
5775 Windows does not log when PrimProc goes down or restarts
|
||||||
|
5777 LAG function returns invalid answer on a float column
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Calpont Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
December 2, 2013
|
||||||
|
Version 4.0.1
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
|
||||||
|
5619 Support VPC environment with AMI
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Short Description
|
||||||
|
|
||||||
|
4996 removeDbroot should be disabled when GlusterFS is configured
|
||||||
|
5268 Incorrect date_format answer from infindb table
|
||||||
|
5402 OAM getSystemStatus message in Windows log
|
||||||
|
5429 LDI updated casual partitioning min/max values for an extent when where is no update to the actual column value.
|
||||||
|
5454 assignDbrootPmConfig needs to error out when the system is shutdown
|
||||||
|
5463 calpontSupport is not including the -c option when -a is selected.
|
||||||
|
5499 'Memory leak of ExeMgr'
|
||||||
|
5529 _CpNoTf_ is reported in results set
|
||||||
|
5549 update on two columns with an AND causes mysql reset
|
||||||
|
5555 HDFS tools installed on non-Hadoop system
|
||||||
|
5558 Issuing Ctrl-C on a repetitive OAM command will set terminal session to echo off
|
||||||
|
5566 hdfs error message printed to screen in calpontConsole - run before hdfs is up
|
||||||
|
5573 hadoop: update a string column is very slow.
|
||||||
|
5588 Delete statement left table locked.
|
||||||
|
5596 postConfigure/glusterconf is creating gluster brick directories owned by root user
|
||||||
|
5614 "hdfsCheck failed" message logged in crit.log when the stack came up normal
|
||||||
|
5621 can't create large (20+ pm) amazon systems using 4.0 AMI
|
||||||
|
5626 PrimProc crash running on HDFS
|
||||||
|
5628 Bug joining against unsigned tinyint data type
|
||||||
|
5631 After applying the row_number() function the table content is going to be lost.
|
||||||
|
5638 issue with using a constant in group by column
|
||||||
|
5642 system hung during distributed import
|
||||||
|
5646 Left outer join on varchar column and date datetime column to date column not returning all matching rows
|
||||||
|
5651 Query wrapped in a select * () returns invalid results.
|
||||||
|
5652 alter table add dictionary column doesn’t set Number of allocated blocks correctly
|
||||||
|
5667 Gluster Install with debian - 'glusterctl status' returns with NOTINSTALLED
|
||||||
|
5669 gluster install - dbroot setup in gluster was mismatched to OAM setup per pm
|
||||||
|
5670 DecomSrv is restarting after upgrade to 4.0
|
||||||
|
5672 dbroot gets unmounted during upgrade when a softlink is used and disk type is internal
|
||||||
|
5681 cpimport sometimes fails during concurrent query / import test on HDFS
|
||||||
|
5683 HdfsRdwrMemBuffer: unable to write all bytes error in cpimport
|
||||||
|
5689 rename table leaves table inaccessible in HDFS
|
||||||
|
|
||||||
|
/***********************************************************************
|
||||||
|
*
|
||||||
|
* Copyright (C) 2013 Calpont Corp
|
||||||
|
* All Rights Reserved
|
||||||
|
*
|
||||||
|
***********************************************************************/
|
||||||
|
|
||||||
|
October 15, 2013
|
||||||
|
Version 4.0
|
||||||
|
|
||||||
|
|
||||||
|
ENHANCEMENTS INCLUDED IN THIS RELEASE
|
||||||
|
-------------------------------------
|
||||||
|
Enh # Short Description
|
||||||
|
|
||||||
|
3581 Optimize Memory Utilization for wide string columns
|
||||||
|
4531 Add support for Windowing Functions
|
||||||
|
4568 Add ability to report database, schema, and table sizes
|
||||||
|
4901 Improve performance of concat function
|
||||||
|
4902 Improve performance of insert() and replace() string functions
|
||||||
|
4919 Improve performance of makedate() and maketime() functions
|
||||||
|
4920 Improve performance of adddate(), date_add(), subdate(), date_sub() functions.
|
||||||
|
5087 Enhance InfiniDB to support over 32 PMs.
|
||||||
|
5208 Change the Status Updates messages to have state show an ASCII value
|
||||||
|
5237 Remove restriction preventing user from dropping a logical partition (segment file) in the last physical partition for a DBRoot
|
||||||
|
5243 Add setting in Calpont.xml for enable/disable corefiles
|
||||||
|
5300 calpontSupport script performance improvement and additional features
|
||||||
|
5316 Include schema name in SQL statement debug log entries
|
||||||
|
5410 Add support for InfiniDB on Apache Hadoop
|
||||||
|
5414 Add Infinidb support for Apache Sqoop
|
||||||
|
5421 Add support for running InfiniDB under a Linux Control Group
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ISSUES RESOLVED IN THIS RELEASE
|
||||||
|
-------------------------------
|
||||||
|
Bug # Launchpad Short Description
|
||||||
|
|
||||||
|
2871 Exceeding aggregation limits can block session
|
||||||
|
4208 'drop table' cannot delete files on NFS
|
||||||
|
4345 Specific SQL statements exhausts memory in seconds
|
||||||
|
4552 1025340 Load data infile and cpimport produce different results
|
||||||
|
1025247
|
||||||
|
4757 Incorrect results with correlated subquery
|
||||||
|
4774 Port Data Duplication to debian & Ubuntu
|
||||||
|
5160 Incorrect result on query with "DATE(IF(t1.`end_date` - INTERVAL 30 DAY < t1.`start_date`, t1.`start_date`, t1.`end_date` - INTERVAL 30 DAY))" expression
|
||||||
|
5222 Update errors out when dealing with out-of-range date and datetime values
|
||||||
|
5256 OAM ops returning without DDLProc fully up
|
||||||
|
5269 swap limit exceeded and not cleared by OAM restart of the system
|
||||||
|
5272 cast function returns incorrect result
|
||||||
|
5274 alter table add column returned "Constraints are currently not supported in InfiniDB" error
|
||||||
|
5287 system came up Active while a pm was disabled and dbroot was assigned to it
|
||||||
|
5299 stopsystem with Force Option is incorrectly resetting dbrm and save_brm too early
|
||||||
|
5301 startsystem command system status ended up in MAN_OFFLINE instead of ACTIVE
|
||||||
|
5304 Windows command prompt exit hangs after cpimport on upgraded database from 3.0.x and earlier
|
||||||
|
5321 Delete from table command fails when pm1 is down on a combo 2pm system
|
||||||
|
5322 query failed after disabling and enabling partitions
|
||||||
|
5323 Backup error opening column file for OID-3132 on a multi node cpimport
|
||||||
|
5331 select calshowpartitions not showing limits incorrectly for char fields in empty table
|
||||||
|
5332 shutdownSystem command incorrectly reported 'success'
|
||||||
|
5349 ERR : Backup error for column file error message occurred running cpimport
|
||||||
|
5356 Default syslog.conf to the asynchronous option
|
||||||
|
5374 Data mismatch occurred running query via view
|
||||||
|
5379 LPAD is not functioning correctly when using a Japanese character
|
||||||
|
5391 ERROR 138 (HY000): IDB-1000: 'c1, c2' and 'c3' are not joined error message on a query
|
||||||
|
5392 Reset invalid locale alarm when locale has been corrected
|
||||||
|
5426 calshowprocesslist issue hard-coded to look for host in first 13 bytes
|
||||||
|
5427 Distributed cpimport not handling connection failure with WriteEngineServer
|
||||||
|
5429 Load data infile cleared the min/max values for an extent that was not updated
|
||||||
|
5436 ERROR 122 (HY000): CAL0001: Alter table Failed: AlterTableProcessor::addColumn Failed to set offset in a compressed data file.
|
||||||
|
5438 query filters issue
|
||||||
|
5447 cpimport is reporting that -i is an invalid option
|
||||||
|
5448 Bug in date_add() with InfiniDB table
|
||||||
|
5455 PrimProc resets during a particular sql statement
|
||||||
|
5463 calpontSupport is not including the -c option when -a is selected.
|
||||||
|
5481 Maintain DBBC/NumThreads setting through upgrade
|
||||||
|
5488 PrimProc hangs when DecomSvr dies
|
||||||
|
5494 calpontSupport -a option is not capturing the logs from PM1
|
||||||
|
5495 DB occasionally hangs querying old data loaded in 3.5.0 or prior release
|
||||||
|
|
6
INSTALL
6
INSTALL
@@ -43,10 +43,10 @@ the entire Calpont directory tree there.
|
|||||||
After untaring the sofware or installing the RPM's, setup the software
|
After untaring the sofware or installing the RPM's, setup the software
|
||||||
to run (this script needs to run with root privileges). Check the Installation
|
to run (this script needs to run with root privileges). Check the Installation
|
||||||
Guide for addition details on using postConfigure:
|
Guide for addition details on using postConfigure:
|
||||||
/usr/local/Calpont/bin/postConfigure
|
/usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
|
|
||||||
Setup some aliases:
|
Setup some aliases:
|
||||||
. /usr/local/Calpont/bin/calpontAlias
|
. /usr/local/MariaDB/Columnstore/bin/calpontAlias
|
||||||
|
|
||||||
Connect to MySQL:
|
Connect to MySQL:
|
||||||
idbmysql
|
idbmysql
|
||||||
@@ -70,7 +70,7 @@ To use bulk load:
|
|||||||
200|2002|
|
200|2002|
|
||||||
2. Save/place this file in a directory.
|
2. Save/place this file in a directory.
|
||||||
3. From that same directory, import the rows:
|
3. From that same directory, import the rows:
|
||||||
/usr/local/Calpont/bin/cpimport calpont caltest caltest.tbl
|
/usr/local/MariaDB/Columnstore/bin/cpimport calpont caltest caltest.tbl
|
||||||
|
|
||||||
And check the import:
|
And check the import:
|
||||||
calpontmysql calpont
|
calpontmysql calpont
|
||||||
|
306
INSTALL~
Normal file
306
INSTALL~
Normal file
@@ -0,0 +1,306 @@
|
|||||||
|
Installation Instructions
|
||||||
|
*************************
|
||||||
|
|
||||||
|
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
|
||||||
|
Software Foundation, Inc.
|
||||||
|
|
||||||
|
Copyright (C) 2014 InfiniDB, Inc.
|
||||||
|
|
||||||
|
This file is free documentation; the Free Software Foundation gives
|
||||||
|
unlimited permission to copy, distribute and modify it.
|
||||||
|
|
||||||
|
InfiniDB, Inc. also gives unlimited permission to copy, distribute and
|
||||||
|
modify it.
|
||||||
|
|
||||||
|
Basic Installation from source
|
||||||
|
==============================
|
||||||
|
|
||||||
|
**** InfiniDB source build instructions ****
|
||||||
|
|
||||||
|
Consult the generic installation instructions
|
||||||
|
that follow for detailed information. The short version is:
|
||||||
|
|
||||||
|
cd $HOME
|
||||||
|
git clone http://github.com/infinidb/mysql
|
||||||
|
git clone http://github.com/infinidb/infinidb
|
||||||
|
-- or --
|
||||||
|
tar -zxf <srcfile>
|
||||||
|
cd mysql
|
||||||
|
./configure --prefix=$HOME
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
cd ../infinidb
|
||||||
|
./configure --prefix=$HOME
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
|
||||||
|
This will create a directory called Calpont in $HOME which conatins
|
||||||
|
all the software you need.
|
||||||
|
|
||||||
|
Install the InfiniDB software into /usr/local (for example) by copying
|
||||||
|
the entire Calpont directory tree there.
|
||||||
|
|
||||||
|
After untaring the sofware or installing the RPM's, setup the software
|
||||||
|
to run (this script needs to run with root privileges). Check the Installation
|
||||||
|
Guide for addition details on using postConfigure:
|
||||||
|
/usr/local/Calpont/bin/postConfigure
|
||||||
|
|
||||||
|
Setup some aliases:
|
||||||
|
. /usr/local/Calpont/bin/calpontAlias
|
||||||
|
|
||||||
|
Connect to MySQL:
|
||||||
|
idbmysql
|
||||||
|
|
||||||
|
A suggested test scenario:
|
||||||
|
create database calpont;
|
||||||
|
use calpont;
|
||||||
|
create table caltest (col1 int, col2 int) engine=infinidb;
|
||||||
|
show create table caltest;
|
||||||
|
set autocommit=0;
|
||||||
|
insert into caltest values (1, 2);
|
||||||
|
insert into caltest values (3, 4);
|
||||||
|
commit;
|
||||||
|
select * from caltest;
|
||||||
|
|
||||||
|
To use bulk load:
|
||||||
|
1. A delimited import file should be created to match the table that
|
||||||
|
you want to import data to similar to the following. In this
|
||||||
|
example, the file will be saved as idbtest.tbl:
|
||||||
|
100|1001|
|
||||||
|
200|2002|
|
||||||
|
2. Save/place this file in a directory.
|
||||||
|
3. From that same directory, import the rows:
|
||||||
|
/usr/local/Calpont/bin/cpimport calpont caltest caltest.tbl
|
||||||
|
|
||||||
|
And check the import:
|
||||||
|
calpontmysql calpont
|
||||||
|
select * from caltest;
|
||||||
|
|
||||||
|
|
||||||
|
That's it. Enjoy.
|
||||||
|
|
||||||
|
|
||||||
|
These are generic installation instructions.
|
||||||
|
|
||||||
|
The `configure' shell script attempts to guess correct values for
|
||||||
|
various system-dependent variables used during compilation. It uses
|
||||||
|
those values to create a `Makefile' in each directory of the package.
|
||||||
|
It may also create one or more `.h' files containing system-dependent
|
||||||
|
definitions. Finally, it creates a shell script `config.status' that
|
||||||
|
you can run in the future to recreate the current configuration, and a
|
||||||
|
file `config.log' containing compiler output (useful mainly for
|
||||||
|
debugging `configure').
|
||||||
|
|
||||||
|
It can also use an optional file (typically called `config.cache'
|
||||||
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||||
|
the results of its tests to speed up reconfiguring. (Caching is
|
||||||
|
disabled by default to prevent problems with accidental use of stale
|
||||||
|
cache files.)
|
||||||
|
|
||||||
|
If you need to do unusual things to compile the package, please try
|
||||||
|
to figure out how `configure' could check whether to do them, and mail
|
||||||
|
diffs or instructions to the address given in the `README' so they can
|
||||||
|
be considered for the next release. If you are using the cache, and at
|
||||||
|
some point `config.cache' contains results you don't want to keep, you
|
||||||
|
may remove or edit it.
|
||||||
|
|
||||||
|
The file `configure.ac' (or `configure.in') is used to create
|
||||||
|
`configure' by a program called `autoconf'. You only need
|
||||||
|
`configure.ac' if you want to change it or regenerate `configure' using
|
||||||
|
a newer version of `autoconf'.
|
||||||
|
|
||||||
|
The simplest way to compile this package is:
|
||||||
|
|
||||||
|
1. `cd' to the directory containing the package's source code and type
|
||||||
|
`./configure' to configure the package for your system. If you're
|
||||||
|
using `csh' on an old version of System V, you might need to type
|
||||||
|
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||||
|
`configure' itself.
|
||||||
|
|
||||||
|
Running `configure' takes awhile. While running, it prints some
|
||||||
|
messages telling which features it is checking for.
|
||||||
|
|
||||||
|
2. Type `make' to compile the package.
|
||||||
|
|
||||||
|
3. Optionally, type `make check' to run any self-tests that come with
|
||||||
|
the package.
|
||||||
|
|
||||||
|
4. Type `make install' to install the programs and any data files and
|
||||||
|
documentation.
|
||||||
|
|
||||||
|
5. You can remove the program binaries and object files from the
|
||||||
|
source code directory by typing `make clean'. To also remove the
|
||||||
|
files that `configure' created (so you can compile the package for
|
||||||
|
a different kind of computer), type `make distclean'. There is
|
||||||
|
also a `make maintainer-clean' target, but that is intended mainly
|
||||||
|
for the package's developers. If you use it, you may have to get
|
||||||
|
all sorts of other programs in order to regenerate files that came
|
||||||
|
with the distribution.
|
||||||
|
|
||||||
|
Compilers and Options
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Some systems require unusual options for compilation or linking that the
|
||||||
|
`configure' script does not know about. Run `./configure --help' for
|
||||||
|
details on some of the pertinent environment variables.
|
||||||
|
|
||||||
|
You can give `configure' initial values for configuration parameters
|
||||||
|
by setting variables in the command line or in the environment. Here
|
||||||
|
is an example:
|
||||||
|
|
||||||
|
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
||||||
|
|
||||||
|
*Note Defining Variables::, for more details.
|
||||||
|
|
||||||
|
Compiling For Multiple Architectures
|
||||||
|
====================================
|
||||||
|
|
||||||
|
You can compile the package for more than one kind of computer at the
|
||||||
|
same time, by placing the object files for each architecture in their
|
||||||
|
own directory. To do this, you must use a version of `make' that
|
||||||
|
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||||
|
directory where you want the object files and executables to go and run
|
||||||
|
the `configure' script. `configure' automatically checks for the
|
||||||
|
source code in the directory that `configure' is in and in `..'.
|
||||||
|
|
||||||
|
If you have to use a `make' that does not support the `VPATH'
|
||||||
|
variable, you have to compile the package for one architecture at a
|
||||||
|
time in the source code directory. After you have installed the
|
||||||
|
package for one architecture, use `make distclean' before reconfiguring
|
||||||
|
for another architecture.
|
||||||
|
|
||||||
|
Installation Names
|
||||||
|
==================
|
||||||
|
|
||||||
|
By default, `make install' installs the package's commands under
|
||||||
|
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||||
|
can specify an installation prefix other than `/usr/local' by giving
|
||||||
|
`configure' the option `--prefix=PREFIX'.
|
||||||
|
|
||||||
|
You can specify separate installation prefixes for
|
||||||
|
architecture-specific files and architecture-independent files. If you
|
||||||
|
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||||
|
PREFIX as the prefix for installing programs and libraries.
|
||||||
|
Documentation and other data files still use the regular prefix.
|
||||||
|
|
||||||
|
In addition, if you use an unusual directory layout you can give
|
||||||
|
options like `--bindir=DIR' to specify different values for particular
|
||||||
|
kinds of files. Run `configure --help' for a list of the directories
|
||||||
|
you can set and what kinds of files go in them.
|
||||||
|
|
||||||
|
If the package supports it, you can cause programs to be installed
|
||||||
|
with an extra prefix or suffix on their names by giving `configure' the
|
||||||
|
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||||
|
|
||||||
|
Optional Features
|
||||||
|
=================
|
||||||
|
|
||||||
|
Some packages pay attention to `--enable-FEATURE' options to
|
||||||
|
`configure', where FEATURE indicates an optional part of the package.
|
||||||
|
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||||
|
is something like `gnu-as' or `x' (for the X Window System). The
|
||||||
|
`README' should mention any `--enable-' and `--with-' options that the
|
||||||
|
package recognizes.
|
||||||
|
|
||||||
|
For packages that use the X Window System, `configure' can usually
|
||||||
|
find the X include and library files automatically, but if it doesn't,
|
||||||
|
you can use the `configure' options `--x-includes=DIR' and
|
||||||
|
`--x-libraries=DIR' to specify their locations.
|
||||||
|
|
||||||
|
Specifying the System Type
|
||||||
|
==========================
|
||||||
|
|
||||||
|
There may be some features `configure' cannot figure out automatically,
|
||||||
|
but needs to determine by the type of machine the package will run on.
|
||||||
|
Usually, assuming the package is built to be run on the _same_
|
||||||
|
architectures, `configure' can figure that out, but if it prints a
|
||||||
|
message saying it cannot guess the machine type, give it the
|
||||||
|
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||||
|
type, such as `sun4', or a canonical name which has the form:
|
||||||
|
|
||||||
|
CPU-COMPANY-SYSTEM
|
||||||
|
|
||||||
|
where SYSTEM can have one of these forms:
|
||||||
|
|
||||||
|
OS KERNEL-OS
|
||||||
|
|
||||||
|
See the file `config.sub' for the possible values of each field. If
|
||||||
|
`config.sub' isn't included in this package, then this package doesn't
|
||||||
|
need to know the machine type.
|
||||||
|
|
||||||
|
If you are _building_ compiler tools for cross-compiling, you should
|
||||||
|
use the option `--target=TYPE' to select the type of system they will
|
||||||
|
produce code for.
|
||||||
|
|
||||||
|
If you want to _use_ a cross compiler, that generates code for a
|
||||||
|
platform different from the build platform, you should specify the
|
||||||
|
"host" platform (i.e., that on which the generated programs will
|
||||||
|
eventually be run) with `--host=TYPE'.
|
||||||
|
|
||||||
|
Sharing Defaults
|
||||||
|
================
|
||||||
|
|
||||||
|
If you want to set default values for `configure' scripts to share, you
|
||||||
|
can create a site shell script called `config.site' that gives default
|
||||||
|
values for variables like `CC', `cache_file', and `prefix'.
|
||||||
|
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||||
|
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||||
|
`CONFIG_SITE' environment variable to the location of the site script.
|
||||||
|
A warning: not all `configure' scripts look for a site script.
|
||||||
|
|
||||||
|
Defining Variables
|
||||||
|
==================
|
||||||
|
|
||||||
|
Variables not defined in a site shell script can be set in the
|
||||||
|
environment passed to `configure'. However, some packages may run
|
||||||
|
configure again during the build, and the customized values of these
|
||||||
|
variables may be lost. In order to avoid this problem, you should set
|
||||||
|
them in the `configure' command line, using `VAR=value'. For example:
|
||||||
|
|
||||||
|
./configure CC=/usr/local2/bin/gcc
|
||||||
|
|
||||||
|
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||||
|
overridden in the site shell script). Here is a another example:
|
||||||
|
|
||||||
|
/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||||
|
|
||||||
|
Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
|
||||||
|
configuration-related scripts to be executed by `/bin/bash'.
|
||||||
|
|
||||||
|
`configure' Invocation
|
||||||
|
======================
|
||||||
|
|
||||||
|
`configure' recognizes the following options to control how it operates.
|
||||||
|
|
||||||
|
`--help'
|
||||||
|
`-h'
|
||||||
|
Print a summary of the options to `configure', and exit.
|
||||||
|
|
||||||
|
`--version'
|
||||||
|
`-V'
|
||||||
|
Print the version of Autoconf used to generate the `configure'
|
||||||
|
script, and exit.
|
||||||
|
|
||||||
|
`--cache-file=FILE'
|
||||||
|
Enable the cache: use and save the results of the tests in FILE,
|
||||||
|
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||||
|
disable caching.
|
||||||
|
|
||||||
|
`--config-cache'
|
||||||
|
`-C'
|
||||||
|
Alias for `--cache-file=config.cache'.
|
||||||
|
|
||||||
|
`--quiet'
|
||||||
|
`--silent'
|
||||||
|
`-q'
|
||||||
|
Do not print messages saying which checks are being made. To
|
||||||
|
suppress all normal output, redirect it to `/dev/null' (any error
|
||||||
|
messages will still be shown).
|
||||||
|
|
||||||
|
`--srcdir=DIR'
|
||||||
|
Look for the package's source code in directory DIR. Usually
|
||||||
|
`configure' can determine that directory automatically.
|
||||||
|
|
||||||
|
`configure' also accepts some other, not widely useful, options. Run
|
||||||
|
`configure --help' for more details.
|
||||||
|
|
BIN
Makefile.tar
BIN
Makefile.tar
Binary file not shown.
16
README
16
README
@@ -3,8 +3,8 @@ To build the software from source, consult the file INSTALL.
|
|||||||
Brief Install Instructions:
|
Brief Install Instructions:
|
||||||
|
|
||||||
1. Install the 3 Calpont InfiniDB RPMs.
|
1. Install the 3 Calpont InfiniDB RPMs.
|
||||||
2. Install and start the software, run: /usr/local/Calpont/bin/postConfigure
|
2. Install and start the software, run: /usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
3. Setup some aliases: . /usr/local/Calpont/bin/calpontAlias
|
3. Setup some aliases: . /usr/local/MariaDB/Columnstore/bin/calpontAlias
|
||||||
4. Connect to MySQL: idbmysql
|
4. Connect to MySQL: idbmysql
|
||||||
5. Try the test in step 12 below
|
5. Try the test in step 12 below
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@ Detailed Installation Instructions:
|
|||||||
tar xvf calpont-2.2.0-2.x86_64.rpm.tar.gz
|
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
|
4. Install the 3 RPMs in this order, the Calpont InfiniDB software will be installed in
|
||||||
/usr/local/Calpont.
|
/usr/local/MariaDB/Columnstore.
|
||||||
|
|
||||||
rpm -ivh infinidb-libs-2.2.0-2.x86_64.rpm
|
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-platform-2.2.0-2.x86_64.rpm
|
||||||
@@ -31,19 +31,19 @@ Detailed Installation Instructions:
|
|||||||
5a.To configure and run on a single server system utilizing local disk storage,
|
5a.To configure and run on a single server system utilizing local disk storage,
|
||||||
run install script:
|
run install script:
|
||||||
|
|
||||||
/usr/local/Calpont/bin/postConfigure
|
/usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
|
|
||||||
5b.To configure and run on a multi-server system and/or to utilize a SAN storage
|
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.
|
system, follow the instructions in the Calpont InfiniDB Installation Guide.
|
||||||
|
|
||||||
/usr/local/Calpont/bin/postConfigure
|
/usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
|
|
||||||
6. Ports utilized by the Calpont InfiniDB Software
|
6. Ports utilized by the Calpont InfiniDB Software
|
||||||
|
|
||||||
The Calpont MySQL daemon utilizes port 3306. To use a different port, update
|
The Calpont MySQL daemon utilizes port 3306. To use a different port, update
|
||||||
the 2 locations in the following file:
|
the 2 locations in the following file:
|
||||||
|
|
||||||
/usr/local/Calpont/mysql/my.cnf
|
/usr/local/MariaDB/Columnstore/mysql/my.cnf
|
||||||
|
|
||||||
port = 3306
|
port = 3306
|
||||||
port = 3306
|
port = 3306
|
||||||
@@ -53,7 +53,7 @@ Detailed Installation Instructions:
|
|||||||
8600 - 8622, 8700, and 8800
|
8600 - 8622, 8700, and 8800
|
||||||
|
|
||||||
7. Setup some aliases:
|
7. Setup some aliases:
|
||||||
. /usr/local/Calpont/bin/calpontAlias
|
. /usr/local/MariaDB/Columnstore/bin/calpontAlias
|
||||||
|
|
||||||
8. To manually start and stop the Calpont InfiniDB Software as the root user run:
|
8. To manually start and stop the Calpont InfiniDB Software as the root user run:
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ Detailed Installation Instructions:
|
|||||||
|
|
||||||
mysql>
|
mysql>
|
||||||
|
|
||||||
12. Run the following upgrade script to create calponsys schema and upgrade the syscolumn table: /usr/local/Calpont/bin/upgrade-infinidb.sh
|
12. Run the following upgrade script to create calponsys schema and upgrade the syscolumn table: /usr/local/MariaDB/Columnstore/bin/upgrade-infinidb.sh
|
||||||
|
|
||||||
13. As an example to get you started, try this:
|
13. As an example to get you started, try this:
|
||||||
|
|
||||||
|
145
README~
Normal file
145
README~
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
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.
|
||||||
|
|
275
build/Doxyfile
Normal file
275
build/Doxyfile
Normal file
@@ -0,0 +1,275 @@
|
|||||||
|
# Doxyfile 1.4.1-KDevelop
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Project related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
PROJECT_NAME = build.kdevelop
|
||||||
|
PROJECT_NUMBER = $VERSION$
|
||||||
|
OUTPUT_DIRECTORY =
|
||||||
|
CREATE_SUBDIRS = NO
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
USE_WINDOWS_ENCODING = NO
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ABBREVIATE_BRIEF = "The $name class" \
|
||||||
|
"The $name widget" \
|
||||||
|
"The $name file" \
|
||||||
|
is \
|
||||||
|
provides \
|
||||||
|
specifies \
|
||||||
|
contains \
|
||||||
|
represents \
|
||||||
|
a \
|
||||||
|
an \
|
||||||
|
the
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = NO
|
||||||
|
FULL_PATH_NAMES = YES
|
||||||
|
STRIP_FROM_PATH = /home/dhill/InfiniDB_MariaDB/oam/install_scripts/
|
||||||
|
STRIP_FROM_INC_PATH =
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = NO
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
DETAILS_AT_TOP = NO
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
TAB_SIZE = 8
|
||||||
|
ALIASES =
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = NO
|
||||||
|
SUBGROUPING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Build related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
EXTRACT_ALL = NO
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_STATIC = NO
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
EXTRACT_LOCAL_METHODS = NO
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = YES
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
SHOW_INCLUDE_FILES = YES
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = YES
|
||||||
|
SORT_BRIEF_DOCS = NO
|
||||||
|
SORT_BY_SCOPE_NAME = NO
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
SHOW_DIRECTORIES = YES
|
||||||
|
FILE_VERSION_FILTER =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_NO_PARAMDOC = NO
|
||||||
|
WARN_FORMAT = "$file:$line: $text"
|
||||||
|
WARN_LOGFILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
INPUT = /home/dhill/InfiniDB_MariaDB/build
|
||||||
|
FILE_PATTERNS = *.c \
|
||||||
|
*.cc \
|
||||||
|
*.cxx \
|
||||||
|
*.cpp \
|
||||||
|
*.c++ \
|
||||||
|
*.java \
|
||||||
|
*.ii \
|
||||||
|
*.ixx \
|
||||||
|
*.ipp \
|
||||||
|
*.i++ \
|
||||||
|
*.inl \
|
||||||
|
*.h \
|
||||||
|
*.hh \
|
||||||
|
*.hxx \
|
||||||
|
*.hpp \
|
||||||
|
*.h++ \
|
||||||
|
*.idl \
|
||||||
|
*.odl \
|
||||||
|
*.cs \
|
||||||
|
*.php \
|
||||||
|
*.php3 \
|
||||||
|
*.inc \
|
||||||
|
*.m \
|
||||||
|
*.mm \
|
||||||
|
*.dox \
|
||||||
|
*.C \
|
||||||
|
*.CC \
|
||||||
|
*.C++ \
|
||||||
|
*.II \
|
||||||
|
*.I++ \
|
||||||
|
*.H \
|
||||||
|
*.HH \
|
||||||
|
*.H++ \
|
||||||
|
*.CS \
|
||||||
|
*.PHP \
|
||||||
|
*.PHP3 \
|
||||||
|
*.M \
|
||||||
|
*.MM \
|
||||||
|
*.C \
|
||||||
|
*.H \
|
||||||
|
*.tlh \
|
||||||
|
*.diff \
|
||||||
|
*.patch \
|
||||||
|
*.moc \
|
||||||
|
*.xpm \
|
||||||
|
*.dox
|
||||||
|
RECURSIVE = yes
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS =
|
||||||
|
EXAMPLE_PATH =
|
||||||
|
EXAMPLE_PATTERNS = *
|
||||||
|
EXAMPLE_RECURSIVE = NO
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_PATTERNS =
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SOURCE_BROWSER = NO
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = YES
|
||||||
|
REFERENCED_BY_RELATION = YES
|
||||||
|
REFERENCES_RELATION = YES
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ALPHABETICAL_INDEX = NO
|
||||||
|
COLS_IN_ALPHA_INDEX = 5
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = html
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER =
|
||||||
|
HTML_STYLESHEET =
|
||||||
|
HTML_ALIGN_MEMBERS = YES
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_LATEX = YES
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME = latex
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
COMPACT_LATEX = NO
|
||||||
|
PAPER_TYPE = a4wide
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
PDF_HYPERLINKS = NO
|
||||||
|
USE_PDFLATEX = NO
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_RTF = NO
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = NO
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_LINKS = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_XML = yes
|
||||||
|
XML_OUTPUT = xml
|
||||||
|
XML_SCHEMA =
|
||||||
|
XML_DTD =
|
||||||
|
XML_PROGRAMLISTING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE = build.tag
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
PERL_PATH = /usr/bin/perl
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
CLASS_DIAGRAMS = YES
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = NO
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
GROUP_GRAPHS = YES
|
||||||
|
UML_LOOK = NO
|
||||||
|
TEMPLATE_RELATIONS = NO
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
CALL_GRAPH = NO
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DIRECTORY_GRAPH = YES
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
DOT_PATH =
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
MAX_DOT_GRAPH_WIDTH = 1024
|
||||||
|
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 1000
|
||||||
|
DOT_TRANSPARENT = NO
|
||||||
|
DOT_MULTI_TARGETS = NO
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to the search engine
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SEARCHENGINE = NO
|
@@ -18,7 +18,7 @@ cp build/libstdc++.so.6.0.14 export/lib
|
|||||||
cp build/files.lst $HOME/MariaDB_InfiniDB/export/mysql/.
|
cp build/files.lst $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
cp dbcon/mysql/install_calpont_mysql.sh $HOME/MariaDB_InfiniDB/export/mysql/.
|
cp dbcon/mysql/install_calpont_mysql.sh $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
cp dbcon/mysql/my.cnf $HOME/MariaDB_InfiniDB/export/mysql/.
|
cp dbcon/mysql/my.cnf $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
cp dbcon/mysql/mysql-Calpont $HOME/MariaDB_InfiniDB/export/mysql/.
|
cp dbcon/mysql/mysql-Columnstore $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
|
|
||||||
if [ ! $$ ]; then
|
if [ ! $$ ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
62
build/bootstrap~
Executable file
62
build/bootstrap~
Executable file
@@ -0,0 +1,62 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id: bootstrap 1333 2011-01-18 17:25:26Z rdempsey $
|
||||||
|
#
|
||||||
|
# This script is responsible for setting up a fresh development tree
|
||||||
|
# following a git checkout. It copies static files and shared include
|
||||||
|
# files to the export tree prior to building the software.
|
||||||
|
|
||||||
|
mkdir -p export/{include,lib,etc,share,bin,sbin,post}
|
||||||
|
if [ ! $$ ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp build/gdb export/bin
|
||||||
|
cp build/libgcc_s.so.1 export/lib
|
||||||
|
cp build/libstdc++.so.6.0.14 export/lib
|
||||||
|
|
||||||
|
cp build/files.lst $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
|
cp dbcon/mysql/install_calpont_mysql.sh $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
|
cp dbcon/mysql/my.cnf $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
|
cp dbcon/mysql/mysql-Calpont $HOME/MariaDB_InfiniDB/export/mysql/.
|
||||||
|
|
||||||
|
if [ ! $$ ]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp -p -r utils/net-snmp export/include
|
||||||
|
|
||||||
|
if [ `uname -m` == "x86_64" ]; then
|
||||||
|
cp -p utils/net-snmp-built-libs/lib64/* export/lib
|
||||||
|
cp -p utils/net-snmp-built-libs/bin64/* export/sbin
|
||||||
|
else
|
||||||
|
egrep -qs Constantine /etc/redhat-release
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
cp -p utils/net-snmp-built-libs/fc12lib/libnetsnmp*.so.* export/lib
|
||||||
|
cp -p utils/net-snmp-built-libs/fc12bin/* export/sbin
|
||||||
|
else
|
||||||
|
cp -p utils/net-snmp-built-libs/fc6lib/libnetsnmp*.so.* export/lib
|
||||||
|
cp -p utils/net-snmp-built-libs/fc6bin/* export/sbin
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
pushd export/lib >/dev/null
|
||||||
|
for lib in libnetsnmpagent.so libnetsnmphelpers.so libnetsnmpmibs.so libnetsnmp.so libnetsnmptrapd.so; do
|
||||||
|
rm -f ${lib} ${lib}.5
|
||||||
|
ln -s ${lib}.5.2.1 ${lib}.5
|
||||||
|
ln -s ${lib}.5.2.1 ${lib}
|
||||||
|
done
|
||||||
|
popd >/dev/null
|
||||||
|
|
||||||
|
./build/genVersion.sh
|
||||||
|
|
||||||
|
for x in \
|
||||||
|
$(find . -name '[mM]akefile' \
|
||||||
|
| xargs grep -l ^bootstrap: \
|
||||||
|
| cut -f 2 -d / \
|
||||||
|
| sort -u)
|
||||||
|
do
|
||||||
|
echo bootstrapping $x
|
||||||
|
make BOOTSTRAP=1 -C $x bootstrap
|
||||||
|
done
|
||||||
|
|
102
build/build.kdevelop
Normal file
102
build/build.kdevelop
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
<?xml version = '1.0'?>
|
||||||
|
<kdevelop>
|
||||||
|
<general>
|
||||||
|
<author/>
|
||||||
|
<email>dhill@srvhill04.calpont.com</email>
|
||||||
|
<version>$VERSION$</version>
|
||||||
|
<projectmanagement>KDevCustomProject</projectmanagement>
|
||||||
|
<primarylanguage>C</primarylanguage>
|
||||||
|
<ignoreparts/>
|
||||||
|
</general>
|
||||||
|
<kdevcustomproject>
|
||||||
|
<run>
|
||||||
|
<mainprogram>build</mainprogram>
|
||||||
|
<directoryradio>executable</directoryradio>
|
||||||
|
</run>
|
||||||
|
</kdevcustomproject>
|
||||||
|
<kdevdebugger>
|
||||||
|
<general>
|
||||||
|
<dbgshell/>
|
||||||
|
</general>
|
||||||
|
</kdevdebugger>
|
||||||
|
<kdevdoctreeview>
|
||||||
|
<ignoretocs>
|
||||||
|
<toc>ada</toc>
|
||||||
|
<toc>ada_bugs_gcc</toc>
|
||||||
|
<toc>bash</toc>
|
||||||
|
<toc>bash_bugs</toc>
|
||||||
|
<toc>clanlib</toc>
|
||||||
|
<toc>fortran_bugs_gcc</toc>
|
||||||
|
<toc>gnome1</toc>
|
||||||
|
<toc>gnustep</toc>
|
||||||
|
<toc>gtk</toc>
|
||||||
|
<toc>gtk_bugs</toc>
|
||||||
|
<toc>haskell</toc>
|
||||||
|
<toc>haskell_bugs_ghc</toc>
|
||||||
|
<toc>java_bugs_gcc</toc>
|
||||||
|
<toc>java_bugs_sun</toc>
|
||||||
|
<toc>kde2book</toc>
|
||||||
|
<toc>libstdc++</toc>
|
||||||
|
<toc>opengl</toc>
|
||||||
|
<toc>pascal_bugs_fp</toc>
|
||||||
|
<toc>php</toc>
|
||||||
|
<toc>php_bugs</toc>
|
||||||
|
<toc>perl</toc>
|
||||||
|
<toc>perl_bugs</toc>
|
||||||
|
<toc>python</toc>
|
||||||
|
<toc>python_bugs</toc>
|
||||||
|
<toc>qt-kdev3</toc>
|
||||||
|
<toc>ruby</toc>
|
||||||
|
<toc>ruby_bugs</toc>
|
||||||
|
<toc>sdl</toc>
|
||||||
|
<toc>stl</toc>
|
||||||
|
<toc>sw</toc>
|
||||||
|
<toc>w3c-dom-level2-html</toc>
|
||||||
|
<toc>w3c-svg</toc>
|
||||||
|
<toc>w3c-uaag10</toc>
|
||||||
|
<toc>wxwidgets_bugs</toc>
|
||||||
|
</ignoretocs>
|
||||||
|
<ignoreqt_xml>
|
||||||
|
<toc>Guide to the Qt Translation Tools</toc>
|
||||||
|
<toc>Qt Assistant Manual</toc>
|
||||||
|
<toc>Qt Designer Manual</toc>
|
||||||
|
<toc>Qt Reference Documentation</toc>
|
||||||
|
<toc>qmake User Guide</toc>
|
||||||
|
</ignoreqt_xml>
|
||||||
|
<ignoredoxygen>
|
||||||
|
<toc>KDE Libraries (Doxygen)</toc>
|
||||||
|
</ignoredoxygen>
|
||||||
|
</kdevdoctreeview>
|
||||||
|
<kdevfilecreate>
|
||||||
|
<filetypes/>
|
||||||
|
<useglobaltypes>
|
||||||
|
<type ext="c" />
|
||||||
|
<type ext="h" />
|
||||||
|
</useglobaltypes>
|
||||||
|
</kdevfilecreate>
|
||||||
|
<kdevcppsupport>
|
||||||
|
<references/>
|
||||||
|
<codecompletion>
|
||||||
|
<includeGlobalFunctions>true</includeGlobalFunctions>
|
||||||
|
<includeTypes>true</includeTypes>
|
||||||
|
<includeEnums>true</includeEnums>
|
||||||
|
<includeTypedefs>false</includeTypedefs>
|
||||||
|
<automaticCodeCompletion>true</automaticCodeCompletion>
|
||||||
|
<automaticArgumentsHint>true</automaticArgumentsHint>
|
||||||
|
<automaticHeaderCompletion>true</automaticHeaderCompletion>
|
||||||
|
<codeCompletionDelay>250</codeCompletionDelay>
|
||||||
|
<argumentsHintDelay>400</argumentsHintDelay>
|
||||||
|
<headerCompletionDelay>250</headerCompletionDelay>
|
||||||
|
</codecompletion>
|
||||||
|
</kdevcppsupport>
|
||||||
|
<kdevfileview>
|
||||||
|
<groups>
|
||||||
|
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||||
|
<hidenonlocation>false</hidenonlocation>
|
||||||
|
</groups>
|
||||||
|
<tree>
|
||||||
|
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
|
||||||
|
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||||
|
</tree>
|
||||||
|
</kdevfileview>
|
||||||
|
</kdevelop>
|
1
build/build.kdevelop.filelist
Normal file
1
build/build.kdevelop.filelist
Normal file
@@ -0,0 +1 @@
|
|||||||
|
# KDevelop Custom Project File List
|
BIN
build/build.kdevelop.pcs
Normal file
BIN
build/build.kdevelop.pcs
Normal file
Binary file not shown.
170
build/build.kdevses
Normal file
170
build/build.kdevses
Normal file
@@ -0,0 +1,170 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE KDevPrjSession>
|
||||||
|
<KDevPrjSession>
|
||||||
|
<DocsAndViews NumberOfDocuments="50" >
|
||||||
|
<Doc0 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/build/files.lst" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc0>
|
||||||
|
<Doc1 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/calpontAlias" >
|
||||||
|
<View0 line="5" Type="Source" />
|
||||||
|
</Doc1>
|
||||||
|
<Doc2 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/calpontSyslog7" >
|
||||||
|
<View0 line="1" Type="Source" />
|
||||||
|
</Doc2>
|
||||||
|
<Doc3 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/calpontLogRotate" >
|
||||||
|
<View0 line="5" Type="Source" />
|
||||||
|
</Doc3>
|
||||||
|
<Doc4 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/calpontSyslog" >
|
||||||
|
<View0 line="1" Type="Source" />
|
||||||
|
</Doc4>
|
||||||
|
<Doc5 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/calpontSyslog-ng" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc5>
|
||||||
|
<Doc6 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstoreSyslog-ng" >
|
||||||
|
<View0 line="23" Type="Source" />
|
||||||
|
</Doc6>
|
||||||
|
<Doc7 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/infinidb" >
|
||||||
|
<View0 line="109" Type="Source" />
|
||||||
|
</Doc7>
|
||||||
|
<Doc8 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstoreSyslog7" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc8>
|
||||||
|
<Doc9 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstore" >
|
||||||
|
<View0 line="36" Type="Source" />
|
||||||
|
</Doc9>
|
||||||
|
<Doc10 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstoreSyslog" >
|
||||||
|
<View0 line="1" Type="Source" />
|
||||||
|
</Doc10>
|
||||||
|
<Doc11 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstoreAlias" >
|
||||||
|
<View0 line="2" Type="Source" />
|
||||||
|
</Doc11>
|
||||||
|
<Doc12 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstoreLogRotate" >
|
||||||
|
<View0 line="21" Type="Source" />
|
||||||
|
</Doc12>
|
||||||
|
<Doc13 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/etc/ProcessConfig.xml.singleserver" >
|
||||||
|
<View0 line="6" Type="Source" />
|
||||||
|
</Doc13>
|
||||||
|
<Doc14 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/infinidb_hadoop/src/infinidb/hadoop/example/InfiniDBOutputDriver.java" >
|
||||||
|
<View0 line="65" Type="Source" />
|
||||||
|
</Doc14>
|
||||||
|
<Doc15 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/autoconf/INSTALL" >
|
||||||
|
<View0 line="45" Type="Source" />
|
||||||
|
</Doc15>
|
||||||
|
<Doc16 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/autoconf/README" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc16>
|
||||||
|
<Doc17 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/scenarios/perf/source/pf/fm/getsql.orig" >
|
||||||
|
<View0 line="43" Type="Source" />
|
||||||
|
</Doc17>
|
||||||
|
<Doc18 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/scenarios/common/sql/load_TestStats.sql" >
|
||||||
|
<View0 line="6" Type="Source" />
|
||||||
|
</Doc18>
|
||||||
|
<Doc19 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/scenarios/common/sql/load_TestTime.sql" >
|
||||||
|
<View0 line="6" Type="Source" />
|
||||||
|
</Doc19>
|
||||||
|
<Doc20 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/scenarios/common/sql/load_TestSummary.sql" >
|
||||||
|
<View0 line="6" Type="Source" />
|
||||||
|
</Doc20>
|
||||||
|
<Doc21 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/idbhdfs/hdfs-20/setenv-hdfs-20" >
|
||||||
|
<View0 line="2" Type="Source" />
|
||||||
|
</Doc21>
|
||||||
|
<Doc22 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/utils/idbhdfs/hdfs-12/setenv-hdfs-12" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc22>
|
||||||
|
<Doc23 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/INSTALL" >
|
||||||
|
<View0 line="45" Type="Source" />
|
||||||
|
</Doc23>
|
||||||
|
<Doc24 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/config.log" >
|
||||||
|
<View0 line="29" Type="Source" />
|
||||||
|
</Doc24>
|
||||||
|
<Doc25 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/writeengine/bulk/qa-bulkload.py" >
|
||||||
|
<View0 line="55" Type="Source" />
|
||||||
|
</Doc25>
|
||||||
|
<Doc26 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/writeengine/bulk/checkidx.py" >
|
||||||
|
<View0 line="11" Type="Source" />
|
||||||
|
</Doc26>
|
||||||
|
<Doc27 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/writeengine/bulk/bulkload.py" >
|
||||||
|
<View0 line="58" Type="Source" />
|
||||||
|
</Doc27>
|
||||||
|
<Doc28 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstore.def" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc28>
|
||||||
|
<Doc29 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/transactionLog" >
|
||||||
|
<View0 line="10" Type="Source" />
|
||||||
|
</Doc29>
|
||||||
|
<Doc30 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstore.conf" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc30>
|
||||||
|
<Doc31 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/crontab" >
|
||||||
|
<View0 line="16" Type="Source" />
|
||||||
|
</Doc31>
|
||||||
|
<Doc32 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstore.upstart" >
|
||||||
|
<View0 line="14" Type="Source" />
|
||||||
|
</Doc32>
|
||||||
|
<Doc33 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/post/functions" >
|
||||||
|
<View0 line="9" Type="Source" />
|
||||||
|
</Doc33>
|
||||||
|
<Doc34 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/versioning/BRM/Calpont.xml" >
|
||||||
|
<View0 line="253" Type="Source" />
|
||||||
|
</Doc34>
|
||||||
|
<Doc35 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/dbcon/joblist/config-dec.xml" >
|
||||||
|
<View0 line="409" Type="Source" />
|
||||||
|
</Doc35>
|
||||||
|
<Doc36 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/dbcon/joblist/fdtests.pl" >
|
||||||
|
<View0 line="8" Type="Source" />
|
||||||
|
</Doc36>
|
||||||
|
<Doc37 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/dbcon/mysql/my.cnf" >
|
||||||
|
<View0 line="22" Type="Source" />
|
||||||
|
</Doc37>
|
||||||
|
<Doc38 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/dbcon/mysql/schemaSync.pl" >
|
||||||
|
<View0 line="9" Type="Source" />
|
||||||
|
</Doc38>
|
||||||
|
<Doc39 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/dbcon/mysql/dumpcat.pl" >
|
||||||
|
<View0 line="7" Type="Source" />
|
||||||
|
</Doc39>
|
||||||
|
<Doc40 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/README" >
|
||||||
|
<View0 line="5" Type="Source" />
|
||||||
|
</Doc40>
|
||||||
|
<Doc41 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/libtool" >
|
||||||
|
<View0 line="333" Type="Source" />
|
||||||
|
</Doc41>
|
||||||
|
<Doc42 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/tools/reserveStacks/stack" >
|
||||||
|
<View0 line="39" Type="Source" />
|
||||||
|
</Doc42>
|
||||||
|
<Doc43 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/tools/evalidx/checkidx.py" >
|
||||||
|
<View0 line="11" Type="Source" />
|
||||||
|
</Doc43>
|
||||||
|
<Doc44 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/snmpd/etc/snmpdx.conf" >
|
||||||
|
<View0 line="484" Type="Source" />
|
||||||
|
</Doc44>
|
||||||
|
<Doc45 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/snmpd/etc/snmptrapd.conf" >
|
||||||
|
<View0 line="8" Type="Source" />
|
||||||
|
</Doc45>
|
||||||
|
<Doc46 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/snmpd/etc/snmpdx.conf.singleserver" >
|
||||||
|
<View0 line="484" Type="Source" />
|
||||||
|
</Doc46>
|
||||||
|
<Doc47 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/snmpd/etc/snmptrapd.conf.singleserver" >
|
||||||
|
<View0 line="8" Type="Source" />
|
||||||
|
</Doc47>
|
||||||
|
<Doc48 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/ChangeLog" >
|
||||||
|
<View0 line="300" Type="Source" />
|
||||||
|
</Doc48>
|
||||||
|
<Doc49 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/build/README" >
|
||||||
|
<View0 line="66" Type="Source" />
|
||||||
|
</Doc49>
|
||||||
|
</DocsAndViews>
|
||||||
|
<pluginList>
|
||||||
|
<kdevdebugger>
|
||||||
|
<breakpointList/>
|
||||||
|
</kdevdebugger>
|
||||||
|
<kdevbookmarks>
|
||||||
|
<bookmarks/>
|
||||||
|
</kdevbookmarks>
|
||||||
|
<kdevvalgrind>
|
||||||
|
<executable path="" params="" />
|
||||||
|
<valgrind path="" params="" />
|
||||||
|
<calltree path="" params="" />
|
||||||
|
<kcachegrind path="" />
|
||||||
|
</kdevvalgrind>
|
||||||
|
</pluginList>
|
||||||
|
</KDevPrjSession>
|
@@ -18,7 +18,7 @@ for arg in "$@"; do
|
|||||||
if [ `expr -- "$arg" : '--verbose'` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--verbose'` -eq 9 ]; then
|
||||||
((verbose++))
|
((verbose++))
|
||||||
elif [ `expr -- "$arg" : '--local-mysql'` -eq 13 ]; then
|
elif [ `expr -- "$arg" : '--local-mysql'` -eq 13 ]; then
|
||||||
mysqldir=../Calpont/mysql
|
mysqldir=../MariaDB/Columnstore/mysql
|
||||||
elif [ `expr -- "$arg" : '--help'` -eq 6 ]; then
|
elif [ `expr -- "$arg" : '--help'` -eq 6 ]; then
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
@@ -45,23 +45,24 @@ fi
|
|||||||
. ./build/releasenum
|
. ./build/releasenum
|
||||||
|
|
||||||
# make the install package
|
# make the install package
|
||||||
buildroot=$HOME/rpm/BUILD/infinidb-$version-$release
|
buildroot=$HOME/rpm/BUILD/mariadb-columnstore-$version-$release
|
||||||
|
|
||||||
rm -rf $buildroot
|
rm -rf $buildroot
|
||||||
mkdir -p $buildroot
|
mkdir -p $buildroot
|
||||||
|
mkdir -p $buildroot/MariaDB
|
||||||
echo -n "Writing binary files to $buildroot..."
|
echo -n "Writing binary files to $buildroot..."
|
||||||
tar -cf - --exclude 'export/include' --exclude 'export/*.tar' export | tar -C $buildroot -xf -
|
tar -cf - --exclude 'export/include' --exclude 'export/*.tar' export | tar -C $buildroot -xf -
|
||||||
mv $buildroot/export $buildroot/Calpont
|
mv $buildroot/export $buildroot/MariaDB/Columnstore
|
||||||
|
|
||||||
#get mysql server files
|
#get mysql server files
|
||||||
pushd $mysqldir > /dev/null
|
pushd $mysqldir > /dev/null
|
||||||
mkdir -p $buildroot/Calpont/mysql
|
mkdir -p $buildroot/MariaDB/Columnstore/mysql
|
||||||
cpio -pdmu --quiet $buildroot/Calpont/mysql < files.lst
|
cpio -pdmu --quiet $buildroot/MariaDB/Columnstore/mysql < files.lst
|
||||||
popd >/dev/null
|
popd >/dev/null
|
||||||
|
|
||||||
#clean up some files from buildroot
|
#clean up some files from buildroot
|
||||||
rm -f $buildroot/Calpont/etc/Doxyfile
|
rm -f $buildroot/MariaDB/Columnstore/etc/Doxyfile
|
||||||
for file in $buildroot/Calpont/lib/*; do
|
for file in $buildroot/MariaDB/Columnstore/lib/*; do
|
||||||
if [ -h $file ]; then
|
if [ -h $file ]; then
|
||||||
rm -f $file
|
rm -f $file
|
||||||
fi
|
fi
|
||||||
@@ -69,16 +70,16 @@ done
|
|||||||
|
|
||||||
#temporarily clean up these BRM thingies
|
#temporarily clean up these BRM thingies
|
||||||
for file in dbrm script-fcns; do
|
for file in dbrm script-fcns; do
|
||||||
rm -f $buildroot/Calpont/bin/$file
|
rm -f $buildroot/MariaDB/Columnstore/bin/$file
|
||||||
done
|
done
|
||||||
|
|
||||||
#clean up these bulkload scripts
|
#clean up these bulkload scripts
|
||||||
for file in bulkload.sh cleanup.sh dbbuilder.sh dbload.sh cpimport.sh bulkloadp.sh; do
|
for file in bulkload.sh cleanup.sh dbbuilder.sh dbload.sh cpimport.sh bulkloadp.sh; do
|
||||||
rm -f $buildroot/Calpont/bin/$file
|
rm -f $buildroot/MariaDB/Columnstore/bin/$file
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -f $buildroot/Calpont/lib/libidbboot.a
|
rm -f $buildroot/MariaDB/Columnstore/lib/libidbboot.a
|
||||||
rm -f $buildroot/Calpont/lib/libiberty.a
|
rm -f $buildroot/MariaDB/Columnstore/lib/libiberty.a
|
||||||
|
|
||||||
mkdir -p $HOME/rpm/BUILD $HOME/rpm/RPMS $HOME/rpm/SRPMS $HOME/rpm/SPECS $HOME/rpm/tmp
|
mkdir -p $HOME/rpm/BUILD $HOME/rpm/RPMS $HOME/rpm/SRPMS $HOME/rpm/SPECS $HOME/rpm/tmp
|
||||||
|
|
||||||
@@ -103,16 +104,16 @@ b="$b\\n$l"
|
|||||||
done
|
done
|
||||||
echo $b )`
|
echo $b )`
|
||||||
|
|
||||||
cp ./build/infinidb.spec.in $HOME/rpm/SPECS/infinidb.spec
|
cp ./build/columnstore.spec.in $HOME/rpm/SPECS/columnstore.spec
|
||||||
sed -i -e "s/@@PACKAGER@@/Packager: $packager/" \
|
sed -i -e "s/@@PACKAGER@@/Packager: $packager/" \
|
||||||
-e "s/@@VERSION@@/Version: $version/" \
|
-e "s/@@VERSION@@/Version: $version/" \
|
||||||
-e "s/@@RELEASE@@/Release: $release/" \
|
-e "s/@@RELEASE@@/Release: $release/" \
|
||||||
-e "s?@@BUILDINFO@@?$buildinfo?" $HOME/rpm/SPECS/infinidb.spec
|
-e "s?@@BUILDINFO@@?$buildinfo?" $HOME/rpm/SPECS/columnstore.spec
|
||||||
|
|
||||||
echo done.
|
echo done.
|
||||||
|
|
||||||
echo -n "Building rpms..."
|
echo -n "Building rpms..."
|
||||||
rpmbuild -ba $HOME/rpm/SPECS/infinidb.spec >/tmp/rpmbuild.out.$$ 2>&1
|
rpmbuild -ba $HOME/rpm/SPECS/columnstore.spec >/tmp/rpmbuild.out.$$ 2>&1
|
||||||
rc=$?
|
rc=$?
|
||||||
echo done.
|
echo done.
|
||||||
if [ $verbose -gt 0 -o $rc -ne 0 ]; then
|
if [ $verbose -gt 0 -o $rc -ne 0 ]; then
|
||||||
|
125
build/build_rpms~
Executable file
125
build/build_rpms~
Executable file
@@ -0,0 +1,125 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id: build_rpms 1734 2012-10-25 18:07:16Z dhill $
|
||||||
|
#
|
||||||
|
|
||||||
|
verbose=0
|
||||||
|
mysqldir=$HOME/MariaDB_InfiniDB/export/mysql
|
||||||
|
|
||||||
|
usage()
|
||||||
|
{
|
||||||
|
cat <<EOD
|
||||||
|
usage: build_rpms [--verbose] [--local-mysql] [--help]
|
||||||
|
--local-mysql use local (relative) mysql binary tree
|
||||||
|
EOD
|
||||||
|
}
|
||||||
|
|
||||||
|
for arg in "$@"; do
|
||||||
|
if [ `expr -- "$arg" : '--verbose'` -eq 9 ]; then
|
||||||
|
((verbose++))
|
||||||
|
elif [ `expr -- "$arg" : '--local-mysql'` -eq 13 ]; then
|
||||||
|
mysqldir=../Calpont/mysql
|
||||||
|
elif [ `expr -- "$arg" : '--help'` -eq 6 ]; then
|
||||||
|
usage
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
echo "ignoring unknown argument: $arg" 1>&2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
#try to find project root
|
||||||
|
while [ ! -d dbcon ]; do
|
||||||
|
cd ..
|
||||||
|
curdir=$(pwd)
|
||||||
|
if [ $curdir = / -o $curdir = $HOME ]; then
|
||||||
|
echo "I could not find the project root directory: I can't continue!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ ! -f ./build/releasenum ]; then
|
||||||
|
echo "I could not find the file 'releasesum' in the build directory: I can't continue!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
. ./build/releasenum
|
||||||
|
|
||||||
|
# make the install package
|
||||||
|
buildroot=$HOME/rpm/BUILD/infinidb-$version-$release
|
||||||
|
|
||||||
|
rm -rf $buildroot
|
||||||
|
mkdir -p $buildroot
|
||||||
|
echo -n "Writing binary files to $buildroot..."
|
||||||
|
tar -cf - --exclude 'export/include' --exclude 'export/*.tar' export | tar -C $buildroot -xf -
|
||||||
|
mv $buildroot/export $buildroot/Calpont
|
||||||
|
|
||||||
|
#get mysql server files
|
||||||
|
pushd $mysqldir > /dev/null
|
||||||
|
mkdir -p $buildroot/Calpont/mysql
|
||||||
|
cpio -pdmu --quiet $buildroot/Calpont/mysql < files.lst
|
||||||
|
popd >/dev/null
|
||||||
|
|
||||||
|
#clean up some files from buildroot
|
||||||
|
rm -f $buildroot/Calpont/etc/Doxyfile
|
||||||
|
for file in $buildroot/Calpont/lib/*; do
|
||||||
|
if [ -h $file ]; then
|
||||||
|
rm -f $file
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
#temporarily clean up these BRM thingies
|
||||||
|
for file in dbrm script-fcns; do
|
||||||
|
rm -f $buildroot/Calpont/bin/$file
|
||||||
|
done
|
||||||
|
|
||||||
|
#clean up these bulkload scripts
|
||||||
|
for file in bulkload.sh cleanup.sh dbbuilder.sh dbload.sh cpimport.sh bulkloadp.sh; do
|
||||||
|
rm -f $buildroot/Calpont/bin/$file
|
||||||
|
done
|
||||||
|
|
||||||
|
rm -f $buildroot/Calpont/lib/libidbboot.a
|
||||||
|
rm -f $buildroot/Calpont/lib/libiberty.a
|
||||||
|
|
||||||
|
mkdir -p $HOME/rpm/BUILD $HOME/rpm/RPMS $HOME/rpm/SRPMS $HOME/rpm/SPECS $HOME/rpm/tmp
|
||||||
|
|
||||||
|
if [ ! -f $HOME/.rpmmacros ]; then
|
||||||
|
cat > $HOME/.rpmmacros <<EOD
|
||||||
|
%_topdir $HOME/rpm
|
||||||
|
%_tmppath $HOME/rpm/tmp
|
||||||
|
# Change to 1 if you want to abort on unpackaged files
|
||||||
|
%_unpackaged_files_terminate_build 0
|
||||||
|
EOD
|
||||||
|
fi
|
||||||
|
|
||||||
|
#twiddle with the spec file
|
||||||
|
|
||||||
|
packager="support@mariadb.com"
|
||||||
|
tag=poc
|
||||||
|
buildinfo=`./build/docBuild $tag | (
|
||||||
|
read l
|
||||||
|
b="$l"
|
||||||
|
while read l; do
|
||||||
|
b="$b\\n$l"
|
||||||
|
done
|
||||||
|
echo $b )`
|
||||||
|
|
||||||
|
cp ./build/infinidb.spec.in $HOME/rpm/SPECS/infinidb.spec
|
||||||
|
sed -i -e "s/@@PACKAGER@@/Packager: $packager/" \
|
||||||
|
-e "s/@@VERSION@@/Version: $version/" \
|
||||||
|
-e "s/@@RELEASE@@/Release: $release/" \
|
||||||
|
-e "s?@@BUILDINFO@@?$buildinfo?" $HOME/rpm/SPECS/infinidb.spec
|
||||||
|
|
||||||
|
echo done.
|
||||||
|
|
||||||
|
echo -n "Building rpms..."
|
||||||
|
rpmbuild -ba $HOME/rpm/SPECS/infinidb.spec >/tmp/rpmbuild.out.$$ 2>&1
|
||||||
|
rc=$?
|
||||||
|
echo done.
|
||||||
|
if [ $verbose -gt 0 -o $rc -ne 0 ]; then
|
||||||
|
cat /tmp/rpmbuild.out.$$
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -f /tmp/*.$$
|
||||||
|
|
||||||
|
exit $rc
|
||||||
|
|
464
build/columnstore.spec.in
Normal file
464
build/columnstore.spec.in
Normal file
@@ -0,0 +1,464 @@
|
|||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
Summary: MariaDB-Columnstore software
|
||||||
|
Name: mariadb-columnstore
|
||||||
|
@@VERSION@@
|
||||||
|
@@RELEASE@@
|
||||||
|
Vendor: MariaDB, Inc.
|
||||||
|
URL: http://www.mariadb.com/
|
||||||
|
@@PACKAGER@@
|
||||||
|
Group: Applications
|
||||||
|
License: Copyright (c) 2016 MariaDB, Inc., all rights reserved; redistributable under the terms of the GPL, see the file COPYING for details.
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{release}-buildroot
|
||||||
|
|
||||||
|
%description
|
||||||
|
MariaDB-Columnstore software meta-package
|
||||||
|
|
||||||
|
%package platform
|
||||||
|
Summary: MariaDB-Columnstore software binaries
|
||||||
|
Group: Applications
|
||||||
|
Requires: expect, mariadb-columnstore-libs
|
||||||
|
|
||||||
|
%description platform
|
||||||
|
MariaDB-Columnstore binary files
|
||||||
|
@@BUILDINFO@@
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: MariaDB-Columnstore software libraries
|
||||||
|
Group: Applications
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
MariaDB-Columnstore libraries
|
||||||
|
|
||||||
|
%package enterprise
|
||||||
|
Summary: InfiniDB Enterprise software binaries
|
||||||
|
Group: Applications
|
||||||
|
Requires: mariadb-columnstore-libs, mariadb-columnstore-platform
|
||||||
|
License: Proprietary; Copyright (c) 2016 MariaDB, Inc., all rights reserved
|
||||||
|
|
||||||
|
%description enterprise
|
||||||
|
InfiniDB Enterprise binary files
|
||||||
|
|
||||||
|
%package storage-engine
|
||||||
|
Summary: MariaDB-Columnstore software MariaDB connector
|
||||||
|
Group: Applications
|
||||||
|
Requires: mariadb-columnstore-libs
|
||||||
|
|
||||||
|
%description storage-engine
|
||||||
|
MariaDB Columnstore connector binary files
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%define _use_internal_dependency_generator 0
|
||||||
|
%define __find_requires %{nil}
|
||||||
|
%define __os_install_post %{nil}
|
||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}/usr/local
|
||||||
|
tar -C $RPM_BUILD_DIR/%{name}-%{version}-%{release} -cf - . | tar -C %{buildroot}/usr/local -xf -
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}-%{release}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
%files platform
|
||||||
|
%defattr(-, root, root)
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/DDLProc
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ExeMgr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ProcMgr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ProcMon
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/DMLProc
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/WriteEngineServer
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cpimport
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/post-install
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/post-mysql-install
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/post-mysqld-install
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/pre-uninstall
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/PrimProc
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/DecomSvr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/upgrade-columnstore.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/run.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstore
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSyslog
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSyslog7
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSyslog-ng
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/syslogSetup.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cplogger
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstore.def
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbbuilder
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cpimport.bin
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/load_brm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/save_brm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbrmctl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/controllernode
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/reset_locks
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/workernode
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/colxml
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/clearShm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/viewtablelock
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cleartablelock
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/mcsadmin
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/trapHandler
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_command.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreLogRotate
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/transactionLog
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreDBWrite
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/transactionLogArchiver.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/system_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/installer
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/module_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/patchInstaller
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/user_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/performance_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/startupTests.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/os_check.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/sendtrap
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_scp_put.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remotessh.exp
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ServerMonitor
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/master-rep-columnstore.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/slave-rep-columnstore.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/rsync.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSupport
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/hardwareReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/softwareReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/configReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/logReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/bulklogReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/resourceReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/hadoopReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/alarmReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/amazonInstaller
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_command_verify.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/disable-rep-columnstore.sh
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/Calpont.xml
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/ConsoleCmds.xml
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/ProcessConfig.xml
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmpd.conf
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmptrapd.conf
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/Calpont.xml.singleserver
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/ProcessConfig.xml.singleserver
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmpd.conf.singleserver
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmptrapd.conf.singleserver
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/etc/MessageFile.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/etc/ErrorMessage.txt
|
||||||
|
#
|
||||||
|
%attr(0666, root, root) /usr/local/MariaDB/Columnstore/local/module
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/releasenum
|
||||||
|
|
||||||
|
# Tools...
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/rollback
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/editem
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/getConfig
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/setConfig
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/setenv-hdfs-12
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/setenv-hdfs-20
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/hdfsCheck
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/configxml.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_scp_get.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreAlias
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/autoConfigure
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ddlcleanup
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/idbmeminfo
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/IDBInstanceCmds.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/IDBVolumeCmds.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/binary_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/myCnf-include-args.text
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/myCnf-exclude-args.text
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/mycnfUpgrade
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/getMySQLpw
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstore.conf
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/sbin/snmpd
|
||||||
|
/usr/local/MariaDB/Columnstore/sbin/snmptrapd
|
||||||
|
%config %attr(0666, root, root) /usr/local/MariaDB/Columnstore/etc/AlarmConfig.xml
|
||||||
|
#
|
||||||
|
%config /usr/local/MariaDB/Columnstore/local/snmpdx.conf
|
||||||
|
%config /usr/local/MariaDB/Columnstore/local/snmpdx.conf.singleserver
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/AGENTX-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/CALPONT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-EVENT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/EtherLike-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HCNUM-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HOST-RESOURCES-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANAifType-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-LANGUAGE-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-RTPROTO-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IF-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/INET-ADDRESS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IP-FORWARD-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-ICMP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-TCP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-UDP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC1155-SMI.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC1213-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC-1215.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RMON-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SMUX-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-MPD-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-PROXY-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-TARGET-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USM-AES-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-CONF.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-SMI.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-TM.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/TCP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DEMO-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DISKIO-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DLMOD-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-IPFWACC-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-SNMP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UDP-MIB.txt
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/post/functions
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-001.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-002.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-003.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-004.sh
|
||||||
|
|
||||||
|
%files enterprise
|
||||||
|
%defattr(-, root, root)
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/displayJobGraph.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbhealth.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbhealth.sql
|
||||||
|
|
||||||
|
# Tools...
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dumpcol
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/oid2file
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/evalcol
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/SesMgr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dumpVss
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/editTxn
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbprof.pl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dumpobm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/file2oid.pl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/print_journal
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/healthcheck
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/glusterctl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/glusteradd
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/glusterconf
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/redistributeDB
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/databaseSizeReport
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/gdb
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/copy2here.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getlogs.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getmodules.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getps.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getsar.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getuserinput.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/prat
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/prat.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/ps
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/pscollect
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/README
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/tarfiles.sh
|
||||||
|
#
|
||||||
|
%files libs
|
||||||
|
%defattr(-, root, root)
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libconfigcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libddlpackageproc.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libddlpackage.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libdmlpackageproc.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libdmlpackage.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libexecplan.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libfuncexp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libudfsdk.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libjoblist.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libjoiner.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libloggingcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libmessageqcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmpagent.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmphelpers.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmpmibs.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmp.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmptrapd.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/liboamcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libsnmpmanager.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libthreadpool.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwindowfunction.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwriteengine.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwriteengineclient.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libbrm.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/librwlock.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libdataconvert.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/librowgroup.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcacheutils.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcommon.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libboost_idb.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcompress.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libddlcleanuputil.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libbatchloader.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libmysqlcl_idb.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libquerystats.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwriteengineredistribute.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libjemalloc.so.3.3.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libidbdatafile.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/hdfs-20.so
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/hdfs-12.so
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libgcc_s.so.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libstdc++.so.6.0.14
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libthrift.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libquerytele.so.1.0.0
|
||||||
|
|
||||||
|
%files storage-engine
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcalmysql.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libudf_mysql.so.1.0.0
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/mysql-Columnstore
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/install_calpont_mysql.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/syscatalog_mysql.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/dumpcat_mysql.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/dumpcat.pl
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/calsetuserpriority.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/calremoveuserpriority.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/calshowprocesslist.sql
|
||||||
|
|
||||||
|
%config /usr/local/MariaDB/Columnstore/mysql/my.cnf
|
||||||
|
|
||||||
|
#
|
||||||
|
# Scriptlets
|
||||||
|
# for an install, pre & post run with $1 set to 1
|
||||||
|
# for an erase, preun & postun run with $1 set to 0
|
||||||
|
# for an upgrade, pre & post run first, with $1 set to 2 then the _old_ preun & postun run with $1 set to 1
|
||||||
|
|
||||||
|
%post platform
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
test -x /usr/local/MariaDB/Columnstore/bin/post-install && /usr/local/MariaDB/Columnstore/bin/post-install --prefix=$prefix --rpmmode=$rpmmode
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
%post libs
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
%post storage-engine
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
|
||||||
|
%post enterprise
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
%preun platform
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $rpmmode = erase ]; then
|
||||||
|
test -x /usr/local/MariaDB/Columnstore/bin/pre-uninstall && /usr/local/MariaDB/Columnstore/bin/pre-uninstall
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun libs
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun storage-engine
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun enterprise
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
465
build/columnstore.spec.in~
Normal file
465
build/columnstore.spec.in~
Normal file
@@ -0,0 +1,465 @@
|
|||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
Summary: MariaDB-Columnstore software
|
||||||
|
Name: columnstore
|
||||||
|
@@VERSION@@
|
||||||
|
@@RELEASE@@
|
||||||
|
Vendor: MariaDB, Inc.
|
||||||
|
URL: http://www.mariadb.com/
|
||||||
|
@@PACKAGER@@
|
||||||
|
Group: Applications
|
||||||
|
License: Copyright (c) 2016 MariaDB, Inc., all rights reserved; redistributable under the terms of the GPL, see the file COPYING for details.
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{release}-buildroot
|
||||||
|
|
||||||
|
%description
|
||||||
|
MariaDB-Columnstore software meta-package
|
||||||
|
|
||||||
|
%package platform
|
||||||
|
Summary: MariaDB-Columnstore software binaries
|
||||||
|
Group: Applications
|
||||||
|
Requires: expect, columnstore-libs
|
||||||
|
|
||||||
|
%description platform
|
||||||
|
MariaDB-Columnstore binary files
|
||||||
|
@@BUILDINFO@@
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: MariaDB-Columnstore software libraries
|
||||||
|
Group: Applications
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
MariaDB-Columnstore libraries
|
||||||
|
|
||||||
|
%package enterprise
|
||||||
|
Summary: InfiniDB Enterprise software binaries
|
||||||
|
Group: Applications
|
||||||
|
Requires: columnstore-libs, columnstore-platform
|
||||||
|
License: Proprietary; Copyright (c) 2016 MariaDB, Inc., all rights reserved
|
||||||
|
|
||||||
|
%description enterprise
|
||||||
|
InfiniDB Enterprise binary files
|
||||||
|
|
||||||
|
%package storage-engine
|
||||||
|
Summary: MariaDB-Columnstore software MariaDB connector
|
||||||
|
Group: Applications
|
||||||
|
Obsoletes: columnstore-mysql
|
||||||
|
Requires: columnstore-libs
|
||||||
|
|
||||||
|
%description storage-engine
|
||||||
|
MariaDB Columnstore connector binary files
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%define _use_internal_dependency_generator 0
|
||||||
|
%define __find_requires %{nil}
|
||||||
|
%define __os_install_post %{nil}
|
||||||
|
%define debug_package %{nil}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}/usr/local
|
||||||
|
tar -C $RPM_BUILD_DIR/%{name}-%{version}-%{release} -cf - . | tar -C %{buildroot}/usr/local -xf -
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}-%{release}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
||||||
|
%files platform
|
||||||
|
%defattr(-, root, root)
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/DDLProc
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ExeMgr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ProcMgr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ProcMon
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/DMLProc
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/WriteEngineServer
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cpimport
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/post-install
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/post-mysql-install
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/post-mysqld-install
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/pre-uninstall
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/PrimProc
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/DecomSvr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/upgrade-columnstore.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/run.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstore
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSyslog
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSyslog7
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSyslog-ng
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/syslogSetup.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cplogger
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstore.def
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbbuilder
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cpimport.bin
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/load_brm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/save_brm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbrmctl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/controllernode
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/reset_locks
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/workernode
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/colxml
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/clearShm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/viewtablelock
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/cleartablelock
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/mcsadmin
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/trapHandler
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_command.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreLogRotate
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/transactionLog
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreDBWrite
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/transactionLogArchiver.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/system_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/installer
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/module_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/patchInstaller
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/user_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/performance_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/startupTests.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/os_check.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/sendtrap
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_scp_put.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remotessh.exp
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ServerMonitor
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/master-rep-columnstore.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/slave-rep-columnstore.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/rsync.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreSupport
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/hardwareReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/softwareReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/configReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/logReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/bulklogReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/resourceReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/hadoopReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/alarmReport.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/amazonInstaller
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_command_verify.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/disable-rep-columnstore.sh
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/Calpont.xml
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/ConsoleCmds.xml
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/ProcessConfig.xml
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmpd.conf
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmptrapd.conf
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/Calpont.xml.singleserver
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/ProcessConfig.xml.singleserver
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmpd.conf.singleserver
|
||||||
|
%config /usr/local/MariaDB/Columnstore/etc/snmptrapd.conf.singleserver
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/etc/MessageFile.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/etc/ErrorMessage.txt
|
||||||
|
#
|
||||||
|
%attr(0666, root, root) /usr/local/MariaDB/Columnstore/local/module
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/releasenum
|
||||||
|
|
||||||
|
# Tools...
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/rollback
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/editem
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/getConfig
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/setConfig
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/setenv-hdfs-12
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/setenv-hdfs-20
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/hdfsCheck
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/configxml.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/remote_scp_get.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstoreAlias
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/autoConfigure
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/ddlcleanup
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/idbmeminfo
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/IDBInstanceCmds.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/IDBVolumeCmds.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/binary_installer.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/myCnf-include-args.text
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/myCnf-exclude-args.text
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/mycnfUpgrade
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/getMySQLpw
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/columnstore.conf
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/sbin/snmpd
|
||||||
|
/usr/local/MariaDB/Columnstore/sbin/snmptrapd
|
||||||
|
%config %attr(0666, root, root) /usr/local/MariaDB/Columnstore/etc/AlarmConfig.xml
|
||||||
|
#
|
||||||
|
%config /usr/local/MariaDB/Columnstore/local/snmpdx.conf
|
||||||
|
%config /usr/local/MariaDB/Columnstore/local/snmpdx.conf.singleserver
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/AGENTX-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/CALPONT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-EVENT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/EtherLike-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HCNUM-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HOST-RESOURCES-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANAifType-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-LANGUAGE-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-RTPROTO-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IF-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/INET-ADDRESS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IP-FORWARD-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-ICMP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-TCP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-UDP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC1155-SMI.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC1213-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC-1215.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RMON-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SMUX-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-MPD-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-PROXY-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-TARGET-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USM-AES-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-CONF.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-SMI.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-TC.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-TM.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/TCP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DEMO-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DISKIO-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DLMOD-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-IPFWACC-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-SNMP-MIB.txt
|
||||||
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UDP-MIB.txt
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/post/functions
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-001.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-002.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-003.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/post/test-004.sh
|
||||||
|
|
||||||
|
%files enterprise
|
||||||
|
%defattr(-, root, root)
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/displayJobGraph.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbhealth.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbhealth.sql
|
||||||
|
|
||||||
|
# Tools...
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dumpcol
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/oid2file
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/evalcol
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/SesMgr
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dumpVss
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/editTxn
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dbprof.pl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/dumpobm
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/file2oid.pl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/print_journal
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/healthcheck
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/glusterctl
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/glusteradd
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/glusterconf
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/redistributeDB
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/databaseSizeReport
|
||||||
|
/usr/local/MariaDB/Columnstore/bin/gdb
|
||||||
|
#
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/copy2here.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getlogs.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getmodules.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getps.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getsar.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/getuserinput.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/prat
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/prat.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/ps
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/pscollect
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/README
|
||||||
|
/usr/local/MariaDB/Columnstore/tools/tarfiles.sh
|
||||||
|
#
|
||||||
|
%files libs
|
||||||
|
%defattr(-, root, root)
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libconfigcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libddlpackageproc.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libddlpackage.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libdmlpackageproc.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libdmlpackage.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libexecplan.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libfuncexp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libudfsdk.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libjoblist.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libjoiner.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libloggingcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libmessageqcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmpagent.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmphelpers.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmpmibs.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmp.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmptrapd.so.5.2.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/liboamcpp.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libsnmpmanager.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libthreadpool.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwindowfunction.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwriteengine.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwriteengineclient.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libbrm.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/librwlock.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libdataconvert.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/librowgroup.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcacheutils.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcommon.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libboost_idb.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcompress.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libddlcleanuputil.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libbatchloader.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libmysqlcl_idb.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libquerystats.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libwriteengineredistribute.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libjemalloc.so.3.3.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libidbdatafile.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/hdfs-20.so
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/hdfs-12.so
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libgcc_s.so.1
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libstdc++.so.6.0.14
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libthrift.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libquerytele.so.1.0.0
|
||||||
|
|
||||||
|
%files storage-engine
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libcalmysql.so.1.0.0
|
||||||
|
/usr/local/MariaDB/Columnstore/lib/libudf_mysql.so.1.0.0
|
||||||
|
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/mysql-Calpont
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/install_calpont_mysql.sh
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/syscatalog_mysql.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/dumpcat_mysql.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/dumpcat.pl
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/calsetuserpriority.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/calremoveuserpriority.sql
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/calshowprocesslist.sql
|
||||||
|
|
||||||
|
%config /usr/local/MariaDB/Columnstore/mysql/my.cnf
|
||||||
|
|
||||||
|
#
|
||||||
|
# Scriptlets
|
||||||
|
# for an install, pre & post run with $1 set to 1
|
||||||
|
# for an erase, preun & postun run with $1 set to 0
|
||||||
|
# for an upgrade, pre & post run first, with $1 set to 2 then the _old_ preun & postun run with $1 set to 1
|
||||||
|
|
||||||
|
%post platform
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
test -x /usr/local/MariaDB/Columnstore/bin/post-install && /usr/local/MariaDB/Columnstore/bin/post-install --prefix=$prefix --rpmmode=$rpmmode
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
%post libs
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
%post storage-engine
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
|
||||||
|
%post enterprise
|
||||||
|
rpmmode=install
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=upgrade
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
|
||||||
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
|
%preun platform
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ $rpmmode = erase ]; then
|
||||||
|
test -x /usr/local/MariaDB/Columnstore/bin/pre-uninstall && /usr/local/MariaDB/Columnstore/bin/pre-uninstall
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun libs
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun storage-engine
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%preun enterprise
|
||||||
|
rpmmode=upgrade
|
||||||
|
if [ "$1" -eq "$1" 2> /dev/null ]; then
|
||||||
|
if [ $1 -ne 1 ]; then
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
rpmmode=erase
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
@@ -1,3 +1,3 @@
|
|||||||
./my.cnf
|
./my.cnf
|
||||||
./mysql-Calpont
|
./mysql-Columnstore
|
||||||
./install_calpont_mysql.sh
|
./install_calpont_mysql.sh
|
||||||
|
3
build/files.lst~
Normal file
3
build/files.lst~
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
./my.cnf
|
||||||
|
./mysql-Calpont
|
||||||
|
./install_calpont_mysql.sh
|
@@ -72,293 +72,293 @@ rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}-%{release}
|
|||||||
%files platform
|
%files platform
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
/usr/local/Calpont/bin/DDLProc
|
/usr/local/MariaDB/Columnstore/bin/DDLProc
|
||||||
/usr/local/Calpont/bin/ExeMgr
|
/usr/local/MariaDB/Columnstore/bin/ExeMgr
|
||||||
/usr/local/Calpont/bin/ProcMgr
|
/usr/local/MariaDB/Columnstore/bin/ProcMgr
|
||||||
/usr/local/Calpont/bin/ProcMon
|
/usr/local/MariaDB/Columnstore/bin/ProcMon
|
||||||
/usr/local/Calpont/bin/DMLProc
|
/usr/local/MariaDB/Columnstore/bin/DMLProc
|
||||||
/usr/local/Calpont/bin/WriteEngineServer
|
/usr/local/MariaDB/Columnstore/bin/WriteEngineServer
|
||||||
/usr/local/Calpont/bin/cpimport
|
/usr/local/MariaDB/Columnstore/bin/cpimport
|
||||||
/usr/local/Calpont/bin/post-install
|
/usr/local/MariaDB/Columnstore/bin/post-install
|
||||||
/usr/local/Calpont/bin/post-mysql-install
|
/usr/local/MariaDB/Columnstore/bin/post-mysql-install
|
||||||
/usr/local/Calpont/bin/post-mysqld-install
|
/usr/local/MariaDB/Columnstore/bin/post-mysqld-install
|
||||||
/usr/local/Calpont/bin/pre-uninstall
|
/usr/local/MariaDB/Columnstore/bin/pre-uninstall
|
||||||
/usr/local/Calpont/bin/PrimProc
|
/usr/local/MariaDB/Columnstore/bin/PrimProc
|
||||||
/usr/local/Calpont/bin/DecomSvr
|
/usr/local/MariaDB/Columnstore/bin/DecomSvr
|
||||||
/usr/local/Calpont/bin/upgrade-infinidb.sh
|
/usr/local/MariaDB/Columnstore/bin/upgrade-infinidb.sh
|
||||||
/usr/local/Calpont/bin/run.sh
|
/usr/local/MariaDB/Columnstore/bin/run.sh
|
||||||
/usr/local/Calpont/bin/infinidb
|
/usr/local/MariaDB/Columnstore/bin/infinidb
|
||||||
/usr/local/Calpont/bin/calpontSyslog
|
/usr/local/MariaDB/Columnstore/bin/calpontSyslog
|
||||||
/usr/local/Calpont/bin/calpontSyslog7
|
/usr/local/MariaDB/Columnstore/bin/calpontSyslog7
|
||||||
/usr/local/Calpont/bin/calpontSyslog-ng
|
/usr/local/MariaDB/Columnstore/bin/calpontSyslog-ng
|
||||||
/usr/local/Calpont/bin/syslogSetup.sh
|
/usr/local/MariaDB/Columnstore/bin/syslogSetup.sh
|
||||||
/usr/local/Calpont/bin/cplogger
|
/usr/local/MariaDB/Columnstore/bin/cplogger
|
||||||
/usr/local/Calpont/bin/infinidb.def
|
/usr/local/MariaDB/Columnstore/bin/infinidb.def
|
||||||
/usr/local/Calpont/bin/dbbuilder
|
/usr/local/MariaDB/Columnstore/bin/dbbuilder
|
||||||
/usr/local/Calpont/bin/cpimport.bin
|
/usr/local/MariaDB/Columnstore/bin/cpimport.bin
|
||||||
/usr/local/Calpont/bin/load_brm
|
/usr/local/MariaDB/Columnstore/bin/load_brm
|
||||||
/usr/local/Calpont/bin/save_brm
|
/usr/local/MariaDB/Columnstore/bin/save_brm
|
||||||
/usr/local/Calpont/bin/dbrmctl
|
/usr/local/MariaDB/Columnstore/bin/dbrmctl
|
||||||
/usr/local/Calpont/bin/controllernode
|
/usr/local/MariaDB/Columnstore/bin/controllernode
|
||||||
/usr/local/Calpont/bin/reset_locks
|
/usr/local/MariaDB/Columnstore/bin/reset_locks
|
||||||
/usr/local/Calpont/bin/workernode
|
/usr/local/MariaDB/Columnstore/bin/workernode
|
||||||
/usr/local/Calpont/bin/colxml
|
/usr/local/MariaDB/Columnstore/bin/colxml
|
||||||
/usr/local/Calpont/bin/clearShm
|
/usr/local/MariaDB/Columnstore/bin/clearShm
|
||||||
/usr/local/Calpont/bin/viewtablelock
|
/usr/local/MariaDB/Columnstore/bin/viewtablelock
|
||||||
/usr/local/Calpont/bin/cleartablelock
|
/usr/local/MariaDB/Columnstore/bin/cleartablelock
|
||||||
/usr/local/Calpont/bin/mcsadmin
|
/usr/local/MariaDB/Columnstore/bin/mcsadmin
|
||||||
/usr/local/Calpont/bin/trapHandler
|
/usr/local/MariaDB/Columnstore/bin/trapHandler
|
||||||
/usr/local/Calpont/bin/remote_command.sh
|
/usr/local/MariaDB/Columnstore/bin/remote_command.sh
|
||||||
/usr/local/Calpont/bin/postConfigure
|
/usr/local/MariaDB/Columnstore/bin/postConfigure
|
||||||
/usr/local/Calpont/bin/calpontLogRotate
|
/usr/local/MariaDB/Columnstore/bin/calpontLogRotate
|
||||||
/usr/local/Calpont/bin/transactionLog
|
/usr/local/MariaDB/Columnstore/bin/transactionLog
|
||||||
/usr/local/Calpont/bin/calpontDBWrite
|
/usr/local/MariaDB/Columnstore/bin/calpontDBWrite
|
||||||
/usr/local/Calpont/bin/transactionLogArchiver.sh
|
/usr/local/MariaDB/Columnstore/bin/transactionLogArchiver.sh
|
||||||
/usr/local/Calpont/bin/system_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/system_installer.sh
|
||||||
/usr/local/Calpont/bin/installer
|
/usr/local/MariaDB/Columnstore/bin/installer
|
||||||
/usr/local/Calpont/bin/module_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/module_installer.sh
|
||||||
/usr/local/Calpont/bin/patchInstaller
|
/usr/local/MariaDB/Columnstore/bin/patchInstaller
|
||||||
/usr/local/Calpont/bin/patch_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/patch_installer.sh
|
||||||
/usr/local/Calpont/bin/xm_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/xm_installer.sh
|
||||||
/usr/local/Calpont/bin/calpontUninstall.sh
|
/usr/local/MariaDB/Columnstore/bin/calpontUninstall.sh
|
||||||
/usr/local/Calpont/bin/director_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/director_installer.sh
|
||||||
/usr/local/Calpont/bin/user_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/user_installer.sh
|
||||||
/usr/local/Calpont/bin/performance_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/performance_installer.sh
|
||||||
/usr/local/Calpont/bin/startupTests.sh
|
/usr/local/MariaDB/Columnstore/bin/startupTests.sh
|
||||||
/usr/local/Calpont/bin/os_check.sh
|
/usr/local/MariaDB/Columnstore/bin/os_check.sh
|
||||||
/usr/local/Calpont/bin/sendtrap
|
/usr/local/MariaDB/Columnstore/bin/sendtrap
|
||||||
/usr/local/Calpont/bin/remote_scp_put.sh
|
/usr/local/MariaDB/Columnstore/bin/remote_scp_put.sh
|
||||||
/usr/local/Calpont/bin/remotessh.exp
|
/usr/local/MariaDB/Columnstore/bin/remotessh.exp
|
||||||
/usr/local/Calpont/bin/ServerMonitor
|
/usr/local/MariaDB/Columnstore/bin/ServerMonitor
|
||||||
/usr/local/Calpont/bin/master-rep-infinidb.sh
|
/usr/local/MariaDB/Columnstore/bin/master-rep-infinidb.sh
|
||||||
/usr/local/Calpont/bin/slave-rep-infinidb.sh
|
/usr/local/MariaDB/Columnstore/bin/slave-rep-infinidb.sh
|
||||||
/usr/local/Calpont/bin/rsync.sh
|
/usr/local/MariaDB/Columnstore/bin/rsync.sh
|
||||||
/usr/local/Calpont/bin/calpontSupport
|
/usr/local/MariaDB/Columnstore/bin/calpontSupport
|
||||||
/usr/local/Calpont/bin/hardwareReport.sh
|
/usr/local/MariaDB/Columnstore/bin/hardwareReport.sh
|
||||||
/usr/local/Calpont/bin/softwareReport.sh
|
/usr/local/MariaDB/Columnstore/bin/softwareReport.sh
|
||||||
/usr/local/Calpont/bin/configReport.sh
|
/usr/local/MariaDB/Columnstore/bin/configReport.sh
|
||||||
/usr/local/Calpont/bin/logReport.sh
|
/usr/local/MariaDB/Columnstore/bin/logReport.sh
|
||||||
/usr/local/Calpont/bin/bulklogReport.sh
|
/usr/local/MariaDB/Columnstore/bin/bulklogReport.sh
|
||||||
/usr/local/Calpont/bin/resourceReport.sh
|
/usr/local/MariaDB/Columnstore/bin/resourceReport.sh
|
||||||
/usr/local/Calpont/bin/hadoopReport.sh
|
/usr/local/MariaDB/Columnstore/bin/hadoopReport.sh
|
||||||
/usr/local/Calpont/bin/alarmReport.sh
|
/usr/local/MariaDB/Columnstore/bin/alarmReport.sh
|
||||||
/usr/local/Calpont/bin/amazonInstaller
|
/usr/local/MariaDB/Columnstore/bin/amazonInstaller
|
||||||
/usr/local/Calpont/bin/remote_command_verify.sh
|
/usr/local/MariaDB/Columnstore/bin/remote_command_verify.sh
|
||||||
/usr/local/Calpont/bin/disable-rep-infinidb.sh
|
/usr/local/MariaDB/Columnstore/bin/disable-rep-infinidb.sh
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
%config /usr/local/Calpont/etc/Calpont.xml
|
%config /usr/local/MariaDB/Columnstore/etc/Calpont.xml
|
||||||
%config /usr/local/Calpont/etc/ConsoleCmds.xml
|
%config /usr/local/MariaDB/Columnstore/etc/ConsoleCmds.xml
|
||||||
%config /usr/local/Calpont/etc/ProcessConfig.xml
|
%config /usr/local/MariaDB/Columnstore/etc/ProcessConfig.xml
|
||||||
%config /usr/local/Calpont/etc/snmpd.conf
|
%config /usr/local/MariaDB/Columnstore/etc/snmpd.conf
|
||||||
%config /usr/local/Calpont/etc/snmptrapd.conf
|
%config /usr/local/MariaDB/Columnstore/etc/snmptrapd.conf
|
||||||
%config /usr/local/Calpont/etc/Calpont.xml.singleserver
|
%config /usr/local/MariaDB/Columnstore/etc/Calpont.xml.singleserver
|
||||||
%config /usr/local/Calpont/etc/ProcessConfig.xml.singleserver
|
%config /usr/local/MariaDB/Columnstore/etc/ProcessConfig.xml.singleserver
|
||||||
%config /usr/local/Calpont/etc/snmpd.conf.singleserver
|
%config /usr/local/MariaDB/Columnstore/etc/snmpd.conf.singleserver
|
||||||
%config /usr/local/Calpont/etc/snmptrapd.conf.singleserver
|
%config /usr/local/MariaDB/Columnstore/etc/snmptrapd.conf.singleserver
|
||||||
#
|
#
|
||||||
/usr/local/Calpont/etc/MessageFile.txt
|
/usr/local/MariaDB/Columnstore/etc/MessageFile.txt
|
||||||
/usr/local/Calpont/etc/ErrorMessage.txt
|
/usr/local/MariaDB/Columnstore/etc/ErrorMessage.txt
|
||||||
#
|
#
|
||||||
%attr(0666, root, root) /usr/local/Calpont/local/module
|
%attr(0666, root, root) /usr/local/MariaDB/Columnstore/local/module
|
||||||
#
|
#
|
||||||
/usr/local/Calpont/releasenum
|
/usr/local/MariaDB/Columnstore/releasenum
|
||||||
|
|
||||||
# Tools...
|
# Tools...
|
||||||
/usr/local/Calpont/bin/rollback
|
/usr/local/MariaDB/Columnstore/bin/rollback
|
||||||
/usr/local/Calpont/bin/editem
|
/usr/local/MariaDB/Columnstore/bin/editem
|
||||||
/usr/local/Calpont/bin/getConfig
|
/usr/local/MariaDB/Columnstore/bin/getConfig
|
||||||
/usr/local/Calpont/bin/setConfig
|
/usr/local/MariaDB/Columnstore/bin/setConfig
|
||||||
/usr/local/Calpont/bin/setenv-hdfs-12
|
/usr/local/MariaDB/Columnstore/bin/setenv-hdfs-12
|
||||||
/usr/local/Calpont/bin/setenv-hdfs-20
|
/usr/local/MariaDB/Columnstore/bin/setenv-hdfs-20
|
||||||
/usr/local/Calpont/bin/hdfsCheck
|
/usr/local/MariaDB/Columnstore/bin/hdfsCheck
|
||||||
/usr/local/Calpont/bin/configxml.sh
|
/usr/local/MariaDB/Columnstore/bin/configxml.sh
|
||||||
/usr/local/Calpont/bin/remote_scp_get.sh
|
/usr/local/MariaDB/Columnstore/bin/remote_scp_get.sh
|
||||||
/usr/local/Calpont/bin/calpontAlias
|
/usr/local/MariaDB/Columnstore/bin/calpontAlias
|
||||||
/usr/local/Calpont/bin/autoConfigure
|
/usr/local/MariaDB/Columnstore/bin/autoConfigure
|
||||||
/usr/local/Calpont/bin/ddlcleanup
|
/usr/local/MariaDB/Columnstore/bin/ddlcleanup
|
||||||
/usr/local/Calpont/bin/idbmeminfo
|
/usr/local/MariaDB/Columnstore/bin/idbmeminfo
|
||||||
/usr/local/Calpont/bin/IDBInstanceCmds.sh
|
/usr/local/MariaDB/Columnstore/bin/IDBInstanceCmds.sh
|
||||||
/usr/local/Calpont/bin/IDBVolumeCmds.sh
|
/usr/local/MariaDB/Columnstore/bin/IDBVolumeCmds.sh
|
||||||
/usr/local/Calpont/bin/binary_installer.sh
|
/usr/local/MariaDB/Columnstore/bin/binary_installer.sh
|
||||||
/usr/local/Calpont/bin/myCnf-include-args.text
|
/usr/local/MariaDB/Columnstore/bin/myCnf-include-args.text
|
||||||
/usr/local/Calpont/bin/myCnf-exclude-args.text
|
/usr/local/MariaDB/Columnstore/bin/myCnf-exclude-args.text
|
||||||
/usr/local/Calpont/bin/mycnfUpgrade
|
/usr/local/MariaDB/Columnstore/bin/mycnfUpgrade
|
||||||
/usr/local/Calpont/bin/getMySQLpw
|
/usr/local/MariaDB/Columnstore/bin/getMySQLpw
|
||||||
/usr/local/Calpont/bin/infinidb.conf
|
/usr/local/MariaDB/Columnstore/bin/infinidb.conf
|
||||||
|
|
||||||
/usr/local/Calpont/sbin/snmpd
|
/usr/local/MariaDB/Columnstore/sbin/snmpd
|
||||||
/usr/local/Calpont/sbin/snmptrapd
|
/usr/local/MariaDB/Columnstore/sbin/snmptrapd
|
||||||
%config %attr(0666, root, root) /usr/local/Calpont/etc/AlarmConfig.xml
|
%config %attr(0666, root, root) /usr/local/MariaDB/Columnstore/etc/AlarmConfig.xml
|
||||||
#
|
#
|
||||||
%config /usr/local/Calpont/local/snmpdx.conf
|
%config /usr/local/MariaDB/Columnstore/local/snmpdx.conf
|
||||||
%config /usr/local/Calpont/local/snmpdx.conf.singleserver
|
%config /usr/local/MariaDB/Columnstore/local/snmpdx.conf.singleserver
|
||||||
#
|
#
|
||||||
/usr/local/Calpont/share/snmp/mibs/AGENTX-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/AGENTX-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/CALPONT-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/CALPONT-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/DISMAN-EVENT-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-EVENT-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-SCHEDULE-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/DISMAN-SCRIPT-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/EtherLike-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/EtherLike-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/HCNUM-TC.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HCNUM-TC.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/HOST-RESOURCES-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HOST-RESOURCES-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/HOST-RESOURCES-TYPES.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IANAifType-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANAifType-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IANA-LANGUAGE-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-LANGUAGE-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IANA-RTPROTO-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IANA-RTPROTO-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IF-INVERTED-STACK-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IF-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IF-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/INET-ADDRESS-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/INET-ADDRESS-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IP-FORWARD-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IP-FORWARD-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IPV6-ICMP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-ICMP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IPV6-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IPV6-TCP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-TCP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IPV6-TC.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-TC.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/IPV6-UDP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/IPV6-UDP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-AGENT-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-EXAMPLES-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-EXTEND-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/NET-SNMP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/NET-SNMP-TC.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NET-SNMP-TC.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/NOTIFICATION-LOG-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/RFC1155-SMI.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC1155-SMI.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/RFC1213-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC1213-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/RFC-1215.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RFC-1215.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/RMON-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/RMON-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SMUX-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SMUX-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-COMMUNITY-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-FRAMEWORK-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-MPD-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-MPD-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-NOTIFICATION-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-PROXY-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-PROXY-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-TARGET-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-TARGET-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USER-BASED-SM-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-USM-AES-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USM-AES-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-USM-DH-OBJECTS-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMPv2-CONF.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-CONF.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMPv2-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMPv2-SMI.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-SMI.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMPv2-TC.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-TC.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMPv2-TM.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMPv2-TM.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/SNMP-VIEW-BASED-ACM-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/TCP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/TCP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/TRANSPORT-ADDRESS-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/UCD-DEMO-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DEMO-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/UCD-DISKIO-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DISKIO-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/UCD-DLMOD-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-DLMOD-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/UCD-IPFWACC-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-IPFWACC-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/UCD-SNMP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UCD-SNMP-MIB.txt
|
||||||
/usr/local/Calpont/share/snmp/mibs/UDP-MIB.txt
|
/usr/local/MariaDB/Columnstore/share/snmp/mibs/UDP-MIB.txt
|
||||||
#
|
#
|
||||||
/usr/local/Calpont/post/functions
|
/usr/local/MariaDB/Columnstore/post/functions
|
||||||
/usr/local/Calpont/post/test-001.sh
|
/usr/local/MariaDB/Columnstore/post/test-001.sh
|
||||||
/usr/local/Calpont/post/test-002.sh
|
/usr/local/MariaDB/Columnstore/post/test-002.sh
|
||||||
/usr/local/Calpont/post/test-003.sh
|
/usr/local/MariaDB/Columnstore/post/test-003.sh
|
||||||
/usr/local/Calpont/post/test-004.sh
|
/usr/local/MariaDB/Columnstore/post/test-004.sh
|
||||||
|
|
||||||
%files enterprise
|
%files enterprise
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
/usr/local/Calpont/bin/displayJobGraph.sh
|
/usr/local/MariaDB/Columnstore/bin/displayJobGraph.sh
|
||||||
/usr/local/Calpont/bin/dbhealth.sh
|
/usr/local/MariaDB/Columnstore/bin/dbhealth.sh
|
||||||
/usr/local/Calpont/bin/dbhealth.sql
|
/usr/local/MariaDB/Columnstore/bin/dbhealth.sql
|
||||||
|
|
||||||
# Tools...
|
# Tools...
|
||||||
/usr/local/Calpont/bin/dumpcol
|
/usr/local/MariaDB/Columnstore/bin/dumpcol
|
||||||
/usr/local/Calpont/bin/oid2file
|
/usr/local/MariaDB/Columnstore/bin/oid2file
|
||||||
/usr/local/Calpont/bin/evalcol
|
/usr/local/MariaDB/Columnstore/bin/evalcol
|
||||||
/usr/local/Calpont/bin/SesMgr
|
/usr/local/MariaDB/Columnstore/bin/SesMgr
|
||||||
/usr/local/Calpont/bin/dumpVss
|
/usr/local/MariaDB/Columnstore/bin/dumpVss
|
||||||
/usr/local/Calpont/bin/editTxn
|
/usr/local/MariaDB/Columnstore/bin/editTxn
|
||||||
/usr/local/Calpont/bin/dbprof.pl
|
/usr/local/MariaDB/Columnstore/bin/dbprof.pl
|
||||||
/usr/local/Calpont/bin/dumpobm
|
/usr/local/MariaDB/Columnstore/bin/dumpobm
|
||||||
/usr/local/Calpont/bin/file2oid.pl
|
/usr/local/MariaDB/Columnstore/bin/file2oid.pl
|
||||||
/usr/local/Calpont/bin/print_journal
|
/usr/local/MariaDB/Columnstore/bin/print_journal
|
||||||
/usr/local/Calpont/bin/healthcheck
|
/usr/local/MariaDB/Columnstore/bin/healthcheck
|
||||||
/usr/local/Calpont/bin/glusterctl
|
/usr/local/MariaDB/Columnstore/bin/glusterctl
|
||||||
/usr/local/Calpont/bin/glusteradd
|
/usr/local/MariaDB/Columnstore/bin/glusteradd
|
||||||
/usr/local/Calpont/bin/glusterconf
|
/usr/local/MariaDB/Columnstore/bin/glusterconf
|
||||||
/usr/local/Calpont/bin/redistributeDB
|
/usr/local/MariaDB/Columnstore/bin/redistributeDB
|
||||||
/usr/local/Calpont/bin/databaseSizeReport
|
/usr/local/MariaDB/Columnstore/bin/databaseSizeReport
|
||||||
/usr/local/Calpont/bin/gdb
|
/usr/local/MariaDB/Columnstore/bin/gdb
|
||||||
#
|
#
|
||||||
/usr/local/Calpont/tools/copy2here.sh
|
/usr/local/MariaDB/Columnstore/tools/copy2here.sh
|
||||||
/usr/local/Calpont/tools/getlogs.sh
|
/usr/local/MariaDB/Columnstore/tools/getlogs.sh
|
||||||
/usr/local/Calpont/tools/getmodules.sh
|
/usr/local/MariaDB/Columnstore/tools/getmodules.sh
|
||||||
/usr/local/Calpont/tools/getps.sh
|
/usr/local/MariaDB/Columnstore/tools/getps.sh
|
||||||
/usr/local/Calpont/tools/getsar.sh
|
/usr/local/MariaDB/Columnstore/tools/getsar.sh
|
||||||
/usr/local/Calpont/tools/getuserinput.sh
|
/usr/local/MariaDB/Columnstore/tools/getuserinput.sh
|
||||||
/usr/local/Calpont/tools/prat
|
/usr/local/MariaDB/Columnstore/tools/prat
|
||||||
/usr/local/Calpont/tools/prat.sh
|
/usr/local/MariaDB/Columnstore/tools/prat.sh
|
||||||
/usr/local/Calpont/tools/ps
|
/usr/local/MariaDB/Columnstore/tools/ps
|
||||||
/usr/local/Calpont/tools/pscollect
|
/usr/local/MariaDB/Columnstore/tools/pscollect
|
||||||
/usr/local/Calpont/tools/README
|
/usr/local/MariaDB/Columnstore/tools/README
|
||||||
/usr/local/Calpont/tools/tarfiles.sh
|
/usr/local/MariaDB/Columnstore/tools/tarfiles.sh
|
||||||
#
|
#
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
/usr/local/Calpont/lib/libconfigcpp.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libconfigcpp.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libddlpackageproc.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libddlpackageproc.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libddlpackage.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libddlpackage.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libdmlpackageproc.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libdmlpackageproc.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libdmlpackage.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libdmlpackage.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libexecplan.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libexecplan.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libfuncexp.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libfuncexp.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libudfsdk.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libudfsdk.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libjoblist.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libjoblist.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libjoiner.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libjoiner.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libloggingcpp.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libloggingcpp.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libmessageqcpp.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libmessageqcpp.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libnetsnmpagent.so.5.2.1
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmpagent.so.5.2.1
|
||||||
/usr/local/Calpont/lib/libnetsnmphelpers.so.5.2.1
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmphelpers.so.5.2.1
|
||||||
/usr/local/Calpont/lib/libnetsnmpmibs.so.5.2.1
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmpmibs.so.5.2.1
|
||||||
/usr/local/Calpont/lib/libnetsnmp.so.5.2.1
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmp.so.5.2.1
|
||||||
/usr/local/Calpont/lib/libnetsnmptrapd.so.5.2.1
|
/usr/local/MariaDB/Columnstore/lib/libnetsnmptrapd.so.5.2.1
|
||||||
/usr/local/Calpont/lib/liboamcpp.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/liboamcpp.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libsnmpmanager.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libsnmpmanager.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libthreadpool.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libthreadpool.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libwindowfunction.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libwindowfunction.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libwriteengine.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libwriteengine.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libwriteengineclient.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libwriteengineclient.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libbrm.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libbrm.so.1.0.0
|
||||||
/usr/local/Calpont/lib/librwlock.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/librwlock.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libdataconvert.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libdataconvert.so.1.0.0
|
||||||
/usr/local/Calpont/lib/librowgroup.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/librowgroup.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libcacheutils.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libcacheutils.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libcommon.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libcommon.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libboost_idb.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libboost_idb.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libcompress.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libcompress.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libddlcleanuputil.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libddlcleanuputil.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libbatchloader.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libbatchloader.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libmysqlcl_idb.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libmysqlcl_idb.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libquerystats.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libquerystats.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libwriteengineredistribute.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libwriteengineredistribute.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libjemalloc.so.3.3.0
|
/usr/local/MariaDB/Columnstore/lib/libjemalloc.so.3.3.0
|
||||||
/usr/local/Calpont/lib/libidbdatafile.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libidbdatafile.so.1.0.0
|
||||||
/usr/local/Calpont/lib/hdfs-20.so
|
/usr/local/MariaDB/Columnstore/lib/hdfs-20.so
|
||||||
/usr/local/Calpont/lib/hdfs-12.so
|
/usr/local/MariaDB/Columnstore/lib/hdfs-12.so
|
||||||
/usr/local/Calpont/lib/libgcc_s.so.1
|
/usr/local/MariaDB/Columnstore/lib/libgcc_s.so.1
|
||||||
/usr/local/Calpont/lib/libstdc++.so.6.0.14
|
/usr/local/MariaDB/Columnstore/lib/libstdc++.so.6.0.14
|
||||||
/usr/local/Calpont/lib/libthrift.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libthrift.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libquerytele.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libquerytele.so.1.0.0
|
||||||
|
|
||||||
%files storage-engine
|
%files storage-engine
|
||||||
/usr/local/Calpont/lib/libcalmysql.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libcalmysql.so.1.0.0
|
||||||
/usr/local/Calpont/lib/libudf_mysql.so.1.0.0
|
/usr/local/MariaDB/Columnstore/lib/libudf_mysql.so.1.0.0
|
||||||
|
|
||||||
/usr/local/Calpont/mysql/mysql-Calpont
|
/usr/local/MariaDB/Columnstore/mysql/mysql-Calpont
|
||||||
/usr/local/Calpont/mysql/install_calpont_mysql.sh
|
/usr/local/MariaDB/Columnstore/mysql/install_calpont_mysql.sh
|
||||||
/usr/local/Calpont/mysql/syscatalog_mysql.sql
|
/usr/local/MariaDB/Columnstore/mysql/syscatalog_mysql.sql
|
||||||
/usr/local/Calpont/mysql/dumpcat_mysql.sql
|
/usr/local/MariaDB/Columnstore/mysql/dumpcat_mysql.sql
|
||||||
/usr/local/Calpont/mysql/dumpcat.pl
|
/usr/local/MariaDB/Columnstore/mysql/dumpcat.pl
|
||||||
/usr/local/Calpont/mysql/calsetuserpriority.sql
|
/usr/local/MariaDB/Columnstore/mysql/calsetuserpriority.sql
|
||||||
/usr/local/Calpont/mysql/calremoveuserpriority.sql
|
/usr/local/MariaDB/Columnstore/mysql/calremoveuserpriority.sql
|
||||||
/usr/local/Calpont/mysql/calshowprocesslist.sql
|
/usr/local/MariaDB/Columnstore/mysql/calshowprocesslist.sql
|
||||||
|
|
||||||
%config /usr/local/Calpont/mysql/my.cnf
|
%config /usr/local/MariaDB/Columnstore/mysql/my.cnf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Scriptlets
|
# Scriptlets
|
||||||
@@ -376,7 +376,7 @@ fi
|
|||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
|
|
||||||
test -x /usr/local/Calpont/bin/post-install && /usr/local/Calpont/bin/post-install --prefix=$prefix --rpmmode=$rpmmode
|
test -x /usr/local/MariaDB/Columnstore/bin/post-install && /usr/local/MariaDB/Columnstore/bin/post-install --prefix=$prefix --rpmmode=$rpmmode
|
||||||
|
|
||||||
echo "InfinIDB RPM install completed"
|
echo "InfinIDB RPM install completed"
|
||||||
|
|
||||||
@@ -428,7 +428,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $rpmmode = erase ]; then
|
if [ $rpmmode = erase ]; then
|
||||||
test -x /usr/local/Calpont/bin/pre-uninstall && /usr/local/Calpont/bin/pre-uninstall
|
test -x /usr/local/MariaDB/Columnstore/bin/pre-uninstall && /usr/local/MariaDB/Columnstore/bin/pre-uninstall
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
version=5.0
|
version=10.0
|
||||||
release=0
|
release=1
|
||||||
|
|
||||||
|
5
build/releasenum~
Normal file
5
build/releasenum~
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#
|
||||||
|
|
||||||
|
version=5.0
|
||||||
|
release=0
|
||||||
|
|
@@ -27,9 +27,9 @@ hostinfo = unknown
|
|||||||
/usr/bin/oslevel = unknown
|
/usr/bin/oslevel = unknown
|
||||||
/bin/universe = unknown
|
/bin/universe = unknown
|
||||||
|
|
||||||
PATH: /usr/local/Calpont/bin
|
PATH: /usr/local/MariaDB/Columnstore/bin
|
||||||
PATH: /home/calpont/bin
|
PATH: /home/calpont/bin
|
||||||
PATH: /usr/local/Calpont/bin
|
PATH: /usr/local/MariaDB/Columnstore/bin
|
||||||
PATH: /home/calpont/bin
|
PATH: /home/calpont/bin
|
||||||
PATH: /usr/lib64/qt-3.3/bin
|
PATH: /usr/lib64/qt-3.3/bin
|
||||||
PATH: /usr/local/bin
|
PATH: /usr/local/bin
|
||||||
|
5068
config.log~
Normal file
5068
config.log~
Normal file
File diff suppressed because it is too large
Load Diff
@@ -148,7 +148,7 @@ public:
|
|||||||
void destroySemaphores()
|
void destroySemaphores()
|
||||||
{
|
{
|
||||||
key_t semkey;
|
key_t semkey;
|
||||||
char* semseed = "/usr/local/Calpont/etc/Calpont.xml";
|
char* semseed = "/usr/local/MariaDB/Columnstore/etc/Calpont.xml";
|
||||||
int sems, err;
|
int sems, err;
|
||||||
|
|
||||||
// semkey = ftok(semseed, 0x2149bdd2); // these things must match in the SM constructor
|
// semkey = ftok(semseed, 0x2149bdd2); // these things must match in the SM constructor
|
||||||
@@ -166,7 +166,7 @@ public:
|
|||||||
void destroyShmseg()
|
void destroyShmseg()
|
||||||
{
|
{
|
||||||
key_t shmkey;
|
key_t shmkey;
|
||||||
char* shmseed = "/usr/local/Calpont/etc/Calpont.xml";
|
char* shmseed = "/usr/local/MariaDB/Columnstore/etc/Calpont.xml";
|
||||||
int shms, err;
|
int shms, err;
|
||||||
|
|
||||||
// shmkey = ftok(shmseed, 0x2149bdd2); // these things much match in the SM constructor
|
// shmkey = ftok(shmseed, 0x2149bdd2); // these things much match in the SM constructor
|
||||||
|
@@ -1082,7 +1082,7 @@ public:
|
|||||||
int oid, oidBase;
|
int oid, oidBase;
|
||||||
|
|
||||||
// fake out the objmgr...
|
// fake out the objmgr...
|
||||||
setenv("CALPONT_CONFIG_FILE", "/usr/local/Calpont/etc/Calpont.xml", 1);
|
setenv("CALPONT_CONFIG_FILE", "/usr/local/MariaDB/Columnstore/etc/Calpont.xml", 1);
|
||||||
Config* cf = Config::makeConfig();
|
Config* cf = Config::makeConfig();
|
||||||
cf->setConfig("OIDManager", "OIDBitmapFile", "./oidbitmap");
|
cf->setConfig("OIDManager", "OIDBitmapFile", "./oidbitmap");
|
||||||
|
|
||||||
|
@@ -6,7 +6,7 @@ use DBI;
|
|||||||
use DBD::mysql;
|
use DBD::mysql;
|
||||||
|
|
||||||
$databasename='calpont';
|
$databasename='calpont';
|
||||||
$cnffile='/usr/local/Calpont/mysql/my.cnf';
|
$cnffile='/usr/local/MariaDB/Columnstore/mysql/my.cnf';
|
||||||
|
|
||||||
$data_source = 'DBI:mysql:database=' . $databasename . ':mysql_read_default_file=' . $cnffile . '';
|
$data_source = 'DBI:mysql:database=' . $databasename . ':mysql_read_default_file=' . $cnffile . '';
|
||||||
$username = 'root';
|
$username = 'root';
|
||||||
|
@@ -42,7 +42,7 @@ namespace
|
|||||||
void logDiskIoInfo(uint64_t stepId, const AnyDataListSPtr& spdl)
|
void logDiskIoInfo(uint64_t stepId, const AnyDataListSPtr& spdl)
|
||||||
{
|
{
|
||||||
boost::mutex::scoped_lock lk(fileLock_g);
|
boost::mutex::scoped_lock lk(fileLock_g);
|
||||||
ofstream umDiskIoFile("/var/log/Calpont/trace/umdiskio.log", ios_base::app);
|
ofstream umDiskIoFile("/var/log/Columnstore/trace/umdiskio.log", ios_base::app);
|
||||||
|
|
||||||
CalpontSystemCatalog::OID oid;
|
CalpontSystemCatalog::OID oid;
|
||||||
uint64_t maxBuckets = 0;
|
uint64_t maxBuckets = 0;
|
||||||
@@ -106,7 +106,7 @@ void logDiskIoInfo(uint64_t stepId, const AnyDataListSPtr& spdl)
|
|||||||
// move the current file to bak when size above .5 G, so total log is 1 G
|
// move the current file to bak when size above .5 G, so total log is 1 G
|
||||||
if (curPos > 0x20000000)
|
if (curPos > 0x20000000)
|
||||||
{
|
{
|
||||||
(void)system("/bin/mv /var/log/Calpont/trace/umdiskio.log /var/log/Calpont/trace/umdiskio.bak");
|
(void)system("/bin/mv /var/log/Columnstore/trace/umdiskio.log /var/log/Columnstore/trace/umdiskio.bak");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -65,7 +65,7 @@ const uint32_t MAX_SIZE = 0x100000;
|
|||||||
const uint32_t MAX_ELEMENTS = 0x20000;
|
const uint32_t MAX_ELEMENTS = 0x20000;
|
||||||
const uint32_t NUM_THREADS = 4;
|
const uint32_t NUM_THREADS = 4;
|
||||||
const string datapath="/home/zzhu/genii/tools/dbbuilder/lineitem.tbl";
|
const string datapath="/home/zzhu/genii/tools/dbbuilder/lineitem.tbl";
|
||||||
//const string datapath="/usr/local/Calpont/bin/lineitem.tbl";
|
//const string datapath="/usr/local/MariaDB/Columnstore/bin/lineitem.tbl";
|
||||||
int numConsumers = 1;
|
int numConsumers = 1;
|
||||||
int numRuns = 1;
|
int numRuns = 1;
|
||||||
int printInterval = numRuns * 100000;
|
int printInterval = numRuns * 100000;
|
||||||
|
@@ -25,7 +25,7 @@ libcalmysql_la_CPPFLAGS = -I/usr/include/libxml2 -I../../../mysql/include -I../.
|
|||||||
include_HEADERS = idb_mysql.h
|
include_HEADERS = idb_mysql.h
|
||||||
|
|
||||||
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
|
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
|
||||||
dist_mysql_SCRIPTS = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
|
mysql-Columnstore = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
|
||||||
|
|
||||||
test:
|
test:
|
||||||
|
|
||||||
|
@@ -40,7 +40,7 @@ POST_UNINSTALL = :
|
|||||||
build_triplet = @build@
|
build_triplet = @build@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
subdir = dbcon/mysql
|
subdir = dbcon/mysql
|
||||||
DIST_COMMON = $(dist_mysql_DATA) $(dist_mysql_SCRIPTS) \
|
DIST_COMMON = $(dist_mysql_DATA) $(mysql-Columnstore) \
|
||||||
$(include_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
$(include_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = $(top_srcdir)/m4/compilerflags.m4 \
|
am__aclocal_m4_deps = $(top_srcdir)/m4/compilerflags.m4 \
|
||||||
@@ -75,7 +75,7 @@ am_libcalmysql_la_OBJECTS = libcalmysql_la-ha_calpont.lo \
|
|||||||
libcalmysql_la-ha_pseudocolumn.lo
|
libcalmysql_la-ha_pseudocolumn.lo
|
||||||
libcalmysql_la_OBJECTS = $(am_libcalmysql_la_OBJECTS)
|
libcalmysql_la_OBJECTS = $(am_libcalmysql_la_OBJECTS)
|
||||||
dist_mysqlSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
dist_mysqlSCRIPT_INSTALL = $(INSTALL_SCRIPT)
|
||||||
SCRIPTS = $(dist_mysql_SCRIPTS)
|
SCRIPTS = $(mysql-Columnstore)
|
||||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
||||||
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
||||||
am__depfiles_maybe = depfiles
|
am__depfiles_maybe = depfiles
|
||||||
@@ -255,7 +255,7 @@ libcalmysql_la_LDFLAGS = -version-info 1:0:0 $(idb_common_ldflags) $(idb_common_
|
|||||||
libcalmysql_la_CPPFLAGS = -I/usr/include/libxml2 -I../../../mysql/include -I../../../mysql/sql -I../../../mysql/regex -DMYSQL_DYNAMIC_PLUGIN $(AM_CPPFLAGS)
|
libcalmysql_la_CPPFLAGS = -I/usr/include/libxml2 -I../../../mysql/include -I../../../mysql/sql -I../../../mysql/regex -DMYSQL_DYNAMIC_PLUGIN $(AM_CPPFLAGS)
|
||||||
include_HEADERS = idb_mysql.h
|
include_HEADERS = idb_mysql.h
|
||||||
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
|
dist_mysql_DATA = syscatalog_mysql.sql dumpcat_mysql.sql calsetuserpriority.sql calremoveuserpriority.sql calshowprocesslist.sql my.cnf
|
||||||
dist_mysql_SCRIPTS = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
|
mysql-Columnstore = install_calpont_mysql.sh mysql-Calpont dumpcat.pl
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
@@ -318,10 +318,10 @@ clean-libLTLIBRARIES:
|
|||||||
done
|
done
|
||||||
libcalmysql.la: $(libcalmysql_la_OBJECTS) $(libcalmysql_la_DEPENDENCIES)
|
libcalmysql.la: $(libcalmysql_la_OBJECTS) $(libcalmysql_la_DEPENDENCIES)
|
||||||
$(CXXLINK) -rpath $(libdir) $(libcalmysql_la_LDFLAGS) $(libcalmysql_la_OBJECTS) $(libcalmysql_la_LIBADD) $(LIBS)
|
$(CXXLINK) -rpath $(libdir) $(libcalmysql_la_LDFLAGS) $(libcalmysql_la_OBJECTS) $(libcalmysql_la_LIBADD) $(LIBS)
|
||||||
install-dist_mysqlSCRIPTS: $(dist_mysql_SCRIPTS)
|
install-dist_mysqlSCRIPTS: $(mysql-Columnstore)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
test -z "$(mysqldir)" || $(mkdir_p) "$(DESTDIR)$(mysqldir)"
|
test -z "$(mysqldir)" || $(mkdir_p) "$(DESTDIR)$(mysqldir)"
|
||||||
@list='$(dist_mysql_SCRIPTS)'; for p in $$list; do \
|
@list='$(mysql-Columnstore)'; for p in $$list; do \
|
||||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
if test -f $$d$$p; then \
|
if test -f $$d$$p; then \
|
||||||
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||||
@@ -332,7 +332,7 @@ install-dist_mysqlSCRIPTS: $(dist_mysql_SCRIPTS)
|
|||||||
|
|
||||||
uninstall-dist_mysqlSCRIPTS:
|
uninstall-dist_mysqlSCRIPTS:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(dist_mysql_SCRIPTS)'; for p in $$list; do \
|
@list='$(mysql-Columnstore)'; for p in $$list; do \
|
||||||
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
|
||||||
echo " rm -f '$(DESTDIR)$(mysqldir)/$$f'"; \
|
echo " rm -f '$(DESTDIR)$(mysqldir)/$$f'"; \
|
||||||
rm -f "$(DESTDIR)$(mysqldir)/$$f"; \
|
rm -f "$(DESTDIR)$(mysqldir)/$$f"; \
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
use DBI;
|
use DBI;
|
||||||
use DBD::mysql;
|
use DBD::mysql;
|
||||||
|
|
||||||
$data_source = 'DBI:mysql:database=calpontsys:mysql_read_default_file=/usr/local/Calpont/mysql/my.cnf';
|
$data_source = 'DBI:mysql:database=calpontsys:mysql_read_default_file=/usr/local/MariaDB/Columnstore/mysql/my.cnf';
|
||||||
$username = 'root';
|
$username = 'root';
|
||||||
$auth = '';
|
$auth = '';
|
||||||
%attr = ();
|
%attr = ();
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
./my.cnf
|
./my.cnf
|
||||||
./mysql-Calpont
|
./mysql-Columnstore
|
||||||
./install_calpont_mysql.sh
|
./install_calpont_mysql.sh
|
||||||
|
@@ -4,14 +4,14 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
rpmmode=install
|
rpmmode=install
|
||||||
pwprompt=" "
|
pwprompt=" "
|
||||||
|
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
||||||
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
||||||
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
|
@@ -20,15 +20,15 @@
|
|||||||
[client]
|
[client]
|
||||||
#password = your_password
|
#password = your_password
|
||||||
port = 3306
|
port = 3306
|
||||||
socket = /usr/local/Calpont/mysql/lib/mysql/mysql.sock
|
socket = /usr/local/MariaDB/Columnstore/mysql/lib/mysql/mysql.sock
|
||||||
|
|
||||||
# Here follows entries for some specific programs
|
# Here follows entries for some specific programs
|
||||||
|
|
||||||
# The MySQL server
|
# The MySQL server
|
||||||
[mysqld]
|
[mysqld]
|
||||||
port = 3306
|
port = 3306
|
||||||
socket = /usr/local/Calpont/mysql/lib/mysql/mysql.sock
|
socket = /usr/local/MariaDB/Columnstore/mysql/lib/mysql/mysql.sock
|
||||||
datadir = /usr/local/Calpont/mysql/db
|
datadir = /usr/local/MariaDB/Columnstore/mysql/db
|
||||||
skip-external-locking
|
skip-external-locking
|
||||||
key_buffer_size = 512M
|
key_buffer_size = 512M
|
||||||
max_allowed_packet = 1M
|
max_allowed_packet = 1M
|
||||||
@@ -62,10 +62,10 @@ infinidb_um_mem_limit=0
|
|||||||
infinidb_use_import_for_batchinsert=1
|
infinidb_use_import_for_batchinsert=1
|
||||||
infinidb_import_for_batchinsert_delimiter=7
|
infinidb_import_for_batchinsert_delimiter=7
|
||||||
|
|
||||||
basedir = /usr/local/Calpont/mysql/
|
basedir = /usr/local/MariaDB/Columnstore/mysql/
|
||||||
character-sets-dir = /usr/local/Calpont/mysql/share/mysql/charsets/
|
character-sets-dir = /usr/local/MariaDB/Columnstore/mysql/share/mysql/charsets/
|
||||||
language = /usr/local/Calpont/mysql/share/mysql/english/
|
language = /usr/local/MariaDB/Columnstore/mysql/share/mysql/english/
|
||||||
plugin_dir = /usr/local/Calpont/mysql/lib64/mysql/plugin
|
plugin_dir = /usr/local/MariaDB/Columnstore/mysql/lib64/mysql/plugin
|
||||||
|
|
||||||
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
# Don't listen on a TCP/IP port at all. This can be a security enhancement,
|
||||||
# if all processes that need to connect to mysqld run on the same host.
|
# if all processes that need to connect to mysqld run on the same host.
|
||||||
@@ -134,20 +134,20 @@ slave-skip-errors=all
|
|||||||
#master-port = <port>
|
#master-port = <port>
|
||||||
#
|
#
|
||||||
# binary logging - not required for slaves, but recommended
|
# binary logging - not required for slaves, but recommended
|
||||||
log-bin=/usr/local/Calpont/mysql/db/mysql-bin
|
log-bin=/usr/local/MariaDB/Columnstore/mysql/db/mysql-bin
|
||||||
relay-log=/usr/local/Calpont/mysql/db/relay-bin
|
relay-log=/usr/local/MariaDB/Columnstore/mysql/db/relay-bin
|
||||||
relay-log-index = /usr/local/Calpont/mysql/db/relay-bin.index
|
relay-log-index = /usr/local/MariaDB/Columnstore/mysql/db/relay-bin.index
|
||||||
relay-log-info-file = /usr/local/Calpont/mysql/db/relay-bin.info
|
relay-log-info-file = /usr/local/MariaDB/Columnstore/mysql/db/relay-bin.info
|
||||||
|
|
||||||
# Point the following paths to different dedicated disks
|
# Point the following paths to different dedicated disks
|
||||||
#tmpdir = /tmp/
|
#tmpdir = /tmp/
|
||||||
#log-update = /path-to-dedicated-directory/hostname
|
#log-update = /path-to-dedicated-directory/hostname
|
||||||
|
|
||||||
# Uncomment the following if you are using InnoDB tables
|
# Uncomment the following if you are using InnoDB tables
|
||||||
#innodb_data_home_dir = /usr/local/Calpont/mysql/lib/mysql/
|
#innodb_data_home_dir = /usr/local/MariaDB/Columnstore/mysql/lib/mysql/
|
||||||
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
|
#innodb_data_file_path = ibdata1:2000M;ibdata2:10M:autoextend
|
||||||
#innodb_log_group_home_dir = /usr/local/Calpont/mysql/lib/mysql/
|
#innodb_log_group_home_dir = /usr/local/MariaDB/Columnstore/mysql/lib/mysql/
|
||||||
#innodb_log_arch_dir = /usr/local/Calpont/mysql/lib/mysql/
|
#innodb_log_arch_dir = /usr/local/MariaDB/Columnstore/mysql/lib/mysql/
|
||||||
# You can set .._buffer_pool_size up to 50 - 80 %
|
# You can set .._buffer_pool_size up to 50 - 80 %
|
||||||
# of RAM but beware of setting memory usage too high
|
# of RAM but beware of setting memory usage too high
|
||||||
#innodb_buffer_pool_size = 384M
|
#innodb_buffer_pool_size = 384M
|
||||||
|
@@ -55,7 +55,7 @@ service_startup_timeout=30
|
|||||||
|
|
||||||
# Lock directory for RedHat / SuSE.
|
# Lock directory for RedHat / SuSE.
|
||||||
lockdir='/var/lock/subsys'
|
lockdir='/var/lock/subsys'
|
||||||
lock_file_path="$lockdir/mysql-Calpont"
|
lock_file_path="$lockdir/mysql-Columnstore"
|
||||||
|
|
||||||
# The following variables are only set for letting mysql.server find things.
|
# The following variables are only set for letting mysql.server find things.
|
||||||
|
|
||||||
|
480
dbcon/mysql/mysql-Columnstore
Executable file
480
dbcon/mysql/mysql-Columnstore
Executable file
@@ -0,0 +1,480 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
|
||||||
|
# This file is public domain and comes with NO WARRANTY of any kind
|
||||||
|
|
||||||
|
# MySQL daemon start/stop script.
|
||||||
|
|
||||||
|
# Usually this is put in /etc/init.d (at least on machines SYSV R4 based
|
||||||
|
# systems) and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql.
|
||||||
|
# When this is done the mysql server will be started when the machine is
|
||||||
|
# started and shut down when the systems goes down.
|
||||||
|
|
||||||
|
# Comments to support chkconfig on RedHat Linux
|
||||||
|
# chkconfig: 2345 64 36
|
||||||
|
# description: A very fast and reliable SQL database engine.
|
||||||
|
|
||||||
|
# Comments to support LSB init script conventions
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: mysql
|
||||||
|
# Required-Start: $local_fs $network $remote_fs
|
||||||
|
# Should-Start: ypbind nscd ldap ntpd xntpd
|
||||||
|
# Required-Stop: $local_fs $network $remote_fs
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: start and stop MySQL
|
||||||
|
# Description: MySQL is a very fast and reliable SQL database engine.
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
# If you install MySQL on some other places than /usr/local/MariaDB/Columnstore/mysql, then you
|
||||||
|
# have to do one of the following things for this script to work:
|
||||||
|
#
|
||||||
|
# - Run this script from within the MySQL installation directory
|
||||||
|
# - Create a /etc/my.cnf file with the following information:
|
||||||
|
# [mysqld]
|
||||||
|
# basedir=<path-to-mysql-installation-directory>
|
||||||
|
# - Add the above to any other configuration file (for example ~/.my.ini)
|
||||||
|
# and copy my_print_defaults to /usr/bin
|
||||||
|
# - Add the path to the mysql-installation-directory to the basedir variable
|
||||||
|
# below.
|
||||||
|
#
|
||||||
|
# If you want to affect other MySQL variables, you should make your changes
|
||||||
|
# in the /etc/my.cnf, ~/.my.cnf or other MySQL configuration files.
|
||||||
|
|
||||||
|
# If you change base dir, you must also change datadir. These may get
|
||||||
|
# overwritten by settings in the MySQL configuration files.
|
||||||
|
|
||||||
|
basedir=/usr/local/MariaDB/Columnstore/mysql
|
||||||
|
datadir=/usr/local/MariaDB/Columnstore/mysql/db
|
||||||
|
|
||||||
|
# Default value, in seconds, afterwhich the script should timeout waiting
|
||||||
|
# for server start.
|
||||||
|
# Value here is overriden by value in my.cnf.
|
||||||
|
# 0 means don't wait at all
|
||||||
|
# Negative numbers mean to wait indefinitely
|
||||||
|
service_startup_timeout=30
|
||||||
|
|
||||||
|
# Lock directory for RedHat / SuSE.
|
||||||
|
lockdir='/var/lock/subsys'
|
||||||
|
lock_file_path="$lockdir/mysql-Columnstore"
|
||||||
|
|
||||||
|
# The following variables are only set for letting mysql.server find things.
|
||||||
|
|
||||||
|
# Set some defaults
|
||||||
|
mysqld_pid_file_path=
|
||||||
|
if test -z "$basedir"
|
||||||
|
then
|
||||||
|
basedir=/usr/local/MariaDB/Columnstore/mysql
|
||||||
|
bindir=/usr/local/bin
|
||||||
|
if test -z "$datadir"
|
||||||
|
then
|
||||||
|
datadir=/var/lib/mysql
|
||||||
|
fi
|
||||||
|
sbindir=/usr/local/sbin
|
||||||
|
libexecdir=/usr/local/sbin
|
||||||
|
else
|
||||||
|
bindir="$basedir/bin"
|
||||||
|
if test -z "$datadir"
|
||||||
|
then
|
||||||
|
datadir="$basedir/data"
|
||||||
|
fi
|
||||||
|
sbindir="$basedir/sbin"
|
||||||
|
if test -f "$basedir/sbin/mysqld"
|
||||||
|
then
|
||||||
|
libexecdir="$basedir/sbin"
|
||||||
|
else
|
||||||
|
libexecdir="$basedir/libexec"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# datadir_set is used to determine if datadir was set (and so should be
|
||||||
|
# *not* set inside of the --basedir= handler.)
|
||||||
|
datadir_set=
|
||||||
|
|
||||||
|
#
|
||||||
|
# Use LSB init script functions for printing messages, if possible
|
||||||
|
#
|
||||||
|
lsb_functions="/lib/lsb/init-functions"
|
||||||
|
if test -f $lsb_functions ; then
|
||||||
|
. $lsb_functions
|
||||||
|
else
|
||||||
|
# Include non-LSB RedHat init functions to make systemctl redirect work
|
||||||
|
init_functions="/etc/init.d/functions"
|
||||||
|
if test -f $init_functions; then
|
||||||
|
. $init_functions
|
||||||
|
fi
|
||||||
|
log_success_msg()
|
||||||
|
{
|
||||||
|
echo " SUCCESS! $@"
|
||||||
|
}
|
||||||
|
log_failure_msg()
|
||||||
|
{
|
||||||
|
echo " ERROR! $@"
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
|
||||||
|
PATH="/sbin:/usr/sbin:/bin:/usr/bin:$basedir/bin"
|
||||||
|
export PATH
|
||||||
|
|
||||||
|
mode=$1 # start or stop
|
||||||
|
|
||||||
|
[ $# -ge 1 ] && shift
|
||||||
|
|
||||||
|
case `echo "testing\c"`,`echo -n testing` in
|
||||||
|
*c*,-n*) echo_n= echo_c= ;;
|
||||||
|
*c*,*) echo_n=-n echo_c= ;;
|
||||||
|
*) echo_n= echo_c='\c' ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
parse_server_arguments() {
|
||||||
|
for arg do
|
||||||
|
case "$arg" in
|
||||||
|
--basedir=*) basedir=`echo "$arg" | sed -e 's/^[^=]*=//'`
|
||||||
|
bindir="$basedir/bin"
|
||||||
|
if test -z "$datadir_set"; then
|
||||||
|
datadir="$basedir/data"
|
||||||
|
fi
|
||||||
|
sbindir="$basedir/sbin"
|
||||||
|
if test -f "$basedir/sbin/mysqld"
|
||||||
|
then
|
||||||
|
libexecdir="$basedir/sbin"
|
||||||
|
else
|
||||||
|
libexecdir="$basedir/libexec"
|
||||||
|
fi
|
||||||
|
#libexecdir="$basedir/libexec"
|
||||||
|
;;
|
||||||
|
--datadir=*) datadir=`echo "$arg" | sed -e 's/^[^=]*=//'`
|
||||||
|
datadir_set=1
|
||||||
|
;;
|
||||||
|
--log-basename=*|--hostname=*|--loose-log-basename=*)
|
||||||
|
mysqld_pid_file_path=`echo "$arg.pid" | sed -e 's/^[^=]*=//'`
|
||||||
|
;;
|
||||||
|
--pid-file=*) mysqld_pid_file_path=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
||||||
|
--service-startup-timeout=*) service_startup_timeout=`echo "$arg" | sed -e 's/^[^=]*=//'` ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# Get arguments from the my.cnf file,
|
||||||
|
# the only group, which is read from now on is [mysqld]
|
||||||
|
if test -x ./bin/my_print_defaults
|
||||||
|
then
|
||||||
|
print_defaults="./bin/my_print_defaults"
|
||||||
|
elif test -x $bindir/my_print_defaults
|
||||||
|
then
|
||||||
|
print_defaults="$bindir/my_print_defaults"
|
||||||
|
elif test -x $bindir/mysql_print_defaults
|
||||||
|
then
|
||||||
|
print_defaults="$bindir/mysql_print_defaults"
|
||||||
|
else
|
||||||
|
# Try to find basedir in /etc/my.cnf
|
||||||
|
conf=/etc/my.cnf
|
||||||
|
print_defaults=
|
||||||
|
if test -r $conf
|
||||||
|
then
|
||||||
|
subpat='^[^=]*basedir[^=]*=\(.*\)$'
|
||||||
|
dirs=`sed -e "/$subpat/!d" -e 's//\1/' $conf`
|
||||||
|
for d in $dirs
|
||||||
|
do
|
||||||
|
d=`echo $d | sed -e 's/[ ]//g'`
|
||||||
|
if test -x "$d/bin/my_print_defaults"
|
||||||
|
then
|
||||||
|
print_defaults="$d/bin/my_print_defaults"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
if test -x "$d/bin/mysql_print_defaults"
|
||||||
|
then
|
||||||
|
print_defaults="$d/bin/mysql_print_defaults"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Hope it's in the PATH ... but I doubt it
|
||||||
|
test -z "$print_defaults" && print_defaults="my_print_defaults"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# Read defaults file from 'basedir'. If there is no defaults file there
|
||||||
|
# check if it's in the old (depricated) place (datadir) and read it from there
|
||||||
|
#
|
||||||
|
|
||||||
|
extra_args=""
|
||||||
|
if test -r "$basedir/my.cnf"
|
||||||
|
then
|
||||||
|
extra_args="-e $basedir/my.cnf"
|
||||||
|
else
|
||||||
|
if test -r "$datadir/my.cnf"
|
||||||
|
then
|
||||||
|
extra_args="-e $datadir/my.cnf"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
parse_server_arguments `$print_defaults $extra_args --mysqld mysql.server`
|
||||||
|
parse_server_arguments "$@"
|
||||||
|
|
||||||
|
# wait for the pid file to disappear
|
||||||
|
wait_for_gone () {
|
||||||
|
pid="$1" # process ID of the program operating on the pid-file
|
||||||
|
pid_file_path="$2" # path to the PID file.
|
||||||
|
|
||||||
|
i=0
|
||||||
|
crash_protection="by checking again"
|
||||||
|
|
||||||
|
while test $i -ne $service_startup_timeout ; do
|
||||||
|
|
||||||
|
if kill -0 "$pid" 2>/dev/null; then
|
||||||
|
: # the server still runs
|
||||||
|
else
|
||||||
|
if test ! -s "$pid_file_path"; then
|
||||||
|
# no server process and no pid-file? great, we're done!
|
||||||
|
log_success_msg
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# pid-file exists, the server process doesn't.
|
||||||
|
# it must've crashed, and mysqld_safe will restart it
|
||||||
|
if test -n "$crash_protection"; then
|
||||||
|
crash_protection=""
|
||||||
|
sleep 5
|
||||||
|
continue # Check again.
|
||||||
|
fi
|
||||||
|
|
||||||
|
kill_by_pid
|
||||||
|
# Cannot help it
|
||||||
|
log_failure_msg "The server quit without updating PID file ($pid_file_path)."
|
||||||
|
return 1 # not waiting any more.
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo $echo_n ".$echo_c"
|
||||||
|
i=`expr $i + 1`
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
log_failure_msg
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
wait_for_ready () {
|
||||||
|
|
||||||
|
i=0
|
||||||
|
while test $i -ne $service_startup_timeout ; do
|
||||||
|
|
||||||
|
if $bindir/mysqladmin ping --socket=/usr/local/MariaDB/Columnstore/mysql/lib/mysql/mysql.sock >/dev/null 2>&1; then
|
||||||
|
log_success_msg
|
||||||
|
return 0
|
||||||
|
elif kill -0 $! 2>/dev/null ; then
|
||||||
|
: # mysqld_safe is still running
|
||||||
|
else
|
||||||
|
# mysqld_safe is no longer running, abort the wait loop
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo $echo_n ".$echo_c"
|
||||||
|
i=`expr $i + 1`
|
||||||
|
sleep 1
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
log_failure_msg
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
#
|
||||||
|
# Set pid file if not given
|
||||||
|
#
|
||||||
|
if test -z "$mysqld_pid_file_path"
|
||||||
|
then
|
||||||
|
mysqld_pid_file_path=$datadir/`hostname`.pid
|
||||||
|
else
|
||||||
|
case "$mysqld_pid_file_path" in
|
||||||
|
/* ) ;;
|
||||||
|
* ) mysqld_pid_file_path="$datadir/$mysqld_pid_file_path" ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
# source other config files
|
||||||
|
[ -f /etc/default/mysql ] && . /etc/default/mysql
|
||||||
|
[ -f /etc/sysconfig/mysql ] && . /etc/sysconfig/mysql
|
||||||
|
[ -f /etc/conf.d/mysql ] && . /etc/conf.d/mysql
|
||||||
|
|
||||||
|
kill_by_pid() {
|
||||||
|
# let's see if we can kill the 2 mysql procs by hand
|
||||||
|
# get the our mysql from ps
|
||||||
|
eval $(ps -ef | grep "$INFINIDB_INSTALL_DIR/mysql//sbin/mysqld" | grep -v grep | head -1 | awk '{printf "pid=%d\n", $2}')
|
||||||
|
|
||||||
|
if [ -n "$pid" ]; then
|
||||||
|
ppid=$(ps -o ppid= -p $pid)
|
||||||
|
$SUDO kill -9 $ppid
|
||||||
|
kill -9 $ppid
|
||||||
|
sleep 1
|
||||||
|
$SUDO kill -9 $pid
|
||||||
|
kill -9 $pid
|
||||||
|
echo $echo_n "Force shutting down (no/bad pid file)"
|
||||||
|
log_success_msg
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$mode" in
|
||||||
|
'start')
|
||||||
|
# Start daemon
|
||||||
|
|
||||||
|
# Safeguard (relative paths, core dumps..)
|
||||||
|
cd $basedir
|
||||||
|
|
||||||
|
echo $echo_n "Starting MySQL"
|
||||||
|
if test -x $bindir/mysqld_safe
|
||||||
|
then
|
||||||
|
# Give extra arguments to mysqld with the my.cnf file. This script
|
||||||
|
# may be overwritten at next upgrade.
|
||||||
|
$bindir/mysqld_safe --datadir="$datadir" --pid-file="$mysqld_pid_file_path" "--ledir=$libexecdir" "$@" >/dev/null 2>&1 &
|
||||||
|
wait_for_ready; return_value=$?
|
||||||
|
|
||||||
|
# Make lock for RedHat / SuSE
|
||||||
|
if test -w "$lockdir"
|
||||||
|
then
|
||||||
|
touch "$lock_file_path"
|
||||||
|
fi
|
||||||
|
|
||||||
|
exit $return_value
|
||||||
|
else
|
||||||
|
log_failure_msg "Couldn't find MySQL server ($bindir/mysqld_safe)"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
'stop')
|
||||||
|
# Stop daemon. We use a signal here to avoid having to know the
|
||||||
|
# root password.
|
||||||
|
|
||||||
|
if test -s "$mysqld_pid_file_path"
|
||||||
|
then
|
||||||
|
mysqld_pid=`cat "$mysqld_pid_file_path"`
|
||||||
|
|
||||||
|
if (kill -0 $mysqld_pid 2>/dev/null)
|
||||||
|
then
|
||||||
|
echo $echo_n "Shutting down MySQL"
|
||||||
|
kill $mysqld_pid
|
||||||
|
# mysqld should remove the pid file when it exits, so wait for it.
|
||||||
|
wait_for_gone $mysqld_pid "$mysqld_pid_file_path"; return_value=$?
|
||||||
|
else
|
||||||
|
log_failure_msg "MySQL server process #$mysqld_pid is not running!"
|
||||||
|
rm "$mysqld_pid_file_path"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Delete lock for RedHat / SuSE
|
||||||
|
if test -f "$lock_file_path"
|
||||||
|
then
|
||||||
|
rm -f "$lock_file_path"
|
||||||
|
fi
|
||||||
|
exit $return_value
|
||||||
|
else
|
||||||
|
kill_by_pid
|
||||||
|
log_failure_msg "MySQL server PID file could not be found!"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
'restart')
|
||||||
|
# Stop the service and regardless of whether it was
|
||||||
|
# running or not, start it again.
|
||||||
|
if $0 stop "$@"; then
|
||||||
|
if ! $0 start "$@"; then
|
||||||
|
log_failure_msg "Failed to restart server."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
log_failure_msg "Failed to stop running server, so refusing to try to start."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
'reload'|'force-reload')
|
||||||
|
if test -s "$mysqld_pid_file_path" ; then
|
||||||
|
read mysqld_pid < "$mysqld_pid_file_path"
|
||||||
|
kill -HUP $mysqld_pid && log_success_msg "Reloading service MySQL"
|
||||||
|
touch "$mysqld_pid_file_path"
|
||||||
|
else
|
||||||
|
log_failure_msg "MySQL PID file could not be found!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
'status')
|
||||||
|
# First, check to see if pid file exists
|
||||||
|
if test -s "$mysqld_pid_file_path" ; then
|
||||||
|
read mysqld_pid < "$mysqld_pid_file_path"
|
||||||
|
if kill -0 $mysqld_pid 2>/dev/null ; then
|
||||||
|
log_success_msg "MySQL running ($mysqld_pid)"
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
log_failure_msg "MySQL is not running, but PID file exists"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
# Try to find appropriate mysqld process
|
||||||
|
mysqld_pid=`pidof $libexecdir/mysqld`
|
||||||
|
|
||||||
|
# test if multiple pids exist
|
||||||
|
pid_count=`echo $mysqld_pid | wc -w`
|
||||||
|
if test $pid_count -gt 1 ; then
|
||||||
|
log_failure_msg "Multiple MySQL running but PID file could not be found ($mysqld_pid)"
|
||||||
|
exit 5
|
||||||
|
elif test -z $mysqld_pid ; then
|
||||||
|
if test -f "$lock_file_path" ; then
|
||||||
|
log_failure_msg "MySQL is not running, but lock file ($lock_file_path) exists"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
log_failure_msg "MySQL is not running"
|
||||||
|
exit 3
|
||||||
|
else
|
||||||
|
log_failure_msg "MySQL is running but PID file could not be found"
|
||||||
|
exit 4
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
'configtest')
|
||||||
|
# Safeguard (relative paths, core dumps..)
|
||||||
|
cd $basedir
|
||||||
|
echo $echo_n "Testing MySQL configuration syntax"
|
||||||
|
daemon=$bindir/mysqld
|
||||||
|
if test -x $libexecdir/mysqld
|
||||||
|
then
|
||||||
|
daemon=$libexecdir/mysqld
|
||||||
|
elif test -x $sbindir/mysqld
|
||||||
|
then
|
||||||
|
daemon=$sbindir/mysqld
|
||||||
|
elif test -x `which mysqld`
|
||||||
|
then
|
||||||
|
daemon=`which mysqld`
|
||||||
|
else
|
||||||
|
log_failure_msg "Unable to locate the mysqld binary!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
help_out=`$daemon --help 2>&1`; r=$?
|
||||||
|
if test "$r" != 0 ; then
|
||||||
|
log_failure_msg "$help_out"
|
||||||
|
log_failure_msg "There are syntax errors in the server configuration. Please fix them!"
|
||||||
|
else
|
||||||
|
log_success_msg "Syntax OK"
|
||||||
|
fi
|
||||||
|
exit $r
|
||||||
|
;;
|
||||||
|
'bootstrap')
|
||||||
|
if test "$_use_systemctl" == 1 ; then
|
||||||
|
log_failure_msg "Please use galera_new_cluster to start the mariadb service with --wsrep-new-cluster"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# Bootstrap the cluster, start the first node
|
||||||
|
# that initiate the cluster
|
||||||
|
echo $echo_n "Bootstrapping the cluster.. "
|
||||||
|
$0 start $other_args --wsrep-new-cluster
|
||||||
|
exit $?
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# usage
|
||||||
|
basename=`basename "$0"`
|
||||||
|
echo "Usage: $basename {start|stop|restart|reload|force-reload|status|configtest|bootstrap} [ MySQL server options ]"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
@@ -7,7 +7,7 @@ use DBD::mysql;
|
|||||||
|
|
||||||
$| = 1;
|
$| = 1;
|
||||||
|
|
||||||
$cfgfile='/usr/local/Calpont/mysql/my.cnf';
|
$cfgfile='/usr/local/MariaDB/Columnstore/mysql/my.cnf';
|
||||||
|
|
||||||
$username = 'root';
|
$username = 'root';
|
||||||
$auth = '';
|
$auth = '';
|
||||||
|
@@ -21,7 +21,7 @@ CPPFLAGS=-I$(EXPORT_ROOT)/include -I/usr/include/libxml2
|
|||||||
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
||||||
|
|
||||||
# Linker flags
|
# Linker flags
|
||||||
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) $(IDB_WRITE_LIBS) $(IDB_COMMON_LIBS) -lthreadpool $(IDB_SNMP_LIBS) -Wl,--rpath -Wl,/usr/local/Calpont/lib
|
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) $(IDB_WRITE_LIBS) $(IDB_COMMON_LIBS) -lthreadpool $(IDB_SNMP_LIBS) -Wl,--rpath -Wl,/usr/local/MariaDB/Columnstore/lib
|
||||||
|
|
||||||
# install dir (set CALPONT_INSTALL_ROOT in env to override)
|
# install dir (set CALPONT_INSTALL_ROOT in env to override)
|
||||||
CALPONT_INSTALL_ROOT?=$(EXPORT_ROOT)
|
CALPONT_INSTALL_ROOT?=$(EXPORT_ROOT)
|
||||||
|
@@ -23,7 +23,7 @@ CPPFLAGS=-I$(EXPORT_ROOT)/include -I/usr/include/libxml2
|
|||||||
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
||||||
|
|
||||||
# Linker flags
|
# Linker flags
|
||||||
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) -lboost_idb -Wl,--rpath -Wl,/usr/local/Calpont/lib -lrt
|
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) -lboost_idb -Wl,--rpath -Wl,/usr/local/MariaDB/Columnstore/lib -lrt
|
||||||
|
|
||||||
.PHONY: install clean test docs coverage leakcheck
|
.PHONY: install clean test docs coverage leakcheck
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ CPPFLAGS=-I$(EXPORT_ROOT)/include -I/usr/include/libxml2
|
|||||||
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
||||||
|
|
||||||
# Linker flags
|
# Linker flags
|
||||||
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) $(IDB_WRITE_LIBS) $(IDB_COMMON_LIBS) -lthreadpool -lddlcleanuputil -lbatchloader $(IDB_SNMP_LIBS) -Wl,--rpath -Wl,/usr/local/Calpont/lib
|
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) $(IDB_WRITE_LIBS) $(IDB_COMMON_LIBS) -lthreadpool -lddlcleanuputil -lbatchloader $(IDB_SNMP_LIBS) -Wl,--rpath -Wl,/usr/local/MariaDB/Columnstore/lib
|
||||||
|
|
||||||
# install dir (set CALPONT_INSTALL_ROOT in env to override)
|
# install dir (set CALPONT_INSTALL_ROOT in env to override)
|
||||||
CALPONT_INSTALL_ROOT?=$(EXPORT_ROOT)
|
CALPONT_INSTALL_ROOT?=$(EXPORT_ROOT)
|
||||||
|
@@ -23,7 +23,7 @@ CPPFLAGS=-I$(EXPORT_ROOT)/include -I/usr/include/libxml2
|
|||||||
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
CXXFLAGS+=$(DEBUG_FLAGS) -Wall
|
||||||
|
|
||||||
# Linker flags
|
# Linker flags
|
||||||
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) $(IDB_COMMON_LIBS) -lcacheutils -lthreadpool $(IDB_SNMP_LIBS) -Wl,--rpath -Wl,/usr/local/Calpont/lib
|
LDFLAGS+=-L$(CALPONT_LIBRARY_PATH) $(IDB_COMMON_LIBS) -lcacheutils -lthreadpool $(IDB_SNMP_LIBS) -Wl,--rpath -Wl,/usr/local/MariaDB/Columnstore/lib
|
||||||
|
|
||||||
.PHONY: install clean test docs FORCE coverage leakcheck
|
.PHONY: install clean test docs FORCE coverage leakcheck
|
||||||
|
|
||||||
|
4
libtool
4
libtool
@@ -331,7 +331,7 @@ link_all_deplibs=unknown
|
|||||||
sys_lib_search_path_spec=`echo "/lib64 /usr/lib64 /usr/local/lib64" | $SED -e "s@${gcc_dir}@\${gcc_dir}@g;s@${gcc_ver}@\${gcc_ver}@g"`
|
sys_lib_search_path_spec=`echo "/lib64 /usr/lib64 /usr/local/lib64" | $SED -e "s@${gcc_dir}@\${gcc_dir}@g;s@${gcc_ver}@\${gcc_ver}@g"`
|
||||||
|
|
||||||
# Run-time system search path for libraries
|
# Run-time system search path for libraries
|
||||||
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/lib64/ctapi /usr/local/Calpont/lib /usr/local/Calpont/mysql/lib/mysql hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib/vmware-tools/lib32/libvmGuestLib.so /usr/lib/vmware-tools/lib64/libvmGuestLib.so /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so /usr/lib/vmware-tools/lib64/libvmGuestLibJava.so /usr/lib/vmware-tools/lib32/libDeployPkg.so /usr/lib/vmware-tools/lib64/libDeployPkg.so /usr/lib64/xulrunner "
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/lib64/ctapi /usr/local/MariaDB/Columnstore/lib /usr/local/MariaDB/Columnstore/mysql/lib/mysql hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib/vmware-tools/lib32/libvmGuestLib.so /usr/lib/vmware-tools/lib64/libvmGuestLib.so /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so /usr/lib/vmware-tools/lib64/libvmGuestLibJava.so /usr/lib/vmware-tools/lib32/libDeployPkg.so /usr/lib/vmware-tools/lib64/libDeployPkg.so /usr/lib64/xulrunner "
|
||||||
|
|
||||||
# Fix the shell variable $srcfile for the compiler.
|
# Fix the shell variable $srcfile for the compiler.
|
||||||
fix_srcfile_path=""
|
fix_srcfile_path=""
|
||||||
@@ -7550,7 +7550,7 @@ link_all_deplibs=unknown
|
|||||||
sys_lib_search_path_spec=`echo "/lib64 /usr/lib64 /usr/local/lib64" | $SED -e "s@${gcc_dir}@\${gcc_dir}@g;s@${gcc_ver}@\${gcc_ver}@g"`
|
sys_lib_search_path_spec=`echo "/lib64 /usr/lib64 /usr/local/lib64" | $SED -e "s@${gcc_dir}@\${gcc_dir}@g;s@${gcc_ver}@\${gcc_ver}@g"`
|
||||||
|
|
||||||
# Run-time system search path for libraries
|
# Run-time system search path for libraries
|
||||||
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/lib64/ctapi /usr/local/Calpont/lib /usr/local/Calpont/mysql/lib/mysql hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib/vmware-tools/lib32/libvmGuestLib.so /usr/lib/vmware-tools/lib64/libvmGuestLib.so /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so /usr/lib/vmware-tools/lib64/libvmGuestLibJava.so /usr/lib/vmware-tools/lib32/libDeployPkg.so /usr/lib/vmware-tools/lib64/libDeployPkg.so /usr/lib64/xulrunner "
|
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /usr/lib64/ctapi /usr/local/MariaDB/Columnstore/lib /usr/local/MariaDB/Columnstore/mysql/lib/mysql hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg hwcap 1 nosegneg /usr/lib64/mysql /usr/lib64/qt-3.3/lib /usr/lib/vmware-tools/lib32/libvmGuestLib.so /usr/lib/vmware-tools/lib64/libvmGuestLib.so /usr/lib/vmware-tools/lib32/libvmGuestLibJava.so /usr/lib/vmware-tools/lib64/libvmGuestLibJava.so /usr/lib/vmware-tools/lib32/libDeployPkg.so /usr/lib/vmware-tools/lib64/libDeployPkg.so /usr/lib64/xulrunner "
|
||||||
|
|
||||||
# Fix the shell variable $srcfile for the compiler.
|
# Fix the shell variable $srcfile for the compiler.
|
||||||
fix_srcfile_path=""
|
fix_srcfile_path=""
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# configures and installs net-snmp modules that we need
|
# configures and installs net-snmp modules that we need
|
||||||
|
|
||||||
prefix=/usr/local/Calpont
|
prefix=/usr/local/MariaDB/Columnstore
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
@@ -9,23 +9,23 @@ prefix=/usr/local
|
|||||||
#get instance name from called
|
#get instance name from called
|
||||||
instanceName="$1"
|
instanceName="$1"
|
||||||
|
|
||||||
ec2=`$prefix/Calpont/bin/getConfig Installation EC2_HOME`
|
ec2=`$prefix/MariaDB/Columnstore/bin/getConfig Installation EC2_HOME`
|
||||||
|
|
||||||
if [ $ec2 == "unassigned" ]; then
|
if [ $ec2 == "unassigned" ]; then
|
||||||
echo "stopped"
|
echo "stopped"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
java=`$prefix/Calpont/bin/getConfig Installation JAVA_HOME`
|
java=`$prefix/MariaDB/Columnstore/bin/getConfig Installation JAVA_HOME`
|
||||||
path=`$prefix/Calpont/bin/getConfig Installation EC2_PATH`
|
path=`$prefix/MariaDB/Columnstore/bin/getConfig Installation EC2_PATH`
|
||||||
|
|
||||||
export PATH=$path
|
export PATH=$path
|
||||||
export EC2_HOME=$ec2
|
export EC2_HOME=$ec2
|
||||||
export JAVA_HOME=$java
|
export JAVA_HOME=$java
|
||||||
|
|
||||||
# get x509 Certification and Private Key
|
# get x509 Certification and Private Key
|
||||||
x509Cert=`$prefix/Calpont/bin/getConfig Installation AmazonX509Certificate`
|
x509Cert=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonX509Certificate`
|
||||||
x509PriKey=`$prefix/Calpont/bin/getConfig Installation AmazonX509PrivateKey`
|
x509PriKey=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonX509PrivateKey`
|
||||||
|
|
||||||
#get instance info
|
#get instance info
|
||||||
ec2-describe-instances -C $x509Cert -K $x509PriKey $instanceName > /tmp/instanceInfo 2> /dev/null
|
ec2-describe-instances -C $x509Cert -K $x509PriKey $instanceName > /tmp/instanceInfo 2> /dev/null
|
||||||
|
@@ -88,9 +88,9 @@ if [ "$1" = "deassignElasticIP" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
test -f /usr/local/Calpont/post/functions && . /usr/local/Calpont/post/functions
|
test -f /usr/local/MariaDB/Columnstore/post/functions && . /usr/local/MariaDB/Columnstore/post/functions
|
||||||
|
|
||||||
ec2=`$prefix/Calpont/bin/getConfig Installation EC2_HOME`
|
ec2=`$prefix/MariaDB/Columnstore/bin/getConfig Installation EC2_HOME`
|
||||||
|
|
||||||
if [ $ec2 == "unassigned" ]; then
|
if [ $ec2 == "unassigned" ]; then
|
||||||
if [ "$1" = "getPrivateIP" ]; then
|
if [ "$1" = "getPrivateIP" ]; then
|
||||||
@@ -102,21 +102,21 @@ if [ $ec2 == "unassigned" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
java=`$prefix/Calpont/bin/getConfig Installation JAVA_HOME`
|
java=`$prefix/MariaDB/Columnstore/bin/getConfig Installation JAVA_HOME`
|
||||||
path=`$prefix/Calpont/bin/getConfig Installation EC2_PATH`
|
path=`$prefix/MariaDB/Columnstore/bin/getConfig Installation EC2_PATH`
|
||||||
|
|
||||||
export PATH=$path
|
export PATH=$path
|
||||||
export EC2_HOME=$ec2
|
export EC2_HOME=$ec2
|
||||||
export JAVA_HOME=$java
|
export JAVA_HOME=$java
|
||||||
|
|
||||||
# get Keys and region
|
# get Keys and region
|
||||||
AmazonAccessKeyFile=`$prefix/Calpont/bin/getConfig Installation AmazonAccessKey`
|
AmazonAccessKeyFile=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonAccessKey`
|
||||||
if [ $AmazonAccessKeyFile == "unassigned" ]; then
|
if [ $AmazonAccessKeyFile == "unassigned" ]; then
|
||||||
echo "FAILED: missing Config Setting AmazonAccessKey : $AmazonAccessKeyfile"
|
echo "FAILED: missing Config Setting AmazonAccessKey : $AmazonAccessKeyfile"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AmazonSecretKeyFile=`$prefix/Calpont/bin/getConfig Installation AmazonSecretKey`
|
AmazonSecretKeyFile=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonSecretKey`
|
||||||
if [ $AmazonSecretKeyFile == "unassigned" ]; then
|
if [ $AmazonSecretKeyFile == "unassigned" ]; then
|
||||||
echo "FAILED: missing Config Setting AmazonSecretKeyFile : $AmazonSecretKeyFile"
|
echo "FAILED: missing Config Setting AmazonSecretKeyFile : $AmazonSecretKeyFile"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -125,8 +125,8 @@ fi
|
|||||||
AmazonAccessKey=`cat $AmazonAccessKeyFile`
|
AmazonAccessKey=`cat $AmazonAccessKeyFile`
|
||||||
AmazonSecretKey=`cat $AmazonSecretKeyFile`
|
AmazonSecretKey=`cat $AmazonSecretKeyFile`
|
||||||
|
|
||||||
Region=`$prefix/Calpont/bin/getConfig Installation AmazonRegion`
|
Region=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonRegion`
|
||||||
subnet=`$prefix/Calpont/bin/getConfig Installation AmazonSubNetID`
|
subnet=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonSubNetID`
|
||||||
|
|
||||||
if test ! -f $AmazonAccessKeyfile ; then
|
if test ! -f $AmazonAccessKeyfile ; then
|
||||||
echo "FAILED: missing AmazonAccessKeyfile : $AmazonAccessKeyfile"
|
echo "FAILED: missing AmazonAccessKeyfile : $AmazonAccessKeyfile"
|
||||||
@@ -193,7 +193,7 @@ getInstancePrivate() {
|
|||||||
|
|
||||||
getZone() {
|
getZone() {
|
||||||
#get from Calpont.xml if it's there, if not, get from instance then store
|
#get from Calpont.xml if it's there, if not, get from instance then store
|
||||||
zone=`$prefix/Calpont/bin/getConfig Installation AmazonZone`
|
zone=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonZone`
|
||||||
|
|
||||||
if [ "$zone" = "unassigned" ] || [ "$zone" = "" ]; then
|
if [ "$zone" = "unassigned" ] || [ "$zone" = "" ]; then
|
||||||
#get local Instance ID
|
#get local Instance ID
|
||||||
@@ -213,7 +213,7 @@ getZone() {
|
|||||||
fi
|
fi
|
||||||
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $11}'`
|
zone=`cat $describeInstanceFile | grep -m 1 $instance | awk '{gsub(/^[ \t]+|[ \t]+$/,"");print $11}'`
|
||||||
fi
|
fi
|
||||||
$prefix/Calpont/bin/setConfig Installation AmazonZone $zone
|
$prefix/MariaDB/Columnstore/bin/setConfig Installation AmazonZone $zone
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $zone
|
echo $zone
|
||||||
|
@@ -93,30 +93,30 @@ if [ "$1" = "createTag" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
test -f /usr/local/Calpont/post/functions && . /usr/local/Calpont/post/functions
|
test -f /usr/local/MariaDB/Columnstore/post/functions && . /usr/local/MariaDB/Columnstore/post/functions
|
||||||
|
|
||||||
ec2=`$prefix/Calpont/bin/getConfig Installation EC2_HOME`
|
ec2=`$prefix/MariaDB/Columnstore/bin/getConfig Installation EC2_HOME`
|
||||||
|
|
||||||
if [ $ec2 == "unassigned" ]; then
|
if [ $ec2 == "unassigned" ]; then
|
||||||
STATUS="unknown"
|
STATUS="unknown"
|
||||||
RETVAL=1
|
RETVAL=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
java=`$prefix/Calpont/bin/getConfig Installation JAVA_HOME`
|
java=`$prefix/MariaDB/Columnstore/bin/getConfig Installation JAVA_HOME`
|
||||||
path=`$prefix/Calpont/bin/getConfig Installation EC2_PATH`
|
path=`$prefix/MariaDB/Columnstore/bin/getConfig Installation EC2_PATH`
|
||||||
|
|
||||||
export PATH=$path
|
export PATH=$path
|
||||||
export EC2_HOME=$ec2
|
export EC2_HOME=$ec2
|
||||||
export JAVA_HOME=$java
|
export JAVA_HOME=$java
|
||||||
|
|
||||||
# get Keys and region
|
# get Keys and region
|
||||||
AmazonAccessKeyFile=`$prefix/Calpont/bin/getConfig Installation AmazonAccessKey`
|
AmazonAccessKeyFile=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonAccessKey`
|
||||||
if [ $AmazonAccessKeyFile == "unassigned" ]; then
|
if [ $AmazonAccessKeyFile == "unassigned" ]; then
|
||||||
echo "FAILED: missing Config Setting AmazonAccessKey : $AmazonAccessKeyfile"
|
echo "FAILED: missing Config Setting AmazonAccessKey : $AmazonAccessKeyfile"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AmazonSecretKeyFile=`$prefix/Calpont/bin/getConfig Installation AmazonSecretKey`
|
AmazonSecretKeyFile=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonSecretKey`
|
||||||
if [ $AmazonSecretKeyFile == "unassigned" ]; then
|
if [ $AmazonSecretKeyFile == "unassigned" ]; then
|
||||||
echo "FAILED: missing Config Setting AmazonSecretKeyFile : $AmazonSecretKeyFile"
|
echo "FAILED: missing Config Setting AmazonSecretKeyFile : $AmazonSecretKeyFile"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -135,7 +135,7 @@ if test ! -f $AmazonSecretKeyfile ; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
Region=`$prefix/Calpont/bin/getConfig Installation AmazonRegion`
|
Region=`$prefix/MariaDB/Columnstore/bin/getConfig Installation AmazonRegion`
|
||||||
|
|
||||||
|
|
||||||
checkInfostatus() {
|
checkInfostatus() {
|
||||||
@@ -189,21 +189,21 @@ checkInfostatus() {
|
|||||||
|
|
||||||
createvolume() {
|
createvolume() {
|
||||||
# get zone
|
# get zone
|
||||||
zone=`$prefix/Calpont/bin/IDBInstanceCmds.sh getZone`
|
zone=`$prefix/MariaDB/Columnstore/bin/IDBInstanceCmds.sh getZone`
|
||||||
|
|
||||||
if [ $moduleType == "um" ]; then
|
if [ $moduleType == "um" ]; then
|
||||||
# get type
|
# get type
|
||||||
volumeType=`$prefix/Calpont/bin/getConfig Installation UMVolumeType`
|
volumeType=`$prefix/MariaDB/Columnstore/bin/getConfig Installation UMVolumeType`
|
||||||
if [ $volumeType == "io1" ]; then
|
if [ $volumeType == "io1" ]; then
|
||||||
# get IOPS
|
# get IOPS
|
||||||
volumeIOPS=`$prefix/Calpont/bin/getConfig Installation UMVolumeIOPS`
|
volumeIOPS=`$prefix/MariaDB/Columnstore/bin/getConfig Installation UMVolumeIOPS`
|
||||||
fi
|
fi
|
||||||
else # pm
|
else # pm
|
||||||
# get type
|
# get type
|
||||||
volumeType=`$prefix/Calpont/bin/getConfig Installation PMVolumeType`
|
volumeType=`$prefix/MariaDB/Columnstore/bin/getConfig Installation PMVolumeType`
|
||||||
if [ $volumeType == "io1" ]; then
|
if [ $volumeType == "io1" ]; then
|
||||||
# get IOPS
|
# get IOPS
|
||||||
volumeIOPS=`$prefix/Calpont/bin/getConfig Installation PMVolumeIOPS`
|
volumeIOPS=`$prefix/MariaDB/Columnstore/bin/getConfig Installation PMVolumeIOPS`
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -246,7 +246,7 @@ detachvolume() {
|
|||||||
((retries++))
|
((retries++))
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
test -f /usr/local/Calpont/post/functions && . /usr/local/Calpont/post/functions
|
test -f /usr/local/MariaDB/Columnstore/post/functions && . /usr/local/MariaDB/Columnstore/post/functions
|
||||||
cplogger -w 100 "detachvolume failed: $STATUS"
|
cplogger -w 100 "detachvolume failed: $STATUS"
|
||||||
echo "failed"
|
echo "failed"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -257,7 +257,7 @@ detachvolume() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -f /usr/local/Calpont/post/functions && . /usr/local/Calpont/post/functions
|
test -f /usr/local/MariaDB/Columnstore/post/functions && . /usr/local/MariaDB/Columnstore/post/functions
|
||||||
cplogger -w 100 "detachvolume failed status: $STATUS"
|
cplogger -w 100 "detachvolume failed status: $STATUS"
|
||||||
echo $STATUS
|
echo $STATUS
|
||||||
exit 1
|
exit 1
|
||||||
@@ -281,7 +281,7 @@ attachvolume() {
|
|||||||
((retries++))
|
((retries++))
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
test -f /usr/local/Calpont/post/functions && . /usr/local/Calpont/post/functions
|
test -f /usr/local/MariaDB/Columnstore/post/functions && . /usr/local/MariaDB/Columnstore/post/functions
|
||||||
cplogger -w 100 "attachvolume failed: $STATUS"
|
cplogger -w 100 "attachvolume failed: $STATUS"
|
||||||
echo "failed"
|
echo "failed"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -292,7 +292,7 @@ attachvolume() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -f /usr/local/Calpont/post/functions && . /usr/local/Calpont/post/functions
|
test -f /usr/local/MariaDB/Columnstore/post/functions && . /usr/local/MariaDB/Columnstore/post/functions
|
||||||
cplogger -w 100 "attachvolume failed: $STATUS"
|
cplogger -w 100 "attachvolume failed: $STATUS"
|
||||||
echo $STATUS
|
echo $STATUS
|
||||||
exit 1
|
exit 1
|
||||||
|
@@ -225,7 +225,7 @@
|
|||||||
</PMS32>
|
</PMS32>
|
||||||
<SystemConfig>
|
<SystemConfig>
|
||||||
<SystemLang>C</SystemLang>
|
<SystemLang>C</SystemLang>
|
||||||
<SystemName>calpont-1</SystemName>
|
<SystemName>columnstore-1</SystemName>
|
||||||
<ParentOAMModuleName>pm1</ParentOAMModuleName>
|
<ParentOAMModuleName>pm1</ParentOAMModuleName>
|
||||||
<StandbyOAMModuleName>unassigned</StandbyOAMModuleName>
|
<StandbyOAMModuleName>unassigned</StandbyOAMModuleName>
|
||||||
<PrimaryUMModuleName>unassigned</PrimaryUMModuleName>
|
<PrimaryUMModuleName>unassigned</PrimaryUMModuleName>
|
||||||
|
@@ -214,7 +214,7 @@
|
|||||||
</PMS32>
|
</PMS32>
|
||||||
<SystemConfig>
|
<SystemConfig>
|
||||||
<SystemLang>C</SystemLang>
|
<SystemLang>C</SystemLang>
|
||||||
<SystemName>calpont-1</SystemName>
|
<SystemName>columnstore-1</SystemName>
|
||||||
<ParentOAMModuleName>pm1</ParentOAMModuleName>
|
<ParentOAMModuleName>pm1</ParentOAMModuleName>
|
||||||
<StandbyOAMModuleName>unassigned</StandbyOAMModuleName>
|
<StandbyOAMModuleName>unassigned</StandbyOAMModuleName>
|
||||||
<!-- Disabled
|
<!-- Disabled
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
<PROCESSCONFIG1>
|
<PROCESSCONFIG1>
|
||||||
<ProcessName>ProcessMonitor</ProcessName>
|
<ProcessName>ProcessMonitor</ProcessName>
|
||||||
<ModuleType>ChildExtOAMModule</ModuleType>
|
<ModuleType>ChildExtOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/ProcMon</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/ProcMon</ProcessLocation>
|
||||||
<BootLaunch>0</BootLaunch>
|
<BootLaunch>0</BootLaunch>
|
||||||
<LaunchID>1</LaunchID>
|
<LaunchID>1</LaunchID>
|
||||||
<DepProcessName/>
|
<DepProcessName/>
|
||||||
@@ -14,7 +14,7 @@
|
|||||||
<PROCESSCONFIG2>
|
<PROCESSCONFIG2>
|
||||||
<ProcessName>ProcessManager</ProcessName>
|
<ProcessName>ProcessManager</ProcessName>
|
||||||
<ModuleType>ParentOAMModule</ModuleType>
|
<ModuleType>ParentOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/ProcMgr</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/ProcMgr</ProcessLocation>
|
||||||
<BootLaunch>1</BootLaunch>
|
<BootLaunch>1</BootLaunch>
|
||||||
<LaunchID>2</LaunchID>
|
<LaunchID>2</LaunchID>
|
||||||
<DepProcessName/>
|
<DepProcessName/>
|
||||||
@@ -24,17 +24,17 @@
|
|||||||
<PROCESSCONFIG3>
|
<PROCESSCONFIG3>
|
||||||
<ProcessName>SNMPTrapDaemon</ProcessName>
|
<ProcessName>SNMPTrapDaemon</ProcessName>
|
||||||
<ModuleType>ParentOAMModule</ModuleType>
|
<ModuleType>ParentOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/sbin/snmptrapd</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/sbin/snmptrapd</ProcessLocation>
|
||||||
<ProcessArg1>/usr/local/Calpont/sbin/snmptrapd</ProcessArg1>
|
<ProcessArg1>/usr/local/MariaDB/Columnstore/sbin/snmptrapd</ProcessArg1>
|
||||||
<ProcessArg2>-M</ProcessArg2>
|
<ProcessArg2>-M</ProcessArg2>
|
||||||
<ProcessArg3>/usr/local/Calpont/share/snmp/mibs</ProcessArg3>
|
<ProcessArg3>/usr/local/MariaDB/Columnstore/share/snmp/mibs</ProcessArg3>
|
||||||
<ProcessArg4>-m</ProcessArg4>
|
<ProcessArg4>-m</ProcessArg4>
|
||||||
<ProcessArg5>/usr/local/Calpont/share/snmp/mibs/CALPONT-MIB.txt</ProcessArg5>
|
<ProcessArg5>/usr/local/MariaDB/Columnstore/share/snmp/mibs/CALPONT-MIB.txt</ProcessArg5>
|
||||||
<ProcessArg6>-c</ProcessArg6>
|
<ProcessArg6>-c</ProcessArg6>
|
||||||
<ProcessArg7>/usr/local/Calpont/etc/snmptrapd.conf</ProcessArg7>
|
<ProcessArg7>/usr/local/MariaDB/Columnstore/etc/snmptrapd.conf</ProcessArg7>
|
||||||
<ProcessArg8>-C</ProcessArg8>
|
<ProcessArg8>-C</ProcessArg8>
|
||||||
<ProcessArg9>-Lf</ProcessArg9>
|
<ProcessArg9>-Lf</ProcessArg9>
|
||||||
<ProcessArg10>/var/log/Calpont/snmptrapd.log</ProcessArg10>
|
<ProcessArg10>/usr/local/MariaDB/Columnstore/snmptrapd.log</ProcessArg10>
|
||||||
<ProcessArg11>-p</ProcessArg11>
|
<ProcessArg11>-p</ProcessArg11>
|
||||||
<ProcessArg12>/var/run/snmptrapd.pid</ProcessArg12>
|
<ProcessArg12>/var/run/snmptrapd.pid</ProcessArg12>
|
||||||
<BootLaunch>1</BootLaunch>
|
<BootLaunch>1</BootLaunch>
|
||||||
@@ -47,8 +47,8 @@
|
|||||||
<PROCESSCONFIG4>
|
<PROCESSCONFIG4>
|
||||||
<ProcessName>DBRMControllerNode</ProcessName>
|
<ProcessName>DBRMControllerNode</ProcessName>
|
||||||
<ModuleType>ParentOAMModule</ModuleType>
|
<ModuleType>ParentOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/controllernode</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/controllernode</ProcessLocation>
|
||||||
<ProcessArg1>/usr/local/Calpont/bin/controllernode</ProcessArg1>
|
<ProcessArg1>/usr/local/MariaDB/Columnstore/bin/controllernode</ProcessArg1>
|
||||||
<ProcessArg2>fg</ProcessArg2>
|
<ProcessArg2>fg</ProcessArg2>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
<LaunchID>4</LaunchID>
|
<LaunchID>4</LaunchID>
|
||||||
@@ -60,13 +60,13 @@
|
|||||||
<PROCESSCONFIG5>
|
<PROCESSCONFIG5>
|
||||||
<ProcessName>SNMPAgent</ProcessName>
|
<ProcessName>SNMPAgent</ProcessName>
|
||||||
<ModuleType>ChildOAMModule</ModuleType>
|
<ModuleType>ChildOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/sbin/snmpd</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/sbin/snmpd</ProcessLocation>
|
||||||
<ProcessArg1>/usr/local/Calpont/sbin/snmpd</ProcessArg1>
|
<ProcessArg1>/usr/local/MariaDB/Columnstore/sbin/snmpd</ProcessArg1>
|
||||||
<ProcessArg2>-c</ProcessArg2>
|
<ProcessArg2>-c</ProcessArg2>
|
||||||
<ProcessArg3>/usr/local/Calpont/etc/snmpd.conf</ProcessArg3>
|
<ProcessArg3>/usr/local/MariaDB/Columnstore/etc/snmpd.conf</ProcessArg3>
|
||||||
<ProcessArg4>-C</ProcessArg4>
|
<ProcessArg4>-C</ProcessArg4>
|
||||||
<ProcessArg5>-Lf</ProcessArg5>
|
<ProcessArg5>-Lf</ProcessArg5>
|
||||||
<ProcessArg6>/var/log/Calpont/snmpd.log</ProcessArg6>
|
<ProcessArg6>/usr/local/MariaDB/Columnstore/snmpd.log</ProcessArg6>
|
||||||
<ProcessArg7>-p</ProcessArg7>
|
<ProcessArg7>-p</ProcessArg7>
|
||||||
<ProcessArg8>/var/run/snmpd.pid</ProcessArg8>
|
<ProcessArg8>/var/run/snmpd.pid</ProcessArg8>
|
||||||
<BootLaunch>0</BootLaunch>
|
<BootLaunch>0</BootLaunch>
|
||||||
@@ -78,8 +78,8 @@
|
|||||||
<PROCESSCONFIG6>
|
<PROCESSCONFIG6>
|
||||||
<ProcessName>ServerMonitor</ProcessName>
|
<ProcessName>ServerMonitor</ProcessName>
|
||||||
<ModuleType>ChildOAMModule</ModuleType>
|
<ModuleType>ChildOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/ServerMonitor</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/ServerMonitor</ProcessLocation>
|
||||||
<ProcessArg1>/usr/local/Calpont/bin/ServerMonitor</ProcessArg1>
|
<ProcessArg1>/usr/local/MariaDB/Columnstore/bin/ServerMonitor</ProcessArg1>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
<LaunchID>6</LaunchID>
|
<LaunchID>6</LaunchID>
|
||||||
<DepProcessName/>
|
<DepProcessName/>
|
||||||
@@ -89,8 +89,8 @@
|
|||||||
<PROCESSCONFIG7>
|
<PROCESSCONFIG7>
|
||||||
<ProcessName>DBRMWorkerNode</ProcessName>
|
<ProcessName>DBRMWorkerNode</ProcessName>
|
||||||
<ModuleType>ChildExtOAMModule</ModuleType>
|
<ModuleType>ChildExtOAMModule</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/workernode</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/workernode</ProcessLocation>
|
||||||
<ProcessArg1>/usr/local/Calpont/bin/workernode</ProcessArg1>
|
<ProcessArg1>/usr/local/MariaDB/Columnstore/bin/workernode</ProcessArg1>
|
||||||
<ProcessArg2>DBRM_Worker</ProcessArg2>
|
<ProcessArg2>DBRM_Worker</ProcessArg2>
|
||||||
<ProcessArg3>fg</ProcessArg3>
|
<ProcessArg3>fg</ProcessArg3>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
@@ -102,7 +102,7 @@
|
|||||||
<PROCESSCONFIG8>
|
<PROCESSCONFIG8>
|
||||||
<ProcessName>DecomSvr</ProcessName>
|
<ProcessName>DecomSvr</ProcessName>
|
||||||
<ModuleType>pm</ModuleType>
|
<ModuleType>pm</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/DecomSvr</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/DecomSvr</ProcessLocation>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
<LaunchID>15</LaunchID>
|
<LaunchID>15</LaunchID>
|
||||||
<DepProcessName/>
|
<DepProcessName/>
|
||||||
@@ -112,7 +112,7 @@
|
|||||||
<PROCESSCONFIG9>
|
<PROCESSCONFIG9>
|
||||||
<ProcessName>PrimProc</ProcessName>
|
<ProcessName>PrimProc</ProcessName>
|
||||||
<ModuleType>pm</ModuleType>
|
<ModuleType>pm</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/PrimProc</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/PrimProc</ProcessLocation>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
<LaunchID>20</LaunchID>
|
<LaunchID>20</LaunchID>
|
||||||
<DepProcessName/>
|
<DepProcessName/>
|
||||||
@@ -122,7 +122,7 @@
|
|||||||
<PROCESSCONFIG10>
|
<PROCESSCONFIG10>
|
||||||
<ProcessName>ExeMgr</ProcessName>
|
<ProcessName>ExeMgr</ProcessName>
|
||||||
<ModuleType>pm</ModuleType>
|
<ModuleType>pm</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/ExeMgr</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/ExeMgr</ProcessLocation>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
<LaunchID>30</LaunchID>
|
<LaunchID>30</LaunchID>
|
||||||
<DepProcessName1>PrimProc</DepProcessName1>
|
<DepProcessName1>PrimProc</DepProcessName1>
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
<PROCESSCONFIG11>
|
<PROCESSCONFIG11>
|
||||||
<ProcessName>WriteEngineServer</ProcessName>
|
<ProcessName>WriteEngineServer</ProcessName>
|
||||||
<ModuleType>pm</ModuleType>
|
<ModuleType>pm</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/bin/WriteEngineServer</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/bin/WriteEngineServer</ProcessLocation>
|
||||||
<BootLaunch>2</BootLaunch>
|
<BootLaunch>2</BootLaunch>
|
||||||
<LaunchID>40</LaunchID>
|
<LaunchID>40</LaunchID>
|
||||||
<RunType>LOADSHARE</RunType>
|
<RunType>LOADSHARE</RunType>
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
<PROCESSCONFIG14>
|
<PROCESSCONFIG14>
|
||||||
<ProcessName>mysqld</ProcessName>
|
<ProcessName>mysqld</ProcessName>
|
||||||
<ModuleType>pm</ModuleType>
|
<ModuleType>pm</ModuleType>
|
||||||
<ProcessLocation>/usr/local/Calpont/mysql/libexe/mysqld</ProcessLocation>
|
<ProcessLocation>/usr/local/MariaDB/Columnstore/mysql/libexe/mysqld</ProcessLocation>
|
||||||
<BootLaunch>0</BootLaunch>
|
<BootLaunch>0</BootLaunch>
|
||||||
<LaunchID>100</LaunchID>
|
<LaunchID>100</LaunchID>
|
||||||
<DepProcessName/>
|
<DepProcessName/>
|
||||||
|
275
oam/install_scripts/Doxyfile
Normal file
275
oam/install_scripts/Doxyfile
Normal file
@@ -0,0 +1,275 @@
|
|||||||
|
# Doxyfile 1.4.1-KDevelop
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Project related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
PROJECT_NAME = install_scripts.kdevelop
|
||||||
|
PROJECT_NUMBER = $VERSION$
|
||||||
|
OUTPUT_DIRECTORY =
|
||||||
|
CREATE_SUBDIRS = NO
|
||||||
|
OUTPUT_LANGUAGE = English
|
||||||
|
USE_WINDOWS_ENCODING = NO
|
||||||
|
BRIEF_MEMBER_DESC = YES
|
||||||
|
REPEAT_BRIEF = YES
|
||||||
|
ABBREVIATE_BRIEF = "The $name class" \
|
||||||
|
"The $name widget" \
|
||||||
|
"The $name file" \
|
||||||
|
is \
|
||||||
|
provides \
|
||||||
|
specifies \
|
||||||
|
contains \
|
||||||
|
represents \
|
||||||
|
a \
|
||||||
|
an \
|
||||||
|
the
|
||||||
|
ALWAYS_DETAILED_SEC = NO
|
||||||
|
INLINE_INHERITED_MEMB = NO
|
||||||
|
FULL_PATH_NAMES = YES
|
||||||
|
STRIP_FROM_PATH = /home/dhill/
|
||||||
|
STRIP_FROM_INC_PATH =
|
||||||
|
SHORT_NAMES = NO
|
||||||
|
JAVADOC_AUTOBRIEF = NO
|
||||||
|
MULTILINE_CPP_IS_BRIEF = NO
|
||||||
|
DETAILS_AT_TOP = NO
|
||||||
|
INHERIT_DOCS = YES
|
||||||
|
DISTRIBUTE_GROUP_DOC = NO
|
||||||
|
TAB_SIZE = 8
|
||||||
|
ALIASES =
|
||||||
|
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||||
|
OPTIMIZE_OUTPUT_JAVA = NO
|
||||||
|
SUBGROUPING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Build related configuration options
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
EXTRACT_ALL = NO
|
||||||
|
EXTRACT_PRIVATE = NO
|
||||||
|
EXTRACT_STATIC = NO
|
||||||
|
EXTRACT_LOCAL_CLASSES = YES
|
||||||
|
EXTRACT_LOCAL_METHODS = NO
|
||||||
|
HIDE_UNDOC_MEMBERS = NO
|
||||||
|
HIDE_UNDOC_CLASSES = NO
|
||||||
|
HIDE_FRIEND_COMPOUNDS = NO
|
||||||
|
HIDE_IN_BODY_DOCS = NO
|
||||||
|
INTERNAL_DOCS = NO
|
||||||
|
CASE_SENSE_NAMES = YES
|
||||||
|
HIDE_SCOPE_NAMES = NO
|
||||||
|
SHOW_INCLUDE_FILES = YES
|
||||||
|
INLINE_INFO = YES
|
||||||
|
SORT_MEMBER_DOCS = YES
|
||||||
|
SORT_BRIEF_DOCS = NO
|
||||||
|
SORT_BY_SCOPE_NAME = NO
|
||||||
|
GENERATE_TODOLIST = YES
|
||||||
|
GENERATE_TESTLIST = YES
|
||||||
|
GENERATE_BUGLIST = YES
|
||||||
|
GENERATE_DEPRECATEDLIST= YES
|
||||||
|
ENABLED_SECTIONS =
|
||||||
|
MAX_INITIALIZER_LINES = 30
|
||||||
|
SHOW_USED_FILES = YES
|
||||||
|
SHOW_DIRECTORIES = YES
|
||||||
|
FILE_VERSION_FILTER =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to warning and progress messages
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
QUIET = NO
|
||||||
|
WARNINGS = YES
|
||||||
|
WARN_IF_UNDOCUMENTED = YES
|
||||||
|
WARN_IF_DOC_ERROR = YES
|
||||||
|
WARN_NO_PARAMDOC = NO
|
||||||
|
WARN_FORMAT = "$file:$line: $text"
|
||||||
|
WARN_LOGFILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the input files
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
INPUT = /home/dhill/InfiniDB_MariaDB/oam/install_scripts
|
||||||
|
FILE_PATTERNS = *.c \
|
||||||
|
*.cc \
|
||||||
|
*.cxx \
|
||||||
|
*.cpp \
|
||||||
|
*.c++ \
|
||||||
|
*.java \
|
||||||
|
*.ii \
|
||||||
|
*.ixx \
|
||||||
|
*.ipp \
|
||||||
|
*.i++ \
|
||||||
|
*.inl \
|
||||||
|
*.h \
|
||||||
|
*.hh \
|
||||||
|
*.hxx \
|
||||||
|
*.hpp \
|
||||||
|
*.h++ \
|
||||||
|
*.idl \
|
||||||
|
*.odl \
|
||||||
|
*.cs \
|
||||||
|
*.php \
|
||||||
|
*.php3 \
|
||||||
|
*.inc \
|
||||||
|
*.m \
|
||||||
|
*.mm \
|
||||||
|
*.dox \
|
||||||
|
*.C \
|
||||||
|
*.CC \
|
||||||
|
*.C++ \
|
||||||
|
*.II \
|
||||||
|
*.I++ \
|
||||||
|
*.H \
|
||||||
|
*.HH \
|
||||||
|
*.H++ \
|
||||||
|
*.CS \
|
||||||
|
*.PHP \
|
||||||
|
*.PHP3 \
|
||||||
|
*.M \
|
||||||
|
*.MM \
|
||||||
|
*.C \
|
||||||
|
*.H \
|
||||||
|
*.tlh \
|
||||||
|
*.diff \
|
||||||
|
*.patch \
|
||||||
|
*.moc \
|
||||||
|
*.xpm \
|
||||||
|
*.dox
|
||||||
|
RECURSIVE = yes
|
||||||
|
EXCLUDE =
|
||||||
|
EXCLUDE_SYMLINKS = NO
|
||||||
|
EXCLUDE_PATTERNS =
|
||||||
|
EXAMPLE_PATH =
|
||||||
|
EXAMPLE_PATTERNS = *
|
||||||
|
EXAMPLE_RECURSIVE = NO
|
||||||
|
IMAGE_PATH =
|
||||||
|
INPUT_FILTER =
|
||||||
|
FILTER_PATTERNS =
|
||||||
|
FILTER_SOURCE_FILES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to source browsing
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SOURCE_BROWSER = NO
|
||||||
|
INLINE_SOURCES = NO
|
||||||
|
STRIP_CODE_COMMENTS = YES
|
||||||
|
REFERENCED_BY_RELATION = YES
|
||||||
|
REFERENCES_RELATION = YES
|
||||||
|
VERBATIM_HEADERS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the alphabetical class index
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ALPHABETICAL_INDEX = NO
|
||||||
|
COLS_IN_ALPHA_INDEX = 5
|
||||||
|
IGNORE_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the HTML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_HTML = YES
|
||||||
|
HTML_OUTPUT = html
|
||||||
|
HTML_FILE_EXTENSION = .html
|
||||||
|
HTML_HEADER =
|
||||||
|
HTML_FOOTER =
|
||||||
|
HTML_STYLESHEET =
|
||||||
|
HTML_ALIGN_MEMBERS = YES
|
||||||
|
GENERATE_HTMLHELP = NO
|
||||||
|
CHM_FILE =
|
||||||
|
HHC_LOCATION =
|
||||||
|
GENERATE_CHI = NO
|
||||||
|
BINARY_TOC = NO
|
||||||
|
TOC_EXPAND = NO
|
||||||
|
DISABLE_INDEX = NO
|
||||||
|
ENUM_VALUES_PER_LINE = 4
|
||||||
|
GENERATE_TREEVIEW = NO
|
||||||
|
TREEVIEW_WIDTH = 250
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the LaTeX output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_LATEX = YES
|
||||||
|
LATEX_OUTPUT = latex
|
||||||
|
LATEX_CMD_NAME = latex
|
||||||
|
MAKEINDEX_CMD_NAME = makeindex
|
||||||
|
COMPACT_LATEX = NO
|
||||||
|
PAPER_TYPE = a4wide
|
||||||
|
EXTRA_PACKAGES =
|
||||||
|
LATEX_HEADER =
|
||||||
|
PDF_HYPERLINKS = NO
|
||||||
|
USE_PDFLATEX = NO
|
||||||
|
LATEX_BATCHMODE = NO
|
||||||
|
LATEX_HIDE_INDICES = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the RTF output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_RTF = NO
|
||||||
|
RTF_OUTPUT = rtf
|
||||||
|
COMPACT_RTF = NO
|
||||||
|
RTF_HYPERLINKS = NO
|
||||||
|
RTF_STYLESHEET_FILE =
|
||||||
|
RTF_EXTENSIONS_FILE =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the man page output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_MAN = NO
|
||||||
|
MAN_OUTPUT = man
|
||||||
|
MAN_EXTENSION = .3
|
||||||
|
MAN_LINKS = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the XML output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_XML = yes
|
||||||
|
XML_OUTPUT = xml
|
||||||
|
XML_SCHEMA =
|
||||||
|
XML_DTD =
|
||||||
|
XML_PROGRAMLISTING = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options for the AutoGen Definitions output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_AUTOGEN_DEF = NO
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# configuration options related to the Perl module output
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
GENERATE_PERLMOD = NO
|
||||||
|
PERLMOD_LATEX = NO
|
||||||
|
PERLMOD_PRETTY = YES
|
||||||
|
PERLMOD_MAKEVAR_PREFIX =
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the preprocessor
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
ENABLE_PREPROCESSING = YES
|
||||||
|
MACRO_EXPANSION = NO
|
||||||
|
EXPAND_ONLY_PREDEF = NO
|
||||||
|
SEARCH_INCLUDES = YES
|
||||||
|
INCLUDE_PATH =
|
||||||
|
INCLUDE_FILE_PATTERNS =
|
||||||
|
PREDEFINED =
|
||||||
|
EXPAND_AS_DEFINED =
|
||||||
|
SKIP_FUNCTION_MACROS = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to external references
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
TAGFILES =
|
||||||
|
GENERATE_TAGFILE = install_scripts.tag
|
||||||
|
ALLEXTERNALS = NO
|
||||||
|
EXTERNAL_GROUPS = YES
|
||||||
|
PERL_PATH = /usr/bin/perl
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration options related to the dot tool
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
CLASS_DIAGRAMS = YES
|
||||||
|
HIDE_UNDOC_RELATIONS = YES
|
||||||
|
HAVE_DOT = NO
|
||||||
|
CLASS_GRAPH = YES
|
||||||
|
COLLABORATION_GRAPH = YES
|
||||||
|
GROUP_GRAPHS = YES
|
||||||
|
UML_LOOK = NO
|
||||||
|
TEMPLATE_RELATIONS = NO
|
||||||
|
INCLUDE_GRAPH = YES
|
||||||
|
INCLUDED_BY_GRAPH = YES
|
||||||
|
CALL_GRAPH = NO
|
||||||
|
GRAPHICAL_HIERARCHY = YES
|
||||||
|
DIRECTORY_GRAPH = YES
|
||||||
|
DOT_IMAGE_FORMAT = png
|
||||||
|
DOT_PATH =
|
||||||
|
DOTFILE_DIRS =
|
||||||
|
MAX_DOT_GRAPH_WIDTH = 1024
|
||||||
|
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||||
|
MAX_DOT_GRAPH_DEPTH = 1000
|
||||||
|
DOT_TRANSPARENT = NO
|
||||||
|
DOT_MULTI_TARGETS = NO
|
||||||
|
GENERATE_LEGEND = YES
|
||||||
|
DOT_CLEANUP = YES
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
# Configuration::additions related to the search engine
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
SEARCHENGINE = NO
|
@@ -9,16 +9,16 @@ include ../../rules.mak
|
|||||||
.PHONY: install clean test docs coverage leakcheck
|
.PHONY: install clean test docs coverage leakcheck
|
||||||
|
|
||||||
SCRIPTS=post-install pre-uninstall remote_command.sh \
|
SCRIPTS=post-install pre-uninstall remote_command.sh \
|
||||||
calpontLogRotate transactionLog transactionLogArchiver.sh system_installer.sh \
|
columnstoreLogRotate transactionLog transactionLogArchiver.sh system_installer.sh \
|
||||||
module_installer.sh patch_installer.sh xm_installer.sh startupTests.sh \
|
module_installer.sh startupTests.sh \
|
||||||
director_installer.sh user_installer.sh performance_installer.sh \
|
user_installer.sh performance_installer.sh \
|
||||||
remote_scp_get.sh calpontAlias run.sh upgrade-infinidb.sh \
|
remote_scp_get.sh columnstoreAlias run.sh upgrade-columnstore.sh \
|
||||||
post-mysql-install post-mysqld-install binary_installer.sh \
|
post-mysql-install post-mysqld-install binary_installer.sh \
|
||||||
os_check.sh infinidb calpontSyslog calpontSyslog-ng syslogSetup.sh \
|
os_check.sh columnstore columnstoreSyslog columnstoreSyslog-ng syslogSetup.sh \
|
||||||
remote_scp_put.sh calpontUninstall.sh infinidb.def \
|
remote_scp_put.sh columnstoreUninstall.sh columnstore.def \
|
||||||
remotessh.exp master-rep-infinidb.sh slave-rep-infinidb.sh rsync.sh \
|
remotessh.exp master-rep-columnstore.sh slave-rep-columnstore.sh rsync.sh \
|
||||||
myCnf-include-args.text myCnf-exclude-args.text remote_command_verify.sh \
|
myCnf-include-args.text myCnf-exclude-args.text remote_command_verify.sh \
|
||||||
calpontSyslog7 disable-rep-infinidb.sh infinidb.conf
|
columnstoreSyslog7 disable-rep-columnstore.sh columnstore.conf
|
||||||
|
|
||||||
LOCAL=module
|
LOCAL=module
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ set PKGTYPE "binary"
|
|||||||
set SERVERTYPE [lindex $argv 6]
|
set SERVERTYPE [lindex $argv 6]
|
||||||
set MYSQLPORT [lindex $argv 7]
|
set MYSQLPORT [lindex $argv 7]
|
||||||
set DEBUG [lindex $argv 8]
|
set DEBUG [lindex $argv 8]
|
||||||
set INSTALLDIR "/usr/local/Calpont"
|
set INSTALLDIR "/usr/local/MariaDB/Columnstore"
|
||||||
set IDIR [lindex $argv 9]
|
set IDIR [lindex $argv 9]
|
||||||
if { $IDIR != "" } {
|
if { $IDIR != "" } {
|
||||||
set INSTALLDIR $IDIR
|
set INSTALLDIR $IDIR
|
||||||
@@ -48,12 +48,12 @@ spawn -noecho /bin/bash
|
|||||||
|
|
||||||
if { $INSTALLTYPE == "initial" || $INSTALLTYPE == "uninstall" } {
|
if { $INSTALLTYPE == "initial" || $INSTALLTYPE == "uninstall" } {
|
||||||
#
|
#
|
||||||
# remove Calpont files
|
# remove MariaDB Columnstore files
|
||||||
#
|
#
|
||||||
send_user "Uninstall Calpont Package "
|
send_user "Uninstall MariabDB Columnstore Package "
|
||||||
send " \n"
|
send " \n"
|
||||||
send date\n
|
send date\n
|
||||||
send "ssh $USERNAME@$SERVER 'rm -f /etc/init.d/infinidb /etc/init.d/mysql-Calpont $INSTALLDIR/releasenum >/dev/null 2>&1'\n"
|
send "ssh $USERNAME@$SERVER 'rm -f /etc/init.d/columnstore /etc/init.d/mysql-Columnstore $INSTALLDIR/releasenum >/dev/null 2>&1'\n"
|
||||||
set timeout 20
|
set timeout 20
|
||||||
expect {
|
expect {
|
||||||
"Host key verification failed" { send_user "FAILED: Host key verification failed\n" ; exit 1}
|
"Host key verification failed" { send_user "FAILED: Host key verification failed\n" ; exit 1}
|
||||||
@@ -68,12 +68,12 @@ if { $INSTALLTYPE == "initial" || $INSTALLTYPE == "uninstall" } {
|
|||||||
"passphrase" { send "$PASSWORD\n" }
|
"passphrase" { send "$PASSWORD\n" }
|
||||||
"Permission denied, please try again" { send_user "ERROR: Invalid password\n" ; exit 1 }
|
"Permission denied, please try again" { send_user "ERROR: Invalid password\n" ; exit 1 }
|
||||||
"No route to host" { send_user "ERROR: No route to host\n" ; exit 1 }
|
"No route to host" { send_user "ERROR: No route to host\n" ; exit 1 }
|
||||||
"Calpont uninstall completed" { send_user "DONE" }
|
"MariabDB Columnstore uninstall completed" { send_user "DONE" }
|
||||||
}
|
}
|
||||||
set timeout 30
|
set timeout 30
|
||||||
expect {
|
expect {
|
||||||
"Read-only file system" { send_user "ERROR: local disk - Read-only file system\n" ; exit 1}
|
"Read-only file system" { send_user "ERROR: local disk - Read-only file system\n" ; exit 1}
|
||||||
"Calpont uninstall completed" { send_user "DONE" }
|
"MariabDB Columnstore uninstall completed" { send_user "DONE" }
|
||||||
}
|
}
|
||||||
send_user "\n"
|
send_user "\n"
|
||||||
}
|
}
|
||||||
@@ -82,9 +82,9 @@ if { $INSTALLTYPE == "uninstall" } {
|
|||||||
}
|
}
|
||||||
sleep 10
|
sleep 10
|
||||||
#
|
#
|
||||||
# send the Calpont package
|
# send the MariabDB Columnstore package
|
||||||
#
|
#
|
||||||
send_user "Copy New Calpont Package to Module "
|
send_user "Copy New MariabDB Columnstore Package to Module "
|
||||||
send " \n"
|
send " \n"
|
||||||
send date\n
|
send date\n
|
||||||
send "scp $CALPONTPKG $USERNAME@$SERVER:$CALPONTPKG\n"
|
send "scp $CALPONTPKG $USERNAME@$SERVER:$CALPONTPKG\n"
|
||||||
@@ -113,7 +113,7 @@ sleep 5
|
|||||||
#
|
#
|
||||||
# install package
|
# install package
|
||||||
#
|
#
|
||||||
send_user "Install Calpont Package on Module "
|
send_user "Install MariabDB Columnstore Package on Module "
|
||||||
send " \n"
|
send " \n"
|
||||||
send date\n
|
send date\n
|
||||||
send "ssh $USERNAME@$SERVER 'tar -C $PREFIX --exclude db -zxf $CALPONTPKG;cat $INSTALLDIR/releasenum'\n"
|
send "ssh $USERNAME@$SERVER 'tar -C $PREFIX --exclude db -zxf $CALPONTPKG;cat $INSTALLDIR/releasenum'\n"
|
||||||
@@ -133,7 +133,7 @@ expect {
|
|||||||
"No route to host" { send_user "ERROR: No route to host\n" ; exit 1 }
|
"No route to host" { send_user "ERROR: No route to host\n" ; exit 1 }
|
||||||
timeout { send_user "ERROR: Timeout\n" ; exit 1 }
|
timeout { send_user "ERROR: Timeout\n" ; exit 1 }
|
||||||
}
|
}
|
||||||
#sleep to give time for cat Calpont/releasenum to complete
|
#sleep to give time for cat MariabDB Columnstore/releasenum to complete
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
send_user "\n"
|
send_user "\n"
|
||||||
@@ -164,7 +164,7 @@ if { $INSTALLTYPE == "initial"} {
|
|||||||
#
|
#
|
||||||
# copy over calpont config file
|
# copy over calpont config file
|
||||||
#
|
#
|
||||||
send_user "Copy Calpont Config file to Module "
|
send_user "Copy MariabDB Columnstore Config file to Module "
|
||||||
send " \n"
|
send " \n"
|
||||||
send date\n
|
send date\n
|
||||||
send "scp $INSTALLDIR/etc/* $USERNAME@$SERVER:$INSTALLDIR/etc\n"
|
send "scp $INSTALLDIR/etc/* $USERNAME@$SERVER:$INSTALLDIR/etc\n"
|
||||||
@@ -208,7 +208,7 @@ if { $INSTALLTYPE == "initial"} {
|
|||||||
#
|
#
|
||||||
# copy over calpont OS files
|
# copy over calpont OS files
|
||||||
#
|
#
|
||||||
send_user "Copy Calpont OS files to Module "
|
send_user "Copy MariabDB Columnstore OS files to Module "
|
||||||
send " \n"
|
send " \n"
|
||||||
send date\n
|
send date\n
|
||||||
send "scp $INSTALLDIR/local/etc/$MODULE/* $USERNAME@$SERVER:$INSTALLDIR/local\n"
|
send "scp $INSTALLDIR/local/etc/$MODULE/* $USERNAME@$SERVER:$INSTALLDIR/local\n"
|
||||||
|
@@ -3,11 +3,11 @@
|
|||||||
alias mcsmysql='/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root'
|
alias mcsmysql='/usr/local/Calpont/mysql/bin/mysql --defaults-file=/usr/local/Calpont/mysql/my.cnf -u root'
|
||||||
alias ma=/usr/local/Calpont/bin/mcsadmin
|
alias ma=/usr/local/Calpont/bin/mcsadmin
|
||||||
alias mcsadmin=/usr/local/Calpont/bin/mcsadmin
|
alias mcsadmin=/usr/local/Calpont/bin/mcsadmin
|
||||||
alias home='cd /usr/local/Calpont/'
|
alias home='cd /usr/local/MariaDB/Columnstore'
|
||||||
alias log='cd /var/log/Calpont/'
|
alias log='cd /var/log/Columnstore/'
|
||||||
alias core='cd /var/log/Calpont/corefiles'
|
alias core='cd /var/log/Columnstore/corefiles'
|
||||||
alias tmsg='tail -f /var/log/messages'
|
alias tmsg='tail -f /var/log/messages'
|
||||||
alias tdebug='tail -f /var/log/Calpont/debug.log'
|
alias tdebug='tail -f /var/log/Columnstore/debug.log'
|
||||||
alias tinfo='tail -f /var/log/Calpont/info.log'
|
alias tinfo='tail -f /var/log/Columnstore/info.log'
|
||||||
alias dbrm='cd /usr/local/Calpont/data1/systemFiles/dbrm'
|
alias dbrm='cd /usr/local/Calpont/data1/systemFiles/dbrm'
|
||||||
alias module='cat /usr/local/Calpont/local/module'
|
alias module='cat /usr/local/Calpont/local/module'
|
||||||
|
@@ -13,7 +13,7 @@ set PACKAGE " "
|
|||||||
set CONFIGFILE " "
|
set CONFIGFILE " "
|
||||||
set DEBUG 0
|
set DEBUG 0
|
||||||
set NODEPS "-h"
|
set NODEPS "-h"
|
||||||
set INSTALLDIR "/usr/local/Calpont"
|
set INSTALLDIR "/usr/local/MariaDB/Columnstore"
|
||||||
|
|
||||||
spawn -noecho /bin/bash
|
spawn -noecho /bin/bash
|
||||||
|
|
||||||
|
@@ -3,21 +3,21 @@
|
|||||||
# as part of the RPM installation
|
# as part of the RPM installation
|
||||||
#
|
#
|
||||||
|
|
||||||
/var/log/Calpont/*.log {
|
/var/log/Columnstore/*.log {
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
daily
|
daily
|
||||||
dateext
|
dateext
|
||||||
copytruncate
|
copytruncate
|
||||||
olddir /var/log/Calpont/archive
|
olddir /var/log/Columnstore/archive
|
||||||
}
|
}
|
||||||
/var/log/Calpont/*.log1 {
|
/var/log/Columnstore/*.log1 {
|
||||||
missingok
|
missingok
|
||||||
rotate 7
|
rotate 7
|
||||||
daily
|
daily
|
||||||
nocreate
|
nocreate
|
||||||
compress
|
compress
|
||||||
olddir /var/log/Calpont/archive
|
olddir /var/log/Columnstore/archive
|
||||||
}
|
}
|
||||||
/usr/local/Calpont/etc/Calpont.xml {
|
/usr/local/Calpont/etc/Calpont.xml {
|
||||||
daily
|
daily
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
# Calpont Database Platform Logging
|
# Calpont Database Platform Logging
|
||||||
local1.=crit -/var/log/Calpont/crit.log
|
local1.=crit -/var/log/Columnstore/crit.log
|
||||||
local1.=err -/var/log/Calpont/err.log
|
local1.=err -/var/log/Columnstore/err.log
|
||||||
local1.=warning -/var/log/Calpont/warning.log
|
local1.=warning -/var/log/Columnstore/warning.log
|
||||||
local1.=info -/var/log/Calpont/info.log
|
local1.=info -/var/log/Columnstore/info.log
|
||||||
local1.=debug -/var/log/Calpont/debug.log
|
local1.=debug -/var/log/Columnstore/debug.log
|
||||||
local2.=crit -/var/log/Calpont/data/data_mods.log
|
local2.=crit -/var/log/Columnstore/data/data_mods.log
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# Calpont Database Platform Logging
|
# MariaDB Columnstore Database Platform Logging
|
||||||
|
|
||||||
source s_infinidb {
|
source s_columnstore {
|
||||||
# message generated by Syslog-NG
|
# message generated by Syslog-NG
|
||||||
internal();
|
internal();
|
||||||
# standard Linux log source (this is the default place for the syslog()
|
# standard Linux log source (this is the default place for the syslog()
|
||||||
@@ -21,57 +21,57 @@ filter f_local1debug { facility(local1) and level(debug); };
|
|||||||
filter f_local2crit { facility(local2) and level(crit); };
|
filter f_local2crit { facility(local2) and level(crit); };
|
||||||
|
|
||||||
destination d_crit{
|
destination d_crit{
|
||||||
file("/var/log/Calpont/crit.log");
|
file("/var/log/Columnstore/crit.log");
|
||||||
};
|
};
|
||||||
|
|
||||||
destination d_err{
|
destination d_err{
|
||||||
file("/var/log/Calpont/err.log");
|
file("/var/log/Columnstore/err.log");
|
||||||
};
|
};
|
||||||
|
|
||||||
destination d_warning{
|
destination d_warning{
|
||||||
file("/var/log/Calpont/warning.log");
|
file("/var/log/Columnstore/warning.log");
|
||||||
};
|
};
|
||||||
|
|
||||||
destination d_info{
|
destination d_info{
|
||||||
file("/var/log/Calpont/info.log");
|
file("/var/log/Columnstore/info.log");
|
||||||
};
|
};
|
||||||
|
|
||||||
destination d_debug{
|
destination d_debug{
|
||||||
file("/var/log/Calpont/debug.log");
|
file("/var/log/Columnstore/debug.log");
|
||||||
};
|
};
|
||||||
|
|
||||||
destination d_data_mods{
|
destination d_data_mods{
|
||||||
file("/var/log/Calpont/data/data_mods.log");
|
file("/var/log/Columnstore/data/data_mods.log");
|
||||||
};
|
};
|
||||||
|
|
||||||
log{
|
log{
|
||||||
source(s_infinidb);
|
source(s_columnstore);
|
||||||
filter(f_local1crit);
|
filter(f_local1crit);
|
||||||
destination(d_crit);
|
destination(d_crit);
|
||||||
};
|
};
|
||||||
|
|
||||||
log{
|
log{
|
||||||
source(s_infinidb);
|
source(s_columnstore);
|
||||||
filter(f_local1err);
|
filter(f_local1err);
|
||||||
destination(d_err);
|
destination(d_err);
|
||||||
};
|
};
|
||||||
log{
|
log{
|
||||||
source(s_infinidb);
|
source(s_columnstore);
|
||||||
filter(f_local1warning);
|
filter(f_local1warning);
|
||||||
destination(d_warning);
|
destination(d_warning);
|
||||||
};
|
};
|
||||||
log{
|
log{
|
||||||
source(s_infinidb);
|
source(s_columnstore);
|
||||||
filter(f_local1info);
|
filter(f_local1info);
|
||||||
destination(d_info);
|
destination(d_info);
|
||||||
};
|
};
|
||||||
log{
|
log{
|
||||||
source(s_infinidb);
|
source(s_columnstore);
|
||||||
filter(f_local1debug);
|
filter(f_local1debug);
|
||||||
destination(d_debug);
|
destination(d_debug);
|
||||||
};
|
};
|
||||||
log{
|
log{
|
||||||
source(s_infinidb);
|
source(s_columnstore);
|
||||||
filter(f_local2crit);
|
filter(f_local2crit);
|
||||||
destination(d_data_mods);
|
destination(d_data_mods);
|
||||||
};
|
};
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
# Calpont Database Platform Logging
|
# MariaDB Columnstore Database Platform Logging
|
||||||
local1.crit -/var/log/Calpont/crit.log
|
local1.crit -/var/log/Columnstore/crit.log
|
||||||
local1.err -/var/log/Calpont/err.log
|
local1.err -/var/log/Columnstore/err.log
|
||||||
local1.warning -/var/log/Calpont/warning.log
|
local1.warning -/var/log/Columnstore/warning.log
|
||||||
local1.info -/var/log/Calpont/info.log
|
local1.info -/var/log/Columnstore/info.log
|
||||||
local1.debug -/var/log/Calpont/debug.log
|
local1.debug -/var/log/Columnstore/debug.log
|
||||||
local2.crit -/var/log/Calpont/data/data_mods.log
|
local2.crit -/var/log/Columnstore/data/data_mods.log
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
# Uninstall Package from system
|
# Uninstall Package from system
|
||||||
|
|
||||||
set INFINIDB_INSTALL_DIR "/usr/local/Calpont"
|
set INFINIDB_INSTALL_DIR "/usr/local/MariaDB/Columnstore"
|
||||||
set env(INFINIDB_INSTALL_DIR) $INFINIDB_INSTALL_DIR
|
set env(INFINIDB_INSTALL_DIR) $INFINIDB_INSTALL_DIR
|
||||||
|
|
||||||
set USERNAME $env(USER)
|
set USERNAME $env(USER)
|
||||||
|
184
oam/install_scripts/columnstore
Normal file
184
oam/install_scripts/columnstore
Normal file
@@ -0,0 +1,184 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id: columnstore 3704 2013-08-07 03:33:20Z bwilkinson $
|
||||||
|
#
|
||||||
|
# columnstore Starts MariaDB Columnstore database platform
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# chkconfig: 2345 99 99
|
||||||
|
# description: MariaDB Columnstore is a database platform that utilizes Mysql
|
||||||
|
#
|
||||||
|
### BEGIN INIT INFO
|
||||||
|
# Provides: columnstore
|
||||||
|
# Required-Start: $local_fs $remote_fs $network $syslog $all
|
||||||
|
# Required-Stop: $local_fs $remote_fs $network $syslog
|
||||||
|
# Default-Start: 2 3 4 5
|
||||||
|
# Default-Stop: 0 1 6
|
||||||
|
# Short-Description: Start/stop InfiniDB DW DBMS
|
||||||
|
### END INIT INFO
|
||||||
|
|
||||||
|
# Source function library.
|
||||||
|
if [ -f /etc/init.d/functions ]; then
|
||||||
|
. /etc/init.d/functions
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$INFINIDB_INSTALL_DIR" ]; then
|
||||||
|
test -f /etc/default/columnstore && . /etc/default/columnstore
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "$INFINIDB_INSTALL_DIR" ]; then
|
||||||
|
INFINIDB_INSTALL_DIR=/usr/local/MariaDB/Columnstore
|
||||||
|
fi
|
||||||
|
|
||||||
|
export INFINIDB_INSTALL_DIR=$INFINIDB_INSTALL_DIR
|
||||||
|
|
||||||
|
InstallDir=$INFINIDB_INSTALL_DIR
|
||||||
|
|
||||||
|
if [ $InstallDir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
|
export PATH=$InstallDir/bin:$InstallDir/mysql/bin:/bin:/usr/bin
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$InstallDir/lib:$InstallDir/mysql/lib/mysql
|
||||||
|
fi
|
||||||
|
|
||||||
|
#hadoop
|
||||||
|
plugin=`$INFINIDB_INSTALL_DIR/bin/getConfig SystemConfig DataFilePlugin`
|
||||||
|
if [ -n "$plugin" ]; then
|
||||||
|
setenv=`$InstallDir/bin/getConfig SystemConfig DataFileEnvFile`
|
||||||
|
. $InstallDir/bin/$setenv >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -e $InstallDir/lib/libjemalloc.so ]; then
|
||||||
|
export LD_PRELOAD=$InstallDir/lib/libjemalloc.so
|
||||||
|
elif [ -e $InstallDir/lib/libjemalloc.so.1 ]; then
|
||||||
|
export LD_PRELOAD=$InstallDir/lib/libjemalloc.so.1
|
||||||
|
fi
|
||||||
|
|
||||||
|
test -f $InstallDir/post/functions && . $InstallDir/post/functions
|
||||||
|
|
||||||
|
mt=`module_type`
|
||||||
|
mid=`module_id`
|
||||||
|
|
||||||
|
has_um=`$InstallDir/bin/getConfig SystemModuleConfig ModuleCount2`
|
||||||
|
if [ "x$has_um" = x ]; then
|
||||||
|
has_um=0
|
||||||
|
fi
|
||||||
|
|
||||||
|
user=$USER
|
||||||
|
if [ -z "$user" ]; then
|
||||||
|
user=root
|
||||||
|
fi
|
||||||
|
|
||||||
|
checkInstallSetup() {
|
||||||
|
InitialInstallFlag=`$InstallDir/bin/getConfig -c $InstallDir/etc/Calpont.xml Installation InitialInstallFlag`
|
||||||
|
if [ $InitialInstallFlag != "y" ]; then
|
||||||
|
echo "Please run the postConfigure install script, check the Installation Guide"
|
||||||
|
echo "for additional details"
|
||||||
|
rm -f /var/lock/subsys/columnstore
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
[ -f $InstallDir/bin/ProcMon ] || exit 0
|
||||||
|
|
||||||
|
start() {
|
||||||
|
if [ -f /var/lock/subsys/columnstore ]; then
|
||||||
|
echo "MariaDB Columnstore Database Platform already running"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
(mkdir -p /var/lock/subsys && touch /var/lock/subsys/columnstore) >/dev/null 2>&1
|
||||||
|
|
||||||
|
if [ -x $InstallDir/bin/columnstore.pre-start ]; then
|
||||||
|
$InstallDir/bin/columnstore.pre-start
|
||||||
|
if [ $? -ne 0 ]; then
|
||||||
|
echo "Error running MariaDB Columnstore pre-start script, not starting MariaDB Columnstore"
|
||||||
|
rm -f /var/lock/subsys/columnstore
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
checkInstallSetup
|
||||||
|
|
||||||
|
CoreFileFlag=`$InstallDir/bin/getConfig -c $InstallDir/etc/Calpont.xml Installation CoreFileFlag`
|
||||||
|
if [ $CoreFileFlag = "y" ]; then
|
||||||
|
SUDO=
|
||||||
|
if [ "$user" != "root" ]; then
|
||||||
|
SUDO="sudo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#columnstore core files
|
||||||
|
$SUDO ulimit -c unlimited > /dev/null 2>&1
|
||||||
|
$SUDO sysctl -q -w kernel.core_uses_pid=1 > /dev/null 2>&1
|
||||||
|
$SUDO sysctl -q -w kernel.core_pattern=/var/log/Columnstore/corefiles/core.%e.%p > /dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
|
RETVAL=0
|
||||||
|
echo "Starting MariaDB Columnstore Database Platform"
|
||||||
|
rm -f /tmp/StopColumnstore
|
||||||
|
exec $InstallDir/bin/run.sh $InstallDir/bin/ProcMon > /dev/null 2>&1 &
|
||||||
|
|
||||||
|
return $RETVAL
|
||||||
|
}
|
||||||
|
stop() {
|
||||||
|
echo "Shutting down MariaDB Columnstore Database Platform"
|
||||||
|
touch /tmp/StopColumnstore
|
||||||
|
pkill -9 ProcMon
|
||||||
|
pkill -9 ProcMgr
|
||||||
|
pkill -9 snmptrapd
|
||||||
|
sleep 1
|
||||||
|
$InstallDir/bin/clearShm
|
||||||
|
RETVAL=$?
|
||||||
|
rm -f /var/lock/subsys/columnstore
|
||||||
|
fuser -k 8604/tcp > /dev/null 2>&1
|
||||||
|
test -f $InstallDir/mysql/mysql-Columnstore || return $RETVAL
|
||||||
|
$InstallDir/mysql/mysql-Columnstore stop > /dev/null 2>&1
|
||||||
|
if [ -x $InstallDir/bin/columnstore.post-stop ]; then
|
||||||
|
$InstallDir/bin/columnstore.post-stop
|
||||||
|
fi
|
||||||
|
return $RETVAL
|
||||||
|
}
|
||||||
|
restart() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
||||||
|
status() {
|
||||||
|
isrunning=0
|
||||||
|
if [ $EUID -eq 0 ]; then
|
||||||
|
if [ -f /var/lock/subsys/columnstore ]; then
|
||||||
|
isrunning=1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
pgrep ProcMon >/dev/null 2>&1
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
isrunning=1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [ $isrunning -ne 0 ]; then
|
||||||
|
echo "MariaDB Columnstore is running"
|
||||||
|
else
|
||||||
|
echo "MariaDB Columnstore is not running"
|
||||||
|
exit 3
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
start)
|
||||||
|
start
|
||||||
|
;;
|
||||||
|
stop)
|
||||||
|
stop
|
||||||
|
;;
|
||||||
|
restart)
|
||||||
|
restart
|
||||||
|
;;
|
||||||
|
condrestart)
|
||||||
|
[ -f /var/lock/subsys/columnstore ] && restart || :
|
||||||
|
;;
|
||||||
|
status)
|
||||||
|
status
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo $"Usage: $0 {start|stop|restart|condrestart|status}"
|
||||||
|
exit 1
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit $?
|
||||||
|
|
2
oam/install_scripts/columnstore.conf
Normal file
2
oam/install_scripts/columnstore.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/usr/local/MariaDB/Columnstore/lib
|
||||||
|
|
9
oam/install_scripts/columnstore.def
Normal file
9
oam/install_scripts/columnstore.def
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# Copy this file to /etc/default and rename it to 'columnstore'.
|
||||||
|
|
||||||
|
# Change this line to your InfiniDB installation directory
|
||||||
|
INFINIDB_INSTALL_DIR=/usr/local/MariaDB/Columnstore
|
||||||
|
|
||||||
|
LD_LIBRARY_PATH=$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql
|
||||||
|
export INFINIDB_INSTALL_DIR=$INFINIDB_INSTALL_DIR
|
||||||
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH
|
16
oam/install_scripts/columnstore.upstart
Normal file
16
oam/install_scripts/columnstore.upstart
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# $Id$
|
||||||
|
|
||||||
|
description "Starts the InfiniDB Enterprise Process Monitor"
|
||||||
|
|
||||||
|
start on runlevel 2
|
||||||
|
start on runlevel 3
|
||||||
|
|
||||||
|
stop on runlevel 0
|
||||||
|
stop on runlevel 1
|
||||||
|
stop on runlevel 4
|
||||||
|
stop on runlevel 5
|
||||||
|
stop on runlevel 6
|
||||||
|
|
||||||
|
respawn
|
||||||
|
exec /usr/local/MariaDB/Columnstore/bin/ProcMon
|
||||||
|
|
13
oam/install_scripts/columnstoreAlias
Normal file
13
oam/install_scripts/columnstoreAlias
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# InfiniDB Alias Commands
|
||||||
|
#
|
||||||
|
alias mcsmysql='/usr/local/MariaDB/Columnstore/mysql/bin/mysql --defaults-file=/usr/local/MariaDB/Columnstore/mysql/my.cnf -u root'
|
||||||
|
alias ma=/usr/local/MariaDB/Columnstore/bin/mcsadmin
|
||||||
|
alias mcsadmin=/usr/local/MariaDB/Columnstore/bin/mcsadmin
|
||||||
|
alias home='cd /usr/local/MaridDB/Columnstore'
|
||||||
|
alias log='cd /var/log/Columnstore/'
|
||||||
|
alias core='cd /var/log/Columnstore/corefiles'
|
||||||
|
alias tmsg='tail -f /var/log/messages'
|
||||||
|
alias tdebug='tail -f /var/log/Columnstore/debug.log'
|
||||||
|
alias tinfo='tail -f /var/log/Columnstore/info.log'
|
||||||
|
alias dbrm='cd /usr/local/MariaDB/Columnstore/data1/systemFiles/dbrm'
|
||||||
|
alias module='cat /usr/local/MariaDB/Columnstore/local/module'
|
167
oam/install_scripts/columnstoreInstall.sh
Executable file
167
oam/install_scripts/columnstoreInstall.sh
Executable file
@@ -0,0 +1,167 @@
|
|||||||
|
#!/usr/bin/expect
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# Install Package on system
|
||||||
|
|
||||||
|
set timeout 30
|
||||||
|
set USERNAME "root"
|
||||||
|
set RPMVERSION " "
|
||||||
|
set PASSWORD " "
|
||||||
|
set MYSQLPASSWORD dummymysqlpw
|
||||||
|
set PACKAGE " "
|
||||||
|
set CONFIGFILE " "
|
||||||
|
set DEBUG 0
|
||||||
|
set NODEPS "-h"
|
||||||
|
set INSTALLDIR "/usr/local/MariaDB/Columnstore"
|
||||||
|
|
||||||
|
spawn -noecho /bin/bash
|
||||||
|
|
||||||
|
for {set i 0} {$i<[llength $argv]} {incr i} {
|
||||||
|
set arg($i) [lindex $argv $i]
|
||||||
|
}
|
||||||
|
|
||||||
|
set i 0
|
||||||
|
while true {
|
||||||
|
if { $i == [llength $argv] } { break }
|
||||||
|
if { $arg($i) == "-h" } {
|
||||||
|
send_user "\n"
|
||||||
|
send_user "'calpontInstaller.sh' performs a system install of the Calpont InfiniDB Packages\n"
|
||||||
|
send_user "from the /root/ directory. These Packages would have already been installed\n"
|
||||||
|
send_user "on the local Module.\n"
|
||||||
|
send_user "Usage: calpontInstaller.sh -v 'infinidb-version' -p 'password' -t 'package-type' -c 'config-file'-m 'mysql-password' -d\n"
|
||||||
|
send_user " infinidb-version - InfiniDB Version, i.e. 1.0.0-1\n"
|
||||||
|
send_user " password - root password on the servers being installed'\n"
|
||||||
|
send_user " package-type - Package Type being installed (rpm, deb, or binary)\n"
|
||||||
|
send_user " config-file - Optional: Calpont.xml config file with directory location, i.e. /root/Calpont.xml\n"
|
||||||
|
send_user " Default version is $INSTALLDIR/etc/Calpont.xml.rpmsave\n"
|
||||||
|
send_user " mysql-password - MySQL password on the servers being installed'\n"
|
||||||
|
send_user " -d - Debug flag, output verbose information\n"
|
||||||
|
exit 0
|
||||||
|
} elseif { $arg($i) == "-v" } {
|
||||||
|
incr i
|
||||||
|
set RPMVERSION $arg($i)
|
||||||
|
} elseif { $arg($i) == "-p" } {
|
||||||
|
incr i
|
||||||
|
set PASSWORD $arg($i)
|
||||||
|
} elseif { $arg($i) == "-t" } {
|
||||||
|
incr i
|
||||||
|
set PACKAGE $arg($i)
|
||||||
|
} elseif { $arg($i) == "-c" } {
|
||||||
|
incr i
|
||||||
|
set CONFIGFILE $arg($i)
|
||||||
|
} elseif { $arg($i) == "-d" } {
|
||||||
|
set DEBUG 1
|
||||||
|
} elseif { $arg($i) == "-f" } {
|
||||||
|
set NODEPS "--nodeps"
|
||||||
|
} elseif { $arg($i) == "-m" } {
|
||||||
|
incr i
|
||||||
|
set MYSQLPASSWORD $arg($i)
|
||||||
|
} elseif { $arg($i) == "-i" } {
|
||||||
|
incr i
|
||||||
|
set INSTALLDIR $arg($i)
|
||||||
|
} elseif { $arg($i) == "-u" } {
|
||||||
|
incr i
|
||||||
|
set USERNAME $arg($i)
|
||||||
|
}
|
||||||
|
incr i
|
||||||
|
}
|
||||||
|
|
||||||
|
log_user $DEBUG
|
||||||
|
|
||||||
|
set timeout 2
|
||||||
|
send "$INSTALLDIR/bin/infinidb status\n"
|
||||||
|
expect {
|
||||||
|
"is running" { puts "InfiniDB is running, can't run calpontInstall.sh while InfiniDB is running. Exiting..\n";
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if { $CONFIGFILE == " " } {
|
||||||
|
set CONFIGFILE $INSTALLDIR/etc/Calpont.xml.rpmsave
|
||||||
|
}
|
||||||
|
|
||||||
|
if { [catch { open $CONFIGFILE "r"} handle ] } {
|
||||||
|
puts "Calpont Config file not found: $CONFIGFILE"; exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
exec rm -f $INSTALLDIR/etc/Calpont.xml.new > /dev/null 2>&1
|
||||||
|
exec mv -f $INSTALLDIR/etc/Calpont.xml $INSTALLDIR/etc/Calpont.xml.new > /dev/null 2>&1
|
||||||
|
exec /bin/cp -f $CONFIGFILE $INSTALLDIR/etc/Calpont.xml > /dev/null 2>&1
|
||||||
|
|
||||||
|
set timeout 2
|
||||||
|
set INSTALL 2
|
||||||
|
send "$INSTALLDIR/bin/getConfig DBRM_Controller NumWorkers\n"
|
||||||
|
expect {
|
||||||
|
1 { set INSTALL 1
|
||||||
|
set PASSWORD "dummy"
|
||||||
|
set RPMVERSION "rpm" }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if { $INSTALL == "2" && $PASSWORD == " "} {puts "please enter the remote server root password, enter ./calpontInstaller.sh -h for additional info"; exit 1}
|
||||||
|
|
||||||
|
if { $INSTALL == "2" && $RPMVERSION == " " } {puts "please enter Package version, enter ./calpontInstaller.sh -h for additional info"; exit 1}
|
||||||
|
|
||||||
|
send_user "\n"
|
||||||
|
|
||||||
|
if { $INSTALL == "2" } {
|
||||||
|
if { $PACKAGE == "rpm" } {
|
||||||
|
set CALPONTPACKAGE1 /root/infinidb-libs-$RPMVERSION*.rpm
|
||||||
|
set CALPONTPACKAGE2 /root/infinidb-platform-$RPMVERSION*.rpm
|
||||||
|
set CALPONTPACKAGE3 /root/infinidb-enterprise-$RPMVERSION*.rpm
|
||||||
|
set CONNECTORPACKAGE1 /root/infinidb-mysql-$RPMVERSION*.rpm
|
||||||
|
set CONNECTORPACKAGE2 /root/infinidb-storage-engine-$RPMVERSION*.rpm
|
||||||
|
send_user "Installing InfiniDB Packages: $CALPONTPACKAGE1, $CALPONTPACKAGE2, $CALPONTPACKAGE3, $CONNECTORPACKAGE1, $CONNECTORPACKAGE2\n\n"
|
||||||
|
set EEPKG "rpm"
|
||||||
|
} elseif { $PACKAGE == "deb" } {
|
||||||
|
set CALPONTPACKAGE1 /root/infinidb-libs_$RPMVERSION*.deb
|
||||||
|
set CALPONTPACKAGE2 /root/infinidb-platform_$RPMVERSION*.deb
|
||||||
|
set CALPONTPACKAGE3 /root/infinidb-enterprise_$RPMVERSION*.deb
|
||||||
|
set CONNECTORPACKAGE1 /root/infinidb-mysql_$RPMVERSION*.deb
|
||||||
|
set CONNECTORPACKAGE2 /root/infinidb-storage-engine_$RPMVERSION*.deb
|
||||||
|
send_user "Installing InfiniDB Packages: $CALPONTPACKAGE1, $CALPONTPACKAGE2, $CALPONTPACKAGE3, $CONNECTORPACKAGE1, $CONNECTORPACKAGE2\n\n"
|
||||||
|
set EEPKG "deb"
|
||||||
|
} elseif { $PACKAGE == "binary" } {
|
||||||
|
set CALPONTPACKAGE /root/infinidb-ent-$RPMVERSION*bin.tar.gz
|
||||||
|
set CONNECTORPACKAGE1 "nopkg"
|
||||||
|
set CONNECTORPACKAGE2 "nopkg"
|
||||||
|
send_user "Installing InfiniDB Package: $CALPONTPACKAGE\n\n"
|
||||||
|
set EEPKG "binary"
|
||||||
|
} else {
|
||||||
|
puts "please enter Valid Package Type, enter ./calpontInstaller.sh -h for additional info"; exit 1
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
set CALPONTPACKAGE1 "dummy.rpm"
|
||||||
|
set CALPONTPACKAGE2 "dummy.rpm"
|
||||||
|
set CALPONTPACKAGE3 "dummy.rpm"
|
||||||
|
set CONNECTORPACKAGE1 "dummy.rpm"
|
||||||
|
set CONNECTORPACKAGE2 "dummy.rpm"
|
||||||
|
set EEPKG "rpm"
|
||||||
|
}
|
||||||
|
|
||||||
|
send_user "Performing InfiniDB System Install, please wait...\n"
|
||||||
|
|
||||||
|
send "$INSTALLDIR/bin/setConfig -d Installation EEPackageType $EEPKG\n"
|
||||||
|
expect {
|
||||||
|
-re {[$#] } { }
|
||||||
|
}
|
||||||
|
|
||||||
|
send_user "\n"
|
||||||
|
set timeout 600
|
||||||
|
#
|
||||||
|
# Run installer
|
||||||
|
#
|
||||||
|
send "$INSTALLDIR/bin/installer $CALPONTPACKAGE1 $CALPONTPACKAGE2 $CALPONTPACKAGE3 $CONNECTORPACKAGE1 $CONNECTORPACKAGE2 initial $PASSWORD n $NODEPS $MYSQLPASSWORD $DEBUG\n"
|
||||||
|
expect {
|
||||||
|
"InfiniDB Install Successfully Completed" { }
|
||||||
|
"ERROR" { send_user "FAILED: error returned from installer, execute with debug mode on to determine error\n" ; exit 1 }
|
||||||
|
"Enter MySQL password" { send_user "FAILED: a MySQL password is set\n" ; exit 1 }
|
||||||
|
timeout { send_user "FAILED: Timeout while running installer, execute with debug mode on to determine error\n" ; exit 1 }
|
||||||
|
}
|
||||||
|
|
||||||
|
send_user "\nCalpont Package System Install Completed\n\n"
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
# vim:ts=4 sw=4:
|
||||||
|
|
35
oam/install_scripts/columnstoreLogRotate
Normal file
35
oam/install_scripts/columnstoreLogRotate
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
#
|
||||||
|
# MariaDb Columnstore Log Rotate file that gets installed in /etc/logrotate.d
|
||||||
|
# as part of the RPM installation
|
||||||
|
#
|
||||||
|
|
||||||
|
/var/log/Columnstore/*.log {
|
||||||
|
missingok
|
||||||
|
rotate 7
|
||||||
|
daily
|
||||||
|
dateext
|
||||||
|
copytruncate
|
||||||
|
olddir /var/log/Columnstore/archive
|
||||||
|
}
|
||||||
|
/var/log/Columnstore/*.log1 {
|
||||||
|
missingok
|
||||||
|
rotate 7
|
||||||
|
daily
|
||||||
|
nocreate
|
||||||
|
compress
|
||||||
|
olddir /var/log/Columnstore/archive
|
||||||
|
}
|
||||||
|
/usr/local/MariaDB/Columnstore/etc/Calpont.xml {
|
||||||
|
daily
|
||||||
|
dateext
|
||||||
|
copy
|
||||||
|
olddir /usr/local/MariaDB/Columnstore/etc/
|
||||||
|
}
|
||||||
|
/usr/local/MariaDB/Columnstore/mysql/db/*.err {
|
||||||
|
missingok
|
||||||
|
rotate 7
|
||||||
|
daily
|
||||||
|
dateext
|
||||||
|
copytruncate
|
||||||
|
olddir /usr/local/MariaDB/Columnstore/mysql/db
|
||||||
|
}
|
7
oam/install_scripts/columnstoreSyslog
Normal file
7
oam/install_scripts/columnstoreSyslog
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# MariaDB Columnstore Database Platform Logging
|
||||||
|
local1.=crit -/var/log/Columnstore/crit.log
|
||||||
|
local1.=err -/var/log/Columnstore/err.log
|
||||||
|
local1.=warning -/var/log/Columnstore/warning.log
|
||||||
|
local1.=info -/var/log/Columnstore/info.log
|
||||||
|
local1.=debug -/var/log/Columnstore/debug.log
|
||||||
|
local2.=crit -/var/log/Columnstore/data/data_mods.log
|
78
oam/install_scripts/columnstoreSyslog-ng
Executable file
78
oam/install_scripts/columnstoreSyslog-ng
Executable file
@@ -0,0 +1,78 @@
|
|||||||
|
# MariaDB Columnstore Database Platform Logging
|
||||||
|
|
||||||
|
source s_columnstore {
|
||||||
|
# message generated by Syslog-NG
|
||||||
|
internal();
|
||||||
|
# standard Linux log source (this is the default place for the syslog()
|
||||||
|
# function to send logs to)
|
||||||
|
unix-stream("/dev/log");
|
||||||
|
# messages from the kernel
|
||||||
|
file("/proc/kmsg" log_prefix("kernel: "));
|
||||||
|
# use the following line if you want to receive remote UDP logging messages
|
||||||
|
# (this is equivalent to the "-r" syslogd flag)
|
||||||
|
# udp();
|
||||||
|
};
|
||||||
|
|
||||||
|
filter f_local1crit { facility(local1) and level(crit); };
|
||||||
|
filter f_local1err { facility(local1) and level(err); };
|
||||||
|
filter f_local1warning { facility(local1) and level(warning); };
|
||||||
|
filter f_local1info { facility(local1) and level(info); };
|
||||||
|
filter f_local1debug { facility(local1) and level(debug); };
|
||||||
|
filter f_local2crit { facility(local2) and level(crit); };
|
||||||
|
|
||||||
|
destination d_crit{
|
||||||
|
file("/var/log/Columnstore/crit.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_err{
|
||||||
|
file("/var/log/Columnstore/err.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_warning{
|
||||||
|
file("/var/log/Columnstore/warning.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_info{
|
||||||
|
file("/var/log/Columnstore/info.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_debug{
|
||||||
|
file("/var/log/Columnstore/debug.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
destination d_data_mods{
|
||||||
|
file("/var/log/Columnstore/data/data_mods.log");
|
||||||
|
};
|
||||||
|
|
||||||
|
log{
|
||||||
|
source(s_columnstore);
|
||||||
|
filter(f_local1crit);
|
||||||
|
destination(d_crit);
|
||||||
|
};
|
||||||
|
|
||||||
|
log{
|
||||||
|
source(s_columnstore);
|
||||||
|
filter(f_local1err);
|
||||||
|
destination(d_err);
|
||||||
|
};
|
||||||
|
log{
|
||||||
|
source(s_columnstore);
|
||||||
|
filter(f_local1warning);
|
||||||
|
destination(d_warning);
|
||||||
|
};
|
||||||
|
log{
|
||||||
|
source(s_columnstore);
|
||||||
|
filter(f_local1info);
|
||||||
|
destination(d_info);
|
||||||
|
};
|
||||||
|
log{
|
||||||
|
source(s_columnstore);
|
||||||
|
filter(f_local1debug);
|
||||||
|
destination(d_debug);
|
||||||
|
};
|
||||||
|
log{
|
||||||
|
source(s_columnstore);
|
||||||
|
filter(f_local2crit);
|
||||||
|
destination(d_data_mods);
|
||||||
|
};
|
||||||
|
|
8
oam/install_scripts/columnstoreSyslog7
Normal file
8
oam/install_scripts/columnstoreSyslog7
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# MariaDb Columnstore Database Platform Logging
|
||||||
|
local1.crit -/var/log/Columnstore/crit.log
|
||||||
|
local1.err -/var/log/Columnstore/err.log
|
||||||
|
local1.warning -/var/log/Columnstore/warning.log
|
||||||
|
local1.info -/var/log/Columnstore/info.log
|
||||||
|
local1.debug -/var/log/Columnstore/debug.log
|
||||||
|
local2.crit -/var/log/Columnstore/data/data_mods.log
|
||||||
|
|
118
oam/install_scripts/columnstoreUninstall.sh
Executable file
118
oam/install_scripts/columnstoreUninstall.sh
Executable file
@@ -0,0 +1,118 @@
|
|||||||
|
#!/usr/bin/expect
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# Uninstall Package from system
|
||||||
|
|
||||||
|
set INFINIDB_INSTALL_DIR "/usr/local/MariaDB/Columnstore"
|
||||||
|
set env(INFINIDB_INSTALL_DIR) $INFINIDB_INSTALL_DIR
|
||||||
|
|
||||||
|
set USERNAME $env(USER)
|
||||||
|
set PASSWORD " "
|
||||||
|
set DEBUG 0
|
||||||
|
|
||||||
|
set INFINIDBRPM1 "infinidb-libs"
|
||||||
|
set INFINIDBRPM2 "infinidb-platform"
|
||||||
|
set INFINIDBRPM3 "infinidb-enterprise"
|
||||||
|
set CONNECTORRPM1 "infinidb-mysql"
|
||||||
|
set CONNECTORRPM2 "infinidb-storage-engine"
|
||||||
|
|
||||||
|
spawn -noecho /bin/bash
|
||||||
|
|
||||||
|
for {set i 0} {$i<[llength $argv]} {incr i} {
|
||||||
|
set arg($i) [lindex $argv $i]
|
||||||
|
}
|
||||||
|
|
||||||
|
set i 0
|
||||||
|
while true {
|
||||||
|
if { $i == [llength $argv] } { break }
|
||||||
|
if { $arg($i) == "-h" } {
|
||||||
|
send_user "\n"
|
||||||
|
send_user "'calpontUninstall.sh' performs a system uninstall of the Calpont InfiniDB Packages.\n"
|
||||||
|
send_user "It will perform a shutdown of the InfiniDB software and the \n"
|
||||||
|
send_user "remove the Packages from all configured servers of the InfiniDB System.\n"
|
||||||
|
send_user "\n"
|
||||||
|
send_user "Usage: calpontUninstall.sh -p 'password' -d\n"
|
||||||
|
send_user " password - root password of the remote servers being un-installed'\n"
|
||||||
|
send_user " -d - Debug flag, output verbose information\n"
|
||||||
|
exit
|
||||||
|
} elseif { $arg($i) == "-p" } {
|
||||||
|
incr i
|
||||||
|
set PASSWORD $arg($i)
|
||||||
|
} elseif { $arg($i) == "-d" } {
|
||||||
|
set DEBUG 1
|
||||||
|
} elseif { $arg($i) == "-i" } {
|
||||||
|
incr i
|
||||||
|
set INSTALLDIR $arg($i)
|
||||||
|
} elseif { $arg($i) == "-u" } {
|
||||||
|
incr i
|
||||||
|
set USERNAME $arg($i)
|
||||||
|
}
|
||||||
|
incr i
|
||||||
|
}
|
||||||
|
|
||||||
|
log_user $DEBUG
|
||||||
|
|
||||||
|
set timeout 2
|
||||||
|
set INSTALL 2
|
||||||
|
send "$INFINIDB_INSTALL_DIR/bin/getConfig DBRM_Controller NumWorkers\n"
|
||||||
|
expect {
|
||||||
|
1 { set INSTALL 1 }
|
||||||
|
}
|
||||||
|
|
||||||
|
set PACKAGE "rpm"
|
||||||
|
send "$INFINIDB_INSTALL_DIR/bin/getConfig Installation EEPackageType\n"
|
||||||
|
expect {
|
||||||
|
rpm { set PACKAGE rpm }
|
||||||
|
deb { set PACKAGE deb }
|
||||||
|
binary { set PACKAGE binary }
|
||||||
|
}
|
||||||
|
|
||||||
|
set timeout 60
|
||||||
|
log_user $DEBUG
|
||||||
|
if { $INSTALL == "2" && $PASSWORD == " "} {puts "please enter the remote server root password, enter ./calpontUninstall.sh -h for additional info"; exit -1}
|
||||||
|
|
||||||
|
send_user "\nPerforming InfiniDB System Uninstall\n\n"
|
||||||
|
|
||||||
|
#
|
||||||
|
# shutdownSystem
|
||||||
|
#
|
||||||
|
send_user "Shutdown InfiniDB System "
|
||||||
|
expect -re {[$#] }
|
||||||
|
send "$INFINIDB_INSTALL_DIR/bin/mcsadmin shutdownsystem y\n"
|
||||||
|
expect {
|
||||||
|
"shutdownSystem " { send_user "DONE" }
|
||||||
|
}
|
||||||
|
send_user "\n"
|
||||||
|
|
||||||
|
|
||||||
|
if { $INSTALL == "2"} {
|
||||||
|
set timeout 600
|
||||||
|
#
|
||||||
|
# Run installer
|
||||||
|
#
|
||||||
|
send_user "Run System Uninstaller "
|
||||||
|
send "$INFINIDB_INSTALL_DIR/bin/installer $INFINIDBRPM1 $INFINIDBRPM2 $INFINIDBRPM3 $CONNECTORRPM1 $CONNECTORRPM2 uninstall $PASSWORD n --nodeps dummymysqlpw $DEBUG\n"
|
||||||
|
expect {
|
||||||
|
"uninstall request successful" { send_user "DONE" }
|
||||||
|
"ERROR" { send_user "FAILED" ; exit -1 }
|
||||||
|
}
|
||||||
|
send_user "\n"
|
||||||
|
}
|
||||||
|
|
||||||
|
if { $PACKAGE == "binary" } {
|
||||||
|
send "$INFINIDB_INSTALL_DIR/bin/pre-uninstall\n"
|
||||||
|
expect {
|
||||||
|
-re {[$#] } { }
|
||||||
|
}
|
||||||
|
|
||||||
|
send_user "\n"
|
||||||
|
|
||||||
|
send_user "\nCalpont Package System Uninstall Completed\n\n"
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
send_user "\nCalpont Package System Uninstall Completed\n\n"
|
||||||
|
|
||||||
|
exit 0
|
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Calpont version with Daily running at midnight
|
# MariaDB Columnstore version with Daily running at midnight
|
||||||
#
|
#
|
||||||
|
|
||||||
SHELL=/bin/bash
|
SHELL=/bin/bash
|
||||||
@@ -14,5 +14,5 @@ HOME=/
|
|||||||
42 4 1 * * root run-parts /etc/cron.monthly
|
42 4 1 * * root run-parts /etc/cron.monthly
|
||||||
|
|
||||||
# Translation Log Archiver, default to every 10 minutes
|
# Translation Log Archiver, default to every 10 minutes
|
||||||
00,10,20,30,40,50 * * * * root /usr/local/Calpont/bin/transactionLogArchiver.sh
|
00,10,20,30,40,50 * * * * root /usr/local/MariaDB/Columnstore/bin/transactionLogArchiver.sh
|
||||||
|
|
||||||
|
@@ -20,7 +20,7 @@ set CALPONTMYSQLRPM [lindex $argv 6]
|
|||||||
set CALPONTMYSQLDRPM [lindex $argv 7]
|
set CALPONTMYSQLDRPM [lindex $argv 7]
|
||||||
set INSTALLTYPE [lindex $argv 8]
|
set INSTALLTYPE [lindex $argv 8]
|
||||||
set DEBUG [lindex $argv 9]
|
set DEBUG [lindex $argv 9]
|
||||||
set INSTALLDIR "/usr/local/Calpont"
|
set INSTALLDIR "/usr/local/MariaDB/Columnstore"
|
||||||
set IDIR [lindex $argv 10]
|
set IDIR [lindex $argv 10]
|
||||||
if { $IDIR != "" } {
|
if { $IDIR != "" } {
|
||||||
set INSTALLDIR $IDIR
|
set INSTALLDIR $IDIR
|
||||||
|
74
oam/install_scripts/disable-rep-columnstore.sh
Normal file
74
oam/install_scripts/disable-rep-columnstore.sh
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# generic InfiniDB Disable Replication script.
|
||||||
|
#
|
||||||
|
# Notes: This script gets run by ProcMon:
|
||||||
|
|
||||||
|
# check log for error
|
||||||
|
checkForError() {
|
||||||
|
grep ERROR /tmp/disable-rep-status.log > /tmp/error.check
|
||||||
|
if [ `cat /tmp/error.check | wc -c` -ne 0 ]; then
|
||||||
|
echo "ERROR: check log file: /tmp/disable-rep-status.log"
|
||||||
|
rm -f /tmp/error.check
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm -f /tmp/error.check
|
||||||
|
}
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
|
pwprompt=
|
||||||
|
for arg in "$@"; do
|
||||||
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
|
password="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
pwprompt="--password=$password"
|
||||||
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
|
installdir="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
prefix=`dirname $installdir`
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
test -f $installdir/post/functions && . $installdir/post/functions
|
||||||
|
|
||||||
|
>/tmp/disable-rep-status.log
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run stop slave command
|
||||||
|
#
|
||||||
|
echo "Run stop slave command" >>/tmp/disable-rep-status.log
|
||||||
|
cat >/tmp/idb_disable-rep.sql <<EOD
|
||||||
|
stop slave;
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_disable-rep.sql >>/tmp/disable-rep-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_disable-rep.sql >>/tmp/disable-rep-status.log
|
||||||
|
|
||||||
|
checkForError
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run reset slave command
|
||||||
|
#
|
||||||
|
echo "Run start slave command" >>/tmp/disable-rep-status.log
|
||||||
|
cat >/tmp/idb_disable-rep.sql <<EOD
|
||||||
|
reset slave;
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_disable-rep.sql >>/tmp/disable-rep-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_disable-rep.sql >>/tmp/disable-rep-status.log
|
||||||
|
|
||||||
|
checkForError
|
||||||
|
|
||||||
|
#alls good, 'OK' for success
|
||||||
|
echo "OK"
|
||||||
|
exit 0
|
@@ -18,12 +18,12 @@ checkForError() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
pwprompt=
|
pwprompt=
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
password="`echo $arg | awk -F= '{print $2}'`"
|
password="`echo $arg | awk -F= '{print $2}'`"
|
||||||
pwprompt="--password=$password"
|
pwprompt="--password=$password"
|
||||||
|
@@ -107,7 +107,7 @@ start() {
|
|||||||
#infinidb core files
|
#infinidb core files
|
||||||
$SUDO ulimit -c unlimited > /dev/null 2>&1
|
$SUDO ulimit -c unlimited > /dev/null 2>&1
|
||||||
$SUDO sysctl -q -w kernel.core_uses_pid=1 > /dev/null 2>&1
|
$SUDO sysctl -q -w kernel.core_uses_pid=1 > /dev/null 2>&1
|
||||||
$SUDO sysctl -q -w kernel.core_pattern=/var/log/Calpont/corefiles/core.%e.%p > /dev/null 2>&1
|
$SUDO sysctl -q -w kernel.core_pattern=/var/log/Columnstore/corefiles/core.%e.%p > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
@@ -128,8 +128,8 @@ stop() {
|
|||||||
RETVAL=$?
|
RETVAL=$?
|
||||||
rm -f /var/lock/subsys/infinidb
|
rm -f /var/lock/subsys/infinidb
|
||||||
fuser -k 8604/tcp > /dev/null 2>&1
|
fuser -k 8604/tcp > /dev/null 2>&1
|
||||||
test -f $InstallDir/mysql/mysql-Calpont || return $RETVAL
|
test -f $InstallDir/mysql/mysql-Columnstore || return $RETVAL
|
||||||
$InstallDir/mysql/mysql-Calpont stop > /dev/null 2>&1
|
$InstallDir/mysql/mysql-Columnstore stop > /dev/null 2>&1
|
||||||
if [ -x $InstallDir/bin/infinidb.post-stop ]; then
|
if [ -x $InstallDir/bin/infinidb.post-stop ]; then
|
||||||
$InstallDir/bin/infinidb.post-stop
|
$InstallDir/bin/infinidb.post-stop
|
||||||
fi
|
fi
|
||||||
|
13
oam/install_scripts/install-columnstore.sh
Executable file
13
oam/install_scripts/install-columnstore.sh
Executable file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id: install-infinidb.sh 421 2007-04-05 15:46:55Z dhill $
|
||||||
|
#
|
||||||
|
# install-infinidb.sh dummy EE version
|
||||||
|
|
||||||
|
echo " " 1>&2
|
||||||
|
echo " This install-infinidb.sh script is only used to install the Community Edition." 1>&2
|
||||||
|
echo " Please use the 'postConfigure' for installing the Enterprise Edition." 1>&2
|
||||||
|
echo " Check the Calpont InfiniDB Installation Document for further details." 1>&2
|
||||||
|
|
||||||
|
exit 1
|
||||||
|
|
102
oam/install_scripts/install_scripts.kdevelop
Normal file
102
oam/install_scripts/install_scripts.kdevelop
Normal file
@@ -0,0 +1,102 @@
|
|||||||
|
<?xml version = '1.0'?>
|
||||||
|
<kdevelop>
|
||||||
|
<general>
|
||||||
|
<author/>
|
||||||
|
<email>dhill@srvhill04.calpont.com</email>
|
||||||
|
<version>$VERSION$</version>
|
||||||
|
<projectmanagement>KDevCustomProject</projectmanagement>
|
||||||
|
<primarylanguage>C</primarylanguage>
|
||||||
|
<ignoreparts/>
|
||||||
|
</general>
|
||||||
|
<kdevcustomproject>
|
||||||
|
<run>
|
||||||
|
<mainprogram>install_scripts</mainprogram>
|
||||||
|
<directoryradio>executable</directoryradio>
|
||||||
|
</run>
|
||||||
|
</kdevcustomproject>
|
||||||
|
<kdevdebugger>
|
||||||
|
<general>
|
||||||
|
<dbgshell/>
|
||||||
|
</general>
|
||||||
|
</kdevdebugger>
|
||||||
|
<kdevdoctreeview>
|
||||||
|
<ignoretocs>
|
||||||
|
<toc>ada</toc>
|
||||||
|
<toc>ada_bugs_gcc</toc>
|
||||||
|
<toc>bash</toc>
|
||||||
|
<toc>bash_bugs</toc>
|
||||||
|
<toc>clanlib</toc>
|
||||||
|
<toc>fortran_bugs_gcc</toc>
|
||||||
|
<toc>gnome1</toc>
|
||||||
|
<toc>gnustep</toc>
|
||||||
|
<toc>gtk</toc>
|
||||||
|
<toc>gtk_bugs</toc>
|
||||||
|
<toc>haskell</toc>
|
||||||
|
<toc>haskell_bugs_ghc</toc>
|
||||||
|
<toc>java_bugs_gcc</toc>
|
||||||
|
<toc>java_bugs_sun</toc>
|
||||||
|
<toc>kde2book</toc>
|
||||||
|
<toc>libstdc++</toc>
|
||||||
|
<toc>opengl</toc>
|
||||||
|
<toc>pascal_bugs_fp</toc>
|
||||||
|
<toc>php</toc>
|
||||||
|
<toc>php_bugs</toc>
|
||||||
|
<toc>perl</toc>
|
||||||
|
<toc>perl_bugs</toc>
|
||||||
|
<toc>python</toc>
|
||||||
|
<toc>python_bugs</toc>
|
||||||
|
<toc>qt-kdev3</toc>
|
||||||
|
<toc>ruby</toc>
|
||||||
|
<toc>ruby_bugs</toc>
|
||||||
|
<toc>sdl</toc>
|
||||||
|
<toc>stl</toc>
|
||||||
|
<toc>sw</toc>
|
||||||
|
<toc>w3c-dom-level2-html</toc>
|
||||||
|
<toc>w3c-svg</toc>
|
||||||
|
<toc>w3c-uaag10</toc>
|
||||||
|
<toc>wxwidgets_bugs</toc>
|
||||||
|
</ignoretocs>
|
||||||
|
<ignoreqt_xml>
|
||||||
|
<toc>Guide to the Qt Translation Tools</toc>
|
||||||
|
<toc>Qt Assistant Manual</toc>
|
||||||
|
<toc>Qt Designer Manual</toc>
|
||||||
|
<toc>Qt Reference Documentation</toc>
|
||||||
|
<toc>qmake User Guide</toc>
|
||||||
|
</ignoreqt_xml>
|
||||||
|
<ignoredoxygen>
|
||||||
|
<toc>KDE Libraries (Doxygen)</toc>
|
||||||
|
</ignoredoxygen>
|
||||||
|
</kdevdoctreeview>
|
||||||
|
<kdevfilecreate>
|
||||||
|
<filetypes/>
|
||||||
|
<useglobaltypes>
|
||||||
|
<type ext="c" />
|
||||||
|
<type ext="h" />
|
||||||
|
</useglobaltypes>
|
||||||
|
</kdevfilecreate>
|
||||||
|
<kdevcppsupport>
|
||||||
|
<references/>
|
||||||
|
<codecompletion>
|
||||||
|
<includeGlobalFunctions>true</includeGlobalFunctions>
|
||||||
|
<includeTypes>true</includeTypes>
|
||||||
|
<includeEnums>true</includeEnums>
|
||||||
|
<includeTypedefs>false</includeTypedefs>
|
||||||
|
<automaticCodeCompletion>true</automaticCodeCompletion>
|
||||||
|
<automaticArgumentsHint>true</automaticArgumentsHint>
|
||||||
|
<automaticHeaderCompletion>true</automaticHeaderCompletion>
|
||||||
|
<codeCompletionDelay>250</codeCompletionDelay>
|
||||||
|
<argumentsHintDelay>400</argumentsHintDelay>
|
||||||
|
<headerCompletionDelay>250</headerCompletionDelay>
|
||||||
|
</codecompletion>
|
||||||
|
</kdevcppsupport>
|
||||||
|
<kdevfileview>
|
||||||
|
<groups>
|
||||||
|
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||||
|
<hidenonlocation>false</hidenonlocation>
|
||||||
|
</groups>
|
||||||
|
<tree>
|
||||||
|
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
|
||||||
|
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||||
|
</tree>
|
||||||
|
</kdevfileview>
|
||||||
|
</kdevelop>
|
4
oam/install_scripts/install_scripts.kdevelop.filelist
Normal file
4
oam/install_scripts/install_scripts.kdevelop.filelist
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# KDevelop Custom Project File List
|
||||||
|
Makefile
|
||||||
|
Makefile.am
|
||||||
|
Makefile.in
|
23
oam/install_scripts/install_scripts.kdevses
Normal file
23
oam/install_scripts/install_scripts.kdevses
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||||
|
<!DOCTYPE KDevPrjSession>
|
||||||
|
<KDevPrjSession>
|
||||||
|
<DocsAndViews NumberOfDocuments="1" >
|
||||||
|
<Doc0 NumberOfViews="1" URL="file:///home/dhill/InfiniDB_MariaDB/oam/install_scripts/columnstoreSyslog" >
|
||||||
|
<View0 line="0" Type="Source" />
|
||||||
|
</Doc0>
|
||||||
|
</DocsAndViews>
|
||||||
|
<pluginList>
|
||||||
|
<kdevdebugger>
|
||||||
|
<breakpointList/>
|
||||||
|
</kdevdebugger>
|
||||||
|
<kdevbookmarks>
|
||||||
|
<bookmarks/>
|
||||||
|
</kdevbookmarks>
|
||||||
|
<kdevvalgrind>
|
||||||
|
<executable path="" params="" />
|
||||||
|
<valgrind path="" params="" />
|
||||||
|
<calltree path="" params="" />
|
||||||
|
<kcachegrind path="" />
|
||||||
|
</kdevvalgrind>
|
||||||
|
</pluginList>
|
||||||
|
</KDevPrjSession>
|
112
oam/install_scripts/master-rep-columnstore.sh
Normal file
112
oam/install_scripts/master-rep-columnstore.sh
Normal file
@@ -0,0 +1,112 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# generic InfiniDB Master Replication script.
|
||||||
|
#
|
||||||
|
# Notes: This script gets run by ProcMon during installs and upgrades:
|
||||||
|
|
||||||
|
# check log for error
|
||||||
|
checkForError() {
|
||||||
|
grep ERROR /tmp/master-rep-status-$hostipaddr.log > /tmp/error.check
|
||||||
|
if [ `cat /tmp/error.check | wc -c` -ne 0 ]; then
|
||||||
|
echo "ERROR: check log file: /tmp/master-rep-status-$hostipaddr.log"
|
||||||
|
rm -f /tmp/error.check
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm -f /tmp/error.check
|
||||||
|
}
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
|
pwprompt=
|
||||||
|
for arg in "$@"; do
|
||||||
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
|
password="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
pwprompt="--password=$password"
|
||||||
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
|
installdir="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
prefix=`dirname $installdir`
|
||||||
|
elif [ `expr -- "$arg" : '--hostIP='` -eq 9 ]; then
|
||||||
|
hostipaddr="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
test -f $installdir/post/functions && . $installdir/post/functions
|
||||||
|
|
||||||
|
repUser="idbrep"
|
||||||
|
password="Calpont1"
|
||||||
|
|
||||||
|
>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
|
||||||
|
#
|
||||||
|
# Create Replication User
|
||||||
|
#
|
||||||
|
echo "Create Replication User $repUser for node $hostipaddr" >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
cat >/tmp/idb_master-rep.sql <<EOD
|
||||||
|
CREATE USER '$repUser'@'$hostipaddr' IDENTIFIED BY '$password';
|
||||||
|
GRANT REPLICATION SLAVE ON *.* TO '$repUser'@'$hostipaddr';
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_master-rep.sql >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_master-rep.sql >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
|
||||||
|
checkForError
|
||||||
|
|
||||||
|
#
|
||||||
|
# Grant table access for created user
|
||||||
|
#
|
||||||
|
echo "Grant table access for $repUser for node $hostipaddr" >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
cat >/tmp/idb_master-rep.sql <<EOD
|
||||||
|
use mysql
|
||||||
|
grant all on *.* to '$repUser'@'$hostipaddr' identified by 'Calpont1';
|
||||||
|
grant REPLICATION SLAVE on *.* to '$repUser'@'$hostipaddr' identified by 'Calpont1';
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_master-rep.sql >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_master-rep.sql >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
|
||||||
|
checkForError
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run SHOW MASTER STATUS
|
||||||
|
#
|
||||||
|
echo "Run SHOW MASTER STATUS to node log" >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
cat >/tmp/idb_master-rep.sql <<EOD
|
||||||
|
SHOW MASTER STATUS
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_master-rep.sql >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_master-rep.sql >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
|
||||||
|
checkForError
|
||||||
|
|
||||||
|
echo "Run SHOW MASTER STATUS to master status log /tmp/show-master-status.log" >>/tmp/master-rep-status-$hostipaddr.log
|
||||||
|
cat >/tmp/idb_master-rep.sql <<EOD
|
||||||
|
SHOW MASTER STATUS
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_master-rep.sql >/tmp/show-master-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_master-rep.sql >>/tmp/show-master-status.log
|
||||||
|
|
||||||
|
|
||||||
|
#alls good, 'OK' for success
|
||||||
|
echo "OK"
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
|
@@ -18,12 +18,12 @@ checkForError() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
pwprompt=
|
pwprompt=
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
password="`echo $arg | awk -F= '{print $2}'`"
|
password="`echo $arg | awk -F= '{print $2}'`"
|
||||||
pwprompt="--password=$password"
|
pwprompt="--password=$password"
|
||||||
|
@@ -5,12 +5,12 @@
|
|||||||
# Setup the Custom OS files during a System install on a module
|
# Setup the Custom OS files during a System install on a module
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# append calpont OS files to Linux OS file
|
# append columnstore OS files to Linux OS file
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
rpmmode=install
|
rpmmode=install
|
||||||
user=$USER
|
user=$USER
|
||||||
if [ -z "$user" ]; then
|
if [ -z "$user" ]; then
|
||||||
@@ -22,7 +22,7 @@ shiftcnt=0
|
|||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ $(expr -- "$arg" : '--prefix=') -eq 9 ]; then
|
if [ $(expr -- "$arg" : '--prefix=') -eq 9 ]; then
|
||||||
prefix="$(echo $arg | awk -F= '{print $2}')"
|
prefix="$(echo $arg | awk -F= '{print $2}')"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
((shiftcnt++))
|
((shiftcnt++))
|
||||||
elif [ $(expr -- "$arg" : '--rpmmode=') -eq 10 ]; then
|
elif [ $(expr -- "$arg" : '--rpmmode=') -eq 10 ]; then
|
||||||
rpmmode="$(echo $arg | awk -F= '{print $2}')"
|
rpmmode="$(echo $arg | awk -F= '{print $2}')"
|
||||||
@@ -47,7 +47,7 @@ for arg in "$@"; do
|
|||||||
done
|
done
|
||||||
shift $shiftcnt
|
shift $shiftcnt
|
||||||
|
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -60,8 +60,8 @@ if [ $cloud = "amazon-ec2" ] || [ $cloud = "amazon-vpc" ]; then
|
|||||||
if test -f $INFINIDB_INSTALL_DIR/local/etc/pm1/fstab ; then
|
if test -f $INFINIDB_INSTALL_DIR/local/etc/pm1/fstab ; then
|
||||||
echo "Setup fstab on Module"
|
echo "Setup fstab on Module"
|
||||||
touch /etc/fstab
|
touch /etc/fstab
|
||||||
rm -f /etc/fstab.calpontSave
|
rm -f /etc/fstab.columnstoreSave
|
||||||
mv /etc/fstab /etc/fstab.calpontSave
|
mv /etc/fstab /etc/fstab.columnstoreSave
|
||||||
cat $INFINIDB_INSTALL_DIR/local/etc/pm1/fstab >> /etc/fstab
|
cat $INFINIDB_INSTALL_DIR/local/etc/pm1/fstab >> /etc/fstab
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
@@ -97,17 +97,17 @@ if [ $module = "pm" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Setup rc.local on Module"
|
echo "Setup rc.local on Module"
|
||||||
if [ $EUID -eq 0 -a -f $INFINIDB_INSTALL_DIR/local/rc.local.calpont ]; then
|
if [ $EUID -eq 0 -a -f $INFINIDB_INSTALL_DIR/local/rc.local.columnstore ]; then
|
||||||
if [ $user = "root" ]; then
|
if [ $user = "root" ]; then
|
||||||
touch /etc/rc.local
|
touch /etc/rc.local
|
||||||
rm -f /etc/rc.local.calpontSave
|
rm -f /etc/rc.local.columnstoreSave
|
||||||
cp /etc/rc.local /etc/rc.local.calpontSave
|
cp /etc/rc.local /etc/rc.local.columnstoreSave
|
||||||
cat $INFINIDB_INSTALL_DIR/local/rc.local.calpont >> /etc/rc.local
|
cat $INFINIDB_INSTALL_DIR/local/rc.local.columnstore >> /etc/rc.local
|
||||||
else
|
else
|
||||||
sudo touch /etc/rc.local
|
sudo touch /etc/rc.local
|
||||||
sudo rm -f /etc/rc.local.calpontSave
|
sudo rm -f /etc/rc.local.columnstoreSave
|
||||||
sudo cp /etc/rc.local /etc/rc.local.calpontSave
|
sudo cp /etc/rc.local /etc/rc.local.columnstoreSave
|
||||||
sudo cat $INFINIDB_INSTALL_DIR/local/rc.local.calpont >> /etc/rc.local
|
sudo cat $INFINIDB_INSTALL_DIR/local/rc.local.columnstore >> /etc/rc.local
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -19,7 +19,7 @@ set INSTALLTYPE [lindex $argv 4]
|
|||||||
set PKGTYPE [lindex $argv 5]
|
set PKGTYPE [lindex $argv 5]
|
||||||
set NODEPS [lindex $argv 6]
|
set NODEPS [lindex $argv 6]
|
||||||
set DEBUG [lindex $argv 7]
|
set DEBUG [lindex $argv 7]
|
||||||
set INSTALLDIR "/usr/local/Calpont"
|
set INSTALLDIR "/usr/local/MariaDB/Columnstore"
|
||||||
set IDIR [lindex $argv 8]
|
set IDIR [lindex $argv 8]
|
||||||
if { $IDIR != "" } {
|
if { $IDIR != "" } {
|
||||||
set INSTALLDIR $IDIR
|
set INSTALLDIR $IDIR
|
||||||
@@ -41,17 +41,17 @@ log_user $DEBUG
|
|||||||
spawn -noecho /bin/bash
|
spawn -noecho /bin/bash
|
||||||
#
|
#
|
||||||
if { $PKGTYPE == "rpm" } {
|
if { $PKGTYPE == "rpm" } {
|
||||||
set PKGERASE "rpm -e --nodeps \$(rpm -qa | grep '^infinidb')"
|
set PKGERASE "rpm -e --nodeps \$(rpm -qa | grep '^mariabd-columnstore')"
|
||||||
set PKGERASE1 "rpm -e --nodeps "
|
set PKGERASE1 "rpm -e --nodeps "
|
||||||
|
|
||||||
set PKGINSTALL "rpm -ivh $NODEPS --force infinidb*$VERSION*"
|
set PKGINSTALL "rpm -ivh $NODEPS --force mariabd-columnstore*$VERSION*"
|
||||||
set PKGUPGRADE "rpm -Uvh --noscripts infinidb*$VERSION*"
|
set PKGUPGRADE "rpm -Uvh --noscripts mariabd-columnstore*$VERSION*"
|
||||||
} else {
|
} else {
|
||||||
if { $PKGTYPE == "deb" } {
|
if { $PKGTYPE == "deb" } {
|
||||||
set PKGERASE "dpkg -P \$(dpkg --get-selections | grep '^infinidb')"
|
set PKGERASE "dpkg -P \$(dpkg --get-selections | grep '^mariabd-columnstore')"
|
||||||
set PKGERASE1 "dpkg -P "
|
set PKGERASE1 "dpkg -P "
|
||||||
set PKGINSTALL "dpkg -i --force-confnew infinidb*$VERSION*"
|
set PKGINSTALL "dpkg -i --force-confnew mariabd-columnstore*$VERSION*"
|
||||||
set PKGUPGRADE "dpkg -i --force-confnew infinidb*$VERSION*"
|
set PKGUPGRADE "dpkg -i --force-confnew mariabd-columnstore*$VERSION*"
|
||||||
} else {
|
} else {
|
||||||
if { $PKGTYPE != "bin" } {
|
if { $PKGTYPE != "bin" } {
|
||||||
send_user "Invalid Package Type of $PKGTYPE"
|
send_user "Invalid Package Type of $PKGTYPE"
|
||||||
@@ -125,7 +125,7 @@ if { $INSTALLTYPE == "uninstall" } { exit 0 }
|
|||||||
set timeout 30
|
set timeout 30
|
||||||
#expect -re {[$#] }
|
#expect -re {[$#] }
|
||||||
send_user "Copy New InfiniDB Package to Module "
|
send_user "Copy New InfiniDB Package to Module "
|
||||||
send "ssh $USERNAME@$SERVER 'rm -f /root/infinidb-*.$PKGTYPE'\n"
|
send "ssh $USERNAME@$SERVER 'rm -f /root/mariabd-columnstore-*.$PKGTYPE'\n"
|
||||||
if { $PASSWORD != "ssh" } {
|
if { $PASSWORD != "ssh" } {
|
||||||
set timeout 30
|
set timeout 30
|
||||||
expect {
|
expect {
|
||||||
@@ -144,7 +144,7 @@ expect {
|
|||||||
-re {[$#] } { }
|
-re {[$#] } { }
|
||||||
}
|
}
|
||||||
|
|
||||||
send "scp $HOME/infinidb*$VERSION* $USERNAME@$SERVER:.;$PKGERASE dummy\n"
|
send "scp $HOME/mariabd-columnstore*$VERSION* $USERNAME@$SERVER:.;$PKGERASE dummy\n"
|
||||||
if { $PASSWORD != "ssh" } {
|
if { $PASSWORD != "ssh" } {
|
||||||
set timeout 30
|
set timeout 30
|
||||||
expect {
|
expect {
|
||||||
@@ -172,7 +172,7 @@ if { $INSTALLTYPE == "initial"} {
|
|||||||
#
|
#
|
||||||
send_user "Install InfiniDB Packages on Module "
|
send_user "Install InfiniDB Packages on Module "
|
||||||
|
|
||||||
send "ssh $USERNAME@$SERVER '$PKGINSTALL infinidb*$VERSION* ;$PKGERASE dummy'\n"
|
send "ssh $USERNAME@$SERVER '$PKGINSTALL mariabd-columnstore*$VERSION* ;$PKGERASE dummy'\n"
|
||||||
if { $PASSWORD != "ssh" } {
|
if { $PASSWORD != "ssh" } {
|
||||||
set timeout 30
|
set timeout 30
|
||||||
expect {
|
expect {
|
||||||
|
@@ -2,10 +2,10 @@
|
|||||||
#
|
#
|
||||||
# $Id: post-install 3705 2013-08-07 19:47:20Z dhill $
|
# $Id: post-install 3705 2013-08-07 19:47:20Z dhill $
|
||||||
#
|
#
|
||||||
# Post-install steps for calpont install
|
# Post-install steps for columnstore install
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
rpmmode=install
|
rpmmode=install
|
||||||
user=$USER
|
user=$USER
|
||||||
if [ -z "$user" ]; then
|
if [ -z "$user" ]; then
|
||||||
@@ -16,7 +16,7 @@ quiet=0
|
|||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
||||||
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
||||||
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
@@ -33,12 +33,12 @@ for arg in "$@"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
export INFINIDB_INSTALL_DIR=$installdir
|
export INFINIDB_INSTALL_DIR=$installdir
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$installdir/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$installdir/lib
|
||||||
else
|
else
|
||||||
# add library config file
|
# add library config file
|
||||||
/bin/cp -f $installdir/bin/infinidb.conf /etc/ld.so.conf.d/.
|
/bin/cp -f $installdir/bin/columnstore.conf /etc/ld.so.conf.d/.
|
||||||
ldconfig
|
ldconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -101,14 +101,14 @@ chown -h $user.$user libjemalloc.so >/dev/null 2>&1
|
|||||||
|
|
||||||
cd /
|
cd /
|
||||||
|
|
||||||
test -d /var/log/Calpont || mkdir /var/log/Calpont >/dev/null 2>&1
|
test -d /var/log/Columnstore || mkdir /var/log/Columnstore >/dev/null 2>&1
|
||||||
test -d /var/log/Calpont/archive || mkdir /var/log/Calpont/archive >/dev/null 2>&1
|
test -d /var/log/Columnstore/archive || mkdir /var/log/Columnstore/archive >/dev/null 2>&1
|
||||||
test -d /var/log/Calpont/corefiles || mkdir /var/log/Calpont/corefiles >/dev/null 2>&1
|
test -d /var/log/Columnstore/corefiles || mkdir /var/log/Columnstore/corefiles >/dev/null 2>&1
|
||||||
test -d /var/log/Calpont/trace || mkdir /var/log/Calpont/trace >/dev/null 2>&1
|
test -d /var/log/Columnstore/trace || mkdir /var/log/Columnstore/trace >/dev/null 2>&1
|
||||||
test -h /var/log/Calpont/data && rm -f /var/log/Calpont/data
|
test -h /var/log/Columnstore/data && rm -f /var/log/Columnstore/data
|
||||||
test -d /var/log/Calpont/data || mkdir /var/log/Calpont/data >/dev/null 2>&1
|
test -d /var/log/Columnstore/data || mkdir /var/log/Columnstore/data >/dev/null 2>&1
|
||||||
# make sure trace dir is world-writable and sticky
|
# make sure trace dir is world-writable and sticky
|
||||||
chmod 1755 /var/log/Calpont/trace >/dev/null 2>&1
|
chmod 1755 /var/log/Columnstore/trace >/dev/null 2>&1
|
||||||
test -d $installdir/data || mkdir $installdir/data
|
test -d $installdir/data || mkdir $installdir/data
|
||||||
test -d $installdir/data1 || mkdir $installdir/data1
|
test -d $installdir/data1 || mkdir $installdir/data1
|
||||||
test -d $installdir/data1/systemFiles || mkdir $installdir/data1/systemFiles
|
test -d $installdir/data1/systemFiles || mkdir $installdir/data1/systemFiles
|
||||||
@@ -128,54 +128,54 @@ mkdir -p $installdir/data/bulk/tmpjob >/dev/null 2>&1
|
|||||||
rm -f $installdir/data/bulk/tmpjob/* >/dev/null 2>&1
|
rm -f $installdir/data/bulk/tmpjob/* >/dev/null 2>&1
|
||||||
chmod -R 755 $installdir/data/bulk >/dev/null 2>&1
|
chmod -R 755 $installdir/data/bulk >/dev/null 2>&1
|
||||||
|
|
||||||
#create infinidb temp file directory
|
#create columnstore temp file directory
|
||||||
mkdir -p /tmp/infinidb_tmp_files >/dev/null 2>&1
|
mkdir -p /tmp/columnstore_tmp_files >/dev/null 2>&1
|
||||||
|
|
||||||
#setup core file directory and link
|
#setup core file directory and link
|
||||||
mkdir /var/log/Calpont/corefiles > /dev/null 2>&1
|
mkdir /var/log/Columnstore/corefiles > /dev/null 2>&1
|
||||||
chmod 755 /var/log/Calpont/corefiles > /dev/null 2>&1
|
chmod 755 /var/log/Columnstore/corefiles > /dev/null 2>&1
|
||||||
|
|
||||||
#create mount directories
|
#create mount directories
|
||||||
mkdir /mnt/tmp > /dev/null 2>&1
|
mkdir /mnt/tmp > /dev/null 2>&1
|
||||||
mkdir /var/log/Calpont/data/archive > /dev/null 2>&1
|
mkdir /var/log/Columnstore/data/archive > /dev/null 2>&1
|
||||||
|
|
||||||
# install Calpont Log Rotate File
|
# install Calpont Log Rotate File
|
||||||
test -d $installdir/mysql/db || mkdir -p $installdir/mysql/db
|
test -d $installdir/mysql/db || mkdir -p $installdir/mysql/db
|
||||||
cp $installdir/bin/calpontLogRotate /etc/logrotate.d/calpont > /dev/null 2>&1
|
cp $installdir/bin/columnstoreLogRotate /etc/logrotate.d/columnstore > /dev/null 2>&1
|
||||||
rm -rf $installdir/mysql/db/infinidb_log_archive > /dev/null 2>&1
|
rm -rf $installdir/mysql/db/columnstore_log_archive > /dev/null 2>&1
|
||||||
|
|
||||||
# delete Calpont shared memory segments
|
# delete Calpont shared memory segments
|
||||||
$installdir/bin/Calpont/bin/clearShm > /dev/null 2>&1
|
$installdir/bin/clearShm > /dev/null 2>&1
|
||||||
|
|
||||||
#setup the infinidb service script
|
#setup the columnstore service script
|
||||||
rm -f /etc/init.d/infinidb >/dev/null 2>&1
|
rm -f /etc/init.d/columnstore >/dev/null 2>&1
|
||||||
cp $installdir/bin/infinidb /etc/init.d >/dev/null 2>&1
|
cp $installdir/bin/columnstore /etc/init.d >/dev/null 2>&1
|
||||||
if [ -x /sbin/chkconfig ]; then
|
if [ -x /sbin/chkconfig ]; then
|
||||||
/sbin/chkconfig --add infinidb > /dev/null 2>&1
|
/sbin/chkconfig --add columnstore > /dev/null 2>&1
|
||||||
/sbin/chkconfig infinidb on > /dev/null 2>&1
|
/sbin/chkconfig columnstore on > /dev/null 2>&1
|
||||||
elif [ -x /usr/sbin/update-rc.d ]; then
|
elif [ -x /usr/sbin/update-rc.d ]; then
|
||||||
/usr/sbin/update-rc.d infinidb defaults 99 > /dev/null 2>&1
|
/usr/sbin/update-rc.d columnstore defaults 99 > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
echo ""
|
echo ""
|
||||||
echo "Package 'chkconfig' or 'update-rc.d' not installed, contact your sysadmin if you want to setup to autostart for infinidb"
|
echo "Package 'chkconfig' or 'update-rc.d' not installed, contact your sysadmin if you want to setup to autostart for columnstore"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#setup InfiniDB system logging
|
#setup InfiniDB system logging
|
||||||
if [ $user = "root" ]; then
|
if [ $user = "root" ]; then
|
||||||
$installdir/bin/syslogSetup.sh install > /tmp/syslog_install.log 2>&1
|
$installdir/bin/syslogSetup.sh install > /tmp/syslog_install.log 2>&1
|
||||||
chmod 777 -R /dev/shm
|
chmod 777 -R /dev/shm
|
||||||
rm -f /etc/default/infinidb
|
rm -f /etc/default/columnstore
|
||||||
else
|
else
|
||||||
sudo $installdir/bin/syslogSetup.sh --installdir=$installdir install > /tmp/syslog_install.log 2>&1
|
sudo $installdir/bin/syslogSetup.sh --installdir=$installdir install > /tmp/syslog_install.log 2>&1
|
||||||
sudo chown $user:$user $installdir/etc/Calpont.xml
|
sudo chown $user:$user $installdir/etc/Calpont.xml
|
||||||
sudo chmod 755 /var/log
|
sudo chmod 755 /var/log
|
||||||
sudo chmod -R 755 /var/log/Calpont
|
sudo chmod -R 755 /var/log/Columnstore
|
||||||
sudo chmod -R 777 /dev/shm
|
sudo chmod -R 777 /dev/shm
|
||||||
sudo rm -f /var/lock/subsys/mysql-Calpont
|
sudo rm -f /var/lock/subsys/mysql-Columnstore
|
||||||
sudo rm -f /tmp/StopCalpont
|
sudo rm -f /tmp/StopColumnstore
|
||||||
|
|
||||||
sed -i -e s@/usr/local/Calpont@$installdir@g $installdir/bin/infinidb.def
|
sed -i -e s@/usr/local/MariaDB/Columnstore@$installdir@g $installdir/bin/columnstore.def
|
||||||
sudo cp $installdir/bin/infinidb.def /etc/default/infinidb
|
sudo cp $installdir/bin/columnstore.def /etc/default/columnstore
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#check if InfiniDB system logging was setup
|
#check if InfiniDB system logging was setup
|
||||||
@@ -188,17 +188,17 @@ fi
|
|||||||
eval userhome=~$user
|
eval userhome=~$user
|
||||||
bashFile=$userhome/.bashrc
|
bashFile=$userhome/.bashrc
|
||||||
touch ${bashFile}
|
touch ${bashFile}
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
sed -i -e s@/usr/local/Calpont@$installdir@g $installdir/bin/calpontAlias
|
sed -i -e s@/usr/local/MariaDB/Columnstore@$installdir@g $installdir/bin/columnstoreAlias
|
||||||
fi
|
fi
|
||||||
egrep -qs 'Calpont Database Platform Alias Commands' ${bashFile}
|
egrep -qs 'MariaDB Columnstore Database Platform Alias Commands' ${bashFile}
|
||||||
rc1=$?
|
rc1=$?
|
||||||
egrep -qs 'InfiniDB Alias Commands' ${bashFile}
|
egrep -qs 'MariaDB Columnstore Alias Commands' ${bashFile}
|
||||||
rc2=$?
|
rc2=$?
|
||||||
if [ $rc1 -ne 0 -a $rc2 -ne 0 ]; then
|
if [ $rc1 -ne 0 -a $rc2 -ne 0 ]; then
|
||||||
rm -f ${bashFile}.calpontSave
|
rm -f ${bashFile}.columnstoreSave
|
||||||
cp ${bashFile} ${bashFile}.calpontSave >/dev/null 2>&1
|
cp ${bashFile} ${bashFile}.columnstoreSave >/dev/null 2>&1
|
||||||
cat $installdir/bin/calpontAlias >> ${bashFile}
|
cat $installdir/bin/columnstoreAlias >> ${bashFile}
|
||||||
echo " " >> ${bashFile}
|
echo " " >> ${bashFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -221,7 +221,7 @@ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$installdir/lib $installdir/bin/cplogger -i 19
|
|||||||
hadoop=`which hadoop 2>/dev/null`
|
hadoop=`which hadoop 2>/dev/null`
|
||||||
if [ -z $hadoop ]; then
|
if [ -z $hadoop ]; then
|
||||||
#check for non-root user
|
#check for non-root user
|
||||||
if [ $installdir != "/usr/local/Calpont" -a $quiet -eq 0 ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" -a $quiet -eq 0 ]; then
|
||||||
cat <<EOD
|
cat <<EOD
|
||||||
The next steps are:
|
The next steps are:
|
||||||
|
|
||||||
@@ -251,7 +251,7 @@ else
|
|||||||
$installdir/bin/setConfig -d SystemConfig DataFileEnvFile setenv-hdfs-20
|
$installdir/bin/setConfig -d SystemConfig DataFileEnvFile setenv-hdfs-20
|
||||||
|
|
||||||
#check for non-root user
|
#check for non-root user
|
||||||
if [ $installdir != "/usr/local/Calpont" -a $quiet -eq 0 ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" -a $quiet -eq 0 ]; then
|
||||||
cat <<EOD
|
cat <<EOD
|
||||||
|
|
||||||
If you are intending to install InfiniDB over Hadoop, the next steps are:
|
If you are intending to install InfiniDB over Hadoop, the next steps are:
|
||||||
@@ -290,7 +290,7 @@ EOD
|
|||||||
$installdir/bin/setConfig -d SystemConfig DataFilePlugin $installdir/lib/hdfs-12.so
|
$installdir/bin/setConfig -d SystemConfig DataFilePlugin $installdir/lib/hdfs-12.so
|
||||||
$installdir/bin/setConfig -d SystemConfig DataFileEnvFile setenv-hdfs-12
|
$installdir/bin/setConfig -d SystemConfig DataFileEnvFile setenv-hdfs-12
|
||||||
|
|
||||||
if [ $installdir != "/usr/local/Calpont" -a $quiet -eq 0 ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" -a $quiet -eq 0 ]; then
|
||||||
cat <<EOD
|
cat <<EOD
|
||||||
|
|
||||||
If you are intending to install InfiniDB over Hadoop, the next steps are:
|
If you are intending to install InfiniDB over Hadoop, the next steps are:
|
||||||
|
@@ -13,7 +13,7 @@ checkForError() {
|
|||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "MySQL Password missing or incorrect"
|
echo "MySQL Password missing or incorrect"
|
||||||
rm -f /tmp/error.check
|
rm -f /tmp/error.check
|
||||||
$installdir/mysql/mysql-Calpont stop
|
$installdir/mysql/mysql-Columnstore stop
|
||||||
sleep 2
|
sleep 2
|
||||||
exit 2;
|
exit 2;
|
||||||
fi
|
fi
|
||||||
@@ -24,37 +24,37 @@ checkForError() {
|
|||||||
rm -f /tmp/error.check
|
rm -f /tmp/error.check
|
||||||
|
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
# See if engine infinidb exist
|
# See if engine columnstore exist
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
echo "checking for engine infinidb..."
|
echo "checking for engine columnstore..."
|
||||||
$installdir/mysql/bin/mysql \
|
$installdir/mysql/bin/mysql \
|
||||||
--defaults-file=$installdir/mysql/my.cnf \
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
--user=root $pwprompt \
|
--user=root $pwprompt \
|
||||||
--execute='show engines;' \
|
--execute='show engines;' \
|
||||||
calpontsys | grep -i infinidb
|
calpontsys | grep -i columnstore
|
||||||
|
|
||||||
#
|
#
|
||||||
# Add compressiontype column to SYSCOLUMN if applicable
|
# Add compressiontype column to SYSCOLUMN if applicable
|
||||||
#
|
#
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "infinidb doesn't exist"
|
echo "columnstore doesn't exist"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "infinidb exist"
|
echo "columnstore exist"
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
rpmmode=install
|
rpmmode=install
|
||||||
password=
|
password=
|
||||||
|
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ $(expr -- "$arg" : '--prefix=') -eq 9 ]; then
|
if [ $(expr -- "$arg" : '--prefix=') -eq 9 ]; then
|
||||||
prefix="$(echo $arg | awk -F= '{print $2}')"
|
prefix="$(echo $arg | awk -F= '{print $2}')"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ $(expr -- "$arg" : '--rpmmode=') -eq 10 ]; then
|
elif [ $(expr -- "$arg" : '--rpmmode=') -eq 10 ]; then
|
||||||
rpmmode="$(echo $arg | awk -F= '{print $2}')"
|
rpmmode="$(echo $arg | awk -F= '{print $2}')"
|
||||||
elif [ $(expr -- "$arg" : '--password=') -eq 11 ]; then
|
elif [ $(expr -- "$arg" : '--password=') -eq 11 ]; then
|
||||||
@@ -67,7 +67,7 @@ for arg in "$@"; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
export INFINIDB_INSTALL_DIR=$installdir
|
export INFINIDB_INSTALL_DIR=$installdir
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFINIDB_INSTALL_DIR/lib:$INFINIDB_INSTALL_DIR/mysql/lib/mysql
|
||||||
fi
|
fi
|
||||||
@@ -89,16 +89,16 @@ if [ -d $installdir/mysql/lib64/mysql/plugin -a -n "$libcalmysql" ]; then
|
|||||||
ln -sf $libudfsdk libudf_mysql.so
|
ln -sf $libudfsdk libudf_mysql.so
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
sed -i -e s@/usr/local/Calpont@$installdir@g $installdir/mysql/my.cnf
|
sed -i -e s@/usr/local/MariaDB/Columnstore@$installdir@g $installdir/mysql/my.cnf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x $installdir/mysql/mysql-Calpont ]; then
|
if [ -x $installdir/mysql/mysql-Columnstore ]; then
|
||||||
|
|
||||||
# Restart in the same way that mysqld will be started normally.
|
# Restart in the same way that mysqld will be started normally.
|
||||||
$installdir/mysql/mysql-Calpont stop >/dev/null 2>&1
|
$installdir/mysql/mysql-Columnstore stop >/dev/null 2>&1
|
||||||
sleep 2
|
sleep 2
|
||||||
$installdir/mysql/mysql-Calpont start
|
$installdir/mysql/mysql-Columnstore start
|
||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
@@ -111,13 +111,13 @@ if [ -x $installdir/mysql/mysql-Calpont ]; then
|
|||||||
checkForError
|
checkForError
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "ERROR: missing or invalid password, or InfiniDB plugin install missing"
|
echo "ERROR: missing or invalid password, or InfiniDB plugin install missing"
|
||||||
$installdir/mysql/mysql-Calpont stop
|
$installdir/mysql/mysql-Columnstore stop
|
||||||
sleep 2
|
sleep 2
|
||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$installdir/mysql/mysql-Calpont stop
|
$installdir/mysql/mysql-Columnstore stop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -2,10 +2,10 @@
|
|||||||
#
|
#
|
||||||
# $Id: post-mysqld-install 3661 2013-06-25 22:04:33Z dhill $
|
# $Id: post-mysqld-install 3661 2013-06-25 22:04:33Z dhill $
|
||||||
#
|
#
|
||||||
# Post-install steps for infinidb-mysql install
|
# Post-install steps for columnstore-mysql install
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
rpmmode=install
|
rpmmode=install
|
||||||
user=mysql
|
user=mysql
|
||||||
if [ $EUID -ne 0 ]; then
|
if [ $EUID -ne 0 ]; then
|
||||||
@@ -15,7 +15,7 @@ fi
|
|||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
||||||
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
||||||
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
@@ -60,8 +60,8 @@ usermod -g $user $user 2> /dev/null || true
|
|||||||
chown -R $user:$user $installdir/mysql
|
chown -R $user:$user $installdir/mysql
|
||||||
|
|
||||||
# Initiate databases if needed
|
# Initiate databases if needed
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
sed -i -e s@/usr/local/Calpont@$installdir@g $installdir/mysql/my.cnf
|
sed -i -e s@/usr/local/MariaDB/Columnstore@$installdir@g $installdir/mysql/my.cnf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# InfiniDB testing hook...
|
# InfiniDB testing hook...
|
||||||
@@ -79,7 +79,7 @@ chmod -R og-rw $mysql_datadir/mysql
|
|||||||
# Change permissions again to fix any new files.
|
# Change permissions again to fix any new files.
|
||||||
chown -R $user.$user $installdir/mysql
|
chown -R $user.$user $installdir/mysql
|
||||||
|
|
||||||
test -e /etc/init.d/mysql-Calpont || cp $installdir/mysql/mysql-Calpont /etc/init.d >/dev/null 2>&1
|
test -e /etc/init.d/mysql-Columnstore || cp $installdir/mysql/mysql-Columnstore /etc/init.d >/dev/null 2>&1
|
||||||
|
|
||||||
if [ -f $installdir/lib/libcalmysql.so.1.0.0 ]; then
|
if [ -f $installdir/lib/libcalmysql.so.1.0.0 ]; then
|
||||||
libcalmysql=$installdir/lib/libcalmysql.so.1.0.0
|
libcalmysql=$installdir/lib/libcalmysql.so.1.0.0
|
||||||
|
@@ -13,7 +13,7 @@ set PASSWORD " "
|
|||||||
set CONFIGFILE " "
|
set CONFIGFILE " "
|
||||||
set DEBUG 0
|
set DEBUG 0
|
||||||
set USERNAME "root"
|
set USERNAME "root"
|
||||||
set INSTALLDIR "/usr/local/Calpont"
|
set INSTALLDIR "/usr/local/MariaDB/Columnstore"
|
||||||
|
|
||||||
spawn -noecho /bin/bash
|
spawn -noecho /bin/bash
|
||||||
|
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
#!/bin/bash
|
!/bin/bash
|
||||||
#
|
#
|
||||||
# $Id: post-uninstall 421 2007-04-05 15:46:55Z dhill $
|
# $Id: post-uninstall 421 2007-04-05 15:46:55Z dhill $
|
||||||
#
|
#
|
||||||
# Post-uninstall steps for calpont install
|
# Post-uninstall steps for columnstore install
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
rpmmode=install
|
rpmmode=install
|
||||||
user=$USER
|
user=$USER
|
||||||
sudo=sudo
|
sudo=sudo
|
||||||
@@ -18,7 +18,7 @@ quiet=0
|
|||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
elif [ `expr -- "$arg" : '--rpmmode='` -eq 10 ]; then
|
||||||
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
rpmmode="`echo $arg | awk -F= '{print $2}'`"
|
||||||
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
@@ -34,32 +34,32 @@ for arg in "$@"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
#stop services
|
#stop services
|
||||||
$installdir/bin/infinidb stop > /dev/null 2>&1
|
$installdir/bin/columnstore stop > /dev/null 2>&1
|
||||||
if test -f /etc/init.d/calpont-Mysql ; then
|
if test -f /etc/init.d/columnstore-Mysql ; then
|
||||||
$installdir/myql/calpont-Mysql stop > /dev/null 2>&1
|
$installdir/myql/columnstore-Mysql stop > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $installdir == "/usr/local/Calpont" ]; then
|
if [ $installdir == "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
# remove library config file
|
# remove library config file
|
||||||
rm -f /etc/ld.so.conf.d/infinidb.conf
|
rm -f /etc/ld.so.conf.d/columnstore.conf
|
||||||
rm -f /etc/ld.so.cache
|
rm -f /etc/ld.so.cache
|
||||||
ldconfig
|
ldconfig
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# uninstall OS scripts updated by postConfigure
|
# uninstall OS scripts updated by postConfigure
|
||||||
if test -f /root/.bashrc.calpontSave ; then
|
if test -f /root/.bashrc.columnstoreSave ; then
|
||||||
$sudo mv -f /root/.bashrc.calpontSave /root/.bashrc > /dev/null 2>&1
|
$sudo mv -f /root/.bashrc.columnstoreSave /root/.bashrc > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if test -f /etc/exports.calpontSave ; then
|
if test -f /etc/exports.columnstoreSave ; then
|
||||||
$sudo mv -f /etc/exports.calpontSave /etc/exports > /dev/null 2>&1
|
$sudo mv -f /etc/exports.columnstoreSave /etc/exports > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
$sudo rm -f /etc/exports > /dev/null 2>&1
|
$sudo rm -f /etc/exports > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if test -f /etc/rc.d/rc.local.calpontSave ; then
|
if test -f /etc/rc.d/rc.local.columnstoreSave ; then
|
||||||
$sudo mv -f /etc/rc.d/rc.local.calpontSave /etc/rc.d/rc.local > /dev/null 2>&1
|
$sudo mv -f /etc/rc.d/rc.local.columnstoreSave /etc/rc.d/rc.local > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
if test -f /etc/rc.local.calpontSave ; then
|
if test -f /etc/rc.local.columnstoreSave ; then
|
||||||
$sudo mv -f /etc/rc.local.calpontSave /etc/rc.local > /dev/null 2>&1
|
$sudo mv -f /etc/rc.local.columnstoreSave /etc/rc.local > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export INFINIDB_INSTALL_DIR=$installdir
|
export INFINIDB_INSTALL_DIR=$installdir
|
||||||
@@ -67,23 +67,23 @@ export INFINIDB_INSTALL_DIR=$installdir
|
|||||||
cloud=`$INFINIDB_INSTALL_DIR/bin/getConfig Installation Cloud`
|
cloud=`$INFINIDB_INSTALL_DIR/bin/getConfig Installation Cloud`
|
||||||
if [ $cloud = "amazon-ec2" ] || [ $cloud = "amazon-vpc" ]; then
|
if [ $cloud = "amazon-ec2" ] || [ $cloud = "amazon-vpc" ]; then
|
||||||
if test -f /etc/fstab ; then
|
if test -f /etc/fstab ; then
|
||||||
$sudo sed -i '/Calpont\/data/d' /etc/fstab > /dev/null 2>&1
|
$sudo sed -i '/Columnstore\/data/d' /etc/fstab > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#remove log file directories
|
#remove log file directories
|
||||||
#rm -rf /var/log/Calpont > /dev/null 2>&1
|
#rm -rf /var/log/Columnstore > /dev/null 2>&1
|
||||||
#rm -f $installdir/mysql/db/*.err > /dev/null 2>&1
|
#rm -f $installdir/mysql/db/*.err > /dev/null 2>&1
|
||||||
rm -f /var/log/Calpont/activeAlarms > /dev/null 2>&1
|
rm -f /var/log/Columnstore/activeAlarms > /dev/null 2>&1
|
||||||
rm -f /var/log/Calpont/*.log1 > /dev/null 2>&1
|
rm -f /var/log/Columnstore/*.log1 > /dev/null 2>&1
|
||||||
rm -rf $installdir/mysql/db/infinidb_log_archive > /dev/null 2>&1
|
rm -rf $installdir/mysql/db/columnstore_log_archive > /dev/null 2>&1
|
||||||
sudo rm -f /etc/default/infinidb
|
sudo rm -f /etc/default/columnstore
|
||||||
|
|
||||||
# remove Calpont Log Rotate File abd Transaction Log File
|
# remove Mariab Columnstore Log Rotate File abd Transaction Log File
|
||||||
rm -f /etc/logrotate.d/calpont > /dev/null 2>&1
|
rm -f /etc/logrotate.d/columnstore > /dev/null 2>&1
|
||||||
rm -f /etc/cron.d/transactionLog > /dev/null 2>&1
|
rm -f /etc/cron.d/transactionLog > /dev/null 2>&1
|
||||||
|
|
||||||
# delete Calpont shared memory segments
|
# delete Mariab Columnstore shared memory segments
|
||||||
pkill -9 ProcMon
|
pkill -9 ProcMon
|
||||||
$installdir/bin/clearShm > /dev/null 2>&1
|
$installdir/bin/clearShm > /dev/null 2>&1
|
||||||
|
|
||||||
@@ -94,18 +94,18 @@ rm -f /etc/pscollect > /dev/null 2>&1
|
|||||||
systemctl reload crond.service > /dev/null 2>&1
|
systemctl reload crond.service > /dev/null 2>&1
|
||||||
|
|
||||||
# delete tmp files
|
# delete tmp files
|
||||||
rm -f $installdir/local/*.calpont
|
rm -f $installdir/local/*.columnstore
|
||||||
rm -rf $installdir/local/etc/
|
rm -rf $installdir/local/etc/
|
||||||
rm -rf /tmp/bucketreuse
|
rm -rf /tmp/bucketreuse
|
||||||
rm -f /tmp/calpont.txt
|
rm -f /tmp/columnstore.txt
|
||||||
rm -f /tmp/dbbuilder.*
|
rm -f /tmp/dbbuilder.*
|
||||||
rm -f /tmp/dbrmfiles
|
rm -f /tmp/dbrmfiles
|
||||||
rm -f /var/lock/subsys/infinidb
|
rm -f /var/lock/subsys/columnstore
|
||||||
rm -f /tmp/pkgcheck
|
rm -f /tmp/pkgcheck
|
||||||
rm -f /tmp/upgrade-status.log.*
|
rm -f /tmp/upgrade-status.log.*
|
||||||
rm -f /tmp/mount.log
|
rm -f /tmp/mount.log
|
||||||
rm -f $installdir/data/bulk/tmpjob/* >/dev/null 2>&1
|
rm -f $installdir/data/bulk/tmpjob/* >/dev/null 2>&1
|
||||||
rm -rf /tmp/infinidb_tmp_files
|
rm -rf /tmp/columnstore_tmp_files
|
||||||
rm -f $installdir/local/moveDbrootTransactionLog
|
rm -f $installdir/local/moveDbrootTransactionLog
|
||||||
|
|
||||||
#delete any old setenv files under home directory
|
#delete any old setenv files under home directory
|
||||||
@@ -116,23 +116,23 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# delete core files
|
# delete core files
|
||||||
#rm -f /var/log/Calpont/corefiles/* > /dev/null 2>&1
|
#rm -f /var/log/Columnstore/corefiles/* > /dev/null 2>&1
|
||||||
|
|
||||||
#uninstall InfiniDB system logging
|
#uninstall InfiniDB system logging
|
||||||
if [ -x $installdir/bin/syslogSetup.sh ]; then
|
if [ -x $installdir/bin/syslogSetup.sh ]; then
|
||||||
if [ $user = "root" ]; then
|
if [ $user = "root" ]; then
|
||||||
$installdir/bin/syslogSetup.sh uninstall >/dev/null 2>&1
|
$installdir/bin/syslogSetup.sh uninstall >/dev/null 2>&1
|
||||||
rm -f /etc/init.d/infinidb > /dev/null 2>&1
|
rm -f /etc/init.d/columnstore > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
sudo $installdir/bin/syslogSetup.sh uninstall >/dev/null 2>&1
|
sudo $installdir/bin/syslogSetup.sh uninstall >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x /sbin/chkconfig ]; then
|
if [ -x /sbin/chkconfig ]; then
|
||||||
/sbin/chkconfig infinidb off > /dev/null 2>&1
|
/sbin/chkconfig columnstore off > /dev/null 2>&1
|
||||||
/sbin/chkconfig --del infinidb > /dev/null 2>&1
|
/sbin/chkconfig --del columnstore > /dev/null 2>&1
|
||||||
elif [ -x /usr/sbin/update-rc.d ]; then
|
elif [ -x /usr/sbin/update-rc.d ]; then
|
||||||
/usr/sbin/update-rc.d -f infinidb remove > /dev/null 2>&1
|
/usr/sbin/update-rc.d -f columnstore remove > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $quiet != 1 ]; then
|
if [ $quiet != 1 ]; then
|
||||||
@@ -150,7 +150,7 @@ fi
|
|||||||
|
|
||||||
#tell user to run post configure script
|
#tell user to run post configure script
|
||||||
echo " "
|
echo " "
|
||||||
echo "Calpont uninstall completed"
|
echo "Mariab Columnstore uninstall completed"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
@@ -86,7 +86,7 @@ send_user "\n"
|
|||||||
# copy over custom OS files
|
# copy over custom OS files
|
||||||
#
|
#
|
||||||
send_user "Copy Custom OS files to Module"
|
send_user "Copy Custom OS files to Module"
|
||||||
send "scp /usr/local/Calpont/local/etc/$MODULE/* $USERNAME@$SERVER:/etc/.\n"
|
send "scp /usr/local/MariaDB/Columnstore/local/etc/$MODULE/* $USERNAME@$SERVER:/etc/.\n"
|
||||||
expect -re "word: "
|
expect -re "word: "
|
||||||
# send the password
|
# send the password
|
||||||
send "$PASSWORD\n"
|
send "$PASSWORD\n"
|
||||||
|
@@ -47,7 +47,7 @@ fi
|
|||||||
|
|
||||||
while [ $keep_going -ne 0 ]; do
|
while [ $keep_going -ne 0 ]; do
|
||||||
$exename $args
|
$exename $args
|
||||||
if [ -e /tmp/StopCalpont ]; then
|
if [ -e /tmp/StopColumnstore ]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if [ $topt -gt 0 -a $retries -ge $topt ]; then
|
if [ $topt -gt 0 -a $retries -ge $topt ]; then
|
||||||
|
119
oam/install_scripts/slave-rep-columnstore.sh
Normal file
119
oam/install_scripts/slave-rep-columnstore.sh
Normal file
@@ -0,0 +1,119 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# $Id$
|
||||||
|
#
|
||||||
|
# generic InfiniDB Slave Replication script.
|
||||||
|
#
|
||||||
|
# Notes: This script gets run by ProcMon during installs and upgrades:
|
||||||
|
|
||||||
|
# check log for error
|
||||||
|
checkForError() {
|
||||||
|
grep ERROR /tmp/slave-rep-status.log > /tmp/error.check
|
||||||
|
if [ `cat /tmp/error.check | wc -c` -ne 0 ]; then
|
||||||
|
echo "ERROR: check log file: /tmp/slave-rep-status.log"
|
||||||
|
rm -f /tmp/error.check
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm -f /tmp/error.check
|
||||||
|
}
|
||||||
|
|
||||||
|
prefix=/usr/local
|
||||||
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
|
pwprompt=
|
||||||
|
for arg in "$@"; do
|
||||||
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
|
password="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
pwprompt="--password=$password"
|
||||||
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
|
installdir="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
prefix=`dirname $installdir`
|
||||||
|
elif [ `expr -- "$arg" : '--masteripaddr='` -eq 15 ]; then
|
||||||
|
masteripaddr="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
elif [ `expr -- "$arg" : '--masterlogfile='` -eq 16 ]; then
|
||||||
|
masterlogfile="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
elif [ `expr -- "$arg" : '--masterlogpos='` -eq 15 ]; then
|
||||||
|
masterlogpos="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
elif [ `expr -- "$arg" : '--port='` -eq 7 ]; then
|
||||||
|
port="`echo $arg | awk -F= '{print $2}'`"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
test -f $installdir/post/functions && . $installdir/post/functions
|
||||||
|
|
||||||
|
repUser="idbrep"
|
||||||
|
password="Calpont1"
|
||||||
|
|
||||||
|
>/tmp/slave-rep-status.log
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run stop slave command
|
||||||
|
#
|
||||||
|
echo "Run stop slave command" >>/tmp/slave-rep-status.log
|
||||||
|
cat >/tmp/idb_slave-rep.sql <<EOD
|
||||||
|
stop slave;
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run Change Master Command
|
||||||
|
#
|
||||||
|
echo "Run Change Master Command" >>/tmp/slave-rep-status.log
|
||||||
|
cat >/tmp/idb_slave-rep.sql <<EOD
|
||||||
|
CHANGE MASTER TO
|
||||||
|
MASTER_HOST='$masteripaddr',
|
||||||
|
MASTER_USER='$repUser',
|
||||||
|
MASTER_PASSWORD='$password',
|
||||||
|
MASTER_PORT=$port,
|
||||||
|
MASTER_LOG_FILE='$masterlogfile',
|
||||||
|
MASTER_LOG_POS=$masterlogpos;
|
||||||
|
MASTER_USE_GTID=$masterlogpos;
|
||||||
|
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run start slave command
|
||||||
|
#
|
||||||
|
echo "Run start slave command" >>/tmp/slave-rep-status.log
|
||||||
|
cat >/tmp/idb_slave-rep.sql <<EOD
|
||||||
|
start slave;
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
|
||||||
|
#
|
||||||
|
# Run SHOW SLAVE STATUS
|
||||||
|
#
|
||||||
|
echo "Run SHOW SLAVE STATUS to node log" >>/tmp/slave-rep-status.log
|
||||||
|
cat >/tmp/idb_slave-rep.sql <<EOD
|
||||||
|
SHOW SLAVE STATUS\G
|
||||||
|
EOD
|
||||||
|
|
||||||
|
cat /tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
$installdir/mysql/bin/mysql \
|
||||||
|
--defaults-file=$installdir/mysql/my.cnf \
|
||||||
|
--user=root $pwprompt \
|
||||||
|
calpontsys </tmp/idb_slave-rep.sql >>/tmp/slave-rep-status.log
|
||||||
|
|
||||||
|
checkForError
|
||||||
|
|
||||||
|
#alls good, 'OK' for success
|
||||||
|
echo "OK"
|
||||||
|
exit 0
|
@@ -18,12 +18,12 @@ checkForError() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
pwprompt=
|
pwprompt=
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
elif [ `expr -- "$arg" : '--password='` -eq 11 ]; then
|
||||||
password="`echo $arg | awk -F= '{print $2}'`"
|
password="`echo $arg | awk -F= '{print $2}'`"
|
||||||
pwprompt="--password=$password"
|
pwprompt="--password=$password"
|
||||||
|
@@ -6,11 +6,11 @@
|
|||||||
# called by Process-Monitor
|
# called by Process-Monitor
|
||||||
|
|
||||||
if [ -z "$INFINIDB_INSTALL_DIR" ]; then
|
if [ -z "$INFINIDB_INSTALL_DIR" ]; then
|
||||||
test -f /etc/default/infinidb && . /etc/default/infinidb
|
test -f /etc/default/columnstore && . /etc/default/columnstore
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$INFINIDB_INSTALL_DIR" ]; then
|
if [ -z "$INFINIDB_INSTALL_DIR" ]; then
|
||||||
INFINIDB_INSTALL_DIR=/usr/local/Calpont
|
INFINIDB_INSTALL_DIR=/usr/local/MariaDB/Columnstore
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export INFINIDB_INSTALL_DIR=$INFINIDB_INSTALL_DIR
|
export INFINIDB_INSTALL_DIR=$INFINIDB_INSTALL_DIR
|
||||||
|
@@ -2,20 +2,20 @@
|
|||||||
#
|
#
|
||||||
# $Id: syslogSetup.sh 421 2007-04-05 15:46:55Z dhill $
|
# $Id: syslogSetup.sh 421 2007-04-05 15:46:55Z dhill $
|
||||||
#
|
#
|
||||||
# syslogSetup.sh - install / uninstall Calpont InfiniDB system logging configuration
|
# syslogSetup.sh - install / uninstall MariaDB Columnstore system logging configuration
|
||||||
|
|
||||||
# no point in going any further if not root... (only works in bash)
|
# no point in going any further if not root... (only works in bash)
|
||||||
test $EUID -eq 0 || exit 0
|
test $EUID -eq 0 || exit 0
|
||||||
|
|
||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
syslog_conf=nofile
|
syslog_conf=nofile
|
||||||
rsyslog7=0
|
rsyslog7=0
|
||||||
|
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||||
installdir=$prefix/Calpont
|
installdir=$prefix/MariaDB/Columnstore
|
||||||
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||||
installdir="`echo $arg | awk -F= '{print $2}'`"
|
installdir="`echo $arg | awk -F= '{print $2}'`"
|
||||||
prefix=`dirname $installdir`
|
prefix=`dirname $installdir`
|
||||||
@@ -30,13 +30,13 @@ for arg in "$@"; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ $installdir != "/usr/local/Calpont" ]; then
|
if [ $installdir != "/usr/local/MariaDB/Columnstore" ]; then
|
||||||
export INFINIDB_INSTALL_DIR=$installdir
|
export INFINIDB_INSTALL_DIR=$installdir
|
||||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFINIDB_INSTALL_DIR/lib
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFINIDB_INSTALL_DIR/lib
|
||||||
fi
|
fi
|
||||||
|
|
||||||
calpontSyslogFile=$installdir/bin/calpontSyslog
|
columnstoreSyslogFile=$installdir/bin/columnstoreSyslog
|
||||||
calpontSyslogFile7=$installdir/bin/calpontSyslog7
|
columnstoreSyslogFile7=$installdir/bin/columnstoreSyslog7
|
||||||
|
|
||||||
checkSyslog() {
|
checkSyslog() {
|
||||||
#check which syslog daemon is being used
|
#check which syslog daemon is being used
|
||||||
@@ -84,7 +84,7 @@ fi
|
|||||||
if [ "$daemon" = "syslog-ng" ]; then
|
if [ "$daemon" = "syslog-ng" ]; then
|
||||||
if [ -f /etc/syslog-ng/syslog-ng.conf ]; then
|
if [ -f /etc/syslog-ng/syslog-ng.conf ]; then
|
||||||
syslog_conf=/etc/syslog-ng/syslog-ng.conf
|
syslog_conf=/etc/syslog-ng/syslog-ng.conf
|
||||||
calpontSyslogFile=$installdir/bin/calpontSyslog-ng
|
columnstoreSyslogFile=$installdir/bin/columnstoreSyslog-ng
|
||||||
echo ""
|
echo ""
|
||||||
echo "System logging being used: syslog-ng"
|
echo "System logging being used: syslog-ng"
|
||||||
echo ""
|
echo ""
|
||||||
@@ -128,7 +128,7 @@ elif [ "$daemon" = "syslog" ]; then
|
|||||||
echo ""
|
echo ""
|
||||||
elif [ -d /etc/syslog-ng/syslog-ng.conf ]; then
|
elif [ -d /etc/syslog-ng/syslog-ng.conf ]; then
|
||||||
syslog_conf=/etc/syslog-ng/syslog-ng.conf
|
syslog_conf=/etc/syslog-ng/syslog-ng.conf
|
||||||
calpontSyslogFile=$installdir/bin/calpontSyslog-ng
|
columnstoreSyslogFile=$installdir/bin/columnstoreSyslog-ng
|
||||||
echo ""
|
echo ""
|
||||||
echo "System logging being used: syslog-ng"
|
echo "System logging being used: syslog-ng"
|
||||||
echo ""
|
echo ""
|
||||||
@@ -148,22 +148,22 @@ checkSyslog
|
|||||||
if [ ! -z "$syslog_conf" ] ; then
|
if [ ! -z "$syslog_conf" ] ; then
|
||||||
$installdir/bin/setConfig -d Installation SystemLogConfigFile ${syslog_conf} >/dev/null 2>&1
|
$installdir/bin/setConfig -d Installation SystemLogConfigFile ${syslog_conf} >/dev/null 2>&1
|
||||||
if [ "$syslog_conf" != /etc/rsyslog.d/calpont.conf ]; then
|
if [ "$syslog_conf" != /etc/rsyslog.d/calpont.conf ]; then
|
||||||
rm -f ${syslog_conf}.calpontSave
|
rm -f ${syslog_conf}.columnstoreSave
|
||||||
cp ${syslog_conf} ${syslog_conf}.calpontSave >/dev/null 2>&1
|
cp ${syslog_conf} ${syslog_conf}.columnstoreSave >/dev/null 2>&1
|
||||||
sed -i '/# Calpont/,$d' ${syslog_conf}.calpontSave > /dev/null 2>&1
|
sed -i '/# MariaDB/,$d' ${syslog_conf}.columnstoreSave > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
egrep -qs 'Calpont Database Platform Logging' ${syslog_conf}
|
egrep -qs 'MariaDB Columnstore Database Platform Logging' ${syslog_conf}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
#set the syslog for calpont logging
|
#set the syslog for calpont logging
|
||||||
# remove older version incase it was installed by previous build
|
# remove older version incase it was installed by previous build
|
||||||
rm -rf /etc/rsyslog.d/calpont.conf
|
rm -rf /etc/rsyslog.d/calpont.conf
|
||||||
if [ $rsyslog7 == 1 ]; then
|
if [ $rsyslog7 == 1 ]; then
|
||||||
rm -f /etc/rsyslog.d/49-calpont.conf
|
rm -f /etc/rsyslog.d/49-calpont.conf
|
||||||
cat ${calpontSyslogFile7} >> ${syslog_conf}
|
cat ${columnstoreSyslogFile7} >> ${syslog_conf}
|
||||||
chown syslog:adm /var/log/Calpont
|
chown syslog:adm /var/log/Columnstore
|
||||||
else
|
else
|
||||||
cat ${calpontSyslogFile} >> ${syslog_conf}
|
cat ${columnstoreSyslogFile} >> ${syslog_conf}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -181,18 +181,18 @@ checkSyslog
|
|||||||
if [ ! -z "$syslog_conf" ] ; then
|
if [ ! -z "$syslog_conf" ] ; then
|
||||||
if [ "$syslog_conf" != /etc/rsyslog.d/calpont.conf ]; then
|
if [ "$syslog_conf" != /etc/rsyslog.d/calpont.conf ]; then
|
||||||
if [ "$syslog_conf" != /etc/rsyslog.d/49-calpont.conf ]; then
|
if [ "$syslog_conf" != /etc/rsyslog.d/49-calpont.conf ]; then
|
||||||
egrep -qs 'Calpont Database Platform Logging' ${syslog_conf}
|
egrep -qs 'MariaDB Columnstore Database Platform Logging' ${syslog_conf}
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
if [ -f ${syslog_conf}.calpontSave ] ; then
|
if [ -f ${syslog_conf}.columnstoreSave ] ; then
|
||||||
#uninstall the syslog for calpont logging
|
#uninstall the syslog for calpont logging
|
||||||
mv -f ${syslog_conf} ${syslog_conf}.calpontBackup
|
mv -f ${syslog_conf} ${syslog_conf}.calpontBackup
|
||||||
mv -f ${syslog_conf}.calpontSave ${syslog_conf} >/dev/null 2>&1
|
mv -f ${syslog_conf}.columnstoreSave ${syslog_conf} >/dev/null 2>&1
|
||||||
if [ ! -f ${syslog_conf} ] ; then
|
if [ ! -f ${syslog_conf} ] ; then
|
||||||
cp ${syslog_conf}.calpontBackup ${syslog_conf}
|
cp ${syslog_conf}.calpontBackup ${syslog_conf}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sed -i '/# Calpont/,$d' ${syslog_conf} > /dev/null 2>&1
|
sed -i '/# MariaDB/,$d' ${syslog_conf} > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
rm -f "$syslog_conf"
|
rm -f "$syslog_conf"
|
||||||
fi
|
fi
|
||||||
@@ -214,11 +214,11 @@ fi
|
|||||||
status() {
|
status() {
|
||||||
checkSyslog
|
checkSyslog
|
||||||
if [ ! -z "$syslog_conf" ] ; then
|
if [ ! -z "$syslog_conf" ] ; then
|
||||||
egrep -qs 'Calpont Database Platform Logging' ${syslog_conf}
|
egrep -qs 'MariaDB Columnstore Database Platform Logging' ${syslog_conf}
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo $syslog_conf
|
echo $syslog_conf
|
||||||
else
|
else
|
||||||
echo "No System Log Config File configured for InfiniDB System Logging"
|
echo "No System Log Config File configured for MariaDB Columnstore System Logging"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
@@ -228,7 +228,7 @@ test -f $installdir/post/functions && . $installdir/post/functions
|
|||||||
number=$RANDOM
|
number=$RANDOM
|
||||||
cplogger -i 100 "InfiniDB Log Test: $number"
|
cplogger -i 100 "InfiniDB Log Test: $number"
|
||||||
sleep 3
|
sleep 3
|
||||||
egrep -qs "InfiniDB Log Test: $number" /var/log/Calpont/info.log
|
egrep -qs "InfiniDB Log Test: $number" /var/log/Columnstore/info.log
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo "InfiniDB System Logging working"
|
echo "InfiniDB System Logging working"
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -129,7 +129,7 @@ if { $INSTALLTYPE == "initial"} {
|
|||||||
# copy over InfiniDB OS files
|
# copy over InfiniDB OS files
|
||||||
#
|
#
|
||||||
send_user "Copy InfiniDB OS files to Module "
|
send_user "Copy InfiniDB OS files to Module "
|
||||||
send "scp /usr/local/Calpont/local/etc/$MODULE/* $USERNAME@$SERVER:/usr/local/Calpont/local/.\n"
|
send "scp /usr/local/MariaDB/Columnstore/local/etc/$MODULE/* $USERNAME@$SERVER:/usr/local/MariaDB/Columnstore/local/.\n"
|
||||||
expect "word: "
|
expect "word: "
|
||||||
# send the password
|
# send the password
|
||||||
send "$PASSWORD\n"
|
send "$PASSWORD\n"
|
||||||
@@ -144,7 +144,7 @@ if { $INSTALLTYPE == "initial"} {
|
|||||||
# Start module installer to setup Customer OS files
|
# Start module installer to setup Customer OS files
|
||||||
#
|
#
|
||||||
send_user "Run Module Installer "
|
send_user "Run Module Installer "
|
||||||
send "ssh $USERNAME@$SERVER '/usr/local/Calpont/bin/module_installer.sh'\n"
|
send "ssh $USERNAME@$SERVER '/usr/local/MariaDB/Columnstore/bin/module_installer.sh'\n"
|
||||||
expect "word: "
|
expect "word: "
|
||||||
# send the password
|
# send the password
|
||||||
send "$PASSWORD\n"
|
send "$PASSWORD\n"
|
||||||
|
@@ -8,5 +8,5 @@ MAILTO=root
|
|||||||
HOME=/
|
HOME=/
|
||||||
|
|
||||||
# Translation Log Archiver, default to every 10 minutes
|
# Translation Log Archiver, default to every 10 minutes
|
||||||
*/10 * * * * root /usr/local/Calpont/bin/transactionLogArchiver.sh
|
*/10 * * * * root /usr/local/MariaDB/Columnstore/bin/transactionLogArchiver.sh
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
# $Id: transactionLogArchiver.sh 1375 2009-04-30 13:53:06Z rdempsey $
|
# $Id: transactionLogArchiver.sh 1375 2009-04-30 13:53:06Z rdempsey $
|
||||||
|
|
||||||
DATE=`date +'%s'`
|
DATE=`date +'%s'`
|
||||||
CDATA=/var/log/Calpont/data
|
CDATA=/var/log/Columnstore/data
|
||||||
|
|
||||||
if [ ! -d $CDATA/archive ]; then
|
if [ ! -d $CDATA/archive ]; then
|
||||||
echo "Installation error: $CDATA/archive is not a directory." 1>&2
|
echo "Installation error: $CDATA/archive is not a directory." 1>&2
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user