Univention Bugzilla – Full Text Bug Listing |
Summary: | Downsize transaction file automatically | ||
---|---|---|---|
Product: | UCS | Reporter: | Michael Grandjean <grandjean> |
Component: | Notifier (univention-directory-notifier) | Assignee: | UCS maintainers <ucs-maintainers> |
Status: | NEW --- | QA Contact: | UCS maintainers <ucs-maintainers> |
Severity: | normal | ||
Priority: | P5 | CC: | best, hahn, requate, sieverdingbeck |
Version: | UCS 4.4 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | other | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=47344 https://forge.univention.org/bugzilla/show_bug.cgi?id=48617 https://forge.univention.org/bugzilla/show_bug.cgi?id=49091 |
||
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?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: |
Description
Michael Grandjean
2018-07-11 13:00:25 CEST
All UCS systems running UDL could write their /var/lib/univention-directory-listener/notifier_id to their LDAP machine account on a regular basis (daily/weekly). Then all transactions before min(...) can be dropped. A Nagios or UMC-diagnostics module can check for systems far behind and notify the admin about this systems: "The system XXX was inactive for time YYY now. It last reported listener transaction ID ZZZ, which is far behind the current AAA. This prevents truncating the transaction file. You should delete the machine account if the system is longer active." This might be problematic if snapshots are used and only a single system is reset. If the transaction file is shortened too much, all older systems must be re-joined. Truncating the file is not enough as since UCS-4.3 erratum 427 the transactions are not only written to /var/lib/univention-ldap/notify/transaction, but also to cn=translog. should be still relevant for UCS 4.4 |