Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
11-08-2022 05:59 AM
Neo4j version: 5.1.0
Operating system: Linux
Installation Type: Cluster
Hello,
I am trying to setup a simple causal cluster of 3 PRIMARY and 1 SECONDARY node in 4 Linux VMs. I followed the documentation given for this https://neo4j.com/docs/operations-manual/5/clustering/servers/
I was able to deploy a basic cluster and the default neo4j database is avaialable in all the PRIMARY nodes. However, when I check my secondary node, I can only see the "system" database. So I used the command
````ENABLE SERVER '478397ef-b637-43e4-8a98-779c461d7161' OPTIONS {modeConstraint:'SECONDARY', allowedDatabases:['neo4j']};`
However I am not able to see the database (neo4j) being synced to the secondary.
"478397ef-b637-43e4-8a98-779c461d7161" - This is a secondary server
Based on the docuementation given below
Once enabled, a server does not automatically host databases unless:
New databases are created.
Existing database topologies are altered to request more hosts.
Another server is transitioned to the Deallocating state.
You explicitly rebalance the databases across the cluster.
I tried rebalacing the cluster using the command "REALLOCATE DATABASES", But that also didn't work.
Is there any other way I can host this database ? Or am I missing something.
Thanks,
Bishnu
All the sessions of the conference are now available online