Joinutility seperatorLogin utility separator Infobright.com
   
 
Install Multiple Instances
Posted: 28 September 2010 06:05 AM   Ignore ]  
Newbie
Rank
Total Posts:  7
Joined  2010-08-17

Hi,
How can i install multiple instances of Infobright (using rmp file) on the same machine?


Thanks.

Profile
 
Posted: 28 September 2010 09:33 AM   Ignore ]   [ # 1 ]  
Member
RankRankRank
Total Posts:  223
Joined  2008-08-18

Hi

You can not install multiple instances using Infobright rpm. However it is possible to run multiple instances.

- Install infobright using rpm
- copy /etc/my-ib.cnf to /etc/my-ib2.cnf
- copy /usr/local/infobright/data to /usr/local/infobright/data2
- copy /usr/local/infobright/cache to /usr/local/infobright/cache2
- Change datadir in /etc/my-ib2.cnf by to /usr/local/infobright/data2
- Change cacedir in /usr/local/infobright/data2/brighthouse.ini to /usr/local/infobright/cachedir2
- Change socket, port inside /etc/my-ib2.cnf

Now run /usr/local/infobright/mysqld—defaults-file=/etc/my-ib2.cnf -umysql
Run /usr/bin/mysql-ib—defaults-file=/etc/my-ib2.cnf -uroot

You have to make sure there is not conflict in paths, socket, port etc.

Signature 

Mahib

Profile
 
Posted: 28 September 2010 10:41 AM   Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  7
Joined  2010-08-17

Hi,
Thanks for the info.

However, if its not possible to install multiple instances, then how it is possible to use multiple instances ?
Does ICE allow the installation to proceed in the presence of already installed instance ?

Thanks.

Profile
 
Posted: 28 September 2010 10:50 AM   Ignore ]   [ # 3 ]  
Member
RankRankRank
Total Posts:  223
Joined  2008-08-18

> However, if its not possible to install multiple instances, then how it is possible to use multiple instances?

I meant that you can install only one version (e.g 3.4.2) but it is possible to run multiple instances of it providing that every instance has different config file.

> Does ICE allow the installation to proceed in the presence of already installed instance?

It will do upgrade if existing version is older.

Signature 

Mahib

Profile
 
Posted: 28 September 2010 02:03 PM   Ignore ]   [ # 4 ]  
Sr. Member
Avatar
RankRankRankRank
Total Posts:  738
Joined  2008-08-18

The procedure is documented here.  It can also be found in this blog.

Signature 
Profile