From 33664ce3c3d1ce44e4a2457aacddb040a66712c1 Mon Sep 17 00:00:00 2001 From: Fridolin Siegmund Date: Sun, 2 Dec 2018 23:11:29 +0100 Subject: [PATCH] readme improved, some informations added --- README.md | 6 ++++-- maci_backend/AppData/WorkerScript/worker.py | 2 +- maci_backend/webcontent/views/workerhosts/host_list.html | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 70e9cb9..7ec3717 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Run ``` ./start.sh ``` -to start MACI. +to start MACI. In some cases it can be useful to launch the script as sudo. ### Manual Installation @@ -29,6 +29,8 @@ We do not provide an install script for Windows. You might want to manually exec MACI is self-explaining and provides a web interface at http://:63658 (e.g., [http://localhost:63658](http://localhost:63658)). Check the web interface for more information. +To access Jupyter outside of localhost, you need to execute "jupyter notebook --ip --port 8888" on the machine, where the start script is running. + ## Contribute We are happy for all kind of contributions, including bug fixes and additional features. @@ -39,4 +41,4 @@ Design and Concepts: [@AlexanderFroemmgen](https://github.com/AlexanderFroemmgen Implementation: [@AlexanderFroemmgen](https://github.com/AlexanderFroemmgen), [@a10r](https://github.com/a10r), [@max-weller](https://github.com/max-weller) -Fixes and Minor Features: [@RolandKluge](https://github.com/RolandKluge), [@ckleemann](https://github.com/ckleemann), [@Nikolasel](https://github.com/Nikolasel), [@martinpfannemueller](https://github.com/martinpfannemueller), [@dstohr](https://github.com/dstohr), [@rhaban](https://github.com/rhaban), [@IstEchtSo](https://github.com/IstEchtSo) \ No newline at end of file +Fixes and Minor Features: [@RolandKluge](https://github.com/RolandKluge), [@ckleemann](https://github.com/ckleemann), [@Nikolasel](https://github.com/Nikolasel), [@martinpfannemueller](https://github.com/martinpfannemueller), [@dstohr](https://github.com/dstohr), [@rhaban](https://github.com/rhaban), [@IstEchtSo](https://github.com/IstEchtSo) diff --git a/maci_backend/AppData/WorkerScript/worker.py b/maci_backend/AppData/WorkerScript/worker.py index d63aa49..3acaefb 100644 --- a/maci_backend/AppData/WorkerScript/worker.py +++ b/maci_backend/AppData/WorkerScript/worker.py @@ -214,7 +214,7 @@ def executeJob(uri, job_location): print "posting file failed" log_content += '\n---\nPosting file failed' except: - print "posting files failed" + print "no binary files sent to server" log_content += '\n---\nPosting files failed.' # handle experiment results and messages diff --git a/maci_backend/webcontent/views/workerhosts/host_list.html b/maci_backend/webcontent/views/workerhosts/host_list.html index d9b0227..f62bb0b 100644 --- a/maci_backend/webcontent/views/workerhosts/host_list.html +++ b/maci_backend/webcontent/views/workerhosts/host_list.html @@ -18,8 +18,8 @@

Configuration

Manual management

Alternatives:

    -
  • Download the bootstrap script to manually bootstrap (install and start) new worker instances (recommended).
  • -
  • Download the worker script to manually start worker, e.g., use python -u script.py --backend {{backend}} --capabilities replaceIfRequired to manually call an existing worker script.
  • +
  • Download the bootstrap script to manually bootstrap (install and start) new worker instances (recommended). Watch out for the shutdown command, which is required to shut down AWS instances.
  • +
  • Download the worker script to manually start worker, e.g., use python -u script.py --backend {{backend}} --capabilities replaceIfRequired to manually call an existing worker script. You need to replace the "replaceIfRequired" field with your requiered capabilities, e.g. mininet

It seems the backend is running on the localhost. Automatic detection of the backend IP failed. Please specify the correct backend location in the bootstrap script and when starting the worker.

@@ -113,4 +113,4 @@

Setting up your AWS account and importing images as AMI

Security Considerations

You should make sure that your MACI instance is accessible from the workers. We recommend to use security groups in the AWS firewall, e.g., as described here. Just add a security group to all launched workers (specify it in the appsettings.json) and add a rule to your MACI instance allowing incoming traffic on port 63658 for this group.

- \ No newline at end of file +