How is the cluster.node.serverId build?

  Written by The Jahia Team
   Estimated reading time:
7.1.2.0

jahia.node.properties under digital-factory-config/jahia/contains a property named cluster.node.serverId

  • How is this property built?
  • Is it safe when cloning Jahia folder to change it?

Answer

At installation time, Jahia generate a UUID to ensure that each cluster node id is unique.
From https://wiki.apache.org/jackrabbit/Clustering#Unique_Cluster_Node_ID it is safe to use any kind of identifier for this property as long as this ID is unique on each cluster nodes. It could be changed by a script once the Jahia folder has been cloned.