<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Carpe Hora</title>
	<atom:link href="http://www.carpe-hora.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.carpe-hora.com</link>
	<description></description>
	<lastBuildDate>Thu, 10 May 2012 10:09:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>We released SmsSender</title>
		<link>http://www.carpe-hora.com/2011/12/we-released-chsmssender/</link>
		<comments>http://www.carpe-hora.com/2011/12/we-released-chsmssender/#comments</comments>
		<pubDate>Fri, 23 Dec 2011 19:46:09 +0000</pubDate>
		<dc:creator>kevin</dc:creator>
				<category><![CDATA[open source project]]></category>
		<category><![CDATA[technique]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=601</guid>
		<description><![CDATA[This time it&#8217;s not a new Propel behavior, but a library which helps you send SMS through your web applications &#8230; <a href="http://www.carpe-hora.com/2011/12/we-released-chsmssender/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>This time it&#8217;s not a new Propel behavior, but a library which helps you send SMS through your web applications : <a href="https://github.com/Carpe-Hora/SmsSender">SmsSender</a>.</p>
<p>As it&#8217;s largely inspirated by <a href="https://github.com/willdurand">William</a>&#8216;s <a href="https://github.com/willdurand/Geocoder">Geocoder</a>, it&#8217;s also fully extensible, <a href="http://travis-ci.org/#!/Carpe-Hora/chSmsSender">tested</a> and <a href="https://github.com/Carpe-Hora/chSmsSender/blob/master/README.md">easy to use</a>. Its provider and adapter system allows you both to use different SMS sending services and different ways to chat with their API. In fact, SmsSender is almost the missing SMS sending library.</p>
<p>Feel free to test it and give us feedback about it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/12/we-released-chsmssender/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We released AuditableBehavior</title>
		<link>http://www.carpe-hora.com/2011/12/we-released-aditablebehavior/</link>
		<comments>http://www.carpe-hora.com/2011/12/we-released-aditablebehavior/#comments</comments>
		<pubDate>Mon, 19 Dec 2011 11:07:41 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=596</guid>
		<description><![CDATA[A new Propel behavior is born : AuditableBehavior. Any change in your database can be logged quite easily, and as &#8230; <a href="http://www.carpe-hora.com/2011/12/we-released-aditablebehavior/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>A new <a href="http://www.propelorm.org">Propel</a> behavior is born : <a href="http://carpe-hora.github.com/AuditableBehavior">AuditableBehavior</a>.</p>
<p>Any change in your database can be logged quite easily, and as it is possible to define your own log table, just inject current user during the activity save process and it will become possible to track record activity, and user activity too.</p>
<p>Enjoy !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/12/we-released-aditablebehavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>We released ExtraPropertiesBehavior</title>
		<link>http://www.carpe-hora.com/2011/12/we-released-extrapropertiesbehavior/</link>
		<comments>http://www.carpe-hora.com/2011/12/we-released-extrapropertiesbehavior/#comments</comments>
		<pubDate>Wed, 14 Dec 2011 11:07:33 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[open source project]]></category>
		<category><![CDATA[propel]]></category>
		<category><![CDATA[technique]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=593</guid>
		<description><![CDATA[As you know, Carpe Hora contributes to Propel ORM. We just released a behavior to manage key value extension for &#8230; <a href="http://www.carpe-hora.com/2011/12/we-released-extrapropertiesbehavior/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>As you know, Carpe Hora contributes to <a href="http://www.propelorm.org">Propel ORM</a>.</p>
<p>We just released a <a href="http://carpe-hora.github.com/ExtraPropertiesBehavior/">behavior to manage key value extension</a> for a propel object.</p>
<p>It&#8217;s quite straight forward and allow single or multiple values for a single key.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/12/we-released-extrapropertiesbehavior/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Carpe Hora recrute : équipe commerciale</title>
		<link>http://www.carpe-hora.com/2011/09/carpe-hora-recrute-equipe-commerciale/</link>
		<comments>http://www.carpe-hora.com/2011/09/carpe-hora-recrute-equipe-commerciale/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 10:05:17 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[recrutement]]></category>
		<category><![CDATA[technique]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=579</guid>
		<description><![CDATA[Lieu: Clermont-Ferrand Entreprise: Carpe Hora SARL Contrat: CDD Expérience: ? Description du poste Vous commercialiserez une solution informatique de gestion &#8230; <a href="http://www.carpe-hora.com/2011/09/carpe-hora-recrute-equipe-commerciale/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Lieu:</strong> Clermont-Ferrand<br />
<strong>Entreprise:</strong> Carpe Hora SARL<br />
<strong>Contrat:</strong> CDD<br />
<strong>Expérience:</strong> ?</p>
<h2>Description du poste</h2>
<p>Vous commercialiserez une solution informatique de gestion de la mise en relation clientèle auprès de clients professionnels de secteurs d&#8217;activité variés (salons de coiffure, instituts de beauté, salles de sport).<br />
Vous prendrez en charge le secteur géographique local dans un premier temps et mènerez des actions commerciales classiques : prospection directe ou par mailing, visite sur prescription ou recommandation, démonstrations groupées ou non, participation à des salons professionnels, propositions commerciales, négociation, signature et suivi.</p>
<h2>Description de l&#8217;entreprise</h2>
<p>Carpe Hora est une jeune société innovante soutenue par OSEO. Nous avons développé une solution informatique sous la forme d&#8217;un service internet à destination des professionnels et nous démarrons la phase de lancement de cette solution.</p>
<h2>Profil recherché</h2>
<p>Votre formation est de type bac + 2 en vente.<br />
Vous disposez idéalement d&#8217;une expérience professionnelle préalable dans la commercialisation de solutions bureautiques/informatiques ou en environnement BtoB.<br />
Vous êtes disponible pour des déplacements à caractère régional.<br />
Vous êtes dynamique et autonome; vous ressentez un intérêt fort pour les nouvelles technologies et une motivation particulière pour participer au lancement d&#8217;un nouveau produit au sein d&#8217;une équipe à taille humaine.</p>
<p>Nous attachons beaucoup d&#8217;importance au partage de nos valeurs: enthousiasme, engagement au service des clients et proximité.</p>
<p>Rémunération selon profil.<br />
Merci d&#8217;adresser votre candidature par email à<br />
recrutement [at ]carpe-hora [point] com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/09/carpe-hora-recrute-equipe-commerciale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen pciback on OVH server</title>
		<link>http://www.carpe-hora.com/2011/08/xen-pciback-on-ovh-server/</link>
		<comments>http://www.carpe-hora.com/2011/08/xen-pciback-on-ovh-server/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 08:48:31 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[technique]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[pciback]]></category>
		<category><![CDATA[squeeze]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=547</guid>
		<description><![CDATA[Hi, Today we will focus on configuring the pciback on Xen server. Pciback ? The pciback is assigning hardware to &#8230; <a href="http://www.carpe-hora.com/2011/08/xen-pciback-on-ovh-server/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi,<br />
<BR /><br />
Today we will focus on configuring the pciback on Xen server.<br />
<BR /></p>
<h1>Pciback ?</h1>
<p><BR /><br />
The pciback is assigning hardware to a domU. For example, you can connect your network card directly on the domU without passing by the dom0. Thanks to this method, you increase both performance and security.<br />
<BR /><br />
In this article, we will see how to connect a network card to the domU firewall on a server OVH (Super Plan 2011), ie with one network card.<br />
<BR/></p>
<h1>Requirements</h1>
<p><BR /><br />
To follow this how-to, you must have a functional dom0.<br />
<BR /></p>
<h1>Practice</h1>
<p><BR /><br />
On all how-to I have read, the steps are the same : search the pci device number, configure your grub and configure your domU. These <a href="http://publications.jbfavre.org/virtualisation/xen_openwrt_domu_pci_passthrough.fr">steps</a> works on a server in our infrastructure, but doesn&#8217;t with OVH. I find an error message in logs :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">DEBUG <span style="color: #7a0874; font-weight: bold;">&#40;</span>pciif:<span style="color: #000000;">317</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> pci: assign device 0000:00:<span style="color: #000000;">19.0</span>
XendError: Migration not permitted with assigned PCI device.
INFO <span style="color: #7a0874; font-weight: bold;">&#40;</span>XendDomainInfo:<span style="color: #000000;">2088</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> Domain has shutdown: <span style="color: #007800;">name</span>=fw00 <span style="color: #007800;">id</span>=<span style="color: #000000;">1</span> <span style="color: #007800;">reason</span>=poweroff.</pre></div></div>

<p><BR /><br />
Find hereafter, my method which is less beautiful but working!<br />
<BR /><br />
1. Create your domU, boot in and install the <a href="http://freefr.dl.sourceforge.net/project/e1000/e1000e%20stable/1.4.4/e1000e-1.4.4.tar.gz">e1000e driver</a> :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>freefr.dl.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>e1000<span style="color: #000000; font-weight: bold;">/</span>e1000e<span style="color: #000000; font-weight: bold;">%</span>20stable<span style="color: #000000; font-weight: bold;">/</span>1.4.4<span style="color: #000000; font-weight: bold;">/</span>e1000e-1.4.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> e1000e-1.4.4.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>e1000e-1.4.4<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #007800;">BUILD_KERNEL</span>=2.6.32-<span style="color: #000000;">5</span>-xen-amd64 <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>2. Find your PCI device number :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># lspci | grep net</span>
00:<span style="color: #000000;">19.0</span> Ethernet controller: Intel Corporation 82579V Gigabit Network Connection <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">rev</span> 05<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Here, the number is 00:19.0, note it, we will use it later.<br />
<BR /><br />
3. Create your domU config file as usually but add this line :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pci = <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">'00:19.0'</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
extra = <span style="color: #ff0000;">&quot;iommu=soft swiotlb=force console=hvc0 xencons=tty&quot;</span></pre></div></div>

<p>4. Create your launch script</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #c20cb9; font-weight: bold;">date</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>pciback.log
&nbsp;
<span style="color: #000000; font-weight: bold;">while</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #000000; font-weight: bold;">!</span> <span style="color: #660033;">-f</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>xend.pid <span style="color: #7a0874; font-weight: bold;">&#93;</span> ; <span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">3</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Xen is not started&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>pciback.log
<span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Wait for a while, because there is a delay between the xend.pid creation and the totally start of Xen</span>
<span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">10</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> 0000:00:<span style="color: #000000;">19.0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">/</span>drivers<span style="color: #000000; font-weight: bold;">/</span>e1000e<span style="color: #000000; font-weight: bold;">/</span>unbind<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>pciback.log
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> 0000:00:<span style="color: #000000;">19.0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">/</span>drivers<span style="color: #000000; font-weight: bold;">/</span>pciback<span style="color: #000000; font-weight: bold;">/</span>new_slot<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>pciback.log
<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #660033;">-n</span> 0000:00:<span style="color: #000000;">19.0</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>bus<span style="color: #000000; font-weight: bold;">/</span>pci<span style="color: #000000; font-weight: bold;">/</span>drivers<span style="color: #000000; font-weight: bold;">/</span>pciback<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">bind</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>pciback.log
&nbsp;
xm create <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>fw00-debian.cfg <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>log<span style="color: #000000; font-weight: bold;">/</span>pciback.log</pre></div></div>

<p>It is very simple, just it wait that xen it started, unbind the e1000e driver, bind the pciback driver and launch the domU with pciback.<br />
<BR /><br />
I suggest you to ping your server during this manipulation : ping during the boot and xen start, lost ping during the domU boot (very quick), and get the ping with the new domU.<br />
<BR /><br />
You can now use <a href="http://www.ohmytux.com/belier/" title="belier" target="_blank">Belier</a> to connect directly on your dom0.<br />
<BR /><br />
Have fun with Xen :-)<br />
<BR /><br />
Camille</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/08/xen-pciback-on-ovh-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Propel has a new core team</title>
		<link>http://www.carpe-hora.com/2011/08/propel-has-a-new-core-team/</link>
		<comments>http://www.carpe-hora.com/2011/08/propel-has-a-new-core-team/#comments</comments>
		<pubDate>Thu, 04 Aug 2011 17:59:46 +0000</pubDate>
		<dc:creator>Julien</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[open source project]]></category>
		<category><![CDATA[propel]]></category>
		<category><![CDATA[sf14_plugin]]></category>
		<category><![CDATA[technique]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=555</guid>
		<description><![CDATA[Hi folk, You might know that Carpe Hora is using Propel ORM for internal developpments, and that a month ago &#8230; <a href="http://www.carpe-hora.com/2011/08/propel-has-a-new-core-team/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi folk,<br />
<BR /><br />
You might know that Carpe Hora is using <a href="http://www.propelorm.org">Propel ORM</a> for internal developpments, and that a month ago propel project became orphan as @francoisz chosed to stop his involvemnet.<br />
Well Propel is an awsome project that just can&#8217;t die, so in cooperation with @couac and @mazenovi we decided to take the project over.<br />
<BR /><br />
<a href="https://github.com/propelorm">Propel core team</a> now maintain <a href="https://github.com/propelorm/Propel">propel 1.6</a>, <a href="https://github.com/propelorm/PropelBundle">PropelBundle</a> for symfony2 and <a href="https://github.com/propelorm/sfPropel15Plugin">sfPropel15Plugin</a> for symfony 1.x<br />
<BR /><br />
For more information have a look to <a href="http://propel.posterous.com/propel-wont-die">William&#8217;s post on propel blog</a>.<br />
<BR /><br />
Cheers,<br />
<BR /><br />
Julien.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/08/propel-has-a-new-core-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LVM in OVH rescue mode</title>
		<link>http://www.carpe-hora.com/2011/07/lvm-in-ovh-rescue-mode/</link>
		<comments>http://www.carpe-hora.com/2011/07/lvm-in-ovh-rescue-mode/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 11:41:14 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[technique]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[recuse]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=536</guid>
		<description><![CDATA[Hey, Booting in OVH rescue mode results in a netboot, and in such a mode LVM is not detected. My &#8230; <a href="http://www.carpe-hora.com/2011/07/lvm-in-ovh-rescue-mode/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey,<br />
Booting in OVH rescue mode results in a netboot, and in such a mode <a href="http://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)">LVM</a> is not detected.<br />
My logs being located in an LVM partition, I had to figure out a way to access it.<br />
In order to detect logical volumes, you can use <a href="http://linux.die.net/man/8/vgscan">vgscan</a> as follow :</p>

<div class="wp_syntax"><div class="code"><pre class="sh" style="font-family:monospace;">vgscan
vgchange -ay</pre></div></div>

<p>From now your volume group can be found in <strong>/dev/<em>your_volume_group</em>/</strong>, and can be mounted as usual.<br />
Camille</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/07/lvm-in-ovh-rescue-mode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xen on OVH server (SuperPlan-2011)</title>
		<link>http://www.carpe-hora.com/2011/07/xen-on-ovh-server-superplan-2011/</link>
		<comments>http://www.carpe-hora.com/2011/07/xen-on-ovh-server-superplan-2011/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 07:22:46 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[technique]]></category>
		<category><![CDATA[e1000e]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[super plan]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=512</guid>
		<description><![CDATA[Hey, A few days ago, Carpe-Hora rent 2 SP-2011 to our own needs. We want install Xen on them. We &#8230; <a href="http://www.carpe-hora.com/2011/07/xen-on-ovh-server-superplan-2011/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey,<br />
<BR /><br />
A few days ago, Carpe-Hora rent 2 SP-2011 to our own needs. We want install Xen on them.<br />
<BR /><br />
We are habituate to install a Xen server, but with this type of server it&#8217;s was more complicated &#8230; Indeed, the NIC driver, wasn&#8217;t include in the Xen kernel of Debian package.<br />
<BR /><br />
So, we must install the &laquo;&nbsp;e1000e&nbsp;&raquo; driver by the network on a server which haven&#8217;t a network connection :-) ! That will be funny !<br />
<BR /><br />
We have 2 solutions, the first it&#8217;s slow but you can check every step, and the second for the sysadmin players :-) !<br />
<BR /><br />
In the twice case, you must install Xen such as usual :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xen-hypervisor-<span style="color: #000000;">4.0</span>-amd64 xen-tools xen-utils-<span style="color: #000000;">4.0</span> linux-headers-<span style="color: #000000;">2.6</span>-xen-amd64 linux-image-<span style="color: #000000;">2.6</span>-xen-amd64</pre></div></div>

<p>Configure grub to boot on the Xen Kernel :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>grub.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">10</span>_linux <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>grub.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">21</span>_linux
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>grub.d<span style="color: #000000; font-weight: bold;">/</span>06_OVHkernel <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>grub.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">22</span>_OVHkernel
update-grub</pre></div></div>

<p>And download the driver e1000e :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>freefr.dl.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>project<span style="color: #000000; font-weight: bold;">/</span>e1000<span style="color: #000000; font-weight: bold;">/</span>e1000e<span style="color: #000000; font-weight: bold;">%</span>20stable<span style="color: #000000; font-weight: bold;">/</span>1.4.4<span style="color: #000000; font-weight: bold;">/</span>e1000e-1.4.4.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> e1000e-1.4.4.tar.gz</pre></div></div>

<h1> The easy way </h1>
<p><BR /><br />
With this way, we will use the vKVM. It&#8217;s a virtual KVM, it works but it&#8217;s very slow &#8230; For example, to the compilation of our driver, it will take 15 minutes &#8230; Furthermore, the keyboard is very weird, maybe it&#8217;s because I french, but I haven&#8217;t find the underscore ! To take it the use of the kVM more simply, we will create a little script before :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>e1000e-1.4.4<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #007800;">BUILD_KERNEL</span>=2.6.32-<span style="color: #000000;">5</span>-xen-amd64 <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Save it in /root, and make it executable :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x compile_e1000e.sh</pre></div></div>

<p>Now, you must go in your OVH manager, and in Services-Netboot, define the vKVM option.<BR /><br />
Reboot.<BR /><br />
Wait the mail of OVH, with your couple of login/password and log in.<br />
<BR /><br />
Check that you are on the good kernel :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># uname -a</span>
Linux xxxxxxxxxx.ovh.net 2.6.32-<span style="color: #000000;">5</span>-xen-amd64</pre></div></div>

<p>Ok, you are on the Xen Kernel, it&#8217;s ok we can execute our script. The compilation will take a while &#8230; 15 minutes in my server &#8230; I think this is in link with the vKVM.<br />
<BR /><br />
Brief, after the compilation, go back in your OVH Manager and set the Netboot to &laquo;&nbsp;HD&nbsp;&raquo;. Shutdown the vKVM, and reboot your server.<br />
<BR /><br />
If all it&#8217;s ok, you have now a Xen server with the Xen Kernel on your SP-2011 :-).<br />
<BR /></p>
<h1> The players way</h1>
<p><BR /><br />
Before, I know the solution, I wanted control all the operation, so I use the vKVM. But now, I think if you do a little script with a crontask (take 2mn to the reboot) it can works.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>e1000e-1.4.4<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #007800;">BUILD_KERNEL</span>=2.6.32-<span style="color: #000000;">5</span>-xen-amd64 <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
reboot</pre></div></div>

<p>Here, the hardness is the OVH monitoring check if your server ask to the ping, and after 5 or 10 minutes, OVH reboot it in rescue mode. So you must boot on Xen kernel, compile the driver and reboot very quickly. But I think, it can works !<br />
<BR /><br />
Have fun :-) !<br />
<BR /><br />
Camille.<br />
<BR /></p>
<p>Thanks to : <a href="http://forum.ovh.com/showthread.php?p=442880" target="_blank">http://forum.ovh.com/showthread.php?p=442880</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/07/xen-on-ovh-server-superplan-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenWRT and OpenVPN</title>
		<link>http://www.carpe-hora.com/2011/07/openwrt-et-openvpn/</link>
		<comments>http://www.carpe-hora.com/2011/07/openwrt-et-openvpn/#comments</comments>
		<pubDate>Mon, 25 Jul 2011 11:07:57 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[technique]]></category>
		<category><![CDATA[domU]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=449</guid>
		<description><![CDATA[Hey, Today, we will see how create a OpenVPN server (domU) with OpenWRT project. Why use OpenWRT rather than GNU/Debian &#8230; <a href="http://www.carpe-hora.com/2011/07/openwrt-et-openvpn/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hey,<br />
<BR /><br />
Today, we will see how create a OpenVPN server (domU) with <a href="https://openwrt.org/" title="openwrt" target="_blank">OpenWRT</a> project.<br />
<BR /></p>
<h1>Why use OpenWRT rather than GNU/Debian ?</h1>
<p><BR /><br />
2 answers to this question : security and performance. Indeed, an OpenWRT is very light, they are only the necessary so it&#8217;s more secure and consume less resource.<br />
<BR /></p>
<h1>OpenWRT is for embedded devices, how can I use with Xen  ?</h1>
<p><BR /><br />
You can recompile OpenWRT to use the domU architecture and add the software that you want !<br />
<BR /></p>
<h1>How ?</h1>
<p><BR /><br />
First, install the requirements :<br />
<BR /></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">aptitude</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion subversion-tools build-essential asciidoc <span style="color: #c20cb9; font-weight: bold;">autoconf</span> binutils <span style="color: #c20cb9; font-weight: bold;">bison</span> <span style="color: #c20cb9; font-weight: bold;">bzip2</span> <span style="color: #c20cb9; font-weight: bold;">flex</span> <span style="color: #c20cb9; font-weight: bold;">gawk</span> <span style="color: #c20cb9; font-weight: bold;">gettext</span> libncurses5-dev libz-dev <span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #c20cb9; font-weight: bold;">unzip</span> zlib1g-dev ia32-libs lib32gcc1 libc6-dev-i386</pre></div></div>

<p>Then, get the source :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> <span style="color: #c20cb9; font-weight: bold;">svn</span>:<span style="color: #000000; font-weight: bold;">//</span>svn.openwrt.org<span style="color: #000000; font-weight: bold;">/</span>openwrt<span style="color: #000000; font-weight: bold;">/</span>trunk trunk
<span style="color: #7a0874; font-weight: bold;">cd</span> trunk
.<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>feeds update
.<span style="color: #000000; font-weight: bold;">/</span>scripts<span style="color: #000000; font-weight: bold;">/</span>feeds <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>Configure OpenWRT :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span> menuconfig
<span style="color: #7a0874; font-weight: bold;">&#91;</span>.....<span style="color: #7a0874; font-weight: bold;">&#93;</span>
Target System
  <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> x86
Subtarget
  <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> Xen Paravirt Guest
Kernel modules
  Xen paravirtualized guest support
      <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> kmod-xen-evtchn
      <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span> kmod-xen-fbdev
      <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> kmod-xen-fs
      <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> kmod-xen-kbddev
      <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> kmod-xen-netdev
Network
  VPN
      <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> openvpn
      <span style="color: #7a0874; font-weight: bold;">&#91;</span>x<span style="color: #7a0874; font-weight: bold;">&#93;</span> openvpn-easy-rsa
<span style="color: #7a0874; font-weight: bold;">&#91;</span>.....<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Finally, compile it :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p><BR /><br />
After the compilation, you must transfer OpenWRT on your dom0, and create the config file :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">kernel       = <span style="color: #ff0000;">'/boot/openwrt-x86-xen_domu-vmlinuz'</span>                                                 
root         = <span style="color: #ff0000;">'/dev/xvda2 ro'</span>
&nbsp;
memory       = <span style="color: #ff0000;">'32'</span>
&nbsp;
disk         = <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">'file:/boot/openwrt-x86-xen_domu-combined-ext4.img,xvda,w'</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
on_poweroff  = <span style="color: #ff0000;">'destroy'</span>
on_reboot    = <span style="color: #ff0000;">'restart'</span>
on_crash     = <span style="color: #ff0000;">'restart'</span>
&nbsp;
extra = <span style="color: #ff0000;">&quot;console=hvc0 xencons=tty&quot;</span>
&nbsp;
dhcp = <span style="color: #ff0000;">'dhcp'</span>
vif  = <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">'bridge=xenbr-eth0'</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
name         = <span style="color: #ff0000;">'openvpn'</span></pre></div></div>

<p>Yes, I did define 32mo of memory :-) !<br />
<BR /><br />
Launch your domU OpenWRT :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">xm create <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>xen<span style="color: #000000; font-weight: bold;">/</span>openwrt-openvpn.cfg</pre></div></div>

<p>Now you have an OpenWRT with OpenVPN, you just have to configure OpenVPN. To do this, I suggest you to check this article : <a href="http://doc.ubuntu-fr.org/openvpn" target="_blank">http://doc.ubuntu-fr.org/openvpn</a><br />
<BR /><br />
Thanks to : <a href="http://publications.jbfavre.org/virtualisation/xen_openwrt_domu_pci_passthrough.fr" target="_blank">http://publications.jbfavre.org/virtualisation/xen_openwrt_domu_pci_passthrough.fr</a><br />
<BR /><br />
Camille</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/07/openwrt-et-openvpn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pinba with symfony application (3/3) : integration in Centreon</title>
		<link>http://www.carpe-hora.com/2011/07/pinba-with-symfony-application-33-integration-in-centreon/</link>
		<comments>http://www.carpe-hora.com/2011/07/pinba-with-symfony-application-33-integration-in-centreon/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 12:16:45 +0000</pubDate>
		<dc:creator>camille</dc:creator>
				<category><![CDATA[open source project]]></category>
		<category><![CDATA[technique]]></category>
		<category><![CDATA[centreon]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[pinba]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[squeeze]]></category>

		<guid isPermaLink="false">http://www.carpe-hora.com/?p=492</guid>
		<description><![CDATA[Hello ! Since it is Friday afternoon, I stop all activity on my servers and I write documentation and article &#8230; <a href="http://www.carpe-hora.com/2011/07/pinba-with-symfony-application-33-integration-in-centreon/"><span class="meta-nav">see more</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello !<br />
<BR /><br />
Since it is Friday afternoon, I stop all activity on my servers and I write documentation and article for the blog! We started a few days ago, to write a set of articles about Pinba and symfony. Today, this is the last one.<br />
<BR /><br />
After the 2 previous articles, we had a Pinba server able to measure the requests of our own symfony application. That data is stored in a Mysql database. I would like to use this information to generate some graphics. To do that, I can use rrdtool, but I have a Nagios/Centreon server which is already used to monitoring and generate charts. So, I would like to integrate Pinba data, in my Nagios. To do that, I needed a Nagios plugin, but after a few research I didn&#8217;t find one. Therefore, I decided to write it. The source code is under GNU/GPL v2 and it is available on <a href="https://github.com/Carpe-Hora/check_pinba.py" target="_blank">Github</a><br />
<BR /></p>
<h1>How to use it ?</h1>
<p><BR /><br />
It&#8217;s pretty easy :<br />
<BR /><br />
1. You download check_pinba.py : <a title="check_pinba.py" href="http://exchange.nagios.org/directory/Plugins/Websites%2C-Forms-and-Transactions/check_pinba/details" target="_blank">Exchange Nagios</a><br />
2. You add it in your Nagios plugin folder (such as /usr/local/nagios/libexec)<br />
3. Make it, executable :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x check_pinba.py</pre></div></div>

<p>4. In Centreon, create a command : Configuration-Commands-Add :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">$USER1</span>$<span style="color: #000000; font-weight: bold;">/</span>check_pinba.py <span style="color: #660033;">-H</span> <span style="color: #007800;">$HOSTADDRESS</span>$ <span style="color: #660033;">-u</span> <span style="color: #007800;">$ARG1</span>$ <span style="color: #660033;">-p</span> <span style="color: #007800;">$ARG2</span>$ <span style="color: #660033;">-D</span> <span style="color: #007800;">$ARG3</span>$ <span style="color: #660033;">-r</span> <span style="color: #007800;">$ARG4</span>$ <span style="color: #660033;">-q</span> <span style="color: #007800;">$ARG5</span>$ <span style="color: #660033;">-v</span> <span style="color: #007800;">$ARG6</span>$ <span style="color: #660033;">-w</span> <span style="color: #007800;">$ARG7</span>$ <span style="color: #660033;">-c</span> <span style="color: #007800;">$ARG8</span>$</pre></div></div>

<p>Argument definition :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">ARG1 : database username
ARG2 : database password
ARG3 : database name
ARG4 : table name
ARG5 : column name
ARG6 : filter of column name
ARG7 : warning
ARG8 : critical</pre></div></div>

<p><BR /><br />
5. Then, you just have to configure your service and a few minutes later you can go in &laquo;&nbsp;Views&nbsp;&raquo; to check your chart :-). For example : </p>
<p><a href="http://www.carpe-hora.com/wp-content/uploads/2011/07/Capture-2.png"><img src="http://www.carpe-hora.com/wp-content/uploads/2011/07/Capture-2-300x103.png" alt="" title="Graph Pinba" width="300" height="103" class="aligncenter size-medium wp-image-503" /></a></p>
<p>Have fun !</p>
<p>Camille.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.carpe-hora.com/2011/07/pinba-with-symfony-application-33-integration-in-centreon/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

