Ignore:
Timestamp:
2017-01-31T00:08:35+13:00 (7 years ago)
Author:
davidb
Message:

Changes made to operate on solr1 and solr2 boxes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SETUP/setup-solr.bash

    r31301 r31373  
    33_SOLR_TOP_LEVEL_HOME="$HTRC_EF_PACKAGE_HOME/solr"
    44
    5 if [ "$short_hostname" = "nema" ] ; then
     5if [ "$short_hostname" = "nema" ] || [ "${short_hostname%[1-2]}" = "solr" ] ; then
    66  _SOLR_HOME="$_SOLR_TOP_LEVEL_HOME/server/solr"
    77else
     
    2323  export PATH="$SOLR_TOP_LEVEL_HOME/bin:$PATH"
    2424
     25  # on solr1 and solr2 these will be locally overriden when solr-server started/stopped
    2526  export SOLR_HOME="$_SOLR_HOME"
    26 
    2727  export SOLR_PID_DIR="$SOLR_HOME"
    2828
Note: See TracChangeset for help on using the changeset viewer.