<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mcollective on cd ~</title><link>https://www.rottenbytes.info/tags/mcollective/</link><description>Recent content in Mcollective on cd ~</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 26 Jul 2011 11:27:29 +0000</lastBuildDate><atom:link href="https://www.rottenbytes.info/tags/mcollective/index.xml" rel="self" type="application/rss+xml"/><item><title>Trigger your chef runs with mcollective</title><link>https://www.rottenbytes.info/2011/07/26/trigger-your-chef-runs-with-mcollective/</link><pubDate>Tue, 26 Jul 2011 11:27:29 +0000</pubDate><guid>https://www.rottenbytes.info/2011/07/26/trigger-your-chef-runs-with-mcollective/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;Mcollective has been able to fire up puppetd runs for a while now, via a standalone RPC call or through the puppet commander binary (check it out, spread your load). I wanted to be able to fire up my chef clients with mcollective, to use metadata to filter what should be impacted. So I wrote a little piece of ruby, mostly based on the puppet one, to achieve this. You can now do the following :&lt;/p&gt;</description></item><item><title>Mcollective agent, to manage agents</title><link>https://www.rottenbytes.info/2011/03/15/mcollective-agent-to-manage-agents/</link><pubDate>Tue, 15 Mar 2011 09:37:06 +0000</pubDate><guid>https://www.rottenbytes.info/2011/03/15/mcollective-agent-to-manage-agents/</guid><description>&lt;p&gt;&lt;img class="alignleft size-thumbnail wp-image-418" title="agent_smith" src="http://www.rottenbytes.info/wp-content/uploads/2011/03/agent_smith-150x150.jpg" alt="agent_smith" width="150" height="150" srcset="http://www.rottenbytes.info/wp-content/uploads/2011/03/agent_smith-150x150.jpg 150w, http://www.rottenbytes.info/wp-content/uploads/2011/03/agent_smith.jpg 200w" sizes="(max-width: 150px) 100vw, 150px" /&gt;It started like a toy, to learn a little more about mcollective agents but I finally turned into something useful (at least for me). I pushed my agent “&lt;a href="https://github.com/rottenbytes/mcollective/blob/master/plugins/agents/smith.rb"&gt;smith&lt;/a&gt;” on &lt;a href="https://github.com/rottenbytes"&gt;my github account&lt;/a&gt;. It allows you to install or remove agents within mcollective. I usually use my configuration management tool to deploy such pieces of software but it can be useful in some case to go without it.&lt;/p&gt;</description></item><item><title>Generic use of chef providers in mcollective</title><link>https://www.rottenbytes.info/2011/03/11/generic-use-of-chef-providers-in-mcollective/</link><pubDate>Fri, 11 Mar 2011 22:16:44 +0000</pubDate><guid>https://www.rottenbytes.info/2011/03/11/generic-use-of-chef-providers-in-mcollective/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;This post follows my &lt;a href="http://www.rottenbytes.info/?p=404"&gt;previous&lt;/a&gt; one, dealing with the reuse of chef providers of chef in mcollective. In the comments Adam Jacob had &lt;a href="http://www.rottenbytes.info/?p=404#comment-1405"&gt;an interesting word&lt;/a&gt; and when I wrote my second agent, to manage package I saw it would be a piece of cake to write a really generic agent, due to the nature of chef resource (and the way to invoke them)&lt;/p&gt;</description></item><item><title>Reusing chef providers in mcollective</title><link>https://www.rottenbytes.info/2011/03/08/reusing-chef-providers-in-mcollective/</link><pubDate>Tue, 08 Mar 2011 20:59:34 +0000</pubDate><guid>https://www.rottenbytes.info/2011/03/08/reusing-chef-providers-in-mcollective/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;It has been quite calm for a couple of months here. I have switched job, it explains why I had less time to post some things.I now work at fotolia, and I switched from puppet to chef (no troll intended, I still think puppet is a great tool, please &lt;a href="http://www.quora.com/What-are-the-key-reasons-to-choose-Puppet-over-Chef-or-vice-versa/answer/Andrew-Clay-Shafer"&gt;read this&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>STOMP-ed nagios</title><link>https://www.rottenbytes.info/2010/09/27/stomp-ed-nagios/</link><pubDate>Mon, 27 Sep 2010 21:30:19 +0000</pubDate><guid>https://www.rottenbytes.info/2010/09/27/stomp-ed-nagios/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;Basing more and more stuff on mcollective means relying more and more on one of its underlying components : the activeMQ middleware, and more precisely the stomp connector. I hit a weird bug a few days ago and realized that I was not &lt;em&gt;functionnaly&lt;/em&gt; monitoring this part of the system. The port was bound and responded to connections, subscriptions were possible but messages didn’t pass through.So I wrote this little &lt;a href="http://github.com/rottenbytes/Scripts/blob/master/monitoring/check_stomp.rb"&gt;plugin&lt;/a&gt; that makes this possible : it creates a random string, sends it to a queue and then reads the queue to check if the result is the same.&lt;/p&gt;</description></item><item><title>Monitoring puppet trough mcollective</title><link>https://www.rottenbytes.info/2010/09/14/monitoring-puppet-trough-mcollective/</link><pubDate>Tue, 14 Sep 2010 14:10:18 +0000</pubDate><guid>https://www.rottenbytes.info/2010/09/14/monitoring-puppet-trough-mcollective/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;I recently switched from puppet daemon to &lt;a href="http://marionette-collective.org/"&gt;mcollective&lt;/a&gt; &lt;a href="http://code.google.com/p/mcollective-plugins/wiki/PuppetCommander"&gt;commander&lt;/a&gt; : it kicks the “stuck in outer space puppet daemon” feature out of the way and brings me nice features (as load control). To do so I deployed the puppetd agent over my boxes.&lt;/p&gt;</description></item><item><title>SVN agent for Mcollective</title><link>https://www.rottenbytes.info/2010/09/08/svn-agent-for-mcollective/</link><pubDate>Wed, 08 Sep 2010 19:33:41 +0000</pubDate><guid>https://www.rottenbytes.info/2010/09/08/svn-agent-for-mcollective/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;Most people that work with puppet use a VCS : subversion, git, CVS, mercurial… Pick yours. My company uses subversion and each cmmit to the repository needs to be pulled by the master. Since I have two masters, I also want them to be synchronized. Once again it’s mcollective that comes to the rescue. I wrote a very simple agent (a 5 minutes work, to be improved) that can update a specified path. Grab it &lt;a href="http://github.com/rottenbytes/mcollective/tree/master/plugins/agents/"&gt;here&lt;/a&gt;. Once it is deployed you can use a post commit hook that calls it.&lt;/p&gt;</description></item><item><title>M{ongo,collective,oar !}</title><link>https://www.rottenbytes.info/2010/08/18/mongocollectiveoar/</link><pubDate>Wed, 18 Aug 2010 11:17:56 +0000</pubDate><guid>https://www.rottenbytes.info/2010/08/18/mongocollectiveoar/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" style="margin-left: 3px; margin-right: 3px;" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;In my last post I’ve been talking about mcollective (check the &lt;a href="http://marionette-collective.org/"&gt;new website&lt;/a&gt;) and mongo and how awesome it is.&lt;/p&gt;</description></item><item><title>Mcollective &amp; OpenBSD</title><link>https://www.rottenbytes.info/2010/08/12/mcollective-openbsd/</link><pubDate>Thu, 12 Aug 2010 09:16:46 +0000</pubDate><guid>https://www.rottenbytes.info/2010/08/12/mcollective-openbsd/</guid><description>&lt;p&gt;&lt;a href="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg"&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;&lt;/a&gt;I run a bunch of box under OpenBSD at $WORK and I wanted to be able to run mcollective on these too. Unfortunately, there were no package available for this OS. So I took time and with some help from landry@ I was able to build a port. &lt;a href="http://github.com/mcollective/marionette-collective/tree/development/ext/openbsd/"&gt;It has been integrated&lt;/a&gt; into the github repo quickly. But to be able to use mcollective you also need to have the ruby stomp connector. As I don’t like using gems and prefer them packages, I also built a port for it. You can grab it in my github repository &lt;a href="http://github.com/rottenbytes/OpenBSD/tree/master/ruby-stomp/"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>A new brick in my infrastructure</title><link>https://www.rottenbytes.info/2010/06/23/a-new-brick-in-my-infrastructure/</link><pubDate>Wed, 23 Jun 2010 12:19:34 +0000</pubDate><guid>https://www.rottenbytes.info/2010/06/23/a-new-brick-in-my-infrastructure/</guid><description>&lt;p&gt;&lt;a href="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg"&gt;&lt;img class="size-full wp-image-62 alignleft" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;&lt;/a&gt;If you read this blog you may know I daily use puppet at $WORK. Puppet is made to maintain configuration on machines, but not for one shot actions. For a couple of month I used to work with fabric for this but It had a few drawbacks, mainly because you need to maintain the list of hosts you want to act on and that it hates dead hosts, even if &lt;a href="http://ghantoos.org/"&gt;ghantoos&lt;/a&gt; dropped a link showing how to &lt;a href="http://stackoverflow.com/questions/1956777/how-to-make-fabric-ignore-offline-hosts-in-the-env-hosts-list"&gt;get rid of this&lt;/a&gt;. So I replaced it with &lt;a href="http://code.google.com/p/mcollective/"&gt;mcollective&lt;/a&gt; : not exactly the same (it uses an agent instead of SSH) but it dynamicaly knows which hosts are up, allows to filter on facts (from facter, the puppet companion).&lt;/p&gt;</description></item><item><title>Mcollective &amp; Xen : naughty things</title><link>https://www.rottenbytes.info/2010/04/14/mcollective-xen-naughty-things/</link><pubDate>Wed, 14 Apr 2010 11:16:50 +0000</pubDate><guid>https://www.rottenbytes.info/2010/04/14/mcollective-xen-naughty-things/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;I already blogged about my experiments with &lt;a href="http://code.google.com/p/mcollective/"&gt;mcollective&lt;/a&gt; &amp;amp; xen but I had something a little bigger in my mind. A friend had sent me a &lt;a href="http://www.youtube.com/watch?v=7CbRS0GGuNc"&gt;video&lt;/a&gt; showing some vmware neat features (DRS mainly) with VMs migrating through hypervisors automatically.&lt;/p&gt;</description></item><item><title>Meet the marionette</title><link>https://www.rottenbytes.info/2010/04/06/meet-the-marionette/</link><pubDate>Tue, 06 Apr 2010 11:33:24 +0000</pubDate><guid>https://www.rottenbytes.info/2010/04/06/meet-the-marionette/</guid><description>&lt;p&gt;&lt;img class="alignleft size-full wp-image-62" title="eth0" src="http://www.rottenbytes.info/wp-content/uploads/2009/02/eth0.jpg" alt="eth0" width="80" height="103" /&gt;Another cool project I keep an eye on for some weeks is “&lt;a href="http://code.google.com/p/mcollective/"&gt;the marionette collective&lt;/a&gt;“, aka mcollective. This project is leaded &amp;amp; develloped by R.I. Pienaar, one of the most active people in the puppet world too.&lt;/p&gt;</description></item></channel></rss>