monasca-vagrant/split
David Schroeder 2cc609367c Require python-mysqldb package on MySQL VM
Change-Id: I7e3655877522ddfbd82b9aab7ec9f97dc77e2050
2014-07-31 09:44:28 -06:00
..
bin Better organization - seperated split setup and hlinux to their own subdirs. 2014-05-15 10:37:38 -06:00
data_bags Name changes for the agent package. 2014-07-29 16:52:22 -06:00
roles Require python-mysqldb package on MySQL VM 2014-07-31 09:44:28 -06:00
README.md minor name change, other changes will happen as updatedcookbooks are ready. 2014-07-16 15:33:10 -06:00
Vagrantfile Enable vagrant-cachier and check if vagrant-berkshelf is available 2014-07-30 12:28:00 +02:00

The chef and Vagrant configuration here runs mini-mon split into 6 different VMs. This split demonstrates and provides a simple test of how the monitoring system can scale but also is useful for some development scenarios.

Using the split mini-mon

  • Your home dir is synced to /vagrant_home on each vm
  • Vms created
    • api at 192.168.10.4
    • kafka at 192.168.10.10 - monasca-notification runs on this box also
    • mysql at 192.168.10.6
    • persister at 192.168.10.12
    • thresh at 192.168.10.14
    • vertica at 192.168.10.8
    • devstack at 192.168.10.5
  • 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

Start mini-mon

From within this directory, run this simple scripts which aid in bringing up all the vms in the proper order. If desired, the standard vagrant commands can also be used.

bin/vup

Halt mini-mon

In some cases halting mini-mon can result in certain vms being left in an odd state, to avoid this a script has been made to halt boxes in the correct order

bin/vhalt