cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Neo4j 5.1.0 : Unable host a new database in the SECONDARY server in a causal clsuter

 

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

bishnu12_0-1667910988253.png

Based on the docuementation given below

Hosting databases on added servers

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.

 

bishnu12_2-1667915788074.png

Is there any other way I can host this database ? Or am I missing something. 

Thanks,

Bishnu

0 REPLIES 0
Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online