# Whether this instance should only participate as slave in cluster. If # set to true, it will never be elected as master.
ha.slave_only=false //uncommenting this line
This line will let neo4j different instances play role as master or slave.
If master server down, slave will become master.
If master server up again, this server will become slave.