Set the jackrabbit cluster node ID.
This commit is contained in:
parent
ed19ccf2bd
commit
d0b8b42a93
|
@ -85,6 +85,7 @@ jackrabbit_cluster_db_user: 'ws-db-journal-user'
|
||||||
# jackrabbit_cluster_db_password: ''
|
# jackrabbit_cluster_db_password: ''
|
||||||
jackrabbit_cluster_db_url: 'jdbc:{{ jackrabbit_cluster_db_type }}://{{ jackrabbit_cluster_db_host }}/{{ jackrabbit_cluster_db_name }}'
|
jackrabbit_cluster_db_url: 'jdbc:{{ jackrabbit_cluster_db_type }}://{{ jackrabbit_cluster_db_host }}/{{ jackrabbit_cluster_db_name }}'
|
||||||
jackrabbit_cluster_db_tableprefix: 'journal_'
|
jackrabbit_cluster_db_tableprefix: 'journal_'
|
||||||
|
jackrabbit_cluster_node_id: '{{ ansible_fqdn }}'
|
||||||
# Set it to true if we want to clean the journal daily
|
# Set it to true if we want to clean the journal daily
|
||||||
jackrabbit_cluster_janitor_enabled: 'false'
|
jackrabbit_cluster_janitor_enabled: 'false'
|
||||||
|
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
</PersistenceManager>
|
</PersistenceManager>
|
||||||
</Versioning>
|
</Versioning>
|
||||||
<!-- Cluster configuration -->
|
<!-- Cluster configuration -->
|
||||||
<Cluster id="node1" syncDelay="2000">
|
<Cluster id="{{ jackrabbit_cluster_node_id }}" syncDelay="2000">
|
||||||
<Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
|
<Journal class="org.apache.jackrabbit.core.journal.DatabaseJournal">
|
||||||
<param name="driver" value="{{ jackrabbit_cluster_db_driver }}" />
|
<param name="driver" value="{{ jackrabbit_cluster_db_driver }}" />
|
||||||
<param name="url" value="{{ jackrabbit_cluster_db_url }}" />
|
<param name="url" value="{{ jackrabbit_cluster_db_url }}" />
|
||||||
|
|
Loading…
Reference in New Issue