Skip to content
This repository was archived by the owner on Dec 9, 2021. It is now read-only.

Commit e6e6943

Browse files
committed
1 parent d267d77 commit e6e6943

File tree

3 files changed

+93
-0
lines changed

3 files changed

+93
-0
lines changed

conf/client.conf

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# This file contains some properties used to connect to an
2+
# instance of CloudB.
3+
#
4+
5+
# The location of the manager server on the network.
6+
manager_address=127.0.0.1:3500
7+
8+
# The password assigned to the network.
9+
network_password=123456

conf/network.conf

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Network configuration
2+
# =====================
3+
4+
# A comma separated list of IP addresses of all machines in
5+
# the network that are permitted to connect to the node. A
6+
# node will reject any connections from IP addresses not in
7+
# this whitelist.
8+
#
9+
# This list must contain the list of all IP addresses that
10+
# are allowed to connect to the network instance.
11+
#
12+
# If this property is '*' then connections are accepted from
13+
# all sources (not recommended in public networks).
14+
#
15+
# Usage example;
16+
#
17+
# connect_whitelist=127.0.0.1,\
18+
# 192.168.12.10, 192.168.12.11,\
19+
# 192.168.12.12, 192.168.12.15,\
20+
# 192.168.13.100
21+
#
22+
# In this demonstration;
23+
# Only allow localhost connections to this node.
24+
25+
connect_whitelist=127.0.0.1
26+
27+
28+
# A comma separated list of machine nodes on the network.
29+
# Each entry is formatted as [address]:[port]. This list
30+
# is used for network discovery.
31+
#
32+
# Usage example;
33+
#
34+
# network_nodelist=\
35+
# 192.168.12.10:3500, 192.168.12.11:3500,\
36+
# http://db1.example.com:3600, localhost:3500
37+
#
38+
# In this demonstration;
39+
# We are running 1 node on port 3500 of localhost.
40+
41+
network_nodelist=127.0.0.1:3500

conf/node.conf

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Node configuration
2+
# ==================
3+
4+
# The node configuration defines general properties used
5+
# MachineNode application.
6+
# This file must be deployed together with each node
7+
# installation. This configuration should not be needed
8+
# to be changed from its initial version but an
9+
# administrator may find it useful to change this file
10+
# after deployment for tweaking/debugging an
11+
# installation.
12+
13+
14+
# The network password needed to talk with the nodes on
15+
# the network. All machines in a network must
16+
# share the same network password.
17+
# NOTE: You need to set this.
18+
19+
network_password = 123456
20+
21+
22+
# The location in the local filesystem of the directory
23+
# that stores stateful data of the roles running on the
24+
# machine.
25+
26+
node_directory = ./base
27+
28+
29+
# The directory location in the local filesystem to store
30+
# logging information.
31+
32+
log_directory = ./log
33+
34+
35+
# The minimum log level to report (inclusive),
36+
37+
log_level = debug
38+
39+
40+
# The size of the root server transaction cache. The
41+
# default size is 14MB.
42+
43+
root_server_transaction_cache = default

0 commit comments

Comments
 (0)