haticia,
The only thing that needs to be considered is the location of the data and cache directories for an instance along with which port number and socket file the server communicates on.
The following assumes installation with the TAR distribution installer on Unix.
For an example of installing two instances of the same edition and version, use the following example. For installation of different editions or versions, you will have to unpack the software file in two separate directories and run the installer from each of those directories, but the options will be the same.
First instance - data1, cache1, my-ib1.cnf, port 5029, mysql-ib1.sock
/usr/local/infobright/install-infobright.sh --datadir=/usr/local/infobright/data1 --cachedir=/usr/local/infobright/cache1 --config=/etc/my-ib1.cnf --port=5029 --socket=/tmp/mysql-ib1.sock --user=mysql --group=mysql
Before installing the second instance, I recommend that you rename the default start/stop and command line client scripts as follows (since they will be overwritten otherwise on the second installation):
[root@localhost infobright]$ mv /etc/init.d/mysqld-ib /etc/init.d/mysqld-ib1
[root@localhost infobright]$ mv /usr/bin/mysql-ib /usr/bin/mysql-ib1
Second instance - data2, cache2, my-ib2.cnf, port 5030, mysql-ib2.sock
/usr/local/infobright/install-infobright.sh --datadir=/usr/local/infobright/data2 --cachedir=/usr/local/infobright/cache2 --config=/etc/my-ib2.cnf --port=5030 --socket=/tmp/mysql-ib2.sock --user=mysql --group=mysql
Also:
[root@localhost infobright]$ mv /etc/init.d/mysqld-ib /etc/init.d/mysqld-ib2
[root@localhost infobright]$ mv /usr/bin/mysql-ib /usr/bin/mysql-ib2
Configuration of the memory settings in the data1/brighthouse.ini and data2/brighthouse.ini files should consider whether both instances will be running at the same time or not so as not to allocate more memory than is physically available.
To start the two instances:
[root@localhost infobright]$ /etc/init.d/mysqld-ib1 start
[root@localhost infobright]$ /etc/init.d/mysqld-ib2 start