Skip to content

Commit

Permalink
Allow to provide ssh password when preparing nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafal Studnicki committed Apr 29, 2015
1 parent d26030b commit 400a2cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -81,12 +81,14 @@ all the nodes, including them in the Erlang hostnames as well.
3. Edit the ``ansible/group_vars/amoc-master`` file and enter hosts of all
the slave nodes as in the example. This should be the same as the first
column in the ``hosts`` file.
4. Run ``make prepare`` in order to configure the slave nodes.
4. Run ``make prepare`` in order to configure the slave nodes.
If you need to provide a SSH password, try ``make prepare ARGS="--ask-pass
--ask-sudo-pass"`` instead.
5. Run ``make rel`` in order to build the release.
6. Run ``make deploy`` in order to deploy the release.
7. Go to the master's node and start amoc by executing
``~/amoc_master/bin/amoc start``. Now you can run commands by attaching
to the amoc's node with ``~/amoc_master/bin/amoc attach``, typing a
``~/amoc_master/bin/amoc start``.
Now you can run commands by attaching to the amoc's node with ``~/amoc_master/bin/amoc attach``, typing a
command and pressing Ctrl+D.
8. Execute ``amoc_dist:do(my_scenario, 1, 100).`` to start
a scenario.
Expand Down
2 changes: 1 addition & 1 deletion makefile
Expand Up @@ -16,4 +16,4 @@ deploy:
ansible-playbook -i hosts ansible/amoc-slaves.yml

prepare:
ansible-playbook -i hosts ansible/amoc-prepare.yml
ansible-playbook -i hosts ansible/amoc-prepare.yml $(ARGS)

0 comments on commit 400a2cb

Please sign in to comment.