How do I automate the copy of auth files in a clustered environment
In a clustered Neo4j implementation, user authentication files are recorded in each instance at $NEO4J_HOME/data/dbms. Since this defined per each instance in the cluster if for example you change the password of a user on instance 1, for consistency you should also then change the users password on the other instances.
Attached is a tgz file which can be used so as to automate the copying of $NEO4J_HOME/data/dbms from each instance to the other using linux rsync and then automating this to run via cron on a regular interval from each instance in the cluster.
This package is provided AS-IS.
Installation is as follows:
-
copy the .tgz to the linux server where instance 1 is defined.
-
untar the package as tar
Was this page helpful?