Closed GoogleCodeExporter closed 9 years ago
It seems from the tungsten.cfg that you are using the Tungsten sandbox? If so,
there's a problem with setting ports properly to avoid conflicts. Can you
provide confirmation that this is the case?
Also, the EnterpriseTHL name is a little disconcerting, but it's all open
source. This is just there in order to make things simpler for merges to older
code and will go away in a future release.
Original comment by berkeley...@gmail.com
on 20 Apr 2011 at 5:32
Issue 22 describes the main sandbox port issue.
Original comment by berkeley...@gmail.com
on 20 Apr 2011 at 5:33
The trouble with using a non-standard server (e.g. MySQL Sandbox) is that the
Tungsten installer can't deal easily with ports and other distinctive
attributes of the server.
A future release will fix this. In the meantime, an easy workaround is to use
virtual machines with default MySQL servers. The more difficult workaround
requires editing the configuration files. I'd rather avoid it at this stage.
Original comment by g.maxia
on 20 Apr 2011 at 5:37
I am using MySQL Sandbox, and therefore running on a non-standard port. I
figured this was fine since the installer asked me for the host and port of the
mysql instance. Can Tungsten replicator not talk to mysql instances on
non-standard ports?
Original comment by TrevorM...@gmail.com
on 20 Apr 2011 at 5:55
Tungsten can talk to non-standard mysql ports just fine.
It's the installer that is not smart enough at the moment. We are working at it.
As I mentioned before, a workaround would be to edit the configuration file
that was generated by the installer.
Original comment by g.maxia
on 20 Apr 2011 at 6:56
Ok great. Using a VM instead of the MySQL sandbox works. Thanks for the help.
Original comment by TrevorM...@gmail.com
on 20 Apr 2011 at 7:20
Original comment by berkeley...@gmail.com
on 25 Apr 2011 at 3:17
This issue was fixed with the introduction of ./tools/tungsten-installer.
here's an example that installs two Tungsten instances from local MySQL
sandboxes:
/tools/tungsten-installer \
--master-slave \
--home-directory=$HOME/tsb/node1 \
--cluster-hosts=db1 \
--master-host=db1 \
--datasource-port=7101 \
--datasource-user=root \
--datasource-password=msandbox \
--home-directory=$TUNGSTEN_BASE/db1 \
--datasource-log-directory=$HOME/sandboxes/tr_dbs/node1/data \
--service-name=tsandbox \
--thl-port=12111 \
--rmi-port=10101
./tools/tungsten-installer \
--master-slave \
--home-directory=$HOME/tsb/node2 \
--cluster-hosts=db2 \
--master-host=db1 \
--master-thl-port=12111 \
--datasource-port=7102 \
--datasource-user=root \
--datasource-password=msandbox \
--home-directory=$TUNGSTEN_BASE/db2 \
--datasource-log-directory=$HOME/sandboxes/tr_dbs/node2/data \
--service-name=tsandbox \
--thl-port=12112 \
--rmi-port=10102
Documentation will follow shortly.
Original comment by g.maxia
on 25 May 2011 at 10:42
Original issue reported on code.google.com by
TrevorM...@gmail.com
on 20 Apr 2011 at 3:56Attachments: