From bc062fbb650df939c93d88520e822e9df8abc4be Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 10 Jun 2016 19:02:14 +0200 Subject: up --- conf/alt-servers | 3 --- conf/server.conf | 10 +++++----- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'conf') diff --git a/conf/alt-servers b/conf/alt-servers index fd2f2ec..8b13789 100644 --- a/conf/alt-servers +++ b/conf/alt-servers @@ -1,4 +1 @@ -192.168.100.10 Some alt server -+192.168.100.100 My first alt server that will not be used for replication --192.168.100.50 Super sectret alt server that will be used for replication, but clients don't know about it diff --git a/conf/server.conf b/conf/server.conf index c32d907..d50c78d 100644 --- a/conf/server.conf +++ b/conf/server.conf @@ -2,17 +2,17 @@ ; port to listen on (default: 5003) listenPort=5003 ; relative root directory for images, ending in .r[1-9][0-9]* -basePath=/mnt/storage/dnbd3 +basePath=/media/data/dnbd3 ; artificial connection delay for connecting servers serverPenalty=100000 ; artificial connection delay for connecting clients clientPenalty=0 ; is this server a proxy? if true, requests for non-existing images will be relayed to known alt-servers -isProxy=true +isProxy=false ; if proxy is true and an image is incomplete, should idle bandwidth be used to replicate missing blocks? -backgroundReplication=true +backgroundReplication=false ; if true (which is the default), images will automatically be removed from the list if they can't be accessed -removeMissingImages=true +removeMissingImages=false ; timeout in ms for send/recv on connections to uplink servers (used for replication) uplinkTimeout=1250 ; timeout in ms for send/recv on connections to clients (using an image on this server) @@ -23,7 +23,7 @@ clientTimeout=15000 ; log file path and name ; comment out to disable logging to file ; protip: use SIGUSR2 to reopen log file -file=./dnbd3.log +file=/home/joe/dev/dnbd3/dnbd3.log ; which type of messages to log to file fileMask=ERROR WARNING MINOR INFO DEBUG1 ; which to log to console (stdout) -- cgit v1.2.3-55-g7522