Open GoogleCodeExporter opened 9 years ago
Hello,
Can I suggest you install using the ini file method instead, I think it is much
clearer for heterogenous installs. For this method you install the hosts
individually and you need to have the software unpacked on each host.
If either the master or slave got installed, uninstall first.
To do that: cd to the directory you unpacked the software to and run
./tools/tpm uninstall --i-am-sure.
Then remove any existing tungsten.cfg (default location would be
/opt/continuent/software/conf.replicator).
Create a tungsten.ini in /etc/tungsten, make sure your tungsten user has
permissions on it.
For the master the contents will be (put your password in):
[defaults]
install-directory=/opt/continuent
user=tungsten
replication-password=xxxxx
replication-user=tungsten
start-and-report=true
[alpha]
master=host1
enable-heterogeneous-master
property=replicator.filter.pkey.addColumnsToDeletes=true
property=replicator.filter.pkey.addPkeyToInserts=true
For the slave:
[defaults]
user=tungsten
home-directory=/opt/continuent
replicatione-user=tungsten
replication-password=secret
start-and-report=true
[alpha]
datasource-type=mongodb
enable-heterogeneous-slave=true
master=host1
slaves=host2
topology=master-slave
Then you can cd into the directory containing the unpacked software and run
./tools/tpm install on the master then the slave.
Please try it that way and let us know how you get on.
Eric
Original comment by eric.har...@continuent.com
on 10 Mar 2015 at 2:34
Just noticed a typo in the above example
enable-heterogeneous-master
Should be
enable-heterogeneous-master=true
Original comment by eric.har...@continuent.com
on 12 Mar 2015 at 12:40
Original issue reported on code.google.com by
zhaozhim...@gmail.com
on 5 Mar 2015 at 7:30