Replies: 2 comments 5 replies
-
Hi, Thanks for your question. It would be helpful if you can provide more details on what state you want to preserve. |
Beta Was this translation helpful? Give feedback.
-
Hi, if you set the disk_auto_delete to false in the controller_instance_config (here) this will effectively never remove the disk of the controller, thus not removing the files stored in the statesavelocation, also the setup.py will see that the file /slurm/slurm_configured_do_not_remove is there and in consequence it will not try to run again. Just tested this with the simple_cloud example and it works as expected |
Beta Was this translation helpful? Give feedback.
-
This is a bit of a stretch but we have been trying to see if there's some way via disks to do persistent state across restarts. I initially tried using controller-v5
disk_auto_delete: false
hoping keeping the boot disk around would help but it seems setup.py doesnt overwrite cloud.conf if it finds it before (I assume, though there's no logs, the cloud.conf is the same as the previous restart).I see theres some examples showing usage of additional disk, so I wonder if there's a setup where you can mount those into spool directories for slurm and to the DBD storage such that on restart slurm can just pick up where it left off.
Beta Was this translation helpful? Give feedback.
All reactions