The config file location is set during the ./configure step in building the source code. I think it is --conf-dir or something. Do ./configure --help to find the correct syntax. After configure, then rebuild and slurm will now look in that new location.
There is also a SLURM_CONF env var that points to where the slurm config file is, as an override I believe...but I don't know if that applies to slurmdbd.conf as well. Worth a try maybe.
Rob
From: Sven Schulze via slurm-users <slurm-users@lists.schedmd.com>
Sent: Tuesday, January 7, 2025 8:54 AM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: [slurm-users] Change config file location of slurmdbd temporarily
Hey all,
Is there a way to change the location of the slurmdbd.conf temporarily
when starting slurmdbd?
For all other daemons I can specify "-f", but this doesn't seem to work
for slurmdbd, is there a way to edit the build files to achieve this?
Kind Regards,
Sven
--
slurm-users mailing list -- slurm-users@lists.schedmd.com
To unsubscribe send an email to slurm-users-leave@lists.schedmd.com