source: other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-solr-setup-local-disk-all.sh@ 31161

Last change on this file since 31161 was 31105, checked in by davidb, 7 years ago

Additional scripts to help with running solr locally out of /tmp area

  • Property svn:executable set to *
File size: 276 bytes
Line 
1#!/bin/bash
2
3unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
4
5
6for solr_host in $unique_hosts ; do
7 remote_dir="$solr_host:/tmp/solr-ef"
8
9 echo "Running rsync from networked SOLR_HOME to $remote_dir"
10 rsync -pav "$SOLR_HOME" "$remote_dir"
11done
Note: See TracBrowser for help on using the repository browser.