/[Sack]/trunk/bin/cloud.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/cloud.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 62 by dpavlin, Fri Sep 25 13:16:04 2009 UTC revision 63 by dpavlin, Fri Sep 25 13:49:42 2009 UTC
# Line 6  limit=25000 Line 6  limit=25000
6  connect=  connect=
7    
8  v=  v=
9  v='-v'  #v='-v'
10    
11  hostname=`hostname -s`  hostname=`hostname -s`
12    
# Line 29  function node { Line 29  function node {
29    
30          echo "# node $1 [$ssh] $offset $limit"          echo "# node $1 [$ssh] $offset $limit"
31    
32            echo 0 exit | nc localhost $port
33    
34          $ssh $v $2/srv/Sack/bin/sack.pl --listen $port --limit $limit --offset $offset &          $ssh $v $2/srv/Sack/bin/sack.pl --listen $port --limit $limit --offset $offset &
35          connect="$connect --connect 127.0.0.1:$port"          connect="$connect --connect $port"
36    
37          port=`expr $port + 1`          port=`expr $port + 1`
38          offset=`expr $offset + $limit`          offset=`expr $offset + $limit`
# Line 40  if [ $hostname == 't61p' ] ; then Line 42  if [ $hostname == 't61p' ] ; then
42          node tab /          node tab /
43  else  else
44          echo "# .lib";          echo "# .lib";
45          node mlin /virtual/webpac2.rot13.org/export/          limit=500
46          node mlin /virtual/webpac2.rot13.org/export/  #       node mlin /virtual/webpac2.rot13.org/export/
47          node opr  /virtual/webpac2.rot13.org/export/  #       node mlin /virtual/webpac2.rot13.org/export/
48          node opr  /virtual/webpac2.rot13.org/export/          node opr  /virtual/webpac2.rot13.org/export/
49          node klin /virtual/webpac2.rot13.org/export/  #       node opr  /virtual/webpac2.rot13.org/export/
50    #       node klin /virtual/webpac2.rot13.org/export/
51  fi  fi
52    
53    

Legend:
Removed from v.62  
changed lines
  Added in v.63

  ViewVC Help
Powered by ViewVC 1.1.26