Gionn.net http://gionn.net/ Giovanni Toraldo en EVA Florence 2012: Open low-cost HA cluster cloud http://gionn.net/eva-florence-2012-open-low-cost-ha-cluster-cloud <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>During these first hot-days in Florence, I've attended the <a href="http://www.evaflorence.it/">EVA Florence 2012</a> conference, presenting a talk with <a href="http://twitter.com/ccorsani">Cristiano Corsani</a> about a project for the National Library of Florence (<a href="http://www.bncf.firenze.sbn.it">BNCF</a>), covering the deployment of a small Private Cloud using exclusively open source software, for serving internal and public BNCF services.</p> <p>The proposed solution includes a virtualization stack running on commody hardware, using the Linux KVM hypervisor, managed by Proxmox 2.0 and with a GlusterFS shared storage.</p> <p>I hope to write down some article to share the most interesting bits of this configuration, but time is not our friend.</p> </div></div></div> Thu, 10 May 2012 19:14:18 +0000 gionn 1080 at http://gionn.net Using Hurricane Electric tunnel to provide IPv6 connectivity to your entire LAN http://gionn.net/using-hurricane-electric-tunnel-provide-ipv6-connectivity-your-entire-lan <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Few days ago Hurrican Electric launched a new project about a certification process involving some online tests to prove people that they are able to understand how IPv6 works and be able to correctly configure it.<br /> Beside getting IPv6 connectivity through an IPv6 tunnel, I've easily achieved how to provide IPv6 connectivity to an entire LAN network using an unique tunnel.</p></div></div></div> Sat, 28 Apr 2012 11:03:10 +0000 gionn 1077 at http://gionn.net cannot create zfs volume: one of the devices is part of an active md or lvm device http://gionn.net/cannot-create-zfs-volume-one-devices-part-active-md-or-lvm-device <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>During the migration of a RAID1 mdadm on Ubuntu server to a ZFS mirror, I got stuck at the initial zfs volume creation with the following error:</p> <p>cannot create 'tank': one or more vdevs refer to the same device, or one of the devices is part of an active md or lvm device</p> <p>Obviously I've removed the device from the old mdadm array with:<br /><code>sudo mdadm /dev/md3 --set-faulty /dev/sdb3<br /> sudo mdadm /dev/md3 --remove /dev/sdb3</code></p></div></div></div> Sun, 22 Apr 2012 13:32:00 +0000 gionn 1076 at http://gionn.net zram on Debian/Ubuntu for memory overcommitment http://gionn.net/zram-on-debian-ubuntu-for-memory-overcommitment <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>In recent Linux releases, it's available a tiny module called <strong>zram</strong>, that permits us to create RAM based block devices (named /dev/zramX), which will be kept in memory as compressed data. These ram-based block devices allow very fast I/O, and compression provides a reasonable amounts of memory saving.</p> <p>We can use it as a drop-in replacement for the well-known <strong>tmpfs</strong> (used for speeding up compilation tasks or for /tmp), or better as a primary swap device, that will lead to virtually <strong>increase memory capacity</strong>, at the expense of a <strong>slightly increased CPU usage</strong> to compress/decompress the swapped data.</p> <p>Nowadays RAM is very cheap, so <strong>why bother with compression?</strong> Because there are some situations where you can't upgrade memory (netbooks) or you want to over-commit real resources (virtualization hosts).</p> </div></div></div> Sun, 11 Mar 2012 20:41:13 +0000 gionn 1075 at http://gionn.net Open@BNCF - LinuxDay 2011 a Pisa http://gionn.net/openbncf-linuxday-2011-pisa <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This year I've joined the LinuxDay of Pisa with a talk about my recent works in <a href="http://www.libersoft.it/">LiberSoft</a> to the <a href="http://en.wikipedia.org/wiki/National_Central_Library_(Florence)">BNCF</a>.</p> <p>These includes:<br /> * Desktop migration to Ubuntu Linux (10.04 LTS) with centralized login management (OpenLDAP) and shared /home with MooseFS;<br /> * OpenNebula KVM-based Cloud with MooseFS as backend storage (and publishing of the relative transfer manager: <a href="https://github.com/libersoft/opennebula-tm-moosefs">https://github.com/libersoft/opennebula-tm-moosefs</a>);<br /> * GlusterFS-based infrastructure for the national italian legal deposit of books (italian article: <a href="http://www.bncf.firenze.sbn.it/pagina.php?id=212&amp;rigamenu=Magazzini%20Digitali">http://www.bncf.firenze.sbn.it/pagina.php?id=212&amp;rigamenu=Magazzini%20Di...</a>)</p> </div></div></div> Sat, 22 Oct 2011 17:21:02 +0000 gionn 1009 at http://gionn.net ZFS + GlusterFS on Linux http://gionn.net/zfs-glusterfs-linux <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Time is almost ripe for start using the native ZFS port on Linux (<a href="http://zfsonlinux.org/">http://zfsonlinux.org/</a>), and to increase the performances, reliability and space usage of our affordable distributed opensource storage solution.</p> <p>Installing ZFS on Debian/Ubuntu is straightforward: you need first to build the SPL (Solaris Porting Layer) and after ZFS itself.</p> <p>Download the latest <a href="https://github.com/zfsonlinux/spl/downloads" rel="nofollow">SPL package</a>, unpack it and <a href="http://zfsonlinux.org/spl-building-deb.html" rel="nofollow">build</a>:</p> <p><code>sudo apt-get install build-essential gawk alien fakeroot linux-headers-$(uname -r)<br /> ./configure<br /> make deb<br /> dpkg -i *.deb</code></p> </div></div></div> Sat, 27 Aug 2011 09:44:02 +0000 gionn 912 at http://gionn.net Ubuntu fast boot and application launch with SSD Storage http://gionn.net/ubuntu-fast-boot-and-application-launch-ssd-storage <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Quick and dirty video of Ubuntu Natty 11.04 boot-up and applications launch of my Sony Vaio laptop with a Corsair 60GB SSD (<a href="http://twitpic.com/61y3n5">http://twitpic.com/61y3n5</a>)</p> <iframe width="425" height="349" src="http://www.youtube.com/embed/q-AXBr7NLic" frameborder="0" allowfullscreen=""></iframe></div></div></div> Sun, 07 Aug 2011 14:24:36 +0000 gionn 892 at http://gionn.net Damned coincidence http://gionn.net/damned-coincidence <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>SMART error (ErrorCount) detected on host: fs<br /> Device: /dev/sdb, ATA error count increased from 0 to 74</p> <p>=== START OF INFORMATION SECTION ===<br /> Model Family: Seagate Barracuda 7200.11<br /> Device Model: ST3500320AS<br /> [..]<br /> 9 Power_On_Hours 0x0032 070 070 000 Old_age Always - 26286</p> <p>OH wait: 26286 / 24 / 365 = 3,00068493 yr</p> <p>This disk broke exactly after 3 years. WTF?</p> </div></div></div> Tue, 21 Jun 2011 21:24:52 +0000 gionn 821 at http://gionn.net OpenNebula shared storage with MooseFS http://gionn.net/opennebula-shared-storage-moosefs <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I've written a post for the OpenNebula official blog about the usage of MooseFS as shared storage:</p> <p><a href="http://blog.opennebula.org/?p=1512">http://blog.opennebula.org/?p=1512</a></p> </div></div></div> Thu, 21 Apr 2011 17:42:03 +0000 gionn 740 at http://gionn.net squeeze-backports repository for updated pidgin anche chromium-browser http://gionn.net/squeeze-backports-repository-updated-pidgin-anche-chromium-browser <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I decided to publish on my own Debian repository some packages I've rebuilded from testing/unstable for Squeeze.</p> <p>Add to your sources.list:<br /> deb <a href="http://deb.gionn.net/">http://deb.gionn.net/</a> squeeze-backports main</p> <p>This repository currently holds:<br /> Pidgin 2.7.11-1~bpo60+1<br /> Chromium 10.0.648.133~r77742-1~bpo60+1</p> <p>I wouldn't assure that I will maintain this repository in the future, but for now enjoy!</p> </div></div></div> Fri, 25 Mar 2011 18:33:23 +0000 gionn 684 at http://gionn.net Debian on Sony Vaio VPCS13V9E http://gionn.net/debian-sony-vaio-vpcs13v9e <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>After <a href="/vendesi-macbook-pro-15-unibody-51-usato" rel="nofollow">selling my macbook pro</a>, I decided to go back to PC world and searching for something more suitable for a <strong>roadwarrior sysadmin</strong>.</p> <p>I've bought a 13,3" Sony Vaio (VPCS13V9E), and I have found some rusty after having successfully installed Debian Squeeze.</p></div></div></div> Thu, 03 Mar 2011 19:59:20 +0000 gionn 638 at http://gionn.net Vendesi macbook pro 15'' unibody 5,1 usato http://gionn.net/vendesi-macbook-pro-15-unibody-51-usato <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Se ci fosse qualche aspirante mac user all'ascolto, ho deciso di vendere il mio macbook pro (ironman edition) e ho inserito un annuncio su <a href="http://www.macusato.it/macbook-usati/10/44058" rel="nofollow">macusato.it</a>.</p> <p><del>Il prezzo fissato è di 999 €.</del> VENDUTO!</p> <p>Riporto anche qui le caratteristiche hardware:</p></div></div></div> Sun, 06 Feb 2011 11:39:22 +0000 gionn 583 at http://gionn.net Help protecting privacy of internet users with unused bandwidth of your VPS http://gionn.net/node/573 <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>The internet <a href="https://blog.torproject.org/blog/recent-events-egypt" rel="nofollow">nowadays</a> isn't a privilege, is a right. Helping the world to get full access to it, it's a must for everyone.</p> <p>If you own a server, a dedicated one or a VPS (like me, on <a href="http://www.linode.com/?r=0befaa65716d9fb267d9229c7845ea99072b7a2a" rel="nofollow">Linode</a>) you can use your spare bandwidth to help people that live in places where internet censorship it's the standard way to deal with information.</p> <p> I've setup a <a href="https://www.torproject.org/" rel="nofollow">tor</a> relay to help the community to maintain a fast and stable link for tor users. To get minimal harassment, that I really don't have time to deal with, I allow no exit from my node, the tor traffic will pass on my node from a node to another one.</p> </div></div></div> Sat, 05 Feb 2011 11:19:35 +0000 gionn 573 at http://gionn.net How to create a simple Activity Stream Weekly Digest using CCK and Views http://gionn.net/how-create-simple-activity-stream-weekly-digest-using-cck-and-views <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>I was researching for an easy method to publish as a single post my latest {month|week|day} activities on twitter aggregated by <a href="http://drupal.org/project/activitystream" rel="nofollow">Activity Stream</a>.</p> <p>This is how I did it:</p></div></div></div> Sun, 09 Jan 2011 16:39:17 +0000 gionn 510 at http://gionn.net Welcome Drupal http://gionn.net/welcome-drupal <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Finally, I achieved to migrate my mini-tiny-shiny blog from the big-bug-bloat Wordpress platform to the fast-simply-powah Drupal.</p> <p>For the import, I've used the <a href="http://drupal.org/project/wordpress_import">wordpress_import</a> module (if you use php5.3, check <a href="http://drupal.org/node/716502#comment-3015004">this</a>), that use the WXR file generated by Wordpress-&gt;Tools-&gt;Export procedure.</p> <p>Every feature I was used by on Wordpress, it's not lost because Drupal has a very large base of flexible modules. Here is a list of the most import modules I use on this site:</p> </div></div></div> Sun, 19 Dec 2010 16:01:23 +0000 gionn 459 at http://gionn.net Android speech recognition behind NAT/firewall http://gionn.net/android-speech-recognition-behind-natfirewall <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>For speech recognition to work on Android, you need to enable the forwarding on your firewall of the 19294 tcp port.</p> <p>References: <a href="http://code.google.com/support/bin/answer.py?answer=62464">http://code.google.com/support/bin/answer.py?answer=62464</a></p> </div></div></div> Sat, 11 Dec 2010 09:57:59 +0000 gionn 438 at http://gionn.net Slides corso Ubuntu Server al GOLEM (maggio 2010) http://gionn.net/slides-corso-ubuntu-server-al-golem-maggio-2010 <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Rimettendo a posto i files dei vari documenti sparsi che si sono accumulati negli ultimi mesi, sono incappato nella slides che avevo preparato per il mini-corso di 8 ore gratuito che ho tenuto al <a href="http://golem.linux.it/">GOLEM</a> mesi fa, e che mi ero promesso di pubblicare da qualche parte, prima o poi.</p> <p><a href="http://gionn.net/wp-content/uploads/2010/11/MiniCorso_Linux_server_GOLEM_2010.zip">MiniCorso_Linux_server_GOLEM_2010</a></p> </div></div></div> Mon, 01 Nov 2010 09:15:45 +0000 gionn 436 at http://gionn.net OpenOffice diventa mainstream http://gionn.net/openoffice-diventa-mainstream <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Da pochi giorni, Microsoft ha deciso di rendere noto quanto OpenOffice sia un diretto concorrente alla loro suite da ufficio, pubblicando un video di testimonianze.</p> </div></div></div> Sat, 16 Oct 2010 11:46:06 +0000 gionn 435 at http://gionn.net Windows Seven and WPAD (Proxy Autodiscovery) http://gionn.net/windows-seven-and-wpad-proxy-autodiscovery <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Don't works for me.</p> <p>Here a clue:</p> <p><a href="http://gionn.net/wp-content/uploads/2010/09/wpad.png"><img class="alignleft size-full wp-image-3689" title="wpad" src="http://gionn.net/wp-content/uploads/2010/09/wpad.png" alt="" width="677" height="342" /></a></p> <p>Suggestions (other than SUCKS)? Google doesn't help.</p> </div></div></div> Wed, 08 Sep 2010 20:58:59 +0000 gionn 433 at http://gionn.net How to circumvent the 417 Expectation failed behind a Squid proxy http://gionn.net/how-circumvent-417-expectation-failed-behind-squid-proxy <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Many applications rely on using a special HTTP/1.1 header (Expect: 100-continue) when doing a POST, which is not happily supported by Squid.</p> <p><a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html">RFC2616</a> says:</p> <blockquote><p>The purpose of the 100 (Continue) status (see section 10.1.1) is to allow a client that is sending a request message with a request body to determine if the origin server is willing to accept the request (based on the request headers) before the client sends the request body.</p> </blockquote></div></div></div> Tue, 07 Sep 2010 09:53:14 +0000 gionn 432 at http://gionn.net