× Discuss about Archiving, Close of Business, Delivery Setup, Security Management System, Global Processing etc…

jBase journaling issue (jlogdup)

  • deeplay
  • deeplay's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 8 months ago #19899 by deeplay
jBase journaling issue (jlogdup) was created by deeplay
Hello,

I'm trying to synchronize jBase journal logset on Server2 with Journal logset on Server1. Regarding to the jBase documentation I must configure listener at first (Server2) and then run jlogdup on Server1:

on Server2:
jlogdup input set=socket hostname=localhost port=4089 output set=logset

on Server1:
jlogdup input set=current output set=socket hostname=Server2 port=4089

But first command (on Server2) returns error "bind: Address already in use Unable to bind() socket, error 0".

My question is - what I must use instead of "socket" ?

R10 on CentOS

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 8 months ago #19912 by VK
Replied by VK on topic jBase journaling issue (jlogdup)
Hi
looks like the port 4089 is already in use.

Cheers
VK

Please Log in or Create an account to join the conversation.

  • deeplay
  • deeplay's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 8 months ago #19919 by deeplay
Replied by deeplay on topic jBase journaling issue (jlogdup)
Hi,

Yes, you are right. That's happened because I've executed command (jlogdup on Server2) and then terminated (Ctrl+C, do you have any idea how to terminate it normally?).
Closing and opening new session helped.

Now I'm trying to execute jlogdup on Server2, error occurs:
Unable to connect to host 10.10.10.198 , error 111
connect: Connection refused


Firewall (centos) is turned off on both servers.

R10 on CentOS

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 8 months ago - 7 years 8 months ago #19920 by VK
Replied by VK on topic jBase journaling issue (jlogdup)
Hi
After Ctrl-C look at the processes list (ps -ef) and issue the command kill PID, where PID is jlgdup's process ID. I'm not sure how to do it "normally" but kill (without -9 parameter) shall do it all right. (but that's probably what you already used)

For "connection refused" I'm not sure what's the reason; can you connect to other ports? Like to SSH using SSH client?

It also could be that "small" port numbers are reserved for system services; you can try to use something like 20001 etc.

If nothing helps, mount the file system of server2 at server 1 remotely (you can use SSHFS, for example) and redirect the journal there without "socket" usage.

Cheers
VK
Last edit: 7 years 8 months ago by VK.
The following user(s) said Thank You: deeplay

Please Log in or Create an account to join the conversation.

  • deeplay
  • deeplay's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 8 months ago #19922 by deeplay
Replied by deeplay on topic jBase journaling issue (jlogdup)
Hi,

VK, but generally - is it right way to synchronize jbase journal logsets?

on Server2:
jlogdup input set=socket hostname=localhost port=4089 output set=logset

on Server1:
jlogdup input set=current output set=socket hostname=Server2 port=4089


R10 on CentOS

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 8 months ago #19923 by VK
Replied by VK on topic jBase journaling issue (jlogdup)
Hi
I haven't tried this particular setup myself.. Maybe it's better if you ask Temenos.
It's better if you try the basic setup first (on one server) if you haven't tried that yet...

Cheers
VK

Please Log in or Create an account to join the conversation.

  • deeplay
  • deeplay's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 8 months ago #19924 by deeplay
Replied by deeplay on topic jBase journaling issue (jlogdup)
Hi,

I've tried jlogdup on one server — it's works.

R10 on CentOS

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 8 months ago #19925 by VK
Replied by VK on topic jBase journaling issue (jlogdup)
Hi
I don't even see the "socket" option at jBase knowledgebase documentation... New owners just changed the logo but some documentation haven't been updated for years... I think you can try to output the journal to remote file system as I suggested before.

Cheers
VK

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 8 months ago - 7 years 8 months ago #19926 by VK
Replied by VK on topic jBase journaling issue (jlogdup)
I wasn't completely right... The documentation hadn't been updated for decades :)))

jBase patch PN4_10445

2005/01/12

Initial socket implementation for jlogdup

:))

Cheers
VK
Last edit: 7 years 8 months ago by VK.

Please Log in or Create an account to join the conversation.

  • deeplay
  • deeplay's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 8 months ago #19927 by deeplay
Replied by deeplay on topic jBase journaling issue (jlogdup)

I think you can try to output the journal to remote file system as I suggested before.


Where I can read about this method (output the journal to remote file system)? Is any docs available on the web?

R10 on CentOS

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G09-G13|TAFC:R05-R23|TAFJ:R19,R23:test
More
7 years 8 months ago #19928 by VK
Replied by VK on topic jBase journaling issue (jlogdup)
Hi
the method is the same as to output log to local log files... You need to mount the remote file system (you're under Linux, aren't you?) and then to create log files there. On a remote server then you can apply this log as often as you can to keep the hot (or not so hot) replication DB.

Cheers
VK
The following user(s) said Thank You: deeplay

Please Log in or Create an account to join the conversation.

Time to create page: 0.139 seconds