Bug 35125 - Listener: We need an option to define a dedicated server list (not ldap/backup) and to disable the randomization
Listener: We need an option to define a dedicated server list (not ldap/backu...
Status: NEW
Product: UCS
Classification: Unclassified
Component: Listener (univention-directory-listener)
UCS 4.2
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: UCS maintainers
Depends on:
  Show dependency treegraph
Reported: 2014-06-16 11:25 CEST by Felix Botner
Modified: 2018-04-14 14:01 CEST (History)
5 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 after Product Owner Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2014-06-16 11:25:50 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
Comment 1 Philipp Hahn univentionstaff 2014-06-17 09:44:05 CEST
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"
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:38:07 CEST
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.
Comment 3 Florian Best univentionstaff 2017-06-28 14:52:50 CEST
There is a Customer ID set so I set the flag "Enterprise Customer affected".