Hello,
I installed SPectrum in clulster with modules (LIM, etc.) and the two nodes do not synchronize. For example : In Spatial Manager, creating a directory on node 1. Does not display on node 2.
The repositroy.xml file has been replaced by repository.postgres.xml (cp -p repository.postgres.xml repositroy.xml)
After that, I set up the file :
The password and user have been replaced by characters x
Node 1 :
<DataSources>
<DataSource name="spatialrepo">
<param name="databaseType" value="postgresql"/>
<param name="driver" value="org.postgresql.Driver"/>
<param name="url" value="jdbc:postgresql://10.118.33.128:9419/geo_ssa"/>
<param name="user" value="xxxxxxxxxx"/>
<param name="password" value="xxxxxxxxx"/>
<param name="validationQuery" value="select 1"/>
</DataSource>
</DataSources>
<Cluster id="node1" syncDelay="2000">
<Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
<param name="revision" value="${rep.home}/revision.log" />
<param name="dataSourceName" value="spatialrepo"/>
<param name="schemaObjectPrefix" value="rep_"/>
<param name="janitorEnabled" value="false" />
<param name="janitorSleep" value="86400" />
<param name="janitorFirstRunHourOfDay" value="3" />
</Journal>
</Cluster>
Node 2 :
<DataSources>
<DataSource name="spatialrepo">
<param name="databaseType" value="postgresql"/>
<param name="driver" value="org.postgresql.Driver"/>
<param name="url" value="jdbc:postgresql://10.118.33.128:9419/geo_ssa"/>
<param name="user" value="xxxxxxxxxx"/>
<param name="password" value="xxxxxxxxx"/>
<param name="validationQuery" value="select 1"/>
</DataSource>
</DataSources>
<Cluster id="node2" syncDelay="2000">
<Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
<param name="revision" value="${rep.home}/revision.log" />
<param name="dataSourceName" value="spatialrepo"/>
<param name="schemaObjectPrefix" value="rep_"/>
<param name="janitorEnabled" value="false" />
<param name="janitorSleep" value="86400" />
<param name="janitorFirstRunHourOfDay" value="3" />
</Journal>
</Cluster>
After these modifications, I have run the command limrepo import
In the rep_journal table of the production database, for each modification there is indeed an entry.
Thanks for your help,
------------------------------
Augustin Boyer
GEO RM
Jaunay-Marigny
------------------------------