Install two different TANGO on same system
|
|
---|---|
Hi all, I want to install two different TANGO on the same system. Both TANGO should refer two different TANGO database. (eg, tango_1, tango_2 instead of tango). Is it possible to choose user defined database name while installing TANGO. Please provide your inputs on the same. Thanks and Regards, tgmrt
Regards,
TCS_GMRT |
|
|
---|---|
When you compile the DatabaseDs from the Tango Source distribution, during the configure phase, you can specify the tango MySQL database name with –with-tango-db-name option. What you would need is to compile 2 versions of the Database server with 2 different configurations.
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Hi Reynald, Thank you for prompt response. As per your suggestion I will install two different TANGO on same system. Now when I want start tango using 'tango start' command. What is the behavior of the TANGO? Which tango database it will refer??
Regards,
TCS_GMRT |
|
|
---|---|
If you want to start 2 database servers on the same host, you will have to adapt the tango script. In this case, you should start the DataBaseds instances in a way so that they listen to requests on different ports (-ORBendPoint giop:tcp::10000 and -ORBendPoint giop:tcp::12345 for instance). Then you can use TANGO_HOST defined as <host_where_your_databaseds_is_running>:10000 or <host_where_your_databaseds_is_running>:12345 depending on which TANGO system you want to talk to.
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
Hi Reynald, As per your suggestions I have installed two TANGO with two different databases 'tango' and 'tango_test'. During installation I have observed that tango binary was installed on /usr/local/bin path and while installation of second TANGO it overwrites the previous tango installation as installation path is by default /usr/local/bin. Could you suggest me if there is a provision to change the installation path for tango.
Regards,
TCS_GMRT |
|
|
---|---|
Hi, All the available options are detailed in the README. You can use –prefix option during the configure phase to specify where the files will be installed, default being /usr/local. Cheers, Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new. |
|
|
---|---|
TCS_GMRTHi TCS_GMRT, Below is the post on Tango forum which provides a step-by-step guide to compile, and install Tango on your machine. Step-by-Step Guide to install Tango from source on Ubuntu You can play with the -prefix argument for ./configure command to install Tango on a different path. Hope it helps! Kind regards, Jyotin |