Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added the reasons for some steps.
  • Import the key pair "ISLv2-ISDA" in the web UI.  Needed when starting a new VM.

Found that this was per user, not per project, so needed to import again.

  • Download and source "ISDA-openrc" in ~/.cshrc for OpenStack CLI programs such as "nova" to work. So one can use "nova list" to list the VMs.
  • Clone the "vm-elasticity" repo to get the code.
  • Copy "bdmon.conf", change username / password to "browndog".
  • Install the "subprocess32" python module:. Required by the elasticity code.

          pip install --user subprocess32   # Into "~/.local/".

...

          vi bdmon.conf

          # Edit to use a different RabbitMQ vhost, username, password, and the minimum number of instances of a Polyglot queue: "ImageMagick".

          # Stop "ruiliu"'s DAP elasticity instance, and run as this user:

          nohup ./bdmon.py >>& /tmp/browndog-bdmon-dap.log < /dev/null &

...