zxs / tungsten-replicator

Automatically exported from code.google.com/p/tungsten-replicator
0 stars 0 forks source link

Issue with tungsten-replicator-3.0.0-524 #1116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

I have 5 DB Server. In between three online database servers we have mysql 
native replication (all master- master). Remaining two server are local server. 
I am trying to install tungsten-replicator-3.0.0-524 with master-master 
replication in between two local server and one online server.
I got the following error during the installation. Please help me out from here 
and this is urgent for me. Thanks in Advance.

NOTE  >> Command successfully completed
--------------------------------------------------------------------------------
------
Topology: 'ALL_MASTERS'
--------------------------------------------------------------------------------
------
# node slave01.XXXXXXX.org
alpha    [master]       seqno:         89  - latency:   0.253 - ONLINE
bravo    [slave]        seqno:         -1  - latency:  -1.000 - 
GOING-ONLINE:SYNCHRONIZING
charlie  [slave]        seqno:         -1  - latency:  -1.000 - 
GOING-ONLINE:SYNCHRONIZING
# node SOLEIFDB01
error running 'trepctl services'
..........Connection failed: A component of type 'replicator' at address 
SOLEIFDB01:10000 is not available.
 java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: SOLEIFDB01; nested exception is:
        java.net.ConnectException: Connection refused]
Check to be sure that the service is running.

# node SOLEIFDB02
error running 'trepctl services'
..........Connection failed: A component of type 'replicator' at address 
SOLEIFDB02:10000 is not available.
 java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: SOLEIFDB02; nested exception is:
        java.net.ConnectException: Connection refused]
Check to be sure that the service is running.

Deployment completed
Warning: Permanently added 'slave01.XXXXXXX.org' (RSA) to the list of known 
hosts.
Password:
Password:
Password:
Password:
lost connection
Password:
Password:
Password:
cp: cannot stat `/root/installs/cookbook/tungsten/cookbook/my.cookbook.cnf': No 
such file or directory
Topology           :'all_masters'
Tungsten path      : /root/installs/cookbook
Staging server     : slave01.XXXXXXX.org
Staging directory  : /opt/continuent/software/tungsten-replicator-3.0.0-524
Installation tool  : tpm
Security enabled   : no (unencrypted)
Nodes              : (slave01.XXXXXXX.org SOLEIFDB01 SOLEIFDB02)
Master services    : (slave01.XXXXXXX.org SOLEIFDB01 SOLEIFDB02)
Slave services     : (slave01.XXXXXXX.org SOLEIFDB01 SOLEIFDB02)
MySQL version      : 5.6.19-log
MySQL port         : 3306
MySQL shortcut     : mysql 
--defaults-file=/opt/continuent/software/tungsten-replicator-3.0.0-524/cookbook/
my.cookbook.cnf
                   : (or /opt/continuent/software/tungsten-replicator-3.0.0-524/cookbook/db_use)
Tungsten release   : tungsten-replicator-3.0.0-524
Installation log   : ./cookbook/current_install.log
[root@slave01 ~/installs]# 
/root/installs/cookbook/tungsten/tungsten-replicator/bin/trepctl services
Processing services command...
NAME              VALUE
----              -----
appliedLastSeqno: 450
appliedLatency  : 0.66
role            : master
serviceName     : alpha
serviceType     : local
started         : true
state           : ONLINE
NAME              VALUE
----              -----
appliedLastSeqno: -1
appliedLatency  : -1.0
role            : slave
serviceName     : bravo
serviceType     : remote
started         : true
state           : GOING-ONLINE:SYNCHRONIZING
NAME              VALUE
----              -----
appliedLastSeqno: -1
appliedLatency  : -1.0
role            : slave
serviceName     : charlie
serviceType     : remote
started         : true
state           : GOING-ONLINE:SYNCHRONIZING
Finished services command...

What is the expected output?

I want to master master replication in between two local servers and online 
server. Please help me out how I can achieve it. 

What version of the product are you using?

I am using  tungsten-replicator-3.0.0-524.

On what operating system?

I have CentOS 6.5

Please provide any additional information below.

This is heterogeneous replication along with mysql native replication. I can 
not use tungsten-replicator on all server. Please help me out from here.

Thanks,
Shashikant 

Original issue reported on code.google.com by shashika...@icreon.com on 24 May 2015 at 3:07

GoogleCodeExporter commented 9 years ago
This is not a bug.
Please use the discussion group when asking for help
http://groups.google.com/group/tungsten-replicator-discuss

Also notice that the cookbook files are not designed to work with heterogeneous.
For more information on how to install Tungsten, please see 
http://docs.continuent.com/tungsten-replicator-4.0/index.html

Original comment by g.maxia on 24 May 2015 at 5:55