This patch should fix the problem with a control_machine containing more than one host name. https://github.com/SchedMD/slurm/commit/10916457cb7a23390c04b097ebb7d1a0e9971195.patch
Without the patch, the configuration from Pär should also work. Quoting Pär Andersson <pa...@nsc.liu.se>: > > Matteo Guglielmi <matteo.guglie...@epfl.ch> writes: > >> ControlMachine=pink >> ControlAddr=192.168.0.3 >> AccountingStorageHost=pink >> >> or should I do this instead: >> >> ControlMachine=cyan,blue >> ControlAddr=pink >> AccountingStorageHost=pink > > This might be one of the very few cases where having different > slurm.conf files on different machines is useful. I think the following > might work: > > slurm.conf on cyan: > ControlMachine=cyan > ControlAddr=pink > > slurm.conf on blue: > ControlMachine=blue > ControlAddr=pink > > Another, rather kludgey method would be to configure > ControlMachine=pink, and LD_PRELOAD a library with a gethostname that > always returns "pink" when starting slurmctld... :-) > > /Pär