Univention Bugzilla – Bug 35125
Listener: We need an option to define a dedicated server list (not ldap/backup) and to disable the randomization
Last modified: 2020-07-03 20:55:25 CEST
For slave DC's we need a way to define a dedicated server list for the listener. Maybe another option "-s", if this option is set, the listener should use another UCR Var (listener/server="myhost1.local myhost2.local") instead of ldap/backup (select_server.c).
Also we need an option (-r) to disable the randomization of the server list (select_server.c).
-> univention-directory-listener ... -s -r -B
-s -> user listener/server instead of ldap/backup for server list
-B -> do not append ldap/master to server list (listener/ignoremaster)
-r -> do not randomize server list
For a single server there already is the UCRV "notifier/server".
Maybe extend this to support a list of servers?
But without randomization which server should be picked: Always the 1st?
See <http://jenkins.knut.univention.de:8080/view/Doku/job/UCS-3.2%20Handbook%20Developer/lastSuccessfulBuild/artifact/webroot/developer-reference-3.2.html#listener:details:internal> for my last documentation regarding this or "man 8 univention-directory-listener"
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.
If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
There is a Customer ID set so I set the flag "Enterprise Customer affected".
This issue has been filed against UCS 4.2.
UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.
If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.