Changeset 32173

Show
Ignore:
Timestamp:
20.04.2018 11:19:24 (6 months ago)
Author:
davidb
Message:

Shift to using Solr7 setup

Location:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster
Files:
1 added
1 modified

Legend:

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

    r31465 r32173  
    1414elif [ "${short_hostname%[1-2]}" = "solr" ] ; then 
    1515  export ZOOKEEPER_SERVER=solr1:8181 
     16 
    1617  export SOLR_NODES="solr1:8983 solr1:8984 solr1:8985 solr1:8986 solr1:8987" 
     18  export SOLR_NODES="$SOLR_NODES solr1:8988 solr1:8989 solr1:8990 solr1:8991 solr1:8992" 
    1719  export SOLR_NODES="$SOLR_NODES solr2:8983 solr2:8984 solr2:8985 solr2:8986 solr2:8987" 
     20  export SOLR_NODES="$SOLR_NODES solr2:8988 solr2:8989 solr2:8990 solr2:8991 solr2:8992" 
     21 
    1822  export SOLR_SHARDS="/disk0/solr-full-ef /disk1/solr-full-ef /disk2/solr-full-ef /disk3/solr-full-ef /disk4/solr-full-ef" 
     23  export SOLR_SHARDS="$SOLR_SHARDS /disk5/solr-full-ef /disk6/solr-full-ef /disk7/solr-full-ef /disk8/solr-full-ef /disk9/solr-full-ef" 
    1924  export SOLR_SHARDS="$SOLR_SHARDS /disk0/solr-full-ef /disk1/solr-full-ef /disk2/solr-full-ef /disk3/solr-full-ef /disk4/solr-full-ef" 
     25  export SOLR_SHARDS="$SOLR_SHARDS /disk5/solr-full-ef /disk6/solr-full-ef /disk7/solr-full-ef /disk8/solr-full-ef /disk9/solr-full-ef" 
    2026 
    21   export SOLR_JAVA_MEM="-Xms10g -Xmx15g"   
     27  #export SOLR_JAVA_MEM="-Xms10g -Xmx15g" 
     28  # export SOLR_JAVA_MEM="-Xms5g -Xmx7g" 
     29  export SOLR_JAVA_MEM="-Xmx14g"   
    2230 
     31#  export SOLR7_NODES="solr1:9983 solr1:9984 solr1:9985 solr1:9986 solr1:9987" 
     32#  export SOLR7_NODES="$SOLR_NODES solr1:9988 solr1:9989 solr1:9990 solr1:9991 solr1:9992" 
     33#  export SOLR7_NODES="$SOLR_NODES solr2:9983 solr2:9984 solr2:9985 solr2:9986 solr2:9987" 
     34#  export SOLR7_NODES="$SOLR_NODES solr2:9988 solr2:9989 solr2:9990 solr2:9991 solr2:9992" 
     35 
     36#  export SOLR7_SHARDS="/disk0/solr-full-ef /disk1/solr-full-ef /disk2/solr-full-ef /disk3/solr-full-ef /disk4/solr-full-ef" 
     37#  export SOLR7_SHARDS="$SOLR_SHARDS /disk5/solr-full-ef /disk6/solr-full-ef /disk7/solr-full-ef /disk8/solr-full-ef /disk9/solr-full-ef" 
     38#  export SOLR7_SHARDS="$SOLR_SHARDS /disk0/solr-full-ef /disk1/solr-full-ef /disk2/solr-full-ef /disk3/solr-full-ef /disk4/solr-full-ef" 
     39#  export SOLR7_SHARDS="$SOLR_SHARDS /disk5/solr-full-ef /disk6/solr-full-ef /disk7/solr-full-ef /disk8/solr-full-ef /disk9/solr-full-ef" 
     40 
     41   
    2342else 
    2443  export ZOOKEEPER_SERVER=gchead:8181 
     
    7190 
    7291source SETUP/setup-zookeeper.bash  
    73 source SETUP/setup-solr.bash 
     92#source SETUP/setup-solr.bash 
     93source SETUP/setup-solr7.bash 
    7494 
    7595if [ "$short_hostname" = "gsliscluster1" ] ; then