Hi Kyle,

We have had this request from multiple users. Luckily, we already
have a solution for this. :-) Please see PR #299:

    https://github.com/dmtcp/dmtcp/pull/299

It hasn't been merged into DMTCP-2.5.0 yet; we are hoping to do
that soon.  This will eventually go into DMTCP master (and DMTCP-3.0)
as well but will need some minor changes to be compatible with the
new architecture. (Please note that DMTCP-3.0 is a major change in the
architecture and some existing plugins will need to be updated to be
compatible.)

Please let us know if you face any issues.

Thanks,
Rohan

----- Original Message -----
From: "Kyle Harrigan" <kwharri...@gmail.com>
To: "dmtcp-forum" <dmtcp-forum@lists.sourceforge.net>
Sent: Monday, February 22, 2016 7:00:59 PM
Subject: [Dmtcp-forum] Support for relocating files on restart

I have a use case where I'd like to start up multiple copies, on the same host, 
of a checkpoint which has been performed with --checkpoint-open-files enabled. 

One issue (perhaps there are others :->) is that as far as I can tell dmtcp 
wants to restore files to their original absolute locations (example 
/tmp/foo/bar.txt) and there is currently not any way to control this. Is this 
true? 

If so, I'd envision writing a small plugin which would, for example, allow the 
user to specify a unique prefix which would be prepended to all file locations 
(including new files created, previous files taken using 
--checkpoint-open-files, etc). 

Any pitfalls I am missing? 

I would also expect this feature to support a use case where, for whatever 
reason, you relocate a checkpoint to a target system and can no longer write to 
the original file locations (due to permissions or filesystem structure 
changes), but it is important to reuse this checkpoint. 

I would appreciate any feedback. 

Thanks, 
Kyle Harrigan 


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Dmtcp-forum mailing list
Dmtcp-forum@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dmtcp-forum

Reply via email to