Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hidra
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
steinbac
hidra
Commits
0982a8cb
Commit
0982a8cb
authored
8 years ago
by
Manuela Kuhn
Browse files
Options
Downloads
Patches
Plain Diff
Updated windows example config
parent
97b6e3ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conf/dataManager_windows.conf
+100
-34
100 additions, 34 deletions
conf/dataManager_windows.conf
with
100 additions
and
34 deletions
conf/dataManager_windows.conf
+
100
−
34
View file @
0982a8cb
#########################################
#### Logging Configuration ####
#########################################
# Path where the logfile will be created
logfilePath
=
D
:\
zeromq
-
data
-
transfer
\
logs
# Filename used for logging
logfileName
=
dataManager
.
log
# File size before rollover in B (linux only)
logfileSize
=
10485760
;
#10 MB
#########################################
#### SignalHandler Configuration ####
#########################################
# Port number to receive signals from
comPort
=
50000
# List of hosts allowed to connect
whitelist
= [
"localhost"
,
"zitpcx19282"
,
"zitpcx22614"
,
"zitpcx17858"
]
# ZMQ port to get new requests
requestPort
=
50001
# ZMQ port to forward requests
# (needed if running on Windows)
requestFwPort
=
50002
# ZMQ port to disribute control signals
# (needed if running on Windows)
controlPubPort
=
50005
controlSubPort
=
50006
#########################################
#### EventDetector Configuration ####
#########################################
# Type of event detector to use (options are: InotifyxDetector, WatchdogDetector, ZmqDetector, HttpGetDetector)
#eventDetectorType = InotifyxDetector
eventDetectorType
=
WatchdogDetector
#eventDetectorType = ZmqDetector
#eventDetectorType = HttpDetector
# Subdirectories to be monitored and to store data to
# (needed if eventDetector is InotifyxDetector or WatchdogDetector or dataFetchter is getFromFile)
fixSubdirs
= [
"commissioning"
,
"current"
,
"local"
]
# Directory to be monitor for changes
# Inside this directory only the subdirectories "commissioning", "current" and "local" are monitored
# (needed if eventDetector is InotifyxDetector or WatchdogDetector)
monitoredDir
=
D
:\
zeromq
-
data
-
transfer
\
data
\
source
# Target to move the files into
localTarget
=
D
:\
zeromq
-
data
-
transfer
\
data
\
target
# Type of event detector to use (options are: inotifyx, watchdog, zmq)
#eventDetectorType = inotifyx
eventDetectorType
=
watchdog
#eventDetectorType = zmq
# Event type of files to be monitored (options are: IN_CLOSE_WRITE, IN_MOVED_TO, ...)
# (needed if eventDetector is InotifyxDetector or WatchdogDetector)
monitoredEventType
=
IN_CLOSE_WRITE
# Subdirectories of watchDir to be monitored
monitoredSubdirs
= [
"commissioning"
,
"current"
,
"local"
]
# The formats to be monitored, files in an other format will be be neglected
# (needed if eventDetector is InotifyxDetector or WatchdogDetector)
monitoredFormats
= [
".tif"
,
".cbf"
]
# Number of events stored to look for doubles
# (needed if eventDetector is InotifyxDetector or HttpDetector)
historySize
=
0
# Time (in seconds) since last modification after which a file will be seen as closed
# (needed if eventDetector is WatchdogDetector)
timeTillClosed
=
2
# List of hosts allowed to connect
whitelist
= [
"localhost"
,
"zitpcx19282"
,
"zitpcx22614"
,
"zitpcx17858"
]
# ZMQ port to get events from
# (needed if eventDetectorType is ZmqDetector)
eventPort
=
50003
# Tango device proxy for the detector
# (needed if eventDetectorType is HttpDetector)
#detectorDevice = "haspp10lab:10000/p10/eigerdectris/lab.01"
detectorDevice
=
haspp06
:
10000
/
p06
/
eigerdectris
/
exp
.
01
# Tango device proxy for the filewriter
# (needed if eventDetectorType is HttpDetector)
#filewriterDevice = "haspp10lab:10000/p10/eigerfilewriter/lab.01"
filewriterDevice
=
haspp06
:
10000
/
p06
/
eigerfilewriter
/
exp
.
01
#########################################
#### DataFetcher Configuration ####
#########################################
# Module with methods specifying how to get the data (options are "getFromFile", "getFromZmq", "getFromHttp")
dataFetcherType
=
getFromFile
#dataFetcherType = getFromZmq
#dataFetcherType = getFromHttp
# If "getFromZmq" is specified as dataFetcherType it needs a port to listen to
# (needed if eventDetectorType is ZmqDetector)
dataFetcherPort
=
50010
# Number of parallel data streams
# if this number is modifified, the port numbers also have to be adjusted
numberOfStreams
=
1
# Enable ZMQ pipe into storage system (
if set to False: the file is moved into the localTarge
t)
# Enable ZMQ pipe into storage system (
uses the fixedStreamHost and fixedStreamPor
t)
useDataStream
=
True
# Fixed host to send the data to with highest priority
fixedStreamHost
=
zitpcx19282
# Fixed Port to send the data to with highest priority
fixedStreamPort
=
50100
# Port number to receive signals from
comPort
=
50000
# ZMQ port to get new requests
requestPort
=
50001
# ZMQ port to forward requests
requestFwPort
=
50002
# ZMQ port to get events from (only needed if eventDetectorType is zmq)
eventPort
=
50003
# ZMQ-router port which coordinates the load-balancing to the worker-processes
routerPort
=
50004
# ZMQ-pull-socket port which deletes/moves given files
cleanerPort
=
50005
# Chunk size of file-parts getting send via zmq
chunkSize
=
10485760
;
# = 1024*1024*10
#chunkSize = 1073741824 ; # = 1024*1024*1024
# Path where the logfile will be created
logfilePath
=
D
:\
zeromq
-
data
-
transfer
\
logs
# ZMQ-router port which coordinates the load-balancing to the worker-processes
# (needed if running on Windows)
routerPort
=
50004
#
Filename used for logging
lo
gfileName
=
dataManager
.
log
#
Target to move the files into
lo
calTarget
=
D
:\
zeromq
-
data
-
transfer
\
data
\
target
# File size before rollover in B (linux only)
logfileSize
=
10485760
;
#10 MB
# Flag describing if the data should be stored in localTarget
# (needed if dataFetcherType is getFromFile or getFromHttp)
storeData
=
False
# Flag describing if the files should be removed from the source
# (needed if dataFetcherType is getFromHttp)
removeData
=
True
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment