From 2222565941bdf2516d1e3e5ae0f97f35dc023b0d Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 30 Aug 2020 01:10:06 -0400 Subject: get deployment scripts to work --- scripts/deploy/group_vars/all.yml | 15 ++++++++++++--- scripts/deploy/group_vars/clients.yml | 4 +++- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'scripts/deploy/group_vars') diff --git a/scripts/deploy/group_vars/all.yml b/scripts/deploy/group_vars/all.yml index d9e9a44..13d720f 100644 --- a/scripts/deploy/group_vars/all.yml +++ b/scripts/deploy/group_vars/all.yml @@ -1,15 +1,22 @@ --- ## basic config +# NOTE: change to your aws ec2 key file here +ansible_ssh_private_key_file: ~/.ssh/ted-aws-key2.pem + +# the rest of config works for Ubuntu 18.04 image on Amazon EC2 + ansible_connection: ssh ansible_user: ubuntu -# change to your aws ec2 key file here -ansible_ssh_private_key_file: ~/.ssh/ted-aws-key2.pem # remote directory that keeps the work directory for the running app testbed_prefix: "/home/ubuntu/testbed" +# must use Python 3 +ansible_python_interpreter: /usr/bin/python3 -## app specific config +## build config +hs_flags: "-g -DHOTSTUFF_ENABLE_BENCHMARK" +## app config # process name that is used by killall in reset bin_name: hotstuff-app # binary path (remote) @@ -22,3 +29,5 @@ hs_local_repo_dir: "../../" hs_conf_dir: "conf" hs_log_dir: "log" hs_base_conf: "./hotstuff.gen.conf" +# enable/disable TLS encrpytion for inter-replica communication +hs_tls: false diff --git a/scripts/deploy/group_vars/clients.yml b/scripts/deploy/group_vars/clients.yml index 5c5afd8..57e13ff 100644 --- a/scripts/deploy/group_vars/clients.yml +++ b/scripts/deploy/group_vars/clients.yml @@ -1,4 +1,6 @@ --- bin_name: "hotstuff-client" -max_iter: 100000 +# total number of commands +max_iter: 200000 +# number of concurrently outstanding requests (commands) max_async: 175 -- cgit v1.2.3-70-g09d2