seaborgium and serpens run syncrepl replication among each other, but it would still be useful to run slapcat on the LDAP data daily and add the exported LDIF to the backups.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | yuvipanda | T130446 Unable to SSH onto tools-login.wmflabs.org | |||
Resolved | akosiaris | T130593 investigate slapd memory leak | |||
Resolved | MoritzMuehlenhoff | T120919 Add openldap/labs servers to backup |
Event Timeline
Change 259155 had a related patch set uploaded (by Dzahn):
openldap/labs: make serpens/seaborgium backup hosts
Change 259174 had a related patch set uploaded (by Dzahn):
openldap: add backup with ldif files
I added backup::host to these nodes as a requirement. That installed bacula client etc already.
Now pending the second patch i uploaded which adds a cron to run slapcat, a directory to write the backup to and a fileset and backup job in Bacula to backup that.
It would simply be writing one file per day and keep overwriting the same file, no different versions fo sar.
per the comments on that gerrit link above, Alex said " I 'll try and create a bpipe approach in labs as a first step."
Change 289824 had a related patch set uploaded (by Muehlenhoff):
Add a new backup set to backup openldap databases
Change 289824 merged by Muehlenhoff:
Add a new backup set to backup openldap databases and enable on serpens
ldap backups are now enabled only on serpens, shall we enable it on all machines in codfw and eqiad too?
I think that makes sense. For the OIT mirrors we also ended up having a backup for both syncrepl endpoints since the slapd data is so tiny. I'll make a patch.