dsub icon indicating copy to clipboard operation
dsub copied to clipboard

Shutdown Script for Preemptible

Open albertofpena opened this issue 5 years ago • 2 comments

Hi there,

I was wondering if there is an easy way to provide a shutdown script to the instances launched with the preemptible flag. This way we could save the progress of a terminated instance.

Thank you for your work.

albertofpena avatar Apr 03 '20 13:04 albertofpena

Hi @albertofpena !

As implemented today, it doesn't appear that the Life Sciences Pipelines API which handles the on-VM execution framework for dsub supports any kind of signaling to user actions when a VM is shutting down (whether from preemption or otherwise).

I have filed a feature request to see if such a feature can be provided.

mbookman avatar Apr 03 '20 16:04 mbookman

Hi @mbookman,

Thanks for your answer. I've been looking, and I didn't find a straightforward way to do it. I don't have experience with this API, but probably you can find a way to do it.

Thank you very much for this useful tool.

albertofpena avatar Apr 06 '20 14:04 albertofpena