From d5bf357c8010bb1219d04ede14ce699b409e93c5 Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 30 Aug 2020 00:15:08 -0400 Subject: fix the connection issue with --notls flag on; WIP: deployment example --- scripts/deploy/group_vars/all.yml | 24 ++++++++++++++++++++++++ scripts/deploy/group_vars/clients.yml | 4 ++++ 2 files changed, 28 insertions(+) create mode 100644 scripts/deploy/group_vars/all.yml create mode 100644 scripts/deploy/group_vars/clients.yml (limited to 'scripts/deploy/group_vars') diff --git a/scripts/deploy/group_vars/all.yml b/scripts/deploy/group_vars/all.yml new file mode 100644 index 0000000..d9e9a44 --- /dev/null +++ b/scripts/deploy/group_vars/all.yml @@ -0,0 +1,24 @@ +--- +## basic config + +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" + +## app specific config + +# process name that is used by killall in reset +bin_name: hotstuff-app +# binary path (remote) +replica_bin: "/home/ubuntu/libhotstuff/examples/hotstuff-app" +client_bin: "/home/ubuntu/libhotstuff/examples/hotstuff-client" +# remote repo path +hs_repo_dir: "/home/ubuntu/libhotstuff" +# local source code path (that will be copied to the remote) +hs_local_repo_dir: "../../" +hs_conf_dir: "conf" +hs_log_dir: "log" +hs_base_conf: "./hotstuff.gen.conf" diff --git a/scripts/deploy/group_vars/clients.yml b/scripts/deploy/group_vars/clients.yml new file mode 100644 index 0000000..5c5afd8 --- /dev/null +++ b/scripts/deploy/group_vars/clients.yml @@ -0,0 +1,4 @@ +--- +bin_name: "hotstuff-client" +max_iter: 100000 +max_async: 175 -- cgit v1.2.3