Configure the repository server cluster by setting these properties in the alfresco-global.properties file.
Note: These properties are optional.
Property | Description |
---|---|
alfresco.cluster.enabled | This enables clustering, for example true. |
alfresco.cluster.interface | This specifies a particular network interface to use for clustering. It might be a wildcard value, such as 10.256.*.*, which means an attempt is made to bind with an interface having an IP address beginning with 10.256. |
alfresco.cluster.nodetype | This specifies the human-friendly description of the cluster member, for example Repository Server. It is useful to give a name to the non-clustered servers, such as a transformation server that it attached to the same database as the cluster, but not participating in it (for example, alfresco.cluster.enabled=false). |
alfresco.hazelcast.port | This specifies the port to use for clustering, for example 5701. |
alfresco.hazelcast.autoinc.port | This enables Hazelcast to make several attempts to find a free port starting at the value of alfresco.hazelcast.port.Note: It’s recommended that you do not use this property, for example false. |
alfresco.hazelcast.max.no.heartbeat.seconds | This specifies the maximum timeout of heartbeat in seconds for a node to assume it is dead, for example 15. |
alfresco.hazelcast.embedded | This specifies if Hazelcast should be embedded or if the repository should rely on an external Hazelcast cluster instead. Default: true. |
alfresco.hazelcast.client.address | This specifies the address of one of the members of the external Hazelcast cluster to connect to, for example 192.168.1.123:5701.This is only relevant if alfresco.hazelcast.embedded=false. |
alfresco.hazelcast.client.configLocation | This specifies location of the XML file that is used to configure the Hazelcast client used by Alfresco to connect to the external Hazelcast cluster. Default: classpath:alfresco/hazelcast/hazelcast-client.xml.This is only relevant if alfresco.hazelcast.embedded=false. |
alfresco.cluster.name | This needs to match the name of the configured external Hazelcast cluster if alfresco.hazelcast.embedded=false. |
alfresco.cluster.additional-members | This should be a comma-separated list of all external Hazelcast members that are not already configured as the alfresco.hazelcast.client.address for any ACS instance in the cluster, for example 192.168.1.124:5701,192.168.1.125:5701.This is only relevant if alfresco.hazelcast.embedded=false. |