monasca-vagrant/README.md
Tim Kuhlman a982b3abe9 Clarified the proxy section
The vagrant proxy plugin will set the proxy within the vms and for apt affects all repos.
At this point all packages are from the HPCloud apt repos and so setting an apt proxy breaks things.
2014-02-27 15:40:24 -07:00

1.3 KiB

Install's a mini monitoring environment based on vagrant. Intended for development and monitoring of the monitoring infrastructure.

Usage

Get the Code

git clone https://git.hpcloud.net/mon/mini-mon.git

Setup Vagrant

Install Vagrant

Assumes you have home homebrew installed, if not download and install VirtualBox and Vagrant from their websites then continue with Setup Berkshelf.

brew tap phinze/cask
brew install brew-cask
brew cask install virtualbox 
brew cask install vagrant

Setup Berkshelf

vagrant plugin install vagrant-berkshelf
gem install berkshelf  or gem install --http-proxy <http://some-proxy.foo.com:8088> berkshelf

Start mini-mon

Berkshelf will download some cookbooks from the community so http_proxy and https_proxy environment variables must be set if applicable. From within the mini-mon directory, run:

vagrant up
  • This will bring the vms up
  • Your home dir is synced to the vm in /vagrant_home on each vm
  • Vms created
    • kafka at 192.168.10.10
    • mysql at 192.168.10.6
    • persister at 192.168.10.12
    • vertica at 192.168.10.8
  • Run vagrant help for more info
  • Run vagrant ssh <vm name> to login to a particular vm
  • Can also run ssh vagrant@<ip address> to login
    • password is vagrant