neo.conf 661 Bytes
Newer Older
Yoshinori Okuji's avatar
Yoshinori Okuji committed
1
# Default parameters.
2
[DEFAULT]
3 4
# The cluster name
name: main
Yoshinori Okuji's avatar
Yoshinori Okuji committed
5
# The list of master nodes.
6
master_nodes: 127.0.0.1:10010 127.0.0.1:10011
7
# Partition table configuration
Yoshinori Okuji's avatar
Yoshinori Okuji committed
8
replicas: 1
9 10
partitions: 20
# The database credentials
Yoshinori Okuji's avatar
Yoshinori Okuji committed
11 12
user: neo
password: neo
13 14
# The type of connection among nodes
connector: SocketConnector
Yoshinori Okuji's avatar
Yoshinori Okuji committed
15

16 17 18 19 20
# Admin node
[admin]
server: 127.0.0.1:5555

# Master nodes
21 22 23 24 25
[master1]
server: 127.0.0.1:10010

[master2]
server: 127.0.0.1:10011
26

27
# Storage nodes
Yoshinori Okuji's avatar
Yoshinori Okuji committed
28 29 30
[storage1]
database: neo1
server: 127.0.0.1:10020
31 32 33 34 35

[storage2]
database: neo2
server: 127.0.0.1:10021

36 37 38 39 40 41 42 43
[storage3]
database: neo3
server: 127.0.0.1:10022

[storage4]
database: neo4
server: 127.0.0.1:10023