ULHPC / puppet-slurm

A Puppet module designed to configure and manage SLURM(see https://slurm.schedmd.com/), an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for large and small Linux clusters
Apache License 2.0
19 stars 24 forks source link

slurmdbd on separate host #2

Closed uvNikita closed 5 years ago

uvNikita commented 7 years ago

It seems like in the current implementation of the module slurmdbd and slurmctld have to be on the same host. In particular, AccountingStorageHost is set to the current control host in the slurm.conf. https://github.com/ULHPC/puppet-slurm/blob/c5782ed1e778e8e2b8833968903517af0e1b399e/templates/slurm.conf.erb#L206

It seems that just using db host instead should fix the problem (note that I didn't actually test that):

AccountingStorageHost=<%= scope['slurm::slurmdbd::dbdhost'] %>

I don't know much about slurm yet, so correct me please if I'm missing something.

Falkor commented 7 years ago

Indeed, our current setup makes slurmdbd and slurmctld run on the same host. We'll see for a new release of the module allowing for these changes, probably according to your suggestion.

uvNikita commented 7 years ago

OK, thank you for the confirmation.