Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Directory (http://www.linux-archive.org/fedora-directory/)
-   -   Enabling replication with changelog max age (http://www.linux-archive.org/fedora-directory/649408-enabling-replication-changelog-max-age.html)

Reinhard Nappert 03-27-2012 02:06 PM

Enabling replication with changelog max age
 
Hi all,

*
I have a couple of
question regarding the nsslapd-changelogmaxage attribute:
*
This attribute sets
the maximum age that entries are kept *in the changelog. Documentation says
that a change of the value requires a server restart.
*
1. Do I have to
restart the server, when I enable replication, where I set a value (let's say
"30d") during the enabling process - in ldap terms, I include
nssslapd-changelogmaxage: 30d as an attribute, when the entry cn=changelog5,
cn=config gets added?
*
2. What happens if
I* have a changelog (previsously set to unlimited age) and I set the value
to 30d. Does it remove every entry older than 30 days, after the restart. It
looks to me that the size of the database did not change, because I did not gain
any diskspace after I restarted the server.
*
Thanks,
-Reinhard
--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

Rich Megginson 03-27-2012 02:07 PM

Enabling replication with changelog max age
 
On 03/27/2012 08:06 AM, Reinhard Nappert wrote:



Hi
all,
*
I
have a couple of question regarding the
nsslapd-changelogmaxage attribute:
*
This
attribute sets the maximum age that entries are kept *in the
changelog. Documentation says that a change of the value
requires a server restart.
*
1.
Do I have to restart the server, when I enable replication,
where I set a value (let's say "30d") during the enabling
process - in ldap terms, I include nssslapd-changelogmaxage:
30d as an attribute, when the entry cn=changelog5, cn=config
gets added?

No.


*
2.
What happens if I* have a changelog (previsously set to
unlimited age) and I set the value to 30d. Does it remove
every entry older than 30 days, after the restart. It looks
to me that the size of the database did not change, because
I did not gain any diskspace after I restarted the server.

Not sure.* You could use the cl-dump tool to examine the changelog.


*
Thanks,
-Reinhard





--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users





--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


All times are GMT. The time now is 05:54 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.