Created
August 20, 2011 22:10
-
-
Save zts/1159727 to your computer and use it in GitHub Desktop.
Demo - ActiveMQ + MCollective in Vagrant, using chef-solo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant:~$ mco inventory vagrant | |
Inventory for vagrant: | |
Server Statistics: | |
Version: 1.3.0 | |
Start Time: Sat Aug 20 21:54:23 +0000 2011 | |
Config File: /etc/mcollective/server.cfg | |
Collectives: mcollective | |
Main Collective: mcollective | |
Process ID: 22575 | |
Total Messages: 21 | |
Messages Passed Filters: 20 | |
Messages Filtered: 1 | |
Replies Sent: 19 | |
Total Processor Time: 0.55 seconds | |
System Time: 0.62 seconds | |
Agents: | |
discovery rpcutil | |
Configuration Management Classes: | |
recipe.activemq::default recipe.activemq::mcollective | |
recipe.apt recipe.chef_handler | |
recipe.java recipe.java::openjdk | |
recipe.mcollective recipe.mcollective::client | |
recipe.mcollective::common recipe.mcollective::server | |
Facts: | |
[ ... elided ... ] | |
network.interfaces.lo.addresses.127.0.0.1.family => inet | |
network.interfaces.lo.addresses.127.0.0.1.netmask => 255.0.0.0 | |
network.interfaces.lo.addresses.::1.family => inet6 | |
network.interfaces.lo.addresses.::1.prefixlen => 128 | |
network.interfaces.lo.addresses.::1.scope => Node | |
network.interfaces.lo.encapsulation => Loopback | |
network.interfaces.lo.flags => UP, LOOPBACK, RUNNING | |
network.interfaces.lo.mtu => 16436 | |
ohai_time => 1313877751.06135 | |
os => linux | |
os_version => 2.6.38-8-server | |
platform => ubuntu | |
platform_version => 11.04 | |
uptime => 15 minutes 30 seconds | |
uptime_seconds => 930 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git clone git://github.com/zts/vagrant-mcollective-chef-ubuntu.git | |
Cloning into vagrant-mcollective-chef-ubuntu... | |
remote: Counting objects: 68, done. | |
remote: Compressing objects: 100% (38/38), done. | |
remote: Total 68 (delta 12), reused 68 (delta 12) | |
Receiving objects: 100% (68/68), 30.34 KiB | 2 KiB/s, done. | |
Resolving deltas: 100% (12/12), done. | |
$ cd vagrant-mcollective-chef-ubuntu | |
$ vagrant up | |
[ ... output elided ... ] | |
$ vagrant ssh | |
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-8-server x86_64) | |
* Documentation: http://www.ubuntu.com/server/doc | |
Last login: Tue Jul 5 11:38:54 2011 from 10.0.2.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant:~$ mco ping | |
vagrant time=332.17 ms | |
---- ping statistics ---- | |
1 replies max: 332.17 min: 332.17 avg: 332.17 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment