<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 04/24/2015 09:26 AM, Dominik
Korittki wrote:<br>
</div>
<blockquote
cite="mid:707187C11154EC4EB2421F94818D6CDE0102967A77@MW-EXCHANGE.mw-ks.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">Hello all,<br>
<br>
<font size="2"><font face="Calibri">I am running two ipa3.3.3
instances in a replication on Centos 7 servers.</font></font><br>
Last day the rootpartition went full (where the dirsrv databases
are stored), because of a big changelog-db.
<br>
dirsrv managed to do a graceful shutdown. Luckily, the second
master was still working properly, so i could recover the first
one from it.<br>
<br>
I resized the partition, booted up again and ran<br>
'ipa-replica-manage re-initialize --from ipa02.internal'<br>
<br>
Everything seemed to ran fine except for one warnig regarding an
issue with the changelog db, heres the log portion of the log
/var/log/dirsrv/slapd-INTERNAL/errors on recieving (first) IPA
master:<br>
[...]<br>
[23/Apr/2015:10:41:46 +0200] NSMMReplicationPlugin -
multimaster_be_state_change: replica dc=internal is going
offline; disabling replication<br>
[23/Apr/2015:10:41:47 +0200] - WARNING: Import is running with
nsslapd-db-private-import-mem on; No other process is allowed to
access the database<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Workers
finished; cleaning up...<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Workers cleaned
up.<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Indexing
complete. Post-processing...<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Generating
numSubordinates complete.<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Flushing
caches...<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Closing files...<br>
[23/Apr/2015:10:41:55 +0200] - import userRoot: Import
complete. Processed 9983 entries in 8 seconds. (1247.88
entries/sec)<br>
[23/Apr/2015:10:41:55 +0200] NSMMReplicationPlugin -
multimaster_be_state_change: replica dc=internal is coming
online; enabling replication<br>
[23/Apr/2015:10:41:55 +0200] NSMMReplicationPlugin -
replica_reload_ruv: Warning: new data for replica dc=internal
does not match the data in the changelog.<br>
Recreating the changelog file. This could affect replication
with replica's consumers in which case the consumers should be
reinitialized.<br>
[...]<br>
</div>
</blockquote>
this shouold be normal. at the moment of initialization, a server
has a database and a changelog. The datavase is recreated by
initialization and when replication plugin starts it detects that
changelog and db no longer match and recreates the changelog.<br>
<br>
<br>
<blockquote
cite="mid:707187C11154EC4EB2421F94818D6CDE0102967A77@MW-EXCHANGE.mw-ks.local"
type="cite">
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">
<br>
I am no expert in LDAP or Directory Server, but i noticed a
significant size difference of files in
/var/lib/dirsrv/slapd-INTERNAL/cldb/:<br>
root@ipa01:~ > du -sch /var/lib/dirsrv/slapd-INTERNAL/cldb/*<br>
0
/var/lib/dirsrv/slapd-INTERNAL/cldb/61e65983-718611e4-8059dc1c-48160578.sema<br>
24M
/var/lib/dirsrv/slapd-INTERNAL/cldb/61e65983-718611e4-8059dc1c-48160578_546f4515000000040000.db<br>
0
/var/lib/dirsrv/slapd-INTERNAL/cldb/9b310907-74a711e4-8059dc1c-48160578.sema<br>
6,8M
/var/lib/dirsrv/slapd-INTERNAL/cldb/9b310907-74a711e4-8059dc1c-48160578_54748540000000600000.db<br>
4,0K /var/lib/dirsrv/slapd-INTERNAL/cldb/DBVERSION<br>
30M total<br>
<br>
root@ipa02:/var/log > du -sch
/var/lib/dirsrv/slapd-INTERNAL/cldb/*<br>
0
/var/lib/dirsrv/slapd-INTERNAL/cldb/98ceaf89-74a711e4-910b9512-1512b1dc.sema<br>
4,7G
/var/lib/dirsrv/slapd-INTERNAL/cldb/98ceaf89-74a711e4-910b9512-1512b1dc_546f4515000000040000.db<br>
0
/var/lib/dirsrv/slapd-INTERNAL/cldb/9cfacd4b-74a711e4-910b9512-1512b1dc.sema<br>
3,7M
/var/lib/dirsrv/slapd-INTERNAL/cldb/9cfacd4b-74a711e4-910b9512-1512b1dc_54748540000000600000.db<br>
4,0K /var/lib/dirsrv/slapd-INTERNAL/cldb/DBVERSION<br>
4,7G total<br>
<br>
<br>
Also, i noticed a difference in the actual database size on both
servers:<br>
root@ipa01:~ > du -sch /var/lib/dirsrv/slapd-INTERNAL/db/*<br>
4,0K /var/lib/dirsrv/slapd-INTERNAL/db/DBVERSION<br>
1,3M /var/lib/dirsrv/slapd-INTERNAL/db/__db.001<br>
544K /var/lib/dirsrv/slapd-INTERNAL/db/__db.002<br>
9,6M /var/lib/dirsrv/slapd-INTERNAL/db/__db.003<br>
1,4M /var/lib/dirsrv/slapd-INTERNAL/db/ipaca<br>
2,2M /var/lib/dirsrv/slapd-INTERNAL/db/log.0000124384<br>
101M /var/lib/dirsrv/slapd-INTERNAL/db/userRoot<br>
115M total<br>
<br>
root@ipa02:/var/log > du -sch
/var/lib/dirsrv/slapd-INTERNAL/db/*<br>
4,0K /var/lib/dirsrv/slapd-INTERNAL/db/DBVERSION<br>
1,7M /var/lib/dirsrv/slapd-INTERNAL/db/__db.001<br>
544K /var/lib/dirsrv/slapd-INTERNAL/db/__db.002<br>
9,6M /var/lib/dirsrv/slapd-INTERNAL/db/__db.003<br>
1,3M /var/lib/dirsrv/slapd-INTERNAL/db/ipaca<br>
4,3M /var/lib/dirsrv/slapd-INTERNAL/db/log.0000074356<br>
175M /var/lib/dirsrv/slapd-INTERNAL/db/userRoot<br>
193M total<br>
<br>
Besides from that, everything seems to be working fine again,
including the replication. No errors or warnings regarding this
issue are stated in dirsrv-logs. So I'm a bit confused right
know wether to believe everything worked fine or not.<br>
Is this behaviour of IPA/Directory Server normal? Many thanks in
advance!<br>
<br>
<br>
Greetings and a nice day,<br>
Dominik Korittki<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
</body>
</html>