I think you mean both slurmctld servers are pointing the one slurmdbd server.
Ole is right about the usefulness of HA, especially on slurmdbd, as slurm will cache the writes to the database if it is down.
To do what you want, you need to look at configuring your
database to be HA. That is a different topic and would be dictated
by what database setup you are using. Understand the the backend
database is a tool used by slurm and not part of slurm. So any HA
in that are needs to be done by the database.
Once that is done, merely have 2 separate slurmdbd servers, each pointing at the HA database. One would be primary and the other a failover (AccountingStorageBackupHost). Although, technically, they would both be able to be active at the same time.
Brian Andrus
My go to solution is setting up Galera cluster using 2 slurmdbd servers (each pointing to it's local db) and a 3rd quorum server. It's fairly easy to setup and doesn't rely on block level duplication, HA semantics or shared storage.
Just my 2 cents
I found a solution that works for me, but it doesn't really answer the question:
It's the option https://slurm.schedmd.com/slurm.conf.html#OPT_all_partitions for JobSubmitPlugins. It works for me, because all partitions are default in my case, but it doesn't really answer my question as my question asks how to have multiple default partitions which could include having others that are not default.
Best regards,
Xaver Stiensmeier