[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: commit: ldap/doc/man/man5 slapo-accesslog.5



hyc@OpenLDAP.org wrote:
Update of /repo/OpenLDAP/pkg/ldap/doc/man/man5

Added Files:
	slapo-accesslog.5  NONE -> 1.1

Log Message:
More accesslog updates


CVS Web URLs: http://www.openldap.org/devel/cvsweb.cgi/doc/man/man5/ http://www.openldap.org/devel/cvsweb.cgi/doc/man/man5/slapo-accesslog.5
I suppose I should at least write up an Informational RFC to go along with this, but this should be enough to get started. It is not heavily tested and so probably isn't ready for this first 2.3 public release, but I think it's close enough that we can kick it out pretty soon in a subsequent release. The actual schema here has evolved from what I described last November in
http://www.openldap.org/lists/openldap-devel/200411/msg00006.html


This overlay/schema also serves as the basis for a first pass at a delta-based syncrepl. (Although it may turn out to be too primitive and ugly to actually deploy.) E.g., suppose I want to replicate dc=example,dc=com using syncrepl, but I don't want to pay the bandwidth cost of full-entry replication that syncrepl currently implements. I can instead setup an accesslog and point a (delta-aware) consumer at the log instead of the actual database. So the provider would be

database bdb
suffix cn=log
...
overlay syncprov
...

database hdb
suffix dc=example,dc=com
...
overlay accesslog
logdb cn=log
logops writes


And on the consumer, something like

database hdb
suffix dc=example,dc=com
...
deltasyncrepl
   uri=ldap://master
   searchbase cn=log
   filter (reqResult=0)
   ...
--
 -- Howard Chu
 Chief Architect, Symas Corp.       Director, Highland Sun
 http://www.symas.com               http://highlandsun.com/hyc
 Symas: Premier OpenSource Development and Support