Difference between revisions of "Archiver for EPICS"

From GlueXWiki
Jump to: navigation, search
(Archiver Engine Installation)
(Archiver Engine Installation)
Line 9: Line 9:
  
  
== Archiver Engine Installation ==
+
== Archive Engine Installation ==
  
 
* Start Eclipse RCP <pre>/usr/local/eclipse/indigo-3.7.0-rcp/eclipse</pre>
 
* Start Eclipse RCP <pre>/usr/local/eclipse/indigo-3.7.0-rcp/eclipse</pre>
Line 17: Line 17:
 
* <b>Synchronize</b> and <b>Launch an Eclipse application</b> in the Overview tab. The launch should fail because it requires parameters, but I see the help message, so it runs properly.
 
* <b>Synchronize</b> and <b>Launch an Eclipse application</b> in the Overview tab. The launch should fail because it requires parameters, but I see the help message, so it runs properly.
 
* Export the product using <b>Eclipse Product export wizard</b> in the Overview tab:  
 
* Export the product using <b>Eclipse Product export wizard</b> in the Overview tab:  
*: <i>Root directory</i> = <i>ArchiverEngine</i>
+
*: <i>Root directory</i> = <i>ArchiveEngine</i>
 
*: <i>Destination Directory</i> = <i>/home/hovanes/css</i>
 
*: <i>Destination Directory</i> = <i>/home/hovanes/css</i>
 
: uncheck <b>Generate metadata repository</b>,  and click <b>Finish</b> button.
 
: uncheck <b>Generate metadata repository</b>,  and click <b>Finish</b> button.
 +
* This created Archive Engine executable <i>/home/hovanes/css/ArchiveEngine/ArchiveEngine</i>
  
 
== Archiver Configurator Tool Installation ==  
 
== Archiver Configurator Tool Installation ==  

Revision as of 09:29, 2 November 2011

RDB Archiver

RDB Archiver is the new new version of the EPICS Channel Archiver which was widely used by the EPICS community. Channel Archiver kept the history in data file and had some kind of indexing scheme. The new RDB Archiver is a part of the Controls System Studio (CSS) and, as the name suggests, it utilizes databases to keep the archive engine configurations and the archived values. RDB Archiver can be used with both MySQL and Oracle (and probably others as well). Folks at ANL tested the RDB Archiver archiver with MySQL and I followed their example, and below you can find what I observed.

  • To create CSS products one needs to have Eclipse RCP which I downloaded from Eclipse download page (version 3.7.0 Indigo) and installed in /usr/local/eclipse/indigo-3.7.0-rcp on my local machines.
  • As CSS sources I used the SNS snapshot 3.0.2 posted on the SNS products web page. I unzipped the file and put it in ~/sns/source directory on my local computers.
  • One also need MySQL server which is included in Linux distributions.


Archive Engine Installation

  • Start Eclipse RCP
    /usr/local/eclipse/indigo-3.7.0-rcp/eclipse
  • Select /home/hovanes/css/source as Workspace since the CSS source was unzipped there.
  • Import the sources into the Workspace by File->Import->General->ExistingProjectsIntoWorkspace->Next, select the /home/hovanes/css/source where the source is located using Browse button, and click Finish.
  • Open /org.csstudio.archive.engine/ArchiveEngine.product file.
  • Synchronize and Launch an Eclipse application in the Overview tab. The launch should fail because it requires parameters, but I see the help message, so it runs properly.
  • Export the product using Eclipse Product export wizard in the Overview tab:
    Root directory = ArchiveEngine
    Destination Directory = /home/hovanes/css
uncheck Generate metadata repository, and click Finish button.
  • This created Archive Engine executable /home/hovanes/css/ArchiveEngine/ArchiveEngine

Archiver Configurator Tool Installation

JLab MYA Archiver