Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
. How does it work in case of reads and writes? Thanks, Ram On Tue, Oct 3, 2017 at 4:15 PM, Howard Chu wrote: > Quanah Gibson-Mount wrote: > >> --On Tuesday, October 03, 2017 11:47 AM -0700 rammohan ganapavarapu < >> rammohanga...@gmail.com> wrote: >> >> >&

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
You mean we can resize db any time? Wouldn't it be nice to have no max limit and grow db dynamically? On Oct 3, 2017 4:05 PM, "Quanah Gibson-Mount" wrote: --On Tuesday, October 03, 2017 5:04 PM -0700 rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Ok, i am

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
uanah Gibson-Mount wrote: > --On Tuesday, October 03, 2017 4:53 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >> Ok, this is what i see in ldap logs, this could be because of >> maxsize? olcDbMaxSize: 102400 >> >> >> mdb_idl_insert_

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
Ok, this is what i see in ldap logs, this could be because of maxsize? olcDbMaxSize: 102400 mdb_idl_insert_keys: c_put id failed: MDB_MAP_FULL: Environment mapsize limit reached (-30792) On Tue, Oct 3, 2017 at 3:46 PM, rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > There ar

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
There are two mdb files {data,lock}.mdb both owned by processes user. On Tue, Oct 3, 2017 at 3:41 PM, Quanah Gibson-Mount wrote: > --On Tuesday, October 03, 2017 3:53 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > and now i am trying to add below

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
alUnit objectClass: top ou: userroles Thanks, Ram On Tue, Oct 3, 2017 at 2:18 PM, Quanah Gibson-Mount wrote: > --On Tuesday, October 03, 2017 3:07 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >> Quanah, >> >> >> Any thing changed int

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
c=com" ldap_add: Other (e.g., implementation specific) error (80) additional info: index generation failed Thanks, Ram On Tue, Oct 3, 2017 at 11:36 AM, Quanah Gibson-Mount wrote: > --On Tuesday, October 03, 2017 12:29 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote:

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
Thank you, one more question on mdb side, may be last question :) How can i migrate/convert from hdb/bdb to mdb? Ram On Tue, Oct 3, 2017 at 11:09 AM, Quanah Gibson-Mount wrote: > --On Tuesday, October 03, 2017 11:47 AM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrot

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
Ok, but are there any casses where DB size can grow bigger then RAM and what will happen in that case? On Oct 3, 2017 10:18 AM, "Quanah Gibson-Mount" wrote: > --On Tuesday, October 03, 2017 11:03 AM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > &g

Re: Initialize ldap with mdb

2017-10-03 Thread rammohan ganapavarapu
is grater then my RAM how does mdb handles? do we have any configuration options to set RAM allocation for mdb as i may have other applications sharing the same RAM? Thanks, Ram On Tue, Oct 3, 2017 at 8:08 AM, Quanah Gibson-Mount wrote: > --On Monday, October 02, 2017 5:14 PM -0700 rammohan

Re: Initialize ldap with mdb

2017-10-02 Thread rammohan ganapavarapu
Thank you, would you recommend different user for replication or just use the roodn? i know its upto me but just trying to follow the best practices :) Ram On Mon, Oct 2, 2017 at 2:38 PM, Quanah Gibson-Mount wrote: > --On Monday, October 02, 2017 3:30 PM -0700 rammohan ganapavar

Re: Initialize ldap with mdb

2017-10-02 Thread rammohan ganapavarapu
Ram On Mon, Oct 2, 2017 at 2:21 PM, rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Quanah, > > My slapd.d dir is empty and my initialization script only create config if > slapd.d dir is empty, i tried with slapd.conf every thing looks good > except i don

Re: Initialize ldap with mdb

2017-10-02 Thread rammohan ganapavarapu
Thanks, Ram On Mon, Oct 2, 2017 at 1:35 PM, Quanah Gibson-Mount wrote: > --On Monday, October 02, 2017 2:19 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >> >> Hi, >> >> >> >> I am trying to follow this thread (

Initialize ldap with mdb

2017-10-02 Thread rammohan ganapavarapu
Hi, I am trying to follow this thread ( http://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html ) to initialize the ldap config in non-default directory but i am getting this error. cat example.ldif | slapadd -v -F /opt/data/slapd.d -n 0 -d -1 59d29ce6 >>> dnPrettyNormal: 59d29ce

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-10-02 Thread rammohan ganapavarapu
Quanah, Thank you. Ram On Mon, Oct 2, 2017 at 10:11 AM, Quanah Gibson-Mount wrote: > --On Monday, October 02, 2017 10:59 AM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >> Quanah, >> >> >> Where can i get a minimal slapd.con

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-10-02 Thread rammohan ganapavarapu
Quanah, Where can i get a minimal slapd.conf/cn=config for mdb? also all supported properties for mdb? Thanks, Ram On Fri, Sep 29, 2017 at 2:32 PM, Quanah Gibson-Mount wrote: > --On Friday, September 29, 2017 2:50 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.c

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-29 Thread rammohan ganapavarapu
suggestions Ram On Fri, Sep 29, 2017 at 1:38 PM, Quanah Gibson-Mount wrote: > --On Friday, September 29, 2017 2:31 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >> Quanah, >> >> >> Sorry i was searching for one attribute, i have

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-29 Thread rammohan ganapavarapu
Quanah, Sorry i was searching for one attribute, i have close to 80mil entries. Thanks, Ram On Fri, Sep 29, 2017 at 12:19 PM, Quanah Gibson-Mount wrote: > --On Friday, September 29, 2017 1:00 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >&

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-29 Thread rammohan ganapavarapu
I have roughly 57077 entires, so set_cachesize in slapd.conf will take highest priority than the one in DB_CONFIG file? Thanks, Ram On Fri, Sep 29, 2017 at 11:47 AM, Quanah Gibson-Mount wrote: > --On Friday, September 29, 2017 12:39 PM -0700 rammohan ganapavarapu < > rammohanga...@

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-29 Thread rammohan ganapavarapu
Quanah, These are the settings i have in slapd.conf grep cach /etc/openldap/slapd.conf cachesize10 idlcachesize 30 dbconfig set_cachesize 0 2097152 0 On Fri, Sep 29, 2017 at 9:36 AM, Quanah Gibson-Mount wrote: > --On Friday, September 29, 2017 10:31 AM -0700 rammo

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-29 Thread rammohan ganapavarapu
ted pages not found in the cache 528 Pages created in the cache 169540 Pages read into the cache 656250 Pages written from the cache to the backing file On Fri, Sep 29, 2017 at 8:36 AM, Quanah Gibson-Mount wrote: > --On Thursday, September 28, 2017 8:33 PM -0700 rammohan ganapavarapu &

Re: Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-29 Thread rammohan ganapavarapu
Thank you, from the provided stack trace, can any one tell what is the issue? Ram On Thu, Sep 28, 2017 at 11:46 PM, Ulrich Windl < ulrich.wi...@rz.uni-regensburg.de> wrote: > >>> rammohan ganapavarapu schrieb am 29.09.2017 > um 04:33 > in Nachricht > : > > Stil

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-28 Thread rammohan ganapavarapu
Still looking for help On Sun, Sep 24, 2017 at 12:29 PM, rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Any pointers to identify the issue? > > Thanks, > Ram > > On Fri, Sep 22, 2017 at 12:00 PM, rammohan ganapavarapu < > rammohanga...@gmail.com> wrot

Re: Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-24 Thread rammohan ganapavarapu
Any pointers to identify the issue? Thanks, Ram On Fri, Sep 22, 2017 at 12:00 PM, rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Hi, > > I have two node MMR ldap cluster with hdb, but for some reason one of the > servers CPU get spiked every minute, I am not sure wh

Openldap periodic cpu spikes in one of the servers in two node MMR

2017-09-22 Thread rammohan ganapavarapu
Hi, I have two node MMR ldap cluster with hdb, but for some reason one of the servers CPU get spiked every minute, I am not sure what is causing this spike every minute, we have same server configuration in both the server. Also when i do db_stat on *.bdb files this server is taking too long to re

Re: Olc deployment vs slapd.conf based deployment

2017-09-15 Thread rammohan ganapavarapu
Quanah, But updating schema.ldif file in disk is not recommended way right? Thanks, Ram On Fri, Sep 15, 2017 at 11:33 AM, Quanah Gibson-Mount wrote: > --On Friday, September 15, 2017 12:24 PM -0700 Ryan Tandy > wrote: > > > There was some talk, either in IRC or on -devel, of creating a way f

Re: Upgrade from 2.4.40 to 2.4.44

2017-09-15 Thread rammohan ganapavarapu
? Thanks On Sep 15, 2017 8:10 AM, "Quanah Gibson-Mount" wrote: > --On Thursday, September 14, 2017 9:30 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > >> If i accident allt upgrade rpm to 2.4.44 is there any way to fix this >> issue? &g

Re: Upgrade from 2.4.40 to 2.4.44

2017-09-14 Thread rammohan ganapavarapu
One more question, is 2.4.44 schema and cn=config backward compatible to older version, meaning can i use 2.4.44 schema and cn=config to start 2.4.40 or prior versions? Thanks, Ram On Thu, Sep 14, 2017 at 9:49 PM, rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Quanah, >

Re: Upgrade from 2.4.40 to 2.4.44

2017-09-14 Thread rammohan ganapavarapu
Quanah, Thank you ,is there any thing else do i have to take care to upgrade from <=2.4.40 to 2.4.44? is there any upgrade doc that i can use? Ram On Thu, Sep 14, 2017 at 6:50 PM, Quanah Gibson-Mount wrote: > --On Thursday, September 14, 2017 7:24 PM -0700 rammohan ganapavarapu < >

Re: Upgrade from 2.4.40 to 2.4.44

2017-09-14 Thread rammohan ganapavarapu
If i accident allt upgrade rpm to 2.4.44 is there any way to fix this issue? On Sep 14, 2017 6:50 PM, "Quanah Gibson-Mount" wrote: --On Thursday, September 14, 2017 7:24 PM -0700 rammohan ganapavarapu < rammohanga...@gmail.com> wrote: I have ldap server with 2.4.40 and I

Re: Olc deployment vs slapd.conf based deployment

2017-09-14 Thread rammohan ganapavarapu
Thank you. On Sep 14, 2017 5:37 PM, "Quanah Gibson-Mount" wrote: > --On Thursday, September 14, 2017 6:30 PM -0500 Andy Dorman < > ador...@ironicdesign.com> wrote: > > I have our dev server using OLC and it takes me twice as long to modify >> it's config than the 15 other servers we have running

Upgrade from 2.4.40 to 2.4.44

2017-09-14 Thread rammohan ganapavarapu
Hi, I have ldap server with 2.4.40 and I have upgraded to 2.4.44 as part of yum upgrade, now I am not able to bring up ldap server , i am getting some ppolicy maxrecord failure attribute error, we are using ppolicy overlay, any advice how to fix this issue? Thanks

Re: Olc deployment vs slapd.conf based deployment

2017-09-14 Thread rammohan ganapavarapu
Hi, I am trying to see what is the best and recommended way of deploying/starting ldap, OLC or conf file based? i was in the impression that conf file based is easy and more controllable approach than OLC? Thanks, Ram

Re: BDB VS HDB for openldap2.4

2017-09-06 Thread rammohan ganapavarapu
What is the recommended backend db for openldap2.4 dbd or hdb? which one give better performance? Thanks, Ram

Re: N-Way replication configuration

2017-09-02 Thread rammohan ganapavarapu
-On Friday, September 01, 2017 6:03 PM -0700 rammohan ganapavarapu < rammohanga...@gmail.com> wrote: > Quanah, > > > Thank you, so do we need to include olcServerID of all servers in every > server? for example if i have 3 servers MMR, then do i need to add > > > olc

Re: N-Way replication configuration

2017-09-02 Thread rammohan ganapavarapu
Gibson-Mount wrote: > --On Thursday, August 31, 2017 6:46 PM -0700 rammohan ganapavarapu < > rammohanga...@gmail.com> wrote: > > Which one is the right way to do? >> > > It depends. If you are replicating cn=config, then the provider= is > required, and it must i

N-Way replication configuration

2017-09-01 Thread rammohan ganapavarapu
Hi, I have a basic question in N-Way Multi master replication configuration, For example i have 3 servers and i wanted to setup N-Way replication across those servers, in the "olcSyncRepl" configuration do i have to include the Nth server it self? On each server: olcSyncRepl: rid=001 provider=$

N-Way replication

2016-09-29 Thread rammohan ganapavarapu
Hi, I have n-way replication setup in ldap version 2.4.43 and i have basic technical question, do we have to specify nth server details in replication config? lets say i have server1 server2 and server3 and i wanted to setup n-way replication among these servers Part of my config looks like this