Hi:
If you simply want to serve existing data, there should be no need to re-build any indices.
But the original software (ArchiveExport, ...) was not developed on 32 bit, so it might need some 32bit/64bit fixes.
I believe that there are people out there using the archive sources on 64 bit, but I don't know if they published their patches that were required to get everything working on 64 bit.
One issue could be that I think some people moved to 64 bit specifically to update the binary index and data file structure to support >2GB index files.
That would of course not be compatible with existing 32 bit data files.
So you'll have to look for somebody who got the old sources patched for 64 bit, but preserving the original, 32-bit data structures.
Thanks,
Kay
________________________________________
From: [email protected] [[email protected]] On Behalf Of Pierrick Hanlet [[email protected]]
Sent: Saturday, January 26, 2013 1:15 PM
To: James F Ross
Cc: Tech Talk
Subject: Re: copying archived data from 32-bit to 64-bit machine
Hi James,
Thanks for your response. I'm using the old archiver and what I would like to do
is to use my new machine to serve the copied/archived data, so it does appear
that we have/had a similar problem. I don't, at the moment, need the archive
engine. I did successfully build the installation on the 64-bit machine.
If I'm not mistaken, ArchiveExport does not require the data server to be running,
but it does require that the index files be correct. If that is true, then I'm not even
at the point of concern for the server, but would like to rebuild the indices. I've
tried update_indices.pl, but get errors with the archiveconfig.pm file
(not a HASH reference ...). Am I correct in deducing that I need to recreate my
index files? If so, any guidance on doing so would be welcome; I must be missing
something when I read the manual.
Thanks,
Pierrick
On 01/25/2013 06:35 PM, James F Ross wrote:
Is this the old channel archiver or the CSS based RDB archiver?
I did the same thing with the channel archiver and it took a while to resolve. The heart of the trouble is that the cgi data server (ArchiveDataServer.cgi for the channel archiver) was unable to run due to a number of issues. The archive viewer couldn't see the data because ArchiveDataServer.cgi couldn't start. The final solution for me was to recompile the archiver from scratch on the 64 bit machine and use the xml index files and data from the 32 bit machine. I had to have a lot of help doing this, so I won't be very helpful on how to do that I'm afraid. However, my goal was to get the archiver running as well as being able to see the data. Perhaps as long as you can get the archive data server working you don't need to do this. I would suggest transferring ArchiveDataServer.cgi from the old machine to the new machine with all of its libraries (the 32 bit ones) as a starting point.
The channel archiver manual may help. It has a section on testing this server. It is woefully out of date and quite terse, but it can at least show you where to place the cgi server and how to test it: http://www.slac.stanford.edu/grp/lcls/controls/global/sw/epics/extensions/ChannelArchiver/manual.pdf.
If you are using the RDB archiver, I'm afraid I can't help.
Hope that at least gives you a starting place!
James Ross
On Fri, Jan 25, 2013 at 5:19 PM, Pierrick Hanlet <[email protected]<mailto:[email protected]>> wrote:
Hi,
I copied some archived data from a 32-bit machine to a 64-bit machine. I'm not able
to read the data. If I do an ArchiveExport I see only a very small number of entries.
I'm guessing that I need to regenerate the indices, but I've not been successful in doing
so; perhaps I'm not understanding the manual.
Please help. I've wasted an inordinate amount of time.
Thanks,
Pierrick
--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555<tel:%2B1-630-840-5555> (FNAL)
+1-312-567-5745<tel:%2B1-312-567-5745> (IIT)
+1-630-697-8758<tel:%2B1-630-697-8758>/+44-79-48-860-197<tel:%2B44-79-48-860-197> (US/UK mobile)
--
"Whether you think you can or think you can't, either way, you are correct" -- Henry Ford
_______________________________________________________________
Pierrick Hanlet
IIT/Fermilab
+1-630-840-5555 (FNAL)
+1-312-567-5745 (IIT)
+1-630-697-8758/+44-79-48-860-197 (US/UK mobile)
- Replies:
- Re: copying archived data from 32-bit to 64-bit machine Bruce Hill
- References:
- copying archived data from 32-bit to 64-bit machine Pierrick Hanlet
- Re: copying archived data from 32-bit to 64-bit machine James F Ross
- Re: copying archived data from 32-bit to 64-bit machine Pierrick Hanlet
- Navigate by Date:
- Prev:
Re: copying archived data from 32-bit to 64-bit machine James F Ross
- Next:
Can't read MIME Types file Pierrick Hanlet
- 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: copying archived data from 32-bit to 64-bit machine James F Ross
- Next:
Re: copying archived data from 32-bit to 64-bit machine Bruce Hill
- 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
|