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
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
I'll note that the SLURM_CONF env var is listed on the sbatch docs page, so is likely not an override for all slurm commands.
________________________________ From: Groner, Rob via slurm-users slurm-users@lists.schedmd.com Sent: Tuesday, January 7, 2025 9:04 AM To: slurm-users@lists.schedmd.com slurm-users@lists.schedmd.com; Sven Schulze svens@pks.mpg.de Subject: [slurm-users] Re: Change config file location of slurmdbd temporarily
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
It seems that the variable DOES in fact impact where slurmdbd.conf is looked for.
I discarded that option because it was only mentioned in the slurmctld section.
Thanks a ton! Sven
On 07.01.25 15:11, Groner, Rob wrote:
I'll note that the SLURM_CONF env var is listed on the sbatch docs page, so is likely not an override for all slurm commands.
*From:* Groner, Rob via slurm-users slurm-users@lists.schedmd.com *Sent:* Tuesday, January 7, 2025 9:04 AM *To:* slurm-users@lists.schedmd.com slurm-users@lists.schedmd.com; Sven Schulze svens@pks.mpg.de *Subject:* [slurm-users] Re: Change config file location of slurmdbd temporarily 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
On 1/7/25 14:54, Sven Schulze via slurm-users wrote:
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?
The slurmdbd.conf manual page says:
slurmdbd.conf is an ASCII file which describes Slurm Database Daemon (SlurmDBD) configuration information. The file will always be located in the same directory as the slurm.conf.
/Ole