forked from opencurve/curve
-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
4747da1
commit c36170d
Showing
11 changed files
with
193 additions
and
248 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
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 |
---|---|---|
|
@@ -12,4 +12,4 @@ systemctl daemon-reload | |
systemctl enable nebd-daemon.service | ||
systemctl start nebd-daemon.service | ||
|
||
exit 0 | ||
exit 0 |
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,13 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
mkdir -p /var/lib/nebd/lock | ||
mkdir -p /var/log/nebd/client | ||
mkdir -p /var/log/nebd/server | ||
mkdir -p /var/log/curve | ||
|
||
chown -R root:root /var/log/curve | ||
chmod -R 777 /var/log/curve | ||
|
||
exit 0 |
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,28 @@ | ||
# part2 socket file address | ||
nebdserver.serverAddress=/var/lib/nebd/nebd.sock | ||
|
||
# 文件锁路径 | ||
metacache.fileLockPath=/var/lib/nebd/lock | ||
|
||
# 同步rpc的最大重试次数 | ||
request.syncRpcMaxRetryTimes=50 | ||
# rpc请求的重试间隔 | ||
request.rpcRetryIntervalUs=100000 | ||
# rpc请求的最大重试间隔 | ||
request.rpcRetryMaxIntervalUs=64000000 | ||
# rpc hostdown情况下的重试时间 | ||
request.rpcHostDownRetryIntervalUs=10000 | ||
# brpc的健康检查周期时间,单位s | ||
request.rpcHealthCheckIntervalS=1 | ||
# brpc从rpc失败到进行健康检查的最大时间间隔,单位ms | ||
request.rpcMaxDelayHealthCheckIntervalMs=100 | ||
# rpc发送执行队列个数 | ||
request.rpcSendExecQueueNum=2 | ||
|
||
# heartbeat间隔 | ||
heartbeat.intervalS=5 | ||
# heartbeat rpc超时时间 | ||
heartbeat.rpcTimeoutMs=500 | ||
|
||
# 日志路径 | ||
log.path=/var/log/nebd/client |
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,14 @@ | ||
# curve-client配置文件地址 | ||
curveclient.confPath=/etc/curve/client.conf | ||
|
||
#brpc server监听端口 | ||
listen.address=/var/lib/nebd/nebd.sock | ||
|
||
#元数据文件地址,包含文件名 | ||
meta.file.path=/var/lib/nebd/nebdserver.meta | ||
|
||
#心跳超时时间 | ||
heartbeat.timeout.sec=30 | ||
|
||
#文件超时检测时间间隔 | ||
heartbeat.check.interval.ms=3000 |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.