Editorial changes. When updating from Nick's version, lost section VII re optional SDB store text.
This commit is contained in:
parent
57819fa584
commit
d7532d12eb
1 changed files with 94 additions and 66 deletions
|
@ -35,7 +35,7 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
If you need to do a fresh install, please consult the VIVO Release 1 v1.2
|
If you need to do a fresh install, please consult the VIVO Release 1 v1.2
|
||||||
Installation Guide found on <a href="http://vivoweb.org/support">vivoweb.org</a>
|
Installation Guide found on <a href="http://vivoweb.org/support">vivoweb.org</a>
|
||||||
or the install.html file located in the <code>doc</code>
|
or the install.html file located in the <code>doc</code>
|
||||||
directory of the VIVO source code distribution. The installation
|
directory of the VIVO source code distribution. The installation
|
||||||
document also has a list of the required software and versions.
|
document also has a list of the required software and versions.
|
||||||
|
@ -48,8 +48,8 @@
|
||||||
release also features two new visualization options: temporal graphing
|
release also features two new visualization options: temporal graphing
|
||||||
for organizations, and personal visualizations extended to cover grants
|
for organizations, and personal visualizations extended to cover grants
|
||||||
as well as publications. The VIVO Harvester library has also been
|
as well as publications. The VIVO Harvester library has also been
|
||||||
significantly improved and expanded in scope for its 1.0 release
|
significantly improved and expanded in scope for its 1.0 release
|
||||||
through the VIVO SourceForge project at<a href="http://sourceforge.net/projects/vivo">http://sourceforge.net/projects/vivo</a>.
|
through the VIVO SourceForge project at <a href="http://sourceforge.net/projects/vivo">http://sourceforge.net/projects/vivo</a>.
|
||||||
</p>
|
</p>
|
||||||
<h4>Templating system for page generation, navigation, and theming</h4>
|
<h4>Templating system for page generation, navigation, and theming</h4>
|
||||||
<p>
|
<p>
|
||||||
|
@ -101,8 +101,8 @@
|
||||||
<p>
|
<p>
|
||||||
The Harvester development team is releasing version 1.0 of the VIVO
|
The Harvester development team is releasing version 1.0 of the VIVO
|
||||||
Harvester library, an extensible data ingest and updating framework
|
Harvester library, an extensible data ingest and updating framework
|
||||||
with sample configurations for loading PubMed publication, grants, and
|
with sample configurations for loading PubMed publication, grants, and
|
||||||
human resources data. The Harvester is available at<a href="http://sourceforge.net/projects/vivo">http://sourceforge.net/projects/vivo</a>.
|
human resources data. The Harvester is available at <a href="http://sourceforge.net/projects/vivo">http://sourceforge.net/projects/vivo</a>.
|
||||||
</p>
|
</p>
|
||||||
<hr><!-- Page break --><!-- Upgrade process for V1.2 --><h2 id="upgrade">Upgrade process for V1.2</h2>
|
<hr><!-- Page break --><!-- Upgrade process for V1.2 --><h2 id="upgrade">Upgrade process for V1.2</h2>
|
||||||
<toc>
|
<toc>
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="#preparation">Before Performing the Upgrade</a>
|
<a href="#preparation">Before Performing the Upgrade</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#triple_store">Chose Triple Store</a>
|
<a href="#triple_store">Chose Triple Store</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
@ -145,7 +145,7 @@
|
||||||
<li>
|
<li>
|
||||||
<a href="#theme">Theme Modifications</a>
|
<a href="#theme">Theme Modifications</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#setup_sdb">Set Up SDB Store in the Background (Optional)</a>
|
<a href="#setup_sdb">Set Up SDB Store in the Background (Optional)</a>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
|
@ -197,7 +197,7 @@
|
||||||
<h3 id="triple_store">II. Choose Triple Store</h3>
|
<h3 id="triple_store">II. Choose Triple Store</h3>
|
||||||
<p>
|
<p>
|
||||||
VIVO 1.2 offers a choice of two triple store technologies: in-memory models backed by
|
VIVO 1.2 offers a choice of two triple store technologies: in-memory models backed by
|
||||||
Jena's legacy relational database store (RDB) and Jena's SPARQL database (SDB). RDB was
|
Jena's legacy relational database store (RDB), and Jena's SPARQL database (SDB). RDB was
|
||||||
used by VIVO 1.1.1 and earlier. This mode offers fast response, but only by caching the
|
used by VIVO 1.1.1 and earlier. This mode offers fast response, but only by caching the
|
||||||
entire RDF model in the server's main memory. The memory available to VIVO limits the
|
entire RDF model in the server's main memory. The memory available to VIVO limits the
|
||||||
number of RDF statements that may be stored.
|
number of RDF statements that may be stored.
|
||||||
|
@ -221,17 +221,17 @@
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
A VIVO 1.2 system that is upgraded from VIVO 1.1.1 must initially be run in RDB mode in order
|
A VIVO 1.2 system that is upgraded from VIVO 1.1.1 must initially be run in RDB mode in order
|
||||||
receive required ontology updates. Attempting to run an upgraded system initially in SDB will
|
to receive required ontology updates. Attempting to run an upgraded system initially in SDB will
|
||||||
result in a logged error message, and the application will not start. After the system starts
|
result in a logged error message, and the application will not start. After the system starts
|
||||||
up successfully the first time in RDB mode, it may then be switched to SDB, redeployed, and restarted.
|
up successfully the first time in RDB mode, it may then be switched to SDB, redeployed, and restarted.
|
||||||
Upon restart, the data in the RDB store will be copied to the SDB store.
|
Upon restart, the data in the RDB store will be copied to the SDB store.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
This copying process can take a number of hours to complete if the installation contains a large
|
This copying process can take a number of hours to complete if the installation contains a large
|
||||||
amount of RDF data (roughly a million triples or more). See section
|
amount of RDF data (roughly a million triples or more). See section <a href="#setup_sdb">Set Up SDB Store in the Background (Optional)</a>
|
||||||
<a href="#setup_sdb">Set Up SDB Store in the Background (Optional)</a> for instructions on how
|
for instructions on how
|
||||||
to run this lengthy conversion process in the background while an RDB system is operating.
|
to run this lengthy conversion process in the background while an RDB system is operating.
|
||||||
Doing this will reduce the time necessary to start VIVO the first time it is run in SDB mode.
|
Doing this will reduce the time necessary to start VIVO the first time it is run in SDB mode.
|
||||||
</p>
|
</p>
|
||||||
<h3 id="upgrade_process">III. The Upgrade Process</h3>
|
<h3 id="upgrade_process">III. The Upgrade Process</h3>
|
||||||
<p>
|
<p>
|
||||||
|
@ -260,7 +260,7 @@
|
||||||
RDF resources available for harvest using linked data. Requests for RDF
|
RDF resources available for harvest using linked data. Requests for RDF
|
||||||
resource URIs redirect to HTML or RDF representations as specified by
|
resource URIs redirect to HTML or RDF representations as specified by
|
||||||
the client. To make this possible, VIVO's default namespace must have
|
the client. To make this possible, VIVO's default namespace must have
|
||||||
certain structure and begin with the public web address of the VIVO
|
a certain structure and begin with the public web address of the VIVO
|
||||||
installation. For example, if the web address of a VIVO installation is
|
installation. For example, if the web address of a VIVO installation is
|
||||||
"http://vivo.example.edu/" the default namespace must be set to
|
"http://vivo.example.edu/" the default namespace must be set to
|
||||||
"http://vivo.example.edu/individual/" in order to support linked data.
|
"http://vivo.example.edu/individual/" in order to support linked data.
|
||||||
|
@ -322,7 +322,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
Directory where uploaded files will be stored.
|
Directory where uploaded files will be stored.
|
||||||
Be sure this directory exists and is writable by the user that
|
Be sure this directory exists and is writable by the user who
|
||||||
the Tomcat service is running as.
|
the Tomcat service is running as.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -337,7 +337,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
Directory where the Lucene search index will be
|
Directory where the Lucene search index will be
|
||||||
built. Be sure this directory exists and is writable by the user that
|
built. Be sure this directory exists and is writable by the user who
|
||||||
the Tomcat service is running as.
|
the Tomcat service is running as.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -367,7 +367,7 @@
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
Specify the JDBC URL of your database. Change
|
Specify the JDBC URL of your database. Change
|
||||||
the end of theURL to reflect your database name (if it is not "vivo").
|
the end of the URL to reflect your database name (if it is not "vivo").
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="odd_row">
|
<tr class="odd_row">
|
||||||
|
@ -543,12 +543,18 @@
|
||||||
The temporal graph visualization can require extensive machine resources.
|
The temporal graph visualization can require extensive machine resources.
|
||||||
This can have a particularly noticable impact on memory usage if
|
This can have a particularly noticable impact on memory usage if
|
||||||
<ul>
|
<ul>
|
||||||
<li> VIVO is configured to use Jena SDB, </li>
|
<li>
|
||||||
<li> The organization tree is deep, </li>
|
VIVO is configured to use Jena SDB,
|
||||||
<li> The number of grants and publications is large. </li>
|
</li>
|
||||||
|
<li>
|
||||||
|
The organization tree is deep,
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
The number of grants and publications is large.
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
The VIVO developers are working to make this visualization more efficient.
|
The VIVO developers are working to make this visualization more efficient.
|
||||||
In the meantime, VIVO release 1.2 guards against this impact by disabling
|
In the meantime, VIVO release 1.2 guards against this impact by disabling
|
||||||
temporal graph visualization unless the "visualization.temporal" flag is
|
temporal graph visualization unless the "visualization.temporal" flag is
|
||||||
set to "enabled".
|
set to "enabled".
|
||||||
</td>
|
</td>
|
||||||
|
@ -610,15 +616,13 @@
|
||||||
<li>
|
<li>
|
||||||
NIH-funded VIVO implementations will need to apply the Google
|
NIH-funded VIVO implementations will need to apply the Google
|
||||||
Analytics Tracking Code (GATC) to <code>googleAnalytics.ftl</code>
|
Analytics Tracking Code (GATC) to <code>googleAnalytics.ftl</code>
|
||||||
in the theme:
|
in the theme: <pre>[new_source_directory]/themes/[theme_dir]/templates/googleAnalytics.ftl</pre>
|
||||||
<pre>[new_source_directory]/themes/[theme_dir]/templates/googleAnalytics.ftl</pre>
|
|
||||||
A sample <code>googleAnalytics.ftl</code>
|
A sample <code>googleAnalytics.ftl</code>
|
||||||
is included in the built-in theme. This file serves only as an example,
|
is included in the built-in theme. This file serves only as an example,
|
||||||
and you must replace the tracking code shown with your institution's own
|
and you must replace the tracking code shown with your institution's own
|
||||||
tracking code. For additional information about the GATC for the NIH-funded
|
tracking code. For additional information about the GATC for the NIH-funded
|
||||||
VIVO implementation sites and a copy your institution's tracking code, see
|
VIVO implementation sites and a copy your institution's tracking code, see
|
||||||
the <a href="https://confluence.cornell.edu/display/ennsrd/Google+Analytics+for+UI">
|
the <a href="https://confluence.cornell.edu/display/ennsrd/Google+Analytics+for+UI">VIVO Google Analytics wiki page</a>.
|
||||||
VIVO Google Analytics wiki page</a>.
|
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
If you had used the <code>vivo/contrib/FLShibboleth</code>
|
If you had used the <code>vivo/contrib/FLShibboleth</code>
|
||||||
|
@ -656,10 +660,9 @@
|
||||||
<dd>
|
<dd>
|
||||||
A log of a summary of updates that were made to the knowledge base and
|
A log of a summary of updates that were made to the knowledge base and
|
||||||
notes about some recommended manual reviews. This file should end with
|
notes about some recommended manual reviews. This file should end with
|
||||||
"Finished knowledge base migration".
|
"Finished knowledge base migration".
|
||||||
|
If this file contains any warnings they should be reviewed with
|
||||||
If this file contains any warnings they should be reviewed with
|
your implementation team representative to see whether any
|
||||||
your implementation team representative to see whether any
|
|
||||||
corrective action needs to be taken.
|
corrective action needs to be taken.
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
@ -752,17 +755,16 @@
|
||||||
new default value will be propagated to the knowledge base.
|
new default value will be propagated to the knowledge base.
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<h3 id="fileSystem">V. File Storage System Upgrade</h3>
|
<h3 id="fileSystem">V. File Storage System Upgrade</h3>
|
||||||
<h4 id="changes_to_storage">i. Changes to the File Storage System</h4>
|
<h4 id="changes_to_storage">i. Changes to the File Storage System</h4>
|
||||||
<p>
|
<p>
|
||||||
Each uploaded file exists as an individual in VIVO. When the browser
|
Each uploaded file exists as an individual in VIVO. When the browser
|
||||||
requests an uploaded file from VIVO, the data model is queried to find
|
requests an uploaded file from VIVO, the data model is queried to find
|
||||||
out where the file is actually stored, so it can be downloaded to the
|
out where the file is actually stored, so it can be downloaded to the
|
||||||
browser.
|
browser.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
In VIVO release 1.2 this storage location, known as the "Alias URL" for
|
In VIVO 1.2 this storage location, known as the "Alias URL" for
|
||||||
the uploaded file, is stored in the file individual. That way, pages that
|
the uploaded file, is stored in the file individual. That way, pages that
|
||||||
contain many files can be displayed much more quickly.
|
contain many files can be displayed much more quickly.
|
||||||
</p>
|
</p>
|
||||||
|
@ -770,7 +772,7 @@
|
||||||
When Apache Tomcat starts up after the upgrade,
|
When Apache Tomcat starts up after the upgrade,
|
||||||
it will initiate a process to calculate the "Alias URL"
|
it will initiate a process to calculate the "Alias URL"
|
||||||
for each existing file and store it in the data model for fast access.
|
for each existing file and store it in the data model for fast access.
|
||||||
</p>
|
</p>
|
||||||
<h4 id="verify_file_upgrade">ii. Verify File Storage System upgrade process</h4>
|
<h4 id="verify_file_upgrade">ii. Verify File Storage System upgrade process</h4>
|
||||||
<p>
|
<p>
|
||||||
The File Storage upgrade process will create a log file in the
|
The File Storage upgrade process will create a log file in the
|
||||||
|
@ -784,32 +786,26 @@
|
||||||
<dd>
|
<dd>
|
||||||
A log of the upgrade process. The actual filename includes a timestamp
|
A log of the upgrade process. The actual filename includes a timestamp
|
||||||
that tells when the upgrade executed.
|
that tells when the upgrade executed.
|
||||||
This file should end with
|
This file should end with<code>Finished adding alias URLs to FileByteStreams.</code>
|
||||||
<code>Finished adding alias URLs to FileByteStreams.</code>
|
If this file contains any warnings they should be reviewed with
|
||||||
|
your implementation team representative to see whether any
|
||||||
If this file contains any warnings they should be reviewed with
|
|
||||||
your implementation team representative to see whether any
|
|
||||||
corrective action needs to be taken.
|
corrective action needs to be taken.
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<h3 id="theme">VI. Theme Changes</h3>
|
||||||
<h3 id="theme">VI. Theme Modifications</h3>
|
|
||||||
<h4 id="#newTheme">Introducing a New Default Theme</h4>
|
<h4 id="#newTheme">Introducing a New Default Theme</h4>
|
||||||
<p>
|
<p>
|
||||||
VIVO 1.2 includes a new default theme called <strong>wilma</strong> (located in
|
VIVO 1.2 includes a new default theme called <strong>wilma</strong>
|
||||||
/vivo/themes/wilma) which fully supports all 1.2 features. For details on how to
|
(located in
|
||||||
create your own theme using wilma as a starting point, please review the
|
/vivo/themes/wilma) which fully supports all 1.2 features. For details on how to
|
||||||
<a href="http://www.vivoweb.org/support/user-guide/administration" title="Download VIVO documentation" target="_blank">
|
create your own theme using wilma as a starting point, please review the <a href="http://www.vivoweb.org/support/user-guide/administration" title="Download VIVO documentation" target="_blank">Site Administrator's Guide</a>.
|
||||||
Site Administrator's Guide</a>.
|
|
||||||
</p>
|
</p>
|
||||||
<blockquote id="vivoBasicDeprecated">
|
<blockquote id="vivoBasicDeprecated">
|
||||||
<h4>
|
<h4>The vivo-basic theme has been deprecated with the 1.2 release and is not
|
||||||
The vivo-basic theme has been deprecated with the 1.2 release and is not
|
recommended for production instances.</h4>
|
||||||
recommended for production instances.
|
|
||||||
</h4>
|
|
||||||
<p>
|
<p>
|
||||||
Since vivo-basic was the default theme for all previous releases, it is
|
Since vivo-basic was the default theme for all previous releases, it is
|
||||||
included as part of VIVO 1.2 to help with the transition of upgrading
|
included as part of VIVO 1.2 to help with the transition of upgrading
|
||||||
existing installations to the latest code, but all vivo-basic development
|
existing installations to the latest code, but all vivo-basic development
|
||||||
has ceased and it will not be distributed in future releases.
|
has ceased and it will not be distributed in future releases.
|
||||||
</p>
|
</p>
|
||||||
|
@ -819,15 +815,21 @@
|
||||||
following:
|
following:
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>new primary menu for site navigation (replaces tabs)</li>
|
<li>
|
||||||
<li>home page with class group browse and visual graph</li>
|
new primary menu for site navigation (replaces tabs)
|
||||||
<li>menu pages with class group and individual browse</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
home page with class group browse and visual graph
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
menu pages with class group and individual browse
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<h4 id="templateTransition">Templates</h4>
|
<h4 id="templateTransition">Templates</h4>
|
||||||
<p>
|
<p>
|
||||||
The 1.2 release continues the transition from JavaServer Pages (.jsp) to
|
The 1.2 release continues the transition from JavaServer Pages (.jsp) to
|
||||||
Freemarker templates (.ftl) for generating web pages. While there are still
|
Freemarker templates (.ftl) for generating web pages. While there are still
|
||||||
JSP files in action behind the scenes, as of 1.2 all theme templates
|
JSP files in action behind the scenes, as of 1.2 all theme templates
|
||||||
are of the Freemarker variety and are located in the "templates" directory
|
are of the Freemarker variety and are located in the "templates" directory
|
||||||
within a theme.
|
within a theme.
|
||||||
|
@ -837,19 +839,45 @@
|
||||||
the vivo-basic theme in its original directory, you need not take any
|
the vivo-basic theme in its original directory, you need not take any
|
||||||
action in order to remain using the vivo-basic theme in 1.2.
|
action in order to remain using the vivo-basic theme in 1.2.
|
||||||
</p>
|
</p>
|
||||||
<p>If you did make changes to the vivo-basic theme, you will need to reapply those changes.
|
<p>
|
||||||
We recommend you apply these changes to the wilma theme.</p>
|
If you did make changes to the vivo-basic theme, you will need to reapply those changes.
|
||||||
|
We recommend you apply these changes to the wilma theme.
|
||||||
|
</p>
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<strong>Please note:</strong> The vivo-basic theme has been deprecated and is
|
<strong>Please note:</strong>
|
||||||
<a href="#vivoBasicDeprecated">not recommended for production instances</a>.
|
The vivo-basic theme has been deprecated and is <a href="#vivoBasicDeprecated">not recommended for production instances</a>.
|
||||||
</blockquote>
|
</blockquote>
|
||||||
<p>
|
<p>
|
||||||
For details on the new structure of themes in 1.2 and further information
|
For details on the new structure of themes in 1.2 and further information
|
||||||
regarding the development of your own custom theme, please review the
|
regarding the development of your own custom theme, please review the <a href="http://www.vivoweb.org/support/user-guide/administration" title="Download VIVO documentation" target="_blank">Site Administrator's Guide</a>. This document will focus on updating an existing
|
||||||
<a href="http://www.vivoweb.org/support/user-guide/administration" title="Download VIVO documentation" target="_blank">
|
|
||||||
Site Administrator's Guide</a>. This document will focus on updating an existing
|
|
||||||
pre 1.2 theme.
|
pre 1.2 theme.
|
||||||
</p>
|
</p>
|
||||||
|
<h3 id="setup_sdb">VII. Set Up SDB Store in the Background (Optional)</h3>
|
||||||
|
<p>
|
||||||
|
If your VIVO installation is running in RDB mode, and you'd like to convert
|
||||||
|
to SDB, you can start the conversion process in the background while the RDB
|
||||||
|
system is running. This will reduce the delay in initial startup after the
|
||||||
|
application is redeployed with deploy.properties set for SDB. Note that it
|
||||||
|
is important not to edit any data anywhere in the application while this
|
||||||
|
background conversion is running.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
To start the SDB conversion, log in as a system
|
||||||
|
administrator and request /sdbsetup (For example, if your VIVO is installed
|
||||||
|
at http://vivo.myuniversity.edu/ you would type
|
||||||
|
http://vivo.myuniversity.edu/sdbsetup into your browser).
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Click the button that appears on this page.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
During the course of the SDB setup, which may take several hours on a
|
||||||
|
large database, subsequent requests to /sdbsetup will display a
|
||||||
|
message that the operation is still in progress. When a request for this
|
||||||
|
page shows a message that the SDB setup has completed successfully, shut down
|
||||||
|
Tomcat, set deploy.properties to SDB mode, redeploy, and restart Tomcat.
|
||||||
|
VIVO will now be running from the SDB store.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<!-- end of content -->
|
<!-- end of content -->
|
||||||
<div id="footer" role="contentinfo">
|
<div id="footer" role="contentinfo">
|
||||||
|
@ -875,4 +903,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Reference in a new issue