Skip to content

Add loki logs, update Fabric dashboard to include port/phy state over time, add mysql SlurmDB accounting server - #148

Open
brennentsmith-runpod wants to merge 3 commits into
mainfrom
add-loki-logs
Open

Add loki logs, update Fabric dashboard to include port/phy state over time, add mysql SlurmDB accounting server#148
brennentsmith-runpod wants to merge 3 commits into
mainfrom
add-loki-logs

Conversation

@brennentsmith-runpod

Copy link
Copy Markdown
Contributor

No description provided.

Brennen Smith and others added 3 commits July 17, 2026 15:14
Loki (head-node log store) and Grafana Alloy (per-node shipper) collect
Slurm logs from every node into Loki on node-0. Alloy parses each line
into low-cardinality level/component labels plus job_id structured
metadata and re-stamps entries with their event time.

- Loki 3.7.3 + Alloy 1.17.1 (pinned + SHA-256 verified) in the Dockerfile
- supervisor programs: alloy (every node), loki (node-0 only)
- post_start starts loki on the head node
- Grafana Loki datasource + "Slurm Logs" dashboard (+ home nav link)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Integrate the externally-authored SemiAnalysis "Fabric & Interconnect"
dashboard, converted from Grafana's v2 (Scenes) schema to the repo's
classic schemaVersion 39 (uid preserved so the home nav link still
works). Regroups the panels into InfiniBand/RoCE, PCIe (DCGM), Ethernet
Fabric, TCP Health, and Clock Sync sections.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Install MariaDB (server + client) and run it on node-0 only as the
Slurm accounting (slurmdbd) backend. On the head node, post_start
initialises the datadir, starts mariadbd, and ensures the slurm_acct_db
database + slurm user exist (slurmdbd creates the tables itself).

- datadir scoped per cluster instance: /workspace/slurm-acct-db/$RUNPOD_POD_ID
  (no stable per-cluster id exists; avoids two clusters sharing a network
  volume corrupting one InnoDB datadir)
- adaptive run-user: mysql normally, root when /workspace forbids chown
- clears a partial datadir left by a failed init; loopback bind only
- SchedMD-recommended InnoDB tuning; db/user/pass overridable via env

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants