Web lists-archives.com

Re: [Samba] Questions on DRS replicate command




Hi,

We fixed a similar problem with the join command in v4.10 - see
https://bugzilla.samba.org/show_bug.cgi?id=13612

I think we've done some testing recently around 'samba-tool drs
replicate' on large DBs without problems. So it might help if you tell us:
- what version of samba you're using.
- the actual error you're getting (e.g. a python exception?).
- the exact options you're passing to the command, e.g. are you using
--local?
- roughly how many records are in your DB.

1. It depends a bit on what command options you specified.

2. The command should wait until replication completes, unless you use
the --async-op option.

3. Not sure. Maybe try 'samba-tool drs showrepl'?

Thanks,
Tim

On 26/03/19 5:10 AM, Julien Ropé via samba wrote:
>
> Hi,
>
> I have some question about the command "samba-tool drs replicate"
> command.
>
> On a server with a big number of objects to synchronize, the command
> makes a timeout error. Now it looks like the sync actually occurs.
>
> I also see that there is an option to make the command asynchronous
> (not waiting for the result of the replication), but then I'm not sure
> how to confirm the process is complete and successful.
>
> 1) when the replication is synchronous, if the timeout occurs, is it
> actually interrupted or is it just the client side tool that gives up
> waiting for an answer ?
>
> 2) when you know the replication is going to be long, can you ask the
> command to wait for the end (no timeout) ?
>
> 3) when you use the --async-op option, how can you check when the
> command is complete ? Can you get a status for it, making sure it has
> actually succeeded ?
>
>
> Regards,
>
> Julien
>
> -- 
> Message envoyé grâce à OBM, la Communication Libre par Linagora
>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba