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

RE: slap tools notes



> -----Original Message-----
> From: Adam Jacob [mailto:adam@sysadminsith.org]

> On Sun, May 11, 2003 at 12:38:30AM -0700, Howard Chu wrote:
> > It appears that you may want 3 separate disks, not just 2,
> > to run back-bdb at
> > top speed, since so much disk I/O occurs in the BDB
> > environment files. Or
> > throw the environment into shared memory.
>
> So, pardon my relative BDB ignorance, but I assume we're talking about
> setting:
>
> set_tmp_dir /a/tmp
> set_data_dir /b/datafiles
> set_lg_dr /c/logfiles
>
> Where /a could be something like Solaris' /var/run, or a Linux style
> tmpfs?

Almost. back-bdb currently doesn't create tmpfiles so set_tmp_dir is
irrelevant.

A better example would be
 slapd.conf:
	database bdb
	directory /a/bdb

 /a/bdb/DB_CONFIG:
	set_data_dir /b/datafiles
	set_lg_dir /c/logfiles

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support