Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: used {code} block

...

    • 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.
  • SSH.
    • Run "ssh-keygen", to create an RSA key pair, put the pub key (content of "~/.ssh/id_rsa.pub") into ~/.ssh/authorized_key . Needed for elasticity code to ssh back into this machine without requiring password.
    • Copy "~/.ssh/config" to use the batch mode and enable fast connections.  Did not use ControlMaster.
  • Elasticity.
    • Copy "bdmon.conf", change username / password to "browndog".
    • Install the "subprocess32" python module. Required by the elasticity code.

...

Code Block
          pip install --user

...

 subprocess32   # Into "~/.local/".
    • Then stop "ruiliu"'s DTS elasticity instance, and run as this user:

...

Code Block
          nohup ./bdmon.py >>& /tmp/browndog-bdmon-dts.log < /dev/null &

 

  • For DAP,
Code Block
          cd ~/git/vm-elasticity
          cp -pr bdmon bdmon-dap
          cd bdmon-dap
          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 &