lefred's blog

There Are 10 Types of People in the World....

Deploy an Asynchronous Replication setup with MySQL 8.0 in 2 mins

There are multiple way to setup replication with MySQL 8.0 and our replication offer as never been so rich: asynchronous, semi-synchronous, group replication, multi-source, … and much more options ! But if you want to setup a very quick Master-Replics environment from scratch for a quick test (you can always use dbdeployer), here are some commands to make it right … Read More

PLMCE: SKySQL/MariaDB: my Digital Caricature

Once again MariaDB invited Doug Shannon from EventToons at their Percona Live MySQL Conference & Expo‘s booth.

And once again he drew me.

This is the picture of last year:

and the one of this year:

The conclusion is simple: my beard narrowed and my face grew ! … is this a sign that I’m becoming old ? 😉

BTW, thx MariaDB‘s team for this nice and funny gift !

golden cage’s phone supported in Fedora 20

If you want to be able to use an iPhone with Fedora 20 to copy photos or songs, you will need to upgrade libimobiledevice to 1.1.6. If you don’t on the phone you will be constantly prompted to trust or not the computer:

You can find the rpms for libimobiledevice 1.1.6 here.

Puppet and 64bits packages

Since I use puppet to manage my machines (and the machines of customers), I noticed that I had more packages installed then before, I noticed also obviously the same behavior in packages to update and bandwidth consumption during updates.

I realize that on 64bits machines, most of the time, the 32bits version of the packages managed by puppet were also installed.

This is what I did in my recipes before:

package { "corosync": ensure => "installed", require => Yumrepo["clusterlabs"]; }

This kind of package declaration installed then the two version of the package, in this case corosync and the dependencies too.

To avoid this I added the fact hardwaremodel and used the alias to keep my recipes consistent:

package { "corosync.$hardwaremodel": ensure => "installed", alias => "corosync", require => Yumrepo["clusterlabs"]; }

Hope this could help people having noticed the same behavior… or not 🙂

tomcat6 with APR on RHEL5.5

The other day at $CLIENT I had to install a webapp that needed tomcat6 and I found it was quite a hassle to install a packaged version on a 32bits RedHat RHEL 5.5.

During that painful process, lefred helped finding the magic package that solved it all so I felt it was only fair for me to publish the complete solution as a guest post on his blog!