Example 4-1 Database directory contents

__db.001 __db.003

__db.005 NetscapeRoot/

__db.002 __db.004 DBVERSION log.0000000007 userRoot/

db.00x files

Used internally by the database and should not be moved,

 

deleted, or modified in any way.

log.xxxxxxxxxx files

Used to store the transaction logs per database.

DBVERSION

Used for storing the version of the database.

NetscapeRoot

Stores the o=NetscapeRoot database created by default when

 

the setup-ds-admin.plscript is run.

userRoot

Stores the user-defined suffix (user-defined databases) created

 

at setup; for example, dc=example,dc=com.

NOTE:

If a new database is created (for example, testRoot) to store the directory tree under a new suffix, the directory named testRoot also appears in the /var/opt/dirsrv/slapd-instance_name/db directory.

The following is a sample listing of the NetscapeRoot directory contents.

Example 4-2 NetscapeRoot database directory contents

./entrydn.db4*parentid.db4*

../givenName.db4*sn.db4* DBVERSION*id2entry.db4*uid.db4* aci.db4*nsUniqueId.db4*uniquemember.db4* ancestorid.db4*numsubordinates.db4* cn.db4*objectclass.db4*

The NetscapeRoot subdirectories contain an index_name db4file for every index currently defined in the database. In addition to these files, the NetscapeRoot and userRoot subdirectories contain the following files:

ancestorid.db4

Contains a list of IDs to find the ID of the entry's ancestor.

entrydn.db4

Contains a list of full DNs to find any ID.

id2entry.db4

Contains the actual directory database entries. All other database files can be recreated from this one, if necessary.

nsuniqueid.db4

Contains a list of unique IDs to find any ID.

numsubordinates.db4

Contains IDs that have child entries.

objectclass.db4

Contains a list of IDs which have a particular object class.

parentid.db4

Contains a list of IDs to find the ID of the parent.

170 Server instance file reference

Page 170
Image 170
HP UX Identity Security Software Used internally by the database and should not be moved, Deleted, or modified in any way