<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I think you mean both slurmctld servers are pointing the one
slurmdbd server.</p>
<p>Ole is right about the usefulness of HA, especially on slurmdbd,
as slurm will cache the writes to the database if it is down.</p>
<p>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.<br>
</p>
<p>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.</p>
<p>Brian Andrus<br>
</p>
<div class="moz-cite-prefix">On 4/13/2023 2:49 AM, Shaghuf Rahman
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CADM_wPaSVofSGgMcgd0UiV48k+vmRUTTJgJskk3unewm4xHxDg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi,
<div dir="auto"><br>
</div>
<div dir="auto">I am setting up Slurmdb in my system and I need
some inputs</div>
<div dir="auto"><br>
</div>
<div dir="auto">My current setup is like</div>
<div>server1 : 192.168.123.12(slurmctld)</div>
<div>server2: 192.168.123.13(Slurmctld)</div>
<div>server3: 192.168.123.14(Slurmdbd) which is pointing to both
Server1 and Server2.</div>
<div>database: MySQL</div>
<div><br>
</div>
<div>I have 1 more server named as server 4: 192.168.123.15
which I need to make it as a secondary database server. I want
to configure this server4 which will sync the database and
make it either Active-Active slurmdbd or Active-Passive.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Could anyone please help me with the <b>steps</b>
how to configure and also how am i going to <b>sync</b> my <b>database</b>
on both the servers simultaneously.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks & Regards,</div>
<div dir="auto">Shaghuf Rahman</div>
<div dir="auto"><br>
</div>
</div>
</blockquote>
</body>
</html>