diff --git a/neo.conf b/neo.conf index 480b5ba6423831fb7e81eff15a4982e8e9dd7e1b..621ee5ef4989eefae82a935c02a883ca767b2974 100644 --- a/neo.conf +++ b/neo.conf @@ -1,33 +1,35 @@ # Default parameters. [DEFAULT] +# The cluster name +name: main # The list of master nodes. -master_nodes: 127.0.0.1:10010 127.0.0.1:10011 127.0.0.1:10012 -# The number of replicas. +master_nodes: 127.0.0.1:10010 127.0.0.1:10011 +# Partition table configuration replicas: 1 -# The number of partitions. -partitions: 1009 -# The name of this cluster. -name: main -# The user name for the database. +partitions: 20 +# The database credentials user: neo -# The password for the database. password: neo # The type of connection among nodes connector: SocketConnector -# The first master. +# Admin node +[admin] +server: 127.0.0.1:5555 + +# Master nodes [master1] server: 127.0.0.1:10010 -# The second master. [master2] server: 127.0.0.1:10011 -# The third master. -[master3] -server: 127.0.0.1:10012 - -# The first storage. +# Storage nodes [storage1] database: neo1 server: 127.0.0.1:10020 + +[storage2] +database: neo2 +server: 127.0.0.1:10021 +