You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/archiveviewer.html
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -49,12 +49,12 @@ <h3>Retrieving data using the ArchiveViewer</h3>
49
49
To retrieve data, start the Archive Viewer and connect to the EPICS Archiver Appliance using a URL that looks like so <code>pbraw://archiver.slac.stanford.edu/retrieval</code>.
50
50
This URL is generated by replacing the string <i>http</i> with the string <i>pbraw</i> in the <code>data_retrieval_url</code> element of your <code>appliances.xml</code>.
51
51
<figure>
52
-
<imgsrc="images/av_connect.png" alt="Connecting using pbraw"/>
52
+
<imgclass="img-responsive" src="images/av_connect.png" alt="Connecting using pbraw"/>
53
53
</figure>
54
54
55
55
Once you have established a connection to the server, you should be able to use the Archive Viewer as before to retrieve and display data.
The Archive Viewer is also used to retrieve data from the Channel Archiver; this has a concept of indexes that form part of the data retrieval request.
Copy file name to clipboardExpand all lines: docs/customization.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ <h3>Site specific builds</h3>
79
79
<li>There is also a site specific properties file called <code>archappl.properties</code> that is discovered in a similar fashion. The properties in this file are used to control some of the other customizations of the archiver appliance.</li>
By default, Tomcat sets up a HTTP listener on port 8080.
52
52
You can change this in the Tomcat server.xml to avoid collision with other folks running Tomcat.
@@ -76,14 +76,14 @@ <h3>Building</h3>
76
76
If you have a Eclipse workspace called <code>workspace</code> and the EPICS archiver appliance code checked out into a folder called <code>epicsarchiverap</code>,
77
77
then the build script is run by calling ant from within <code>workspace/epicsarchiverap</code>.
Copy file name to clipboardExpand all lines: docs/installguide.html
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ <h3>Create an <code>appliances.xml</code></h3>
120
120
The details of the file are outlined in the <ahref="api/org/epics/archiverappliance/config/ConfigService.html#ARCHAPPL_APPLIANCES">ConfigService</a> javadoc.
121
121
A sample <code>appliances.xml</code> with two appliances looks like
<figcaption>The <code>appliances.xml</code> lists all the appliances in the cluster.</figcaption>
125
125
</figure>
126
126
@@ -168,7 +168,7 @@ <h3>Create an <code>appliances.xml</code></h3>
168
168
In this case, we are pointing all clients to a single load-balancer on <code>archiver.slac.stanford.edu</code> on port 80.
169
169
One can use the <ahref="http://httpd.apache.org/docs/2.4/mod/mod_proxy_balancer.html">mod_proxy_balancer</a> of Apache to load-balance among any of the appliances in the cluster.
<figcaption>Using Apache HTTP on <code>archiver</code> to load balance data retrieval between <code>appliance0</code> and <code>appliance1</code>.</figcaption>
173
173
</figure>
174
174
<ul>
@@ -221,7 +221,7 @@ <h3>Installing Tomcat and setting up Apache Commons Daemon</h3>
221
221
<li>By default, the connector port for the HTTP connector is set to 8080.
222
222
Change this to the port used by the <code>mgmt</code> webapp for this appliance, in this example, 17665.
<figcaption>Change 8080 to the port used by the <code>mgmt</code> webapp for this appliance.</figcaption>
226
226
</figure>
227
227
</li>
@@ -260,7 +260,7 @@ <h3>Installing Tomcat and setting up Apache Commons Daemon</h3>
260
260
Once you have built this, copy the <code>jsvc</code> binary to the Tomcat <code>bin</code> folder for convenience.
261
261
Note, it's not required that you use <code>Apache Commons Daemon</code> especially, if you are already using system monitoring and management tools like <ahref="http://www.nagios.org/">Nagios</a> or <ahref="http://www.hyperic.com/">Hyperic</a>.
<li>Note for Debian/Ubuntu users: The Tomcat packages shipped with Debian/Ubuntu do not include the Tomcat JDBC Connection Pool. Download it from the web and drop the <code>tomcat-jdbc.jar</code> file into <code>/usr/share/tomcat7/lib</code>.</li>
@@ -358,7 +358,7 @@ <h3>Setting up storage</h3>
358
358
A useful way to do this is to create a folder called <code>/arch</code> and then create soft links in this folder to the actual physical location.
<figcaption><code>/arch</code> showing soft links to actual storage locations.</figcaption>
363
363
</figure>
364
364
We then set environment variables in the startup script that point to the locations within <code>/arch</code>.
@@ -388,7 +388,7 @@ <h3>Create individual Tomcat containers for each of the web apps</h3>
388
388
</ol>
389
389
and then run the <code>deployMultipleTomcats.py</code> script passing in one argument that identifies the parent folder of the individual Tomcat containers.
PB files contain serialized PB messages; one per sample; a sample per line.
49
49
The first line in a PB file is a header (<code>PayloadInfo</code> PB message) that contains some basic information like the PV name, its DBR type and so on.
As serialized PB messages are binary data; after serialization, newline characters are escaped to maintain a "sample per line" constraint.
54
54
<ol>
@@ -98,7 +98,7 @@ <h3>The PB/HTTP protocol</h3>
98
98
There is no strict formula on how many chunks there will per data retrieval request; the server chunks data based on data source/partition/other parameters.
99
99
Both <ahref="https://github.com/slacmshankar/epicsarchiverap_pbrawclient/">pbrawclient</a> and <ahref="https://github.com/epicsdeb/carchivetools">carchivetools</a> handle the multiple chunks in a seamless fashion and present the data to the caller as a single event stream.
<li>Download the installation package to a Linux machine into a brand new folder. This should give you a tar.gz file like <code>archappl_vx.x.x.tar.gz</code>.</li>
71
65
<li>Download a recent version of Tomcat 7.x. into the same folder. You should now have two files in this folder like so
<li>This should start the Tomcat process in the foreground. Once all the webapps have been initialized (it takes about 2-5 minutes), you should see a log message in the console <samp>All components in this appliance have started up. We should be ready to start accepting UI requests</samp> like so
<li>Open a browser to <code>http://<<<i>machinename</i>>>:17665/mgmt/ui/index.html</code> and you should see the home screen for your archiver appliance.</li>
84
78
<li>If your EPICS environment variables are set up correctly, you should be able to start archiving PV's right away.
0 commit comments