update scripts

pull/43/head
Minh Doan 6 years ago
parent 173b97901a
commit 88d3941edf
  1. 4
      aws-experiment-launch/new-pipeline/create_deploy_soldiers.sh
  2. 2
      aws-experiment-launch/new-pipeline/userdata-soldier.sh

@ -18,9 +18,9 @@ sleep $SLEEP_TIME
echo "Rung collecint raw ips"
python collect_public_ips.py --instance_output instance_output.txt
sleep 10
# sleep 10
echo "Generate distribution_config"
python generate_distribution_config.py --ip_list_file raw_ip.txt --shard_num $SHARD_NUM --client_num $CLIENT_NUM
python generate_distribution_config.py --ip_list_file raw_ip.txt --shard_number $SHARD_NUM --client_number $CLIENT_NUM
echo "Run commander prepare"
python commander_prepare.py

@ -3,10 +3,12 @@ yum install ruby -y
cd /home/ec2-user/
curl http://unique-bucket-bin.s3.amazonaws.com/txgen -o txgen
curl http://unique-bucket-bin.s3.amazonaws.com/soldier -o soldier
curl http://unique-bucket-bin.s3.amazonaws.com/commander -o commander
curl http://unique-bucket-bin.s3.amazonaws.com/benchmark -o benchmark
chmod +x ./soldier
chmod +x ./txgen
chmod +x ./benchmark
chmod +x ./commander
# Get My IP
ip=`curl http://169.254.169.254/latest/meta-data/public-ipv4`

Loading…
Cancel
Save