About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
installation:installing_multiple_instances

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
installation:installing_multiple_instances [2015/12/21 16:47] – ↷ Links adapted because of a move operation demiankatzinstallation:installing_multiple_instances [2018/12/19 17:16] – [Using Multiple Solr Instances : Create a New Solr Instance] demiankatz
Line 1: Line 1:
 ====== Installing Multiple Instances ====== ====== Installing Multiple Instances ======
- 
-// This page refers to VuFind 2.x; for similar notes related to earlier versions, see [[legacy:installation:installing_multiple_instances|this page]]. // 
  
 There are a few reasons you might want to have several instances of VuFind.  Two real-life examples: There are a few reasons you might want to have several instances of VuFind.  Two real-life examples:
Line 86: Line 84:
  
 ===== 4 Set up a new Solr Core - if required ===== ===== 4 Set up a new Solr Core - if required =====
-Solr Cores hold the searchable records within vufind. Follow these steps if you want this instance to search different records to other instances of vufind on your system. +Solr Cores hold the searchable records within VuFind. Follow these steps if you want this instance to search different records to other instances of vufind on your system. 
  
 The most common setup, outlined here is an additional core on the existing Solr instance, though there are other options, see further down this page. The most common setup, outlined here is an additional core on the existing Solr instance, though there are other options, see further down this page.
  
-  * Shutdown vufind ($VUFIND_HOME/vufind.sh stop)+  * Shut down Solr (see [[administration:starting_and_stopping_solr#stopping_solr_manually|stopping Solr manually]])
   * Copy the existing core (usually biblio) under VuFind's solr directory to a new directory of your choice. e.g. <code>   * Copy the existing core (usually biblio) under VuFind's solr directory to a new directory of your choice. e.g. <code>
 cd $VUFIND_HOME/solr cd $VUFIND_HOME/solr
Line 126: Line 124:
  
 Creating a new core usually makes more sense than creating a copy of Solr, but if your index is too large to fit on a single server, you could also copy VuFind's Solr index and startup script to another server, and reconfigure your instance to point there (using the url setting in the [Index] section of [[configuration:files:config.ini]] and, if necessary, the solr.path = REMOTE and solr.hosturl settings of SolrMarc's import.properties file). Creating a new core usually makes more sense than creating a copy of Solr, but if your index is too large to fit on a single server, you could also copy VuFind's Solr index and startup script to another server, and reconfigure your instance to point there (using the url setting in the [Index] section of [[configuration:files:config.ini]] and, if necessary, the solr.path = REMOTE and solr.hosturl settings of SolrMarc's import.properties file).
- 
-It probably does not make sense to try to run two separate instances of Solr on a single server, but if you have a good reason to do this, refer to the old [[legacy:installation:installing_multiple_instances|VuFind 1.x multiple instances documentation]] for some tips; steps 4 and 6 there are still relevant. 
- 
 ===== Example shell transcript of setting up a new instance ===== ===== Example shell transcript of setting up a new instance =====
 The following example creates a new instance called springfield, with a new Solr core, on server vufindserver as user libadmin. The following example creates a new instance called springfield, with a new Solr core, on server vufindserver as user libadmin.
installation/installing_multiple_instances.txt · Last modified: 2023/11/28 20:25 by demiankatz