Profiles bind a RAM-booted root image to overlay templates; assigning a machine allocates a node name and management IP, writes the per-MAC PXE entry with a per-node token and exports static leases for dnsmasq. Nodes pull rendered overlays (hosts, slurm.conf from inventory, gres.conf, SSH host key, munge key) through rollcall-overlay.service; the runtime refresh timer is the heartbeat. Adds the compute-debian13 image definition and a generic live-build root image script, CLI and web UI for profiles/assign. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
28 lines
1.1 KiB
Cheetah
28 lines
1.1 KiB
Cheetah
# rendered by rollcall {{ .Now }} - do not edit on the node
|
|
ClusterName={{ default "rollcall" .Vars.cluster_name }}
|
|
SlurmctldHost={{ .Vars.slurm_controller }}({{ .Vars.slurm_controller_ip }})
|
|
SlurmUser=slurm
|
|
AuthType=auth/munge
|
|
StateSaveLocation=/var/spool/slurmctld
|
|
SlurmdSpoolDir=/var/spool/slurmd
|
|
SlurmctldPidFile=/run/slurmctld.pid
|
|
SlurmdPidFile=/run/slurmd.pid
|
|
SlurmctldLogFile=/var/log/slurm/slurmctld.log
|
|
SlurmdLogFile=/var/log/slurm/slurmd.log
|
|
ProctrackType=proctrack/linuxproc
|
|
TaskPlugin=task/none
|
|
ReturnToService=2
|
|
SlurmctldTimeout=120
|
|
SlurmdTimeout=300
|
|
SchedulerType=sched/backfill
|
|
SelectType=select/cons_tres
|
|
SelectTypeParameters=CR_Core_Memory
|
|
GresTypes=gpu
|
|
MpiDefault=none
|
|
|
|
# nodes: generated from the commissioning inventory
|
|
{{- range .Nodes }}
|
|
NodeName={{ .Name }} NodeAddr={{ .MgmtIP }} Sockets={{ .Sockets }} CoresPerSocket={{ .CoresPerSocket }} ThreadsPerCore={{ .ThreadsPerCore }} RealMemory={{ pct .MemMB 90 }}{{ if gt .GPUs 0 }} Gres=gpu:{{ .GPUs }}{{ end }} State=UNKNOWN
|
|
{{- end }}
|
|
PartitionName={{ default "compute" .Vars.partition }} Nodes=ALL Default=YES MaxTime=INFINITE State=UP
|