diff --git a/olat.local.properties.sample b/olat.local.properties.sample index 5498380a4bba643334ee1bada3853162eca362d6..478c51867ff3d107948c6dd2986e83f3a517b04f 100644 --- a/olat.local.properties.sample +++ b/olat.local.properties.sample @@ -69,9 +69,6 @@ supportemail=${adminemail} # amongst nodes within a cluster, if you are not clustering then you # can leave this value as is. instance.id=myopenolat -# some cluster settings -tomcat.id=2 -node.id=2 ######################################################################## # Misc / Developer settings diff --git a/src/main/resources/serviceconfig/olat.properties b/src/main/resources/serviceconfig/olat.properties index adb5eaea30050a9f6706cb2ee4caeb6b26f84261..05be3910e72a1bc1f4ce911c5f59a736435ec5db 100644 --- a/src/main/resources/serviceconfig/olat.properties +++ b/src/main/resources/serviceconfig/olat.properties @@ -475,6 +475,7 @@ shibbolethGeneric.default=false cluster.mode=SingleVM # each node requires a unique ID (1-64) starting at "1" node.id=1 +tomcat.id=${node.id} # certain servies (e.g., notifications, course logger etc. are not # cluster capable and can only run on a single node - set this to # enabled on that node