<?xml version="1.0" encoding="utf-8" ?>

<rdf:RDF 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns="http://my.netscape.com/rdf/simple/0.9/">
<channel>
    <title>Jonas Genannt</title>
    <link>http://blog.brachium-system.net/</link>
    <description>Weblog of an System Engineer</description>
    <dc:language>en</dc:language>

    <image rdf:resource="http://blog.brachium-system.net/templates/default/img/s9y_banner_small.png" />

    <items>
      <rdf:Seq>
        <rdf:li resource="http://blog.brachium-system.net/archives/126-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/125-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/124-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/123-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/122-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/121-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/120-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/119-guid.html" />
        <rdf:li resource="http://blog.brachium-system.net/archives/118-guid.html" />
      </rdf:Seq>
    </items>
</channel>

<image rdf:about="http://blog.brachium-system.net/templates/default/img/s9y_banner_small.png">
        <url>http://blog.brachium-system.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Jonas Genannt - Weblog of an System Engineer</title>
        <link>http://blog.brachium-system.net/</link>
        <width>100</width>
        <height>21</height>
    </image>


<item rdf:about="http://blog.brachium-system.net/archives/126-guid.html">
    <title>MCollective accepted into Debian sid/unstable</title>
    <link>http://blog.brachium-system.net/archives/126-MCollective-accepted-into-Debian-sidunstable.html</link>
    <description>
    More than one year, after the ITP of &lt;a href=&quot;http://projects.puppetlabs.com/projects/mcollective&quot;&gt;MCollective&lt;/a&gt; was submitted, &lt;a href=&quot;http://packages.qa.debian.org/m/mcollective/news/20110913T213316Z.html&quot;&gt;MCollective&lt;/a&gt; enters Debian unstable. (See &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563951&quot;&gt;#563951&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
Thanks to Damien Raude-Morvan who upload ActiveMQ to Debian and applied my patch for running multiple instances of ActiveMQ with one Initscript. (See &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634868&quot;&gt;#634868&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
Also thanks to micah anderson from the Puppet Debian PKG team who checked my package and uploaded it into Debian.&lt;br /&gt;
&lt;br /&gt;
If you are running Debian sid you can simple install MCollective:&lt;br /&gt;
&lt;br /&gt;
apt-get install mcollective-client # installes the client stuff&lt;br /&gt;
&lt;br /&gt;
apt-get install mcollective # installes the MCollective Server&lt;br /&gt;
&lt;br /&gt;
You can use debconf to configure the MCollective options. The packages also suppports preseeding - so you can configure your MCollective on installation.&lt;br /&gt;
&lt;br /&gt;
Use Debconf to configure STOMP stuff: dpkg-reconfigure -plow mcollective-common mcollective-client mcollective&lt;br /&gt;
&lt;br /&gt;
Please see default preseed file at /usr/share/doc/mcollective-common/examples/mcollective.preseed included into mcollective-common package.&lt;br /&gt;
&lt;br /&gt;
An example ActiveMQ configuration is also included in the mcollective package. See /usr/share/doc/mcollective/examples/activemq.xml.&lt;br /&gt;
&lt;br /&gt;
For more information, please have a look at /usr/share/doc/mcollective/README.Debian. 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    </dc:subject>
    <dc:date>2011-09-14T06:29:32Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=126</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=126</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/125-guid.html">
    <title>3DM2: Etch repository removed</title>
    <link>http://blog.brachium-system.net/archives/125-3DM2-Etch-repository-removed.html</link>
    <description>
    The repository 3DM2/CLI  for Etch was removed from &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;http://jonas.genannt.name&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Thanks to &lt;a href=&quot;http://www.ip-exchange.de/de/none/unternehmen/unser_business.html&quot;&gt;IP Exchange GmbH&lt;/a&gt; for sponsoring my Debian packages. 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    debian, work, </dc:subject>
    <dc:date>2011-08-30T12:53:15Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=125</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=125</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/124-guid.html">
    <title>create documentation on-the-fly with puppet stored configuration</title>
    <link>http://blog.brachium-system.net/archives/124-create-documentation-on-the-fly-with-puppet-stored-configuration.html</link>
    <description>
    I have an define &lt;em&gt;backup::directory() {}&lt;/em&gt; within my puppet catalog.&lt;br /&gt;
&lt;br /&gt;
This define is used to backup an directory with rsnapshot from an production server onto an backup server:&lt;blockquote&gt;backup::directory { &quot;/home/web/example.com&quot;: }&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
For our internal sysadmin documentation we need to add this to our wiki. This is done via an script that generates an html overview:&lt;blockquote&gt;server.example.com&lt;br /&gt;
         /home/web/example.com&lt;br /&gt;
&lt;br /&gt;
server2.example.com&lt;br /&gt;
        /home/web/foo/bar&lt;br /&gt;
        /var/www&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
If we add in our puppet configuration an new directory to backup, the documentation will be updated on-the-fly without any action from us.&lt;br /&gt;
&lt;br /&gt;
That&#039;s pretty cool - we also can use this to generate an overview of &lt;em&gt;apache::sites::vhost {}&lt;/em&gt;. So every guy knows where an apache vhost is configured.&lt;br /&gt;
&lt;br /&gt;
You can get that code on &lt;a href=&quot;https://github.com/hggh/stuff/commit/9776a03eb27905e69d1ed3d83a034f2dcb7e4bbc&quot;&gt;github.com&lt;/a&gt;.&lt;br /&gt;
&lt;blockquote&gt;./puppet_documentation.rb --resource Backup::Directory --name &quot;Directory Backup System&quot; &lt;/blockquote&gt; 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    </dc:subject>
    <dc:date>2011-06-23T20:43:39Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=124</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=124</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/123-guid.html">
    <title>SSH public key distribution with puppet</title>
    <link>http://blog.brachium-system.net/archives/123-SSH-public-key-distribution-with-puppet.html</link>
    <description>
    The last years I have used several tools to distribute the public ssh keys of my users across the servers but they don&#039;t fit anymore. I use puppet for my infrastructure but the build in puppet feature &lt;em&gt;ssh_authorized_key&lt;/em&gt; does not fit.&lt;br /&gt;
&lt;br /&gt;
I have different users across my servers and same users on many servers (e.g. web farms).&lt;br /&gt;
&lt;br /&gt;
One public ssh key can be an member of:&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;an ssh public key group that is mapped to an user on an server&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;an ssh public key group that is mapped to an user on an sever group&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;an user mapped to an server&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;an user mapped to an server group&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.brachium-system.net/uploads/sshkeys1.jpeg&#039;&gt;&lt;!-- s9ymdb:55 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;512&quot; height=&quot;257&quot;  src=&quot;http://blog.brachium-system.net/uploads/sshkeys1.jpeg&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br clear=&quot;both&quot;/&gt;&lt;br /&gt;
I have created an &lt;a href=&quot;https://github.com/hggh/servermgmt&quot; title=&quot;ServerMGMT&quot;&gt;Webapp&lt;/a&gt; with an ajax interface. You can drag &amp;amp; drop the ssh key groups or ssh keys to an user.&lt;br /&gt;
&lt;br /&gt;
The key will be deployed via an puppet parser function, you need the storeconfig feature in puppet.&lt;br /&gt;
&lt;br /&gt;
The webapp has got an own database (postgres) but you can merge the puppet storeconfig database to the server manager database (via an rake task). If you specify an regular expression on your server groups, an new merged server will be automatically added to the group and on the next run of puppet the keys from the server group will be deployed without any action from you.&lt;br /&gt;
&lt;br /&gt;
Puppet stuff:&lt;ul&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/hggh/servermgmt/blob/master/doc/puppet/modules/ssh/manifests/init.pp&quot; title=&quot;Puppet SSH module&quot;&gt;puppet module&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/hggh/servermgmt/blob/master/extra/puppet/lib/ssh_public_keys.rb&quot;&gt;puppet function to fetch the keys from the webapp&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;
&lt;li&gt;&lt;a href=&quot;https://github.com/hggh/servermgmt/blob/master/extra/facter/users.rb&quot;&gt;fact to fetch existing users on the servers&lt;/a&gt; (not needed, but features auto complete in the app) &lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.brachium-system.net/uploads/sgmt_sshkey.jpg&#039;&gt;&lt;!-- s9ymdb:56 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;330&quot; height=&quot;213&quot;  src=&quot;http://blog.brachium-system.net/uploads/sgmt_sshkey.jpg&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br clear=&quot;both&quot;/&gt;&lt;br /&gt;
drag &amp;amp; drop the ssh keys or the ssh key groups from right to left into the users on the servers or server groups&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;iframe src=&quot;http://player.vimeo.com/video/24034056?title=0&amp;amp;byline=0&amp;amp;portrait=0&quot; width=&quot;400&quot; height=&quot;300&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;&lt;p&gt;&lt;a href=&quot;http://vimeo.com/24034056&quot;&gt;public ssh key distribution with puppet and ajax interface&lt;/a&gt; from &lt;a href=&quot;http://vimeo.com/user3233269&quot;&gt;Jonas&lt;/a&gt; on &lt;a href=&quot;http://vimeo.com&quot;&gt;Vimeo&lt;/a&gt;.&lt;/p&gt;&lt;br /&gt;
 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    debian, puppet, work, </dc:subject>
    <dc:date>2011-05-21T01:51:00Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=123</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=123</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/122-guid.html">
    <title>Using Nagios for Wordpress Version Checks</title>
    <link>http://blog.brachium-system.net/archives/122-Using-Nagios-for-Wordpress-Version-Checks.html</link>
    <description>
    &lt;!-- s9ymdb:52 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;949&quot; height=&quot;140&quot;  src=&quot;http://blog.brachium-system.net/uploads/wordpress_check.jpg&quot;  alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;m using Nagios to check for Wordpress Version updates and plugin updates - it&#039;s really nice. You don&#039;t need to login to wp-admin and check for version. An single PHP Cli script, that puppet installs and configures the nagios for every wordpress installation.&lt;br /&gt;
&lt;br /&gt;
Next step: create an all in wonder script that will upgrade wordpress and all plugins &lt;img src=&quot;http://blog.brachium-system.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Update: Script: &lt;a href=&quot;http://blog.brachium-system.net/uploads/check_wordpress&quot; title=&quot;check_wordpress&quot; target=&quot;_blank&quot;&gt;check_wordpress&lt;/a&gt; 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    control, puppet, work, </dc:subject>
    <dc:date>2011-02-23T23:35:49Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=122</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=122</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/121-guid.html">
    <title>Updated 3dm2/CLI packages from 3Ware</title>
    <link>http://blog.brachium-system.net/archives/121-Updated-3dm2CLI-packages-from-3Ware.html</link>
    <description>
    I have updated my 3Ware 3dm2 debian packages.&lt;br /&gt;
&lt;br /&gt;
Now version 10.2 is available on &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;jonas.genannt.name&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Since debian squeeze is now stable, I provide also squeeze packages. The debian etch packages will be removed soon.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;**UPDATE**&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
The 10.2 3md2 program on amd64 has got an problem:&lt;blockquote&gt;3dm2: relocation error: /lib/libnss_files.so.2: symbol __rawmemchr, version GLIBC_2.2.5 not defined in file libc.so.6 with link time reference&lt;/blockquote&gt;&lt;br /&gt;
An workaround is, to use an IP address for the mailserver name: &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/574726/comments/12&quot; &gt;Bug #574726&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Thanks Mourik! 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    </dc:subject>
    <dc:date>2011-02-15T17:35:17Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=121</wfw:comment>
        <slash:comments>3</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=121</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/120-guid.html">
    <title>Nagios parents hosts with Puppet</title>
    <link>http://blog.brachium-system.net/archives/120-Nagios-parents-hosts-with-Puppet.html</link>
    <description>
    I&#039;m using my &lt;a href=&quot;http://projects.puppetlabs.com/issues/4989&quot;&gt;fact&lt;/a&gt; and stored configurations in puppet to get the running Xen domU in my system.&lt;br /&gt;
&lt;br /&gt;
I also maintain my nagios configuration with puppet, with the Xendomains fact, I automatically set in the nagios configuration the parents for an domU system.&lt;br /&gt;
&lt;br /&gt;
The running domU on node1.fra.example.com is web1.fra.example.com. &lt;br /&gt;
&lt;br /&gt;
The nagios configuration will look like:&lt;blockquote&gt;define host{&lt;br /&gt;
         use                generic-host&lt;br /&gt;
         host_name    web1.fra.example.com &lt;br /&gt;
         alias              web1 - amd64&lt;br /&gt;
         address         3.3.3.3&lt;br /&gt;
   	 parents         node1.fra.example.com&lt;br /&gt;
	 hostgroups   XXX,XXX&lt;br /&gt;
        }&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Using this &lt;a href=&quot;https://github.com/hggh/puppetstuff/blob/master/puppet/lib/get_parent_host.rb&quot;&gt; puppet parser&lt;/a&gt; function to fetch the dom0 for an domU system from the database.&lt;br /&gt;
&lt;br /&gt;
After calling that function I can build the nagios configuration and using virtual resources in puppet to transfer that information to my nagios server.&lt;br /&gt;
 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    </dc:subject>
    <dc:date>2010-11-11T20:51:17Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=120</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=120</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/119-guid.html">
    <title>documentation of running domUs in Xen with puppet</title>
    <link>http://blog.brachium-system.net/archives/119-documentation-of-running-domUs-in-Xen-with-puppet.html</link>
    <description>
    If you are running some servers with Xen, you have the problem to figure out, where an domU is running.&lt;br /&gt;
&lt;br /&gt;
If you are using puppet with &lt;a href=&quot;http://projects.puppetlabs.com/projects/1/wiki/Using_Stored_Configuration&quot;&gt;stored configurations&lt;/a&gt; you need to install only the xendomains fact, that will be &lt;a href=&quot;http://projects.puppetlabs.com/issues/4989&quot;&gt;soon available&lt;/a&gt; in facter.&lt;br /&gt;
&lt;br /&gt;
With this data, I create the following graph on-the-fly - documentation done!&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;http://blog.brachium-system.net/uploads/puppetcreatexendomainsgraph.rb.png&#039;&gt;&lt;!-- s9ymdb:51 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;109&quot; height=&quot;74&quot;  src=&quot;http://blog.brachium-system.net/uploads/puppetcreatexendomainsgraph.rb.serendipityThumb.png&quot;  alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Script is available on &lt;a href=&quot;https://github.com/hggh/puppetstuff/blob/master/puppetcreatexendomainsgraph.rb&quot;&gt;github&lt;/a&gt;.  
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    work, xen, </dc:subject>
    <dc:date>2010-11-10T17:54:05Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=119</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=119</wfw:commentRss>
    
    
</item>
<item rdf:about="http://blog.brachium-system.net/archives/118-guid.html">
    <title>Postfix as backup MX with Postgrey</title>
    <link>http://blog.brachium-system.net/archives/118-Postfix-as-backup-MX-with-Postgrey.html</link>
    <description>
    For keeping that stuff in my mind:&lt;blockquote&gt;&lt;br /&gt;
smtpd_client_restrictions = check_policy_service inet:127.0.0.1:60000&lt;br /&gt;
smtpd_recipient_restrictions =  permit_mynetworks,permit_mx_backup, reject_unauth_destination&lt;br /&gt;
permit_mx_backup_networks = 10.0.0.0/16&lt;br /&gt;
&lt;/blockquote&gt; 
    </description>

    <dc:publisher>Jonas Genannt</dc:publisher>
    <dc:creator>nospam@example.com (Jonas Genannt)</dc:creator>
    <dc:subject>
    debian, spam, xen, </dc:subject>
    <dc:date>2010-09-09T19:42:34Z</dc:date>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=118</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=1.0&amp;type=comments&amp;cid=118</wfw:commentRss>
    
    
</item>

</rdf:RDF>

