Bug 56961 - UCS performance guide: Add clean up abandoned UDM locking objects
UCS performance guide: Add clean up abandoned UDM locking objects
Status: NEW
Product: UCS extended documentation
Classification: Unclassified
Component: Performance guide
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Docu maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-01-08 00:01 CET by Mirac Erdemiroglu
Modified: 2024-01-08 10:22 CET (History)
1 user (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?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023120621000198
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mirac Erdemiroglu univentionstaff 2024-01-08 00:01:57 CET
I add the option 5 in the following article
https://help.univention.com/t/howto-speed-up-of-domain-join-or-updates-for-additional-servers/10168#option-5-clean-up-abandoned-udm-locking-objects-6


I guess it would be great to add it for the performance guide too.

https://docs.software-univention.de/ext-performance/latest/en/index.html


```
univention-ldapsearch -xLLL '(&(objectClass=lock)(createTimestamp>=20231230000000Z))' -b cn=temporary,cn=univention,dc=univention,dc=intranet 1.1 > /home/univention-support/delete_temporary2
```

Delete the temporary Objects ***(objectClass=lock)***
```
 while read dn; do echo "$dn" && ldapdelete -D "cn=admin,$(ucr get ldap/base)" -y /etc/ldap.secret "$dn"; done < /home/univention-support/delete_temporary2
```