From 238b49bc216548c3bcf581109954c0b11acdaf59 Mon Sep 17 00:00:00 2001 From: Michael Panzlaff Date: Wed, 4 Mar 2026 17:25:26 +0100 Subject: [PATCH] add cc-slurm-adapter examples --- .../alex/cc-slurm-adapter.json | 42 +++++++++++++++++ .../fritz/cc-slurm-adapter.json | 19 ++++++++ .../helma/cc-slurm-adapter.json | 24 ++++++++++ .../tinyx/cc-slurm-adapter.json | 47 +++++++++++++++++++ .../woody/cc-slurm-adapter.json | 11 +++++ 5 files changed, 143 insertions(+) create mode 100644 nhr@fau/cc-slurm-adapter/alex/cc-slurm-adapter.json create mode 100644 nhr@fau/cc-slurm-adapter/fritz/cc-slurm-adapter.json create mode 100644 nhr@fau/cc-slurm-adapter/helma/cc-slurm-adapter.json create mode 100644 nhr@fau/cc-slurm-adapter/tinyx/cc-slurm-adapter.json create mode 100644 nhr@fau/cc-slurm-adapter/woody/cc-slurm-adapter.json diff --git a/nhr@fau/cc-slurm-adapter/alex/cc-slurm-adapter.json b/nhr@fau/cc-slurm-adapter/alex/cc-slurm-adapter.json new file mode 100644 index 0000000..186f258 --- /dev/null +++ b/nhr@fau/cc-slurm-adapter/alex/cc-slurm-adapter.json @@ -0,0 +1,42 @@ +{ + "ccRestUrl": "https://monitoring.nhr.fau.de", + "ccRestJwt": "XYZ", + "lastRunPath": "/home.local/hpcop/last_run", + "natsServer": "monitoring.nhr.fau.de", + "natsSubject": "alex", + "natsUser": "alex", + "natsPassword": "XYZ", + "slurmPollInterval": 300, + "gpuPciAddrs": { + "^(a0[1-4]\\d\\d|a052\\d|a162\\d|a172\\d)$" : [ + "00000000:01:00.0", + "00000000:25:00.0", + "00000000:41:00.0", + "00000000:61:00.0", + "00000000:81:00.0", + "00000000:A1:00.0", + "00000000:C1:00.0", + "00000000:E1:00.0" + ], + "^(a0704|a0731|a0832|a0833)$" : [ + "00000000:0E:00.0", + "00000000:13:00.0", + "00000000:49:00.0", + "00000000:4F:00.0", + "00000000:91:00.0", + "00000000:97:00.0", + "00000000:CD:00.0", + "00000000:D2:00.0" + ], + "^(a0[6-9]\\d\\d|a053\\d)$" : [ + "00000000:0E:00.0", + "00000000:13:00.0", + "00000000:49:00.0", + "00000000:4F:00.0", + "00000000:90:00.0", + "00000000:96:00.0", + "00000000:CC:00.0", + "00000000:D1:00.0" + ] + } +} diff --git a/nhr@fau/cc-slurm-adapter/fritz/cc-slurm-adapter.json b/nhr@fau/cc-slurm-adapter/fritz/cc-slurm-adapter.json new file mode 100644 index 0000000..047713e --- /dev/null +++ b/nhr@fau/cc-slurm-adapter/fritz/cc-slurm-adapter.json @@ -0,0 +1,19 @@ +{ + "ccRestUrl": "https://monitoring.nhr.fau.de", + "ccRestJwt": "XYZ", + "lastRunPath": "/home.local/hpcop/last_run", + "natsServer": "monitoring.nhr.fau.de", + "natsSubject": "fritz", + "natsUser": "fritz", + "natsPassword": "XYZ", + "slurmPollInterval": 300, + "ignoreHosts": "^fviz1$", + "gpuPciAddrs": { + "fviz1" : [ + "00000000:CE:00.0", + "00000000:CF:00.0", + "00000000:D0:00.0", + "00000000:D1:00.0" + ] + } +} diff --git a/nhr@fau/cc-slurm-adapter/helma/cc-slurm-adapter.json b/nhr@fau/cc-slurm-adapter/helma/cc-slurm-adapter.json new file mode 100644 index 0000000..c1264a9 --- /dev/null +++ b/nhr@fau/cc-slurm-adapter/helma/cc-slurm-adapter.json @@ -0,0 +1,24 @@ +{ + "ccRestUrl": "https://monitoring.nhr.fau.de", + "ccRestJwt": "XYZ", + "lastRunPath": "/home.local/hpcop/last_run", + "natsServer": "monitoring.nhr.fau.de", + "natsSubject": "helma", + "natsUser": "helma-slurm-adapter", + "natsPassword": "XYZ", + "slurmPollInterval": 300, + "gpuPciAddrs": { + "h1[1-4]-[0-9][0-9]" : [ + "00000000:06:00.0", + "00000000:26:00.0", + "00000000:A6:00.0", + "00000000:C6:00.0" + ], + "h2[0-9]-[0-9][0-9]" : [ + "00000000:06:00.0", + "00000000:26:00.0", + "00000000:A6:00.0", + "00000000:C6:00.0" + ] + } +} diff --git a/nhr@fau/cc-slurm-adapter/tinyx/cc-slurm-adapter.json b/nhr@fau/cc-slurm-adapter/tinyx/cc-slurm-adapter.json new file mode 100644 index 0000000..d77928a --- /dev/null +++ b/nhr@fau/cc-slurm-adapter/tinyx/cc-slurm-adapter.json @@ -0,0 +1,47 @@ +{ + "ccRestUrl": "https://monitoring.nhr.fau.de", + "ccRestJwt": "XYZ", + "lastRunPath": "/home.local/hpcop/last_run", + "natsServer": "monitoring.nhr.fau.de", + "natsSubject": "tinyx", + "natsUser": "tinyx", + "natsPassword": "XYZ", + "slurmPollInterval": 300, + "ignoreHosts": "^tg0[3-4]\\d$", + "gpuPciAddrs": { + "^tg04[0-9a-z]$" : [ + "00000000:02:00.0", + "00000000:03:00.0", + "00000000:82:00.0", + "00000000:83:00.0" + ], + "^tg06[0-9a-z]$" : [ + "00000000:18:00.0", + "00000000:3B:00.0", + "00000000:86:00.0", + "00000000:AF:00.0" + ], + "^tg07[0-9a-z]$" : [ + "00000000:18:00.0", + "00000000:3B:00.0", + "00000000:86:00.0", + "00000000:AF:00.0" + ], + "^tg08[0-9a-z]$" : [ + "00000000:1A:00.0", + "00000000:1B:00.0", + "00000000:3D:00.0", + "00000000:3E:00.0", + "00000000:B1:00.0", + "00000000:B2:00.0", + "00000000:DA:00.0", + "00000000:DB:00.0" + ], + "^tg09[0-9a-z]$" : [ + "00000000:01:00.0", + "00000000:41:00.0", + "00000000:81:00.0", + "00000000:C1:00.0" + ] + } +} diff --git a/nhr@fau/cc-slurm-adapter/woody/cc-slurm-adapter.json b/nhr@fau/cc-slurm-adapter/woody/cc-slurm-adapter.json new file mode 100644 index 0000000..5d1a41e --- /dev/null +++ b/nhr@fau/cc-slurm-adapter/woody/cc-slurm-adapter.json @@ -0,0 +1,11 @@ +{ + "ccRestUrl": "https://monitoring.nhr.fau.de", + "ccRestJwt": "XYZ", + "lastRunPath": "/home.local/hpcop/last_run", + "natsServer": "monitoring.nhr.fau.de", + "natsSubject": "woody", + "natsUser": "woody", + "natsPassword": "XYZ", + "slurmQueryMaxSpan": 86400, + "slurmPollInterval": 300 +}