Sharing EFS data dir : Error Node Locks for multiple Instances :

We are Using 9.9 LTS enterprise Sonarqube , We added EFS mount to use for external data dir, to avoid re-indexing of the data when server is destroyed. Now we are getting following error when using data same directory for multiple Sonarqube instances.

Caused by: java.lang.IllegalStateException: failed to obtain node locks, tried [[/opt/sonar/data/es7]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storage_nodes] (was [1])?

Some say delete es7 folder , it is temporary fix but I am looking for some permanent fix ? Can sonarqube support using same data directory for multiple instances, what do I need to do avoid re-indexing when new server is launched from Auto scalling group ?

Hey there.


Multiple nodes is only supported in Data Center Edition. Enterprise Edition only supports a single node.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.