Closed GoogleCodeExporter closed 9 years ago
Please show the tpm command used for installing.
When using several servers in the same host, you need to differentiate the
installation path, the replicator ports, and the database instance.
Original comment by g.maxia
on 6 Jan 2015 at 2:07
./tools/tpm configure ODS \
--masters=crm,bill \
--members=ods,crm,bill \
--master-services=crmsrv,billsrv \
--topology=fan-in
./tools/tpm configure ODS --host ods \
--install-directory=~/ods \
--thl-port=20000 \
--rmi-port=30000 \
--java-user-timezone=CET \
--java-file-encoding=UTF8 \
--privileged-master=false \
--privileged-slave=false \
--datasource-type=mysql \
--datasource-user=tungsten \
--datasource-password=tungsten \
--datasource-host=tedw2 \
--datasource-port=3308 \
--datasource-mysql-conf=/etc/my_3308.cnf \
--mysql-use-bytes-for-string=false \
--skip-validation-check=InstallerMasterSlaveCheck,HostsFileCheck,MySQLPermission
sCheck \
--svc-parallelization-type=disk \
--channels=5
./tools/tpm configure ODS --host crm \
--install-directory=~/crm \
--thl-port=20015 \
--rmi-port=30015 \
--java-user-timezone=CET \
--java-file-encoding=UTF8 \
--privileged-master=false \
--privileged-slave=false \
--datasource-type=mysql \
--datasource-user=tungsten \
--datasource-password=tungsten \
--datasource-host=crm \
--datasource-port=5310 \
--datasource-mysql-conf=/etc/my_5310.cnf \
--mysql-use-bytes-for-string=false \
--skip-validation-check=InstallerMasterSlaveCheck,HostsFileCheck,MySQLPermission
sCheck \
--svc-parallelization-type=disk \
--channels=5
./tools/tpm configure ODS --host bill \
--install-directory=~/bill \
--thl-port=20025 \
--rmi-port=30025 \
--java-user-timezone=CET \
--java-file-encoding=UTF8 \
--privileged-master=false \
--privileged-slave=false \
--datasource-type=mysql \
--datasource-user=tungsten \
--datasource-password=tungsten \
--datasource-host=bill \
--datasource-port=5320 \
--datasource-mysql-conf=/etc/my_5320.cnf \
--mysql-use-bytes-for-string=false \
--skip-validation-check=InstallerMasterSlaveCheck,HostsFileCheck,MySQLPermission
sCheck \
--svc-parallelization-type=disk \
--channels=5
./tools/tpm configure crmsrv \
--master-thl-port=20015
./tools/tpm configure billsrv \
--master-thl-port=20025
Original comment by 164771...@qq.com
on 6 Jan 2015 at 2:16
And crm and bill MySql instances are in the same host.
Original comment by 164771...@qq.com
on 6 Jan 2015 at 2:54
This is not a bug.
Tungsten assumes that a separate hostname is a physical host, and since the
installation happens in parallel, there is a conflict in the installation
directory.
A workaround would be installing each node separately, instead of using a
single command.
Original comment by g.maxia
on 6 Jan 2015 at 3:04
Thank maxia very much. Tungsten Replicator 2.2 is OK for this scenario. BTW
What does tpm do when specifying fan-in cluster? And if install nodes
separately, So I can use it to install. Can you give me some references?
Original comment by 164771...@qq.com
on 6 Jan 2015 at 3:15
Please use the discussion group for these requests
Original comment by g.maxia
on 6 Jan 2015 at 3:21
Original issue reported on code.google.com by
164771...@qq.com
on 6 Jan 2015 at 1:37