[Date Prev][Date Next]
Re: Openldap version 2.2.13 with db_recover
Thanks for replying. i have now decided to go with openldap 2.3.19. so that
it does automatic recovery.
in 2.3 also do we have to mention checkpoint. if so, how do we keep
checkpoints and what value should
my database will have more 10000 entries (i am using ldap for samba so i
having about 300 users and 600 groups and 300 computers)
so having this, what would be checkpoint value if so.
On 2/22/06, Buchan Milne <email@example.com> wrote:
> On Tuesday 21 February 2006 06:37, mallapadi niranjan wrote:
> > Hi list
> > I have a system with Red Hat Enterprise Linux ES release 4 with kernel
> > version 2.6.9-5.ELsmp.
> By now, we already know your question ...
> > I have an openldap which is shipped with the Redhat
> > hat linux
> > RPM. the version of slapd is
> > @(#) $OpenLDAP: slapd 2.2.13 (Aug 19 2004 21:22:15) $
> > firstname.lastname@example.org:/usr/src/build/440386-i386/BUILD/openldap-
> >3 /openldap-2.2.13/build-servers/servers/slapd\
> > The rpm that are installed are
> > mod_authz_ldap-0.26-2
> > compat-openldap-2.1.30-2
> > openldap-2.2.13-2
> > php-ldap-4.3.9-3.1
> > openldap-clients-2.2.13-2
> > openldap-devel-2.2.13-2
> > openldap-servers-2.2.13-2
> > python-ldap-2.0.1-2
> > openldap-servers-sql-2.2.13-2
> > nss_ldap-226-1
> > i use ldap to store computer and user accounts (samba schema).
> > Redhat provides startup script for starting , stopping , and restarting
> > LDAP,
> > but if the system reboots due to power failure, the ldap database goes
> > inconsistent
> > state. i have db_config file in /var/lib/ldap , by which i run
> > manually and recover it.
> > but can there be made any changes in startup script so that if the
> > is in incosistent state ,
> > the db_recove is run at system startup i mean when system starts the
> > service
> > specifically does openldap have a script that automatically runs
> > db_recover.
> RedHat should have ensured, in their init script, that database recovery
> be run for each database in the case where slapd has not shut down
> Other distributions did this for 2.1 and 2.2.
> BTW, you should also ensure you have a checkpoint directive for each bdb
> database (see slapd-bdb(5)).
> However, since 2.3 does database recovery at startup if necessary, you may
> better served by installing 2.3.
> The easiest way may just be to use the packages I build for RHEL (direct
> rebuilds of the packages I maintain for Mandriva):
> Buchan Milne
> ISP Systems Specialist