<div dir="ltr">thank you, however, because this is change in the data center, the names of the servers contain datacenter names as well in its hostname and in fqdn as well, hence i have to change both, hostnames as well as ip addresses, compulsorily, to given hostnames as per new DC names. <div> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 24 Apr 2023 at 11:25, Ole Holm Nielsen <<a href="mailto:Ole.H.Nielsen@fysik.dtu.dk">Ole.H.Nielsen@fysik.dtu.dk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/24/23 06:58, Purvesh Parmar wrote:<br>
> thank you, but its change of hostnames as well, apart from ip addresses <br>
> as well of the slurm server, database serverver name and slurmd compute <br>
> nodes as well.<br>
<br>
I suggest that you talk to your networking people and request that the old <br>
DNS names be created in the new network's DNS for your Slurm cluster. <br>
Then Ryan's solution will work. Changing DNS names is a very simple matter!<br>
<br>
My 2 cents,<br>
Ole<br>
<br>
<br>
> On Mon, 24 Apr 2023 at 10:04, Ryan Novosielski <<a href="mailto:novosirj@rutgers.edu" target="_blank">novosirj@rutgers.edu</a> <br>
> <mailto:<a href="mailto:novosirj@rutgers.edu" target="_blank">novosirj@rutgers.edu</a>>> wrote:<br>
> <br>
> I think it’s easier than all of this. Are you actually changing names<br>
> of all of these things, or just IP addresses? It they all resolve to<br>
> an IP now and you can bring everything down and change the hosts files<br>
> or DNS, it seems to me that if the names aren’t changing, that’s that.<br>
> I know that “scontrol show cluster” will show the wrong IP address but<br>
> I think that updates itself.<br>
> <br>
> The names of the servers are in slurm.conf, but again, if the names<br>
> don’t change, that won’t matter. If you have IPs there, you will need<br>
> to change them.<br>
> <br>
> Sent from my iPhone<br>
> <br>
> > On Apr 23, 2023, at 14:01, Purvesh Parmar <<a href="mailto:purveshp0507@gmail.com" target="_blank">purveshp0507@gmail.com</a><br>
> <mailto:<a href="mailto:purveshp0507@gmail.com" target="_blank">purveshp0507@gmail.com</a>>> wrote:<br>
> > <br>
> > Hello,<br>
> ><br>
> > We have slurm 21.08 on ubuntu 20. We have a cluster of 8 nodes.<br>
> Entire slurm communication happens over 192.168.5.x network (LAN).<br>
> However as per requirement, now we are migrating the cluster to other<br>
> premises and there we have 172.16.1.x (LAN). I have to migrate the<br>
> entire network including SLURMDBD (mariadb), SLURMCTLD, SLURMD. ALso<br>
> the cluster network is also changing from 192.168.5.x to 172.16.1.x<br>
> and each node will be assigned the ip address from the 172.16.1.x<br>
> network.<br>
> > The cluster has been running for the last 3 months and it is<br>
> required to maintain the old usage stats as well.<br>
> ><br>
> ><br>
> > Is the procedure correct as below :<br>
> ><br>
> > 1) Stop slurm<br>
> > 2) suspend all the queued jobs<br>
> > 3) backup slurm database<br>
> > 4) change the slurm & munge configuration i.e. munge conf, mariadb<br>
> conf, slurmdbd.conf, slurmctld.conf, slurmd.conf (on compute nodes),<br>
> gres.conf, service file<br>
> > 5) Later, do the update in the slurm database by executing below<br>
> command<br>
> > sacctmgr modify node where node=old_name set name=new_name<br>
> > for all the nodes.<br>
> > ALso, I think, slurm server name and slurmdbd server names are also<br>
> required to be updated. How to do it, still checking<br>
> > 6) Finally, start slurmdbd, slurmctld on server and slurmd on<br>
> compute nodes<br>
> ><br>
> > Please help and guide for above.<br>
> ><br>
> > Regards,<br>
> ><br>
> > Purvesh Parmar<br>
> > INHAIT<br>
<br>
</blockquote></div>