Skip to content
Snippets Groups Projects
Commit 75f788a2 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

more nomad files

parent 262e181b
No related branches found
No related tags found
2 merge requests!29Feature filemon,!93Release 20.03.01
job "asapo-test" {
datacenters = [
"dc1"]
type = "batch"
group "filegen-windows" {
constraint {
attribute = "${attr.kernel.name}"
value = "windows"
}
count = 1
task "filegen" {
driver = "raw_exec"
config {
command = "local/filegen_win.exe"
args = [
"1",
"1M",
"10",
"c:/tmp/asapo/test_in/test_folder/file_win"]
}
artifact {
source = "http://nims.desy.de/extra/asapo/filegen_win.exe"
mode = "file"
destination = "local/filegen_win.exe"
}
}
}
#windows
group "filegen-linux" {
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
constraint {
attribute = "${meta.location}"
value = "petra3"
}
count = 1
task "filegen" {
driver = "raw_exec"
config {
command = "local/filegen_linux"
args = [
"1",
"1M",
"10",
"/tmp/asapo/test_in/test_folder/file_lin_"]
}
artifact {
source = "http://nims.desy.de/extra/asapo/filegen_linux"
mode = "file"
destination = "local/filegen_linux"
}
}
}
group "worker-linux1" {
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
# constraint {
# attribute = "${meta.location}"
# operator = "!="
# value = "petra3"
# }
count = 1
task "worker-linux" {
driver = "raw_exec"
config {
command = "local/getnext_broker"
args = [
"psana002:8400",
"asapo_test1",
"16",
"oTsKsj8i6WcW_gVzeIFvZCtSfMErjDELJEyAI23n7Ik=",
"30000"]
}
resources {
cpu = 5000
memory = 128
network {
mbits = 10000
}
}
artifact {
source = "http://nims.desy.de/extra/asapo/getnext_broker"
}
}
}
# worker-linux1
group "worker-linux2" {
constraint {
attribute = "${attr.kernel.name}"
value = "linux"
}
# constraint {
# attribute = "${meta.location}"
# operator = "!="
# value = "petra3"
# }
count = 1
task "worker-linux" {
driver = "raw_exec"
config {
command = "local/getnext_broker"
args = [
"psana002:8400",
"asapo_test2",
"16",
"yzgAcLmijSLWIm8dBiGNCbc0i42u5HSm-zR6FRqo__Y=",
"30000"]
}
resources {
cpu = 5000
memory = 128
network {
mbits = 10000
}
}
artifact {
source = "http://nims.desy.de/extra/asapo/getnext_broker"
}
}
}
# worker-linux2
}
job "asapo-produceronly" {
job "asapo-filemon-producer" {
datacenters = [
"dc1"]
......@@ -34,7 +34,7 @@ job "asapo-produceronly" {
"Tag":"test_tag",
"BeamtimeID":"asapo_test1",
"Mode":"tcp",
"NThreads":1,
"NThreads":8,
"LogLevel":"debug",
"RootMonitoredFolder":"c:\\tmp\\asapo\\test_in",
"MonitoredSubFolders":["test_folder"],
......@@ -90,7 +90,7 @@ job "asapo-produceronly" {
"Tag":"test_tag",
"BeamtimeID":"asapo_test2",
"Mode":"tcp",
"NThreads":1,
"NThreads":8,
"LogLevel":"debug",
"RootMonitoredFolder":"/tmp/asapo/test_in",
"MonitoredSubFolders":["test_folder"],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment