jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Müller <thomas.muel...@day.com>
Subject Re: Problem with Clustering Setup (PostgreSQL)
Date Thu, 28 Oct 2010 13:04:09 GMT
Hi,

>> Each cluster node needs its own (private) workspace level and version
>> FileSystem (only those within the workspace and versioning configuration;
>> the ones in the repository.xml and workspace.xml file).

> Does it mean that the stuff under <Versioning> must not reside in the DB?

No, it means each cluster node needs its own FileSystem. That can be a
DbFileSystem, but it needs to be its own (not a shared one).

>        <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
>            <param name="driver" value="org.postgresql.Driver" />
>            <param name="url" value="${jackrabbit.repository.url}" />
>            <param name="user" value="${jackrabbit.repository.user}" />
>            <param name="password" value="${jackrabbit.repository.password}"

This is a shared one. Its own (private) means use a different database
(or schema) for each cluster node, for example:

        <FileSystem class="org.apache.jackrabbit.core.fs.db.DbFileSystem">
            <param name="driver" value="org.postgresql.Driver" />
            <param name="url"
value="${jackrabbit.repository.url}${clusterNodeId}" />
            <param name="user" value="${jackrabbit.repository.user}" />
            <param name="password" value="${jackrabbit.repository.password}"

Node the added "${clusterNodeId}".

Regards,
Thomas

Mime
View raw message