<div dir="ltr">thank you, but its change of hostnames as well, apart from ip addresses  as well of the slurm server, database serverver name and slurmd compute nodes as well.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 24 Apr 2023 at 10:04, Ryan Novosielski <<a href="mailto:novosirj@rutgers.edu">novosirj@rutgers.edu</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">I think it’s easier than all of this. Are you actually changing names of all of these things, or just IP addresses? It they all resolve to an IP now and you can bring everything down and change the hosts files or DNS, it seems to me that if the names aren’t changing, that’s that. I know that “scontrol show cluster” will show the wrong IP address but I think that updates itself. <br>
<br>
The names of the servers are in slurm.conf, but again, if the names don’t change, that won’t matter. If you have IPs there, you will need 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>> wrote:<br>
> <br>
> Hello,<br>
> <br>
> We have slurm 21.08 on ubuntu 20. We have a cluster of 8 nodes. Entire slurm communication happens over 192.168.5.x network (LAN). However as per requirement, now we are migrating the cluster to other premises and there we have 172.16.1.x (LAN). I have to migrate the entire network including SLURMDBD (mariadb), SLURMCTLD, SLURMD. ALso the cluster network is also changing from 192.168.5.x to 172.16.1.x and each node will be assigned the ip address from the 172.16.1.x network. <br>
> The cluster has been running for the last 3 months and it is 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 conf, slurmdbd.conf, slurmctld.conf, slurmd.conf (on compute nodes), gres.conf, service file <br>
> 5) Later, do the update in the slurm database by executing below 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 required to be updated. How to do it, still checking<br>
> 6) Finally, start slurmdbd, slurmctld on server and slurmd on compute nodes<br>
> <br>
> Please help and guide for above.<br>
> <br>
> Regards,<br>
> <br>
> Purvesh Parmar<br>
> INHAIT<br>
</blockquote></div>