aboutsummaryrefslogtreecommitdiff
path: root/scripts/deploy/group_vars
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-08-30 01:10:06 -0400
committerDeterminant <[email protected]>2020-08-30 01:10:06 -0400
commit2222565941bdf2516d1e3e5ae0f97f35dc023b0d (patch)
tree339aef90e5f2e195c39e3397851b6b905d5d24bf /scripts/deploy/group_vars
parentd5bf357c8010bb1219d04ede14ce699b409e93c5 (diff)
get deployment scripts to work
Diffstat (limited to 'scripts/deploy/group_vars')
-rw-r--r--scripts/deploy/group_vars/all.yml15
-rw-r--r--scripts/deploy/group_vars/clients.yml4
2 files changed, 15 insertions, 4 deletions
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