-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
freddie
committed
Dec 5, 2019
1 parent
0fe8765
commit cccc3a8
Showing
23 changed files
with
687 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
*/.DStore | ||
docker/data/ | ||
docker/logs/ | ||
nebula/.hgignore | ||
docker/secret/* | ||
nebula/store/ | ||
pom.xml | ||
pom.xml.asc | ||
*.class | ||
/classes/ | ||
nebula/target | ||
/target/ | ||
/checkouts/ | ||
.lein-deps-sum | ||
.lein-repl-history | ||
.lein-plugins/ | ||
.lein-failures | ||
.nrepl-port | ||
.cpcache/ | ||
.cpcache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM vesoft/nebula-storaged:nightly | ||
|
||
COPY run.sh / | ||
COPY start-stop-daemon /usr/bin/ | ||
|
||
RUN yum install -y openssh* sudo net-tools wget curl vim iptables initscripts make gcc gcc-c++ ncurses-devel | ||
|
||
COPY ./conf/sshd_config /etc/ssh/sshd_config | ||
|
||
RUN service sshd restart | ||
|
||
ENTRYPOINT ["/run.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
########## basics ########## | ||
# Whether to run as a daemon process | ||
--daemonize=true | ||
# The file to host the process id | ||
--pid_file=/root/pids/nebula-storaged.pid | ||
|
||
########## logging ########## | ||
# The directory to host logging files, which must already exists | ||
--log_dir=/logs | ||
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively | ||
--minloglevel=0 | ||
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging | ||
--v=0 | ||
# Maximum seconds to buffer the log messages | ||
--logbufsecs=0 | ||
|
||
########## networking ########## | ||
# Meta server address | ||
--meta_server_addrs=172.28.1.1:45500 | ||
# Local ip | ||
--local_ip=172.28.2.1 | ||
# Storage daemon listening port | ||
--port=44500 | ||
# HTTP service ip | ||
--ws_ip=172.28.2.1 | ||
# HTTP service port | ||
--ws_http_port=12000 | ||
# HTTP2 service port | ||
--ws_h2_port=12002 | ||
|
||
########## storage ########## | ||
# Root data path, multiple paths should be splitted by comma. | ||
# One path per instance, if --engine_type is `rocksdb' | ||
--data_path=/data/storage | ||
# The type of part manager, [memory | meta] | ||
--part_man_type=memory | ||
# The default reserved bytes for one batch operation | ||
--rocksdb_batch_size=4096 | ||
# The default block cache size used in BlockBasedTable. | ||
# The unit is MB. | ||
--rocksdb_block_cache=4 | ||
# The type of storage engine, `rocksdb', `memory', etc. | ||
--engine_type=rocksdb | ||
# The type of part, `simple', `consensus'... | ||
--part_type=simple | ||
|
||
############## rocksdb Options ############## | ||
--rocksdb_disable_wal=true | ||
# rocksdb DBOptions in json, each name and value of option is a string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_db_options={} | ||
# rocksdb ColumnFamilyOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_column_family_options={} | ||
# rocksdb BlockBasedTableOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_block_based_table_options={} | ||
|
||
--storage_kv_mode=true | ||
--raft_heartbeat_interval_secs=1 | ||
--load_data_interval_secs=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
########## basics ########## | ||
# Whether to run as a daemon process | ||
--daemonize=true | ||
# The file to host the process id | ||
--pid_file=/root/pids/nebula-storaged.pid | ||
|
||
########## logging ########## | ||
# The directory to host logging files, which must already exists | ||
--log_dir=/logs | ||
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively | ||
--minloglevel=0 | ||
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging | ||
--v=0 | ||
# Maximum seconds to buffer the log messages | ||
--logbufsecs=0 | ||
|
||
########## networking ########## | ||
# Meta server address | ||
--meta_server_addrs=172.28.1.1:45500 | ||
# Local ip | ||
--local_ip=172.28.2.2 | ||
# Storage daemon listening port | ||
--port=44500 | ||
# HTTP service ip | ||
--ws_ip=172.28.2.2 | ||
# HTTP service port | ||
--ws_http_port=12000 | ||
# HTTP2 service port | ||
--ws_h2_port=12002 | ||
|
||
########## storage ########## | ||
# Root data path, multiple paths should be splitted by comma. | ||
# One path per instance, if --engine_type is `rocksdb' | ||
--data_path=/data/storage | ||
# The type of part manager, [memory | meta] | ||
--part_man_type=memory | ||
# The default reserved bytes for one batch operation | ||
--rocksdb_batch_size=4096 | ||
# The default block cache size used in BlockBasedTable. | ||
# The unit is MB. | ||
--rocksdb_block_cache=4 | ||
# The type of storage engine, `rocksdb', `memory', etc. | ||
--engine_type=rocksdb | ||
# The type of part, `simple', `consensus'... | ||
--part_type=simple | ||
|
||
############## rocksdb Options ############## | ||
--rocksdb_disable_wal=true | ||
# rocksdb DBOptions in json, each name and value of option is a string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_db_options={} | ||
# rocksdb ColumnFamilyOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_column_family_options={} | ||
# rocksdb BlockBasedTableOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_block_based_table_options={} | ||
|
||
--storage_kv_mode=true | ||
--raft_heartbeat_interval_secs=1 | ||
--load_data_interval_secs=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
########## basics ########## | ||
# Whether to run as a daemon process | ||
--daemonize=true | ||
# The file to host the process id | ||
--pid_file=/root/pids/nebula-storaged.pid | ||
|
||
########## logging ########## | ||
# The directory to host logging files, which must already exists | ||
--log_dir=/logs | ||
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively | ||
--minloglevel=0 | ||
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging | ||
--v=0 | ||
# Maximum seconds to buffer the log messages | ||
--logbufsecs=0 | ||
|
||
########## networking ########## | ||
# Meta server address | ||
--meta_server_addrs=172.28.1.1:45500 | ||
# Local ip | ||
--local_ip=172.28.2.3 | ||
# Storage daemon listening port | ||
--port=44500 | ||
# HTTP service ip | ||
--ws_ip=172.28.2.3 | ||
# HTTP service port | ||
--ws_http_port=12000 | ||
# HTTP2 service port | ||
--ws_h2_port=12002 | ||
|
||
########## storage ########## | ||
# Root data path, multiple paths should be splitted by comma. | ||
# One path per instance, if --engine_type is `rocksdb' | ||
--data_path=/data/storage | ||
# The type of part manager, [memory | meta] | ||
--part_man_type=memory | ||
# The default reserved bytes for one batch operation | ||
--rocksdb_batch_size=4096 | ||
# The default block cache size used in BlockBasedTable. | ||
# The unit is MB. | ||
--rocksdb_block_cache=4 | ||
# The type of storage engine, `rocksdb', `memory', etc. | ||
--engine_type=rocksdb | ||
# The type of part, `simple', `consensus'... | ||
--part_type=simple | ||
|
||
############## rocksdb Options ############## | ||
--rocksdb_disable_wal=true | ||
# rocksdb DBOptions in json, each name and value of option is a string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_db_options={} | ||
# rocksdb ColumnFamilyOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_column_family_options={} | ||
# rocksdb BlockBasedTableOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_block_based_table_options={} | ||
|
||
--storage_kv_mode=true | ||
--raft_heartbeat_interval_secs=1 | ||
--load_data_interval_secs=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
########## basics ########## | ||
# Whether to run as a daemon process | ||
--daemonize=true | ||
# The file to host the process id | ||
--pid_file=/root/pids/nebula-storaged.pid | ||
|
||
########## logging ########## | ||
# The directory to host logging files, which must already exists | ||
--log_dir=/logs | ||
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively | ||
--minloglevel=0 | ||
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging | ||
--v=0 | ||
# Maximum seconds to buffer the log messages | ||
--logbufsecs=0 | ||
|
||
########## networking ########## | ||
# Meta server address | ||
--meta_server_addrs=172.28.1.1:45500 | ||
# Local ip | ||
--local_ip=172.28.2.4 | ||
# Storage daemon listening port | ||
--port=44500 | ||
# HTTP service ip | ||
--ws_ip=172.28.2.4 | ||
# HTTP service port | ||
--ws_http_port=12000 | ||
# HTTP2 service port | ||
--ws_h2_port=12002 | ||
|
||
########## storage ########## | ||
# Root data path, multiple paths should be splitted by comma. | ||
# One path per instance, if --engine_type is `rocksdb' | ||
--data_path=/data/storage | ||
# The type of part manager, [memory | meta] | ||
--part_man_type=memory | ||
# The default reserved bytes for one batch operation | ||
--rocksdb_batch_size=4096 | ||
# The default block cache size used in BlockBasedTable. | ||
# The unit is MB. | ||
--rocksdb_block_cache=4 | ||
# The type of storage engine, `rocksdb', `memory', etc. | ||
--engine_type=rocksdb | ||
# The type of part, `simple', `consensus'... | ||
--part_type=simple | ||
|
||
############## rocksdb Options ############## | ||
--rocksdb_disable_wal=true | ||
# rocksdb DBOptions in json, each name and value of option is a string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_db_options={} | ||
# rocksdb ColumnFamilyOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_column_family_options={} | ||
# rocksdb BlockBasedTableOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_block_based_table_options={} | ||
|
||
--storage_kv_mode=true | ||
--raft_heartbeat_interval_secs=1 | ||
--load_data_interval_secs=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
########## basics ########## | ||
# Whether to run as a daemon process | ||
--daemonize=true | ||
# The file to host the process id | ||
--pid_file=/root/pids/nebula-storaged.pid | ||
|
||
########## logging ########## | ||
# The directory to host logging files, which must already exists | ||
--log_dir=/logs | ||
# Log level, 0, 1, 2, 3 for INFO, WARNING, ERROR, FATAL respectively | ||
--minloglevel=0 | ||
# Verbose log level, 1, 2, 3, 4, the higher of the level, the more verbose of the logging | ||
--v=0 | ||
# Maximum seconds to buffer the log messages | ||
--logbufsecs=0 | ||
|
||
########## networking ########## | ||
# Meta server address | ||
--meta_server_addrs=172.28.1.1:45500 | ||
# Local ip | ||
--local_ip=172.28.2.5 | ||
# Storage daemon listening port | ||
--port=44500 | ||
# HTTP service ip | ||
--ws_ip=172.28.2.5 | ||
# HTTP service port | ||
--ws_http_port=12000 | ||
# HTTP2 service port | ||
--ws_h2_port=12002 | ||
|
||
########## storage ########## | ||
# Root data path, multiple paths should be splitted by comma. | ||
# One path per instance, if --engine_type is `rocksdb' | ||
--data_path=/data/storage | ||
# The type of part manager, [memory | meta] | ||
--part_man_type=memory | ||
# The default reserved bytes for one batch operation | ||
--rocksdb_batch_size=4096 | ||
# The default block cache size used in BlockBasedTable. | ||
# The unit is MB. | ||
--rocksdb_block_cache=4 | ||
# The type of storage engine, `rocksdb', `memory', etc. | ||
--engine_type=rocksdb | ||
# The type of part, `simple', `consensus'... | ||
--part_type=simple | ||
|
||
############## rocksdb Options ############## | ||
--rocksdb_disable_wal=true | ||
# rocksdb DBOptions in json, each name and value of option is a string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_db_options={} | ||
# rocksdb ColumnFamilyOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_column_family_options={} | ||
# rocksdb BlockBasedTableOptions in json, each name and value of option is string, given as "option_name":"option_value" separated by comma | ||
--rocksdb_block_based_table_options={} | ||
|
||
--storage_kv_mode=true | ||
--raft_heartbeat_interval_secs=1 | ||
--load_data_interval_secs=5 |
Oops, something went wrong.