directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <>
Subject [DAS] Programmatic Creation of Partitions Feature
Date Wed, 11 Apr 2007 22:07:39 GMT
Just throwing this out here as an idea.

I think it would be great if the DAS could
create a partition programmatically.

That saves users from having to configure both
the DAS and the directory server.

Using a little convention it saves them from
configuring the new partition all together.

I was thinking about how this could be accomplished.

One way would be to trigger the partition creation
programmatically, then serialize the corresponding
configuration file, possibly overwriting the existing one.

However if this goes wrong, then configuration file has to
be restored from somewhere else.

The other idea, is that when a partition gets created
programmatically the server simply saves a file with
the partition information in it named after the partition...
for instance


Then it reads com.xml again, and verifies that it's correct
before allowing any information to be written to the partition.

Then next time the server starts it just reads server.xml
and all *.xml files in the conf directory.

A utility could be provided to merge the main configuration file,
and the individual partition files when necessary.



View raw message