Experimental Physics and Industrial Control System
|
We had a version of autosave at LBNL that looked at characters stuck in
the end of the record description file at boot time, using the static
library, to find out what records should be saved. It restored
according to what records were in the save file. That was really
convenient in many cases, for example the characters (which just were a
sort of regular expression for the fields to be saved) could be put in
the template files and no matter how you expanded the templates it would
work.
We used this for the SNS front end but no one seemed comfortable with it
and the APS autosave was outstripping it on file checking/handling (they
had a common ancestor...), so while I was at SNS I switched away from
the LBNL version. My last act of maintenance was to strip out the
search and make it into a thing you could call in the startup file to
generate the request file before running whatever file based autosave
you like. As far as I know it has never been seriously used. It should
still be in the SNS cvs repository. The old LBNL autosave (i think only
3.13 compatible) is called "bumpless", "autoBReq" is the 3.13 version
of the req file writer, and "autoBReq314" a 3.14 version.
Kay could dig it out, I think
Carl
bumpless epics/supTop/front_end/bumpless
autoBReq epics/supTop/autoBReq
autoBReq314 epics314/supTop/autoBReq
Emmanuel Mayssat wrote:
* Is there a SIMPLE way to generate a req/request file on the fly for
backup? I have "dynamic" ioc, where the names of records may change
between reboots, or some records may just disappear. Do you have each
time to reconfigure the backup request file? Although I believe this
should be required for a general backup utility, why should it for a
bumpless reboot utility?
Is it possible to generate a req file at ioc startup that save all the
"live" records with name's ending with *O or *AO, etc. ( a dbgrep to a
file can help, but the backup utility needs to reread its config files )
--
Emmanuel
--
Carl Lionberger
510 486 7503
Software Developer, Engineering Division
Lawrence Berkeley National Laboratory
- Replies:
- Re: PV save and restore tool sought (correction) Carl Lionberger
- Record info nodes? Re: PV save and restore tool sought Kay-Uwe Kasemir
- References:
- PV save and restore tool sought Rock, Judith E.
- Re: PV save and restore tool sought Thomas Birke
- Re: PV save and restore tool sought Emmanuel Mayssat
- Navigate by Date:
- Prev:
Re: PV save and restore tool sought Emmanuel Mayssat
- Next:
Re: PV save and restore tool sought (correction) Carl Lionberger
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: PV save and restore tool sought Emmanuel Mayssat
- Next:
Re: PV save and restore tool sought (correction) Carl Lionberger
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
<2007>
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 10 Nov 2011 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|