EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: keeping record status ... over crash/restart
From: "Mark Rivers" <[email protected]>
To: "Heinrich du Toit" <[email protected]>, "TechTalk EPICS" <[email protected]>
Date: Fri, 27 Jul 2007 06:11:09 -0500
Heinrich,
 
For this problem you want to use the "autosave" module in synApps.  
 
http://www.aps.anl.gov/aod/bcda/synApps/autosave/autosave.html
 
It saves all specified PVs to a file whenever they change (with a user-specified minimum time between saves).  It automatically restores those PVs when the IOC reboots.  It has a reliable system for ensuring protecting against partially written files due to power-failure, crashes, etc.
 
Mark
 

________________________________

From: [email protected] on behalf of Heinrich du Toit
Sent: Fri 7/27/2007 1:07 AM
To: TechTalk EPICS
Subject: keeping record status ... over crash/restart



Hi

We have the situation where we have some setting that the operators
tune. And then they want this to stay there for the next x days until
they tune it again for some reason. :)

Anyways if the power goes down or the server crash or whatever and it
comes back on it would be nice if the server(IOC) can automatically
restore the state of these records?

In our old system we normally would save the variables to some file
periodically. Then when the server starts again just load the last such
saved data. Simple :)

How do I do this under EPICS?

btw. I did look at the backup and restore utility. That is something I
would maybe use, but this isn't exactly the same problem.
I also can't seem to know how to force the BURT tool to automatically
"restore" once an IOC starts again?

-Heinrich





References:
keeping record status ... over crash/restart Heinrich du Toit

Navigate by Date:
Prev: Re: asyn driver for CMLOG? Maren Purves
Next: RE: keeping record status ... over crash/restart Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: keeping record status ... over crash/restart Heinrich du Toit
Next: RE: keeping record status ... over crash/restart Paul Sichta
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·