Bug 43046 - algorithm in listener to choose replication partner seems to be not "random"
algorithm in listener to choose replication partner seems to be not "random"
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-24 13:34 CET by Ingo Steuwer
Modified: 2019-01-03 07:19 CET (History)
4 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Large environments
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Steuwer univentionstaff 2016-11-24 13:34:51 CET
In a project with >30 DC Slave and memberserver connecting to 3 DC Backups we see that most listeners connect to one of those Backups. So in phases of higher replication load the DC Backup is "overloaded" and most DC Slaves have a replication delay.

We should review the process, either the current implementation is not real "random", or the likelihood that most clients connect to one server is too high.

A workaround might be the implementation of #35165
Comment 1 Philipp Hahn univentionstaff 2016-11-28 15:05:01 CET
UDL evaluates the UCRV "ldap/backup", which is managed by "management/univention-directory-listener/python/ldap_server.py". It *only uses DC Backup*s (and the DC Master), *never any DC Slave*.

See <http://docs.software-univention.de/developer-reference-4.1.html#listener:procedure>

The description also only talks about Backups, not Slaves:
>[ldap/backup]
>Description[de]=Der/die Domänencontroller Backup-Systeme der Domäne. Mehrfache Einträge müssen mit Leerzeichen getrennt werden.
>Description[en]=The backup domain controller system(s) in the domain. Multiple entries need to be separated by blanks.

So currently: Works-as-documented(-and-intended?)
Comment 2 Stefan Gohmann univentionstaff 2019-01-03 07:19:39 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.