neo.conf 637 Bytes
Newer Older
Yoshinori Okuji's avatar
Yoshinori Okuji committed
1
# Default parameters.
2
[DEFAULT]
Yoshinori Okuji's avatar
Yoshinori Okuji committed
3
# The list of master nodes.
4
master_nodes: 127.0.0.1:10010 127.0.0.1:10011 127.0.0.1:10012
Yoshinori Okuji's avatar
Yoshinori Okuji committed
5 6 7 8 9 10 11 12 13 14
# The number of replicas.
replicas: 1
# The number of partitions.
partitions: 1009
# The name of this cluster.
name: main
# The user name for the database.
user: neo
# The password for the database.
password: neo
15 16
# The type of connection among nodes
connector: SocketConnector
Yoshinori Okuji's avatar
Yoshinori Okuji committed
17

Yoshinori Okuji's avatar
Yoshinori Okuji committed
18
# The first master.
19 20 21
[master1]
server: 127.0.0.1:10010

Yoshinori Okuji's avatar
Yoshinori Okuji committed
22
# The second master.
23 24
[master2]
server: 127.0.0.1:10011
25

Yoshinori Okuji's avatar
Yoshinori Okuji committed
26
# The third master.
27 28
[master3]
server: 127.0.0.1:10012
Yoshinori Okuji's avatar
Yoshinori Okuji committed
29 30 31 32 33

# The first storage.
[storage1]
database: neo1
server: 127.0.0.1:10020