> We start the Archive Daemon on boot in /etc/rc.local. As engine lock
> files will be left after a power failure, for example, it's tempting
> to first remove any remaining archive_active.lck files. However, the
> Channel Archiver manual warns against blindly removing these lock
> files before backing up and testing the data files.
>
> Is looking at any given PV using ArchiveExport an appropriate test to
> ensure the data files are not corrupt, or is some other test
> recommended?
> Should it be safe to remove archive_active.lck files before starting
> the ArchiveDaemon in /etc/rc.local?
Probably.
Since this is after a reboot, you don't have to worry about another
engine still being active in the same directory, and can remove
that lock file.
There is of course the worry about corrupt files,
for which there is no good answer.
Looking at one channel or using the 'test' option of the ArchiveDataTool
can make you feel better, but the binary archive files are no
equivalent to a relational database with re-do logs or the like
which are supposed to keep your data safe.
-Kay
- References:
- Channel Archiver - recovering from power outage Devin Bougie
- Navigate by Date:
- Prev:
RE: Archive Viewer web start Kasemir, Kay
- Next:
RE: Archive Viewer web start Kasemir, Kay
- 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:
Channel Archiver - recovering from power outage Devin Bougie
- Next:
Archive Viewer web start Paul Sichta
- 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
|