Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monitor-NaviX
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
ETP-HTC
monitor-NaviX
Commits
6a545449
Commit
6a545449
authored
6 years ago
by
Christoph Heidecker
Browse files
Options
Downloads
Patches
Plain Diff
* Added example file for known_servers.yml
parent
609d274a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NaviXMon.py
+2
-2
2 additions, 2 deletions
NaviXMon.py
known_servers.yml.example
+13
-0
13 additions, 0 deletions
known_servers.yml.example
with
15 additions
and
2 deletions
NaviXMon.py
+
2
−
2
View file @
6a545449
...
...
@@ -133,8 +133,8 @@ def read_server_list():
print_with_color
(
'
XRootD cache IP(s):
'
+
str
(
IP
),
color
=
'
grey
'
)
print_with_color
(
'
=> HTCondor constraint:
'
+
str
(
server
.
get
(
'
wn_constraint
'
))
+
'
, worker node IP(s):
'
+
str
(
server
.
get
(
'
wn_ip
'
)),
color
=
'
grey
'
)
if
server
.
get
(
'
weight
'
)
is
not
None
:
print_with_color
(
'
=> weight:
'
+
str
(
server
.
get
(
'
weight
'
)),
color
=
'
grey
'
)
if
server
.
get
(
'
cache_
weight
'
)
is
not
None
:
print_with_color
(
'
=> weight:
'
+
str
(
server
.
get
(
'
cache_
weight
'
)),
color
=
'
grey
'
)
is_empty
=
False
if
is_empty
:
...
...
This diff is collapsed.
Click to expand it.
known_servers.yml.example
0 → 100644
+
13
−
0
View file @
6a545449
# Configuration of NaviX: Cache to worker node location:
# ------------------------------------------------------
# <IP address/range of XRootD cache(s)>:
# wn_constraint: <string interpreted as HTCondor constraint for worker nodes>
# wn_ip: <IP range that is (optional, otherwise same as XRootD cache(s)>
# cache_weight: <weight for each cache used for HTCondor Rank calculation (optional, otherwise default)>
#
# Example:
#
192.168.178.1/32:
wn_constraint: machine == "example.com"
wn_ip: 192.168.178.2/32
cache_weight: 100
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