Difference between revisions of "Archiver for EPICS"

From GlueXWiki
Jump to: navigation, search
(Archiver Engine Installation)
Line 10: Line 10:
  
 
== Archiver Engine Installation ==
 
== Archiver Engine Installation ==
 +
 +
* Start Eclipse RCP <pre>/usr/local/eclipse/indigo-3.7.0-rcp/eclipse</pre>
 +
* Select <i>/home/hovanes/css/source</i> as Workspace since the CSS source was unzipped there.
 +
* Import the sources into the Workspace by <b>File->Import->General->ExistingProjectsIntoWorkspace->Next</b>, select the  <i>/home/hovanes/css/source</i> where the source is located using <b>Browse</b> button, and  click <b>Finish</b>.
 +
* Open <i>/org.csstudio.archive.engine/ArchiveEngine.product</i> file.
 +
* <b>Synchronize</b> and <b>Launch an Eclipse application</b>. The launch should fail because it requires parameters, but I see the help message, so it runs properly.
  
 
== Archiver Configurator Tool Installation ==  
 
== Archiver Configurator Tool Installation ==  

Revision as of 09:17, 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.


Archiver 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. The launch should fail because it requires parameters, but I see the help message, so it runs properly.

Archiver Configurator Tool Installation

JLab MYA Archiver