Last change
on this file since 31161 was 31112, checked in by davidb, 7 years ago |
To move out shards saved in /tmp on gsliscluter1 nodes to nema
|
-
Property svn:executable
set to
*
|
File size:
282 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
|
---|
4 |
|
---|
5 |
|
---|
6 |
|
---|
7 | for solr_host in $unique_hosts ; do
|
---|
8 | echo "Running 'rsync' on $solr_host -> nema:/tmp/$solr_host/solr-ef"
|
---|
9 | ssh $solr_host rsync -pav /tmp/solr-ef/solr nema:/tmp/${solr_host}-solr-ef
|
---|
10 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.