Hi Dimetri,
3 things if I may
Your suggestion still did not work.  What *does *seem to work is if I make
log_source_directory = log_directory (NOT log_archive_directory as
advised). *Please comment*.

I am getting errors however in the replication log
TOSHPJG (replica) Thu Feb 25 06:11:39 2021
Database: D:\USERS\PETER\DOCUMENTS\FB4DATA\FB4TESTREPLICA.FDB
VERBOSE: Segment 23 (1923 bytes) is replicated in 30 ms, deleting the file

TOSHPJG (replica) Thu Feb 25 06:11:39 2021
Database: D:\USERS\PETER\DOCUMENTS\FB4DATA\FB4TESTREPLICA.FDB
ERROR: Log file D:\Apps\FB4\FB4Test\chlog\FB4TEST.FDB.chlog-000000023
unlink failed (error: 32)
*Why is this*?

log_directory contains
{0F25E9D6-A4F2-411E-99EA-BD0CE771A90F}
FB4TEST.FDB.chlog-000000023

*Lastly*
How do you setup async replication if the replica is on a different
Firebird Server? Do you have to have an external process copying journal
files to replica server?  If so, which files need copying and to which
folder(s)? or, can set up log_directory to be on the replica server rather
than the master server?

Windows 10 OS
FB4 running as an application utilising port 3052
I have FB2.5 and FB3 also running using ports 3050 and 3051


regards


On Tue, 23 Feb 2021 at 09:10, Dmitry Yemanov <firebi...@yandex.ru> wrote:

> 23.02.2021 11:57, Peter Gore wrote:
>
> > Here's my new config
> > database = D:\Users\Peter\Documents\FB4Data\FB4TEST.FDB
> > {
> >   log_directory = D:\Apps\FB4\FB4Test\chlog
> >   log_archive_directory = D:\Apps\FB4\FB4Test\archlog
> >   log_archive_timeout = 10
> >   verbose_logging = true
> > }
> >
> > database = D:\Users\Peter\Documents\FB4Data\FB4TESTReplica.FDB
> > {
> >   log_source_directory = D:\Apps\FB4\incominglogs
>
> On a single host, log_archive_directory and log_source_directory should
> point to the same directory.
>
> (a) log_archive_directory is where journal segments are written to by
> the primary node
>
> (b) log_source_directory is where they're searched for applying by the
> replica node
>
> But there're no miracle that moves segments from (a) to (b) ;-) It
> should be either the same directory or you should move them yourself.
>
>
> Dmitry
>
>
> Firebird-Devel mailing list, web interface at
> https://lists.sourceforge.net/lists/listinfo/firebird-devel
>
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to