~nchohan/+junk/mytools

« back to all changes in this revision

Viewing changes to bin/run_script

  • Committer: root
  • Date: 2010-11-03 07:43:57 UTC
  • Revision ID: root@appscale-image0-20101103074357-xea7ja3sor3x93oc
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
export HEAD_IP=root@128.111.179.226
 
2
export PRIME_LOG=hbase_notrans_prime
 
3
export RUN_LOG=hbase_notrans
 
4
 
 
5
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-run-instances --ips ips-2.yaml --test --file notranstest --table hbase -n 2"
 
6
echo "HBASE 2 node"
 
7
python master.py -p -t 1targets >> $PRIME_LOG
 
8
python master.py -t 1targets -s slave1s >> $RUN_LOG
 
9
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-terminate-instances --ips ips-2.yaml "
 
10
 
 
11
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-run-instances --ips ips-4.yaml --test --file notranstest --table hbase -n 2"
 
12
echo "HBASE 4 node"
 
13
python master.py -p -t 3targets >> $RUN_LOG
 
14
python master.py -t 3targets -s slaves >> $RUN_LOG
 
15
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-terminate-instances --ips ips-4.yaml "
 
16
 
 
17
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-run-instances --ips ips-6.yaml --test --file notranstest --table hbase -n 2"
 
18
echo "HBASE 6 node"
 
19
python master.py -p -t 5targets >> $RUN_LOG
 
20
python master.py -t 5targets -s slaves >> $RUN_LOG
 
21
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-terminate-instances --ips ips-6.yaml "
 
22
 
 
23
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-run-instances --ips ips-8.yaml --test --file notranstest --table hbase -n 2"
 
24
echo "HBASE 8 node"
 
25
python master.py -p -t 7targets >> $RUN_LOG
 
26
python master.py -t 7targets -s slaves >> $RUN_LOG
 
27
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-terminate-instances --ips ips-8.yaml "
 
28
 
 
29
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-run-instances --ips ips-10.yaml --test --file notranstest --table hbase -n 2"
 
30
echo "HBASE 10 node"
 
31
python master.py -p -t 3targets >> $PRIME_LOG
 
32
python master.py -t 3targets -s slaves >> $RUN_LOG
 
33
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-terminate-instances --ips ips-10.yaml "
 
34
 
 
35
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-terminate-instances --ips ips-12.yaml "
 
36
ssh $HEAD_IP "cd /trunk-tools/bin/ ; ruby appscale-run-instances --ips ips-12.yaml --test --file notranstest --table hbase -n 2"
 
37
echo "HBASE 12 node"
 
38
python master.py -p -t 11targets >> $PRIME_LOG
 
39
python master.py -t 11targets -s slaves >> $RUN_LOG