MCollective installation tutorial
I haven't been able to have mcollective functional. Searched through the web for help although there is no standard tutorial for setting it up for Puppet 1.8.1 open-source running Ubuntu 14.04 server.
The configuration files are hideous and activemq doesn't make much sense.
Appreciate a step by step tutorial.
EDIT:
I went through that. I have the correct packages installed on the master and the agent. Apart from that there is no explenation how to configure /etc/mcollective/, *.cfg files or what to include in /etc/activemq/instaces-enabled or create a activemq.conf file. It doesn't say if I need to install activemq.
When I do a mco ping I get: Could not connect to ActiveMQ Server:
config
I went through with the module: puppet module install puppetlabs-activemq. mcollective installed on master and agent. Ran it on my master. It created an activemq.xml file. My server.cfg and client.cfg, yet when i mco ping I get error message: Could not connect to ActiveMQ Server
main_collective = mcollective
collectives = mcollective
libdir = /usr/share/mcollective/plugins
logfile = /var/log/mcollective.log
loglevel = info
daemonize = 1
# plugins
securityprovider = psk
plugin.psk = unset
connector = activemq
plugin.activemq.pool.size = 1
plugin.activemq.pool.1.host = stomp1
plugin.activemq.pool.1.port = 6163
plugin.activemq.pool.1.user = mcollective
plugin.activemq.pool.1.password = marionette
#facts
factsource = yaml
plugin.yaml = /etc/mcollective/facts.yaml
Logs
Could not connect to ActiveMQ Server: (RuntimeError) from
/usr/lib/ruby/vendorruby/mcollective/connector/activemq.rb:273:in rescue in connect'
<---- from /usr/lib/ruby/vendor_ruby/mcollective/connector/activemq.rb:221:inconnect'
from /usr/lib/ruby/vendorruby/mcollective/client.rb:36:in block in initialize' from
/usr/lib/ruby/1.9.1/timeout.rb:55:intimeout' from
/usr/lib/ruby/vendorruby/mcollective/client.rb:35:in
initialize' from /usr/lib/ruby/vendor_ruby/mcollective/application/ping.rb:52:innew' from
/usr/lib/ruby/vendorruby/mcollective/application/ping.rb:52:in main' from
/usr/lib/ruby/vendor_ruby/mcollective/application.rb:293:inrun' from
/usr/lib/ruby/vendor_ruby/mcollective/applications.rb:23:in run' from /usr/bin/mco:33:in<main>'