We released SmsSender

This time it’s not a new Propel behavior, but a library which helps you send SMS through your web applications : SmsSender.

As it’s largely inspirated by William‘s Geocoder, it’s also fully extensible, tested and easy to use. 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.

Feel free to test it and give us feedback about it!

We released AuditableBehavior

A new Propel behavior is born : AuditableBehavior.

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.

Enjoy !

We released ExtraPropertiesBehavior

As you know, Carpe Hora contributes to Propel ORM.

We just released a behavior to manage key value extension for a propel object.

It’s quite straight forward and allow single or multiple values for a single key.

Carpe Hora recrute : équipe commerciale

Lieu: Clermont-Ferrand
Entreprise: Carpe Hora SARL
Contrat: CDD
Expérience: ?

Description du poste

Vous commercialiserez une solution informatique de gestion de la mise en relation clientèle auprès de clients professionnels de secteurs d’activité variés (salons de coiffure, instituts de beauté, salles de sport).
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.

Description de l’entreprise

Carpe Hora est une jeune société innovante soutenue par OSEO. Nous avons développé une solution informatique sous la forme d’un service internet à destination des professionnels et nous démarrons la phase de lancement de cette solution.

Profil recherché

Votre formation est de type bac + 2 en vente.
Vous disposez idéalement d’une expérience professionnelle préalable dans la commercialisation de solutions bureautiques/informatiques ou en environnement BtoB.
Vous êtes disponible pour des déplacements à caractère régional.
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’un nouveau produit au sein d’une équipe à taille humaine.

Nous attachons beaucoup d’importance au partage de nos valeurs: enthousiasme, engagement au service des clients et proximité.

Rémunération selon profil.
Merci d’adresser votre candidature par email à
recrutement [at ]carpe-hora [point] com

Xen pciback on OVH server

Hi,


Today we will focus on configuring the pciback on Xen server.

Pciback ?



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.


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.

Requirements



To follow this how-to, you must have a functional dom0.

Practice



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 steps works on a server in our infrastructure, but doesn’t with OVH. I find an error message in logs :

DEBUG (pciif:317) pci: assign device 0000:00:19.0
XendError: Migration not permitted with assigned PCI device.
INFO (XendDomainInfo:2088) Domain has shutdown: name=fw00 id=1 reason=poweroff.



Find hereafter, my method which is less beautiful but working!


1. Create your domU, boot in and install the e1000e driver :

cd /usr/local/src
wget http://freefr.dl.sourceforge.net/project/e1000/e1000e%20stable/1.4.4/e1000e-1.4.4.tar.gz
tar -xzvf e1000e-1.4.4.tar.gz
cd /usr/local/src/e1000e-1.4.4/src
BUILD_KERNEL=2.6.32-5-xen-amd64 make install

2. Find your PCI device number :

# lspci | grep net
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)

Here, the number is 00:19.0, note it, we will use it later.


3. Create your domU config file as usually but add this line :

pci = [ '00:19.0' ]
extra = "iommu=soft swiotlb=force console=hvc0 xencons=tty"

4. Create your launch script

#!/bin/bash
date > /var/log/pciback.log
 
while [ ! -f /var/run/xend.pid ] ; do
  sleep 3
  echo "Xen is not started" >> /var/log/pciback.log
done
 
# Wait for a while, because there is a delay between the xend.pid creation and the totally start of Xen
sleep 10
 
(echo -n 0000:00:19.0 > /sys/bus/pci/drivers/e1000e/unbind) >> /var/log/pciback.log
(echo -n 0000:00:19.0 > /sys/bus/pci/drivers/pciback/new_slot) >> /var/log/pciback.log
(echo -n 0000:00:19.0 > /sys/bus/pci/drivers/pciback/bind) >> /var/log/pciback.log
 
xm create /etc/xen/fw00-debian.cfg >> /var/log/pciback.log

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.


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.


You can now use Belier to connect directly on your dom0.


Have fun with Xen :-)


Camille