<?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>Guru dell&#039;Eccelso Picco</title>
	<atom:link href="http://blog.gurudelleccelsopicco.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gurudelleccelsopicco.org</link>
	<description>Things should be as simple as possible, but not simpler. 		-- Albert Einstein</description>
	<lastBuildDate>Fri, 17 Feb 2012 09:15:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>World IPv6 Launch</title>
		<link>http://blog.gurudelleccelsopicco.org/2012/02/world-ipv6-launch/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2012/02/world-ipv6-launch/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 09:15:26 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[ipv6]]></category>
		<category><![CDATA[isp]]></category>
		<category><![CDATA[world ipv6 launch]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=356</guid>
		<description><![CDATA[<p>Major websites, ISPs and Content providors are permanently enabling IPv6 starting 6 June 2012 at 0000 UTC on their main websites: www.facebook.com,www.google.com, www.bing.com, and www.yahoo.com will all be reachable over IPv6 from that time.</p>
<p>http://www.worldipv6launch.org/</p>
<p>((enjoy))</p>
<p>&#160;</p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Major websites, ISPs and Content providors are permanently enabling IPv6 starting 6 June 2012 at 0000 UTC on their main websites: www.facebook.com,www.google.<wbr>com, www.bing.com, and www.yahoo.com will all be reachable over IPv6 from that time.</wbr></strong></p>
<p><a href="http://www.worldipv6launch.org/" target="_blank">http://www.<wbr>worldipv6launch.org/</wbr></a></p>
<p>((enjoy))</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2012/02/world-ipv6-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Oneiric Ocelot 11.10 on HP EliteBook 8760W: a perfect portable Linux workstation</title>
		<link>http://blog.gurudelleccelsopicco.org/2012/02/ubuntu-oneiric-ocelot-11-10-on-hp-elitebook-8760w-a-perfect-portable-workstation/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2012/02/ubuntu-oneiric-ocelot-11-10-on-hp-elitebook-8760w-a-perfect-portable-workstation/#comments</comments>
		<pubDate>Sun, 05 Feb 2012 13:44:21 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ati firepro]]></category>
		<category><![CDATA[fglrx]]></category>
		<category><![CDATA[hp elitebook 8560w]]></category>
		<category><![CDATA[hp elitebook 8760w]]></category>
		<category><![CDATA[HP Model LG660ET]]></category>
		<category><![CDATA[HP Model LG670ET]]></category>
		<category><![CDATA[perfect laptop]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[ubuntu oneiric ocelot]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=338</guid>
		<description><![CDATA[<p>After working for years on a Elitebook 8530p, I was looking at a laptop which has to be performant, robust and with a good display since for my work I spend most of the time without external monitor and I need a lot of space on my desktop.</p>
<p>The final choice (compatible with the budget) was [...]]]></description>
			<content:encoded><![CDATA[<p>After working for years on a Elitebook 8530p, I was looking at a laptop which has to be performant, robust and with a good display since for my work I spend most of the time without external monitor and I need a lot of space on my desktop.</p>
<p>The final choice (compatible with the budget) was an HP EliteBook 8760W (model number LG670ET) with an Intel i5-2540M @ 2,60 Ghz, 4 GB RAM, 500 GB SATA II 7.2K hard disk, ATI FirePro 5950M (Radeon HD 6700M Series) with 1 GB DDR5 and a Full HD 1920&#215;1080 17.3&#8243; LCD display.</p>
<p>Unfortunately there is no way in Italy to order this machine *without* the Operating System, mine come with Win 7 Professional; I used Windows only for the time necessary to upgrade the HP BIOS to F.21, then I created a CloneZilla image of all the 4 primary partition (really bad partitioning choice HP!!!), and then erased all the disk to enjoy Ubuntu 11.10.</p>
<p>Installation went really really smooth! I&#8217;ve been impressed because all worked fine during the setup. The surprise come at the first reboot, since the screen was horizontally shifted by almost half (varying during a couple of reboot) as you can see in <a title="Ubuntu 11.10 shifted screen" href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/864739/+attachment/2698895/+files/Ubuntu11-10-SplitScreen-on-HP8760W.jpg" target="_blank">this screenshot</a>, but in a few minutes after installing the proprietary ATI driver fglrx provied by Ubuntu &#8220;Proprietary Driver&#8221; installer, the graphic card started working like a charm. There must be something wrong in the Open Source Radeon driver, especially in the thermal control since with the ATI driver temperatures are really cool (under 45 in normal use).</p>
<p>I stringly suggest to install ASAP the latest ATI Catalyst Driver following the wonderful guide available at the <a title="Unofficial Wiki for the AMD Linux Driver" href="http://wiki.cchtml.com/index.php/Ubuntu_Oneiric_Installation_Guide">Unofficial Wiki for the AMD Linux Driver</a>.</p>
<p>I&#8217;m very satisfied with this laptop, FullHD screen is really a *lot* of space to work on and the overall performances are really really good!</p>
<p>From the Ubuntu point of view I&#8217;ve to report the following:</p>
<ul>
<li>Boot is really fast, in less than 30&#8243; from power-on the lighdm login prompt appears</li>
<li>Supend to Ram is working well and makes stop and resume still faster</li>
<li>All the special keys (volume, display dimmer, wireless) are working fine, even the Calculator shortcut button: the only unrecognized button is the WWW but I find these buttons almost unuseful <img src='http://blog.gurudelleccelsopicco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>The Full Kyeboard with numeric pad is good, with good keys dimension and finger feel; I&#8217;ve to blame only for the size of the 4 arrows block which are a little small and my fingers still have to accustom the these keys</li>
<li>Webcam is working out of the box even with Skype</li>
<li>Audio is quite good and is working out of the box</li>
<li>The Synaptics touchpad multi-touch is working out of the box for two-finger vertical and horizontal scrolling, cool! It is sufficient to enable it in the Mouse Preferences; this specific HP one has a locking feature that worked on Windows byt not yet on Ubuntu, still to investigate since there is an official package for Suse which seems to work fine.</li>
</ul>
<p>I&#8217;d like to test the AMD EyeFinity multiple desktop, which is really a cool option by AMD!</p>
<p>The only missing thing at this point is an SSD Hard Disk which surely would boost the I/O performance, even though the TOSHIBA MK5061GSYN is doing a good job for now.</p>
<p>So if you are looking for a really performant portable workstation &#8220;Ubuntu ready&#8221; I&#8217;d suggest this model without any doubt! Yes, it is not a lightweight laptop (3,5 Kg excluding charger!) but I dare you to find a similar large display at a lower weight <img src='http://blog.gurudelleccelsopicco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>If you want to save almost half a Kg, you can go with the 8560W (Model LG660ET) which has the exact same hardware but a 15.6&#8243; display, but you must have a really good sight <img src='http://blog.gurudelleccelsopicco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Instead if you have a bigger budget and want an Intel i7 with NVidia please take a look at <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/864739" target="_blank">this bug on Launchpad</a> since some people are reporting troubles with NVdia based models.</p>
<p>As always YMMV</p>
<p>((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2012/02/ubuntu-oneiric-ocelot-11-10-on-hp-elitebook-8760w-a-perfect-portable-workstation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advisory: Range header DoS vulnerability Apache HTTPD 1.3 2.x CVE 2011 3192</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/08/advisory-range-header-dos-vulnerability-apache-httpd-1-3-2-x-cve-2011-3192/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/08/advisory-range-header-dos-vulnerability-apache-httpd-1-3-2-x-cve-2011-3192/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 08:46:27 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[CVE-2011-3192]]></category>
		<category><![CDATA[dos vulnerability]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=330</guid>
		<description><![CDATA[<p>Advisory: Range header DoS vulnerability Apache HTTPD 1.3 2.x CVE 2011 3192.</p>
<p>Exploit is in the wild! Be warned!</p>
<p>UPDATE: Apache 2.2.20 has been released and it fixes this vulnerability. Update ASAP!</p>
<p>Please note that on Ubuntu the fix has been backported to Apache 2.2.14-5ubuntu8.6 for 10.4 LTS, and 2.2.8-1ubuntu0.21 for 8.04 LTS.</p>
<p>((enjoy))</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://article.gmane.org/gmane.comp.apache.announce/58">Advisory: Range header DoS vulnerability Apache HTTPD 1.3 2.x CVE 2011 3192</a>.</p>
<p>Exploit is in the wild! Be warned!</p>
<p><strong>UPDATE: <a href="http://www.apache.org/dist/httpd/Announcement2.2.html" target="_blank">Apache 2.2.20 has been released</a> and it fixes this vulnerability. Update ASAP!</strong></p>
<p>Please note that on Ubuntu the fix has been backported to Apache 2.2.14-5ubuntu8.6 for 10.4 LTS, and 2.2.8-1ubuntu0.21 for 8.04 LTS.</p>
<p>((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/08/advisory-range-header-dos-vulnerability-apache-httpd-1-3-2-x-cve-2011-3192/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10&#8242;s Unity Dash is taking shape</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/08/ubuntu-11-10s-unity-dash-is-taking-shape/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/08/ubuntu-11-10s-unity-dash-is-taking-shape/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 13:05:30 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.10]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=327</guid>
		<description><![CDATA[<p>Ubuntu 11.10&#8242;s Unity Dash is taking shape &#8211; The H Open Source: News and Features.</p>
<p>Ubuntu 11.10 looks really promising!</p>
<p>((enjoy))</p>
<p>&#160;</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.h-online.com/open/news/item/Ubuntu-11-10-s-Unity-Dash-is-taking-shape-1324386.html">Ubuntu 11.10&#8242;s Unity Dash is taking shape &#8211; The H Open Source: News and Features</a>.</p>
<p>Ubuntu 11.10 looks really promising!</p>
<p>((enjoy))</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/08/ubuntu-11-10s-unity-dash-is-taking-shape/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Solution Schema for Every Problem</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/08/the-solution-schema-for-every-problem/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/08/the-solution-schema-for-every-problem/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 15:27:30 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[problem solving schema]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=318</guid>
		<description><![CDATA[<p>
((enjoy))</p>
]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.gurudelleccelsopicco.org/wp-content/uploads/2011/08/TheProblemSolver.png"><img class="alignleft size-full wp-image-319" title="TheProblemSolver" src="http://blog.gurudelleccelsopicco.org/wp-content/uploads/2011/08/TheProblemSolver.png" alt="The Problem Solver Schema" width="768" height="572" /></a><br />
((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/08/the-solution-schema-for-every-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel Log: BIOS bugs behind greater power use &#8211; The H Open Source: News and Features</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/06/kernel-log-bios-bugs-behind-greater-power-use/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/06/kernel-log-bios-bugs-behind-greater-power-use/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 09:21:21 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[power usage]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=314</guid>
		<description><![CDATA[<p>Finally someone at Phoronix has found the reason of the greater power usage of the latest Linux Kernel.</p>
<p>Kernel Log: BIOS bugs behind greater power use &#8211; The H Open Source: News and Features.</p>
<p>((enjoy))</p>
]]></description>
			<content:encoded><![CDATA[<p>Finally someone at Phoronix has found the reason of the greater power usage of the latest Linux Kernel.</p>
<p><a href="http://www.h-online.com/open/features/Kernel-Log-BIOS-bugs-behind-greater-power-use-1269032.html">Kernel Log: BIOS bugs behind greater power use &#8211; The H Open Source: News and Features</a>.</p>
<p>((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/06/kernel-log-bios-bugs-behind-greater-power-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>npviewer.bin segfault issue SOLVED with the Adobe Flash Player 64-bit native plugin</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/06/npviewer-bin-segfault-issue-solved-with-the-adobe-flash-player-64-bit-native/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/06/npviewer-bin-segfault-issue-solved-with-the-adobe-flash-player-64-bit-native/#comments</comments>
		<pubDate>Sat, 11 Jun 2011 06:15:04 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[64 bit]]></category>
		<category><![CDATA[adobe flash player]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[npviewer.bin segfault]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=286</guid>
		<description><![CDATA[<p>If are using a 64-bit flavour of Linux, you&#8217;ll be surely affected by the npviewer.bin issue about random crashes of the Flash Player plugin in Firefox with a message like this in your /var/log/kern.log:</p>
<p>npviewer.bin[6489]: segfault at 418 ip 00000000f6034d36 sp 00000000ffaaf868 error 6 in libflashplayer.so[f5dc7000+b5f000]</p>
<p>Well, Adobe some time ago released a beta quality 64-bit native [...]]]></description>
			<content:encoded><![CDATA[<p>If are using a 64-bit flavour of Linux, you&#8217;ll be surely affected by the npviewer.bin issue about random crashes of the Flash Player plugin in Firefox with a message like this in your /var/log/kern.log:</p>
<p><code>npviewer.bin[6489]: segfault at 418 ip 00000000f6034d36 sp 00000000ffaaf868 error 6 in libflashplayer.so[f5dc7000+b5f000]</code></p>
<p>Well, Adobe some time ago released a beta quality 64-bit native Flash Plugin player which seems to work quite well.</p>
<p>For example on a recent Ubuntu (mine is 10.04) these are the steps to use it:</p>
<p>1. remove the current plugin: </p>
<p><code>sudo dpkg --purge flashplugin-installer</code></p>
<p> 2. download the 64-bit plugin from the Adobe site: <a href="http://labs.adobe.com/technologies/flashplayer10/square/" target="_blank">http://labs.adobe.com/technologies/flashplayer10/square/</a></p>
<p>3. as root place the extracted file in: /usr/lib/firefox-addons/plugins/</p>
<p>4. restart your firefox and verify from &quot;about:plugins&quot; that it get loaded correctly </p>
<p>You are done! No more npviewer.bin segfault <img src='http://blog.gurudelleccelsopicco.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p> ((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/06/npviewer-bin-segfault-issue-solved-with-the-adobe-flash-player-64-bit-native/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TEMPer Sensor temperature graphing and monitoring with MRTG</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/05/temper-sensor-temperature-graphing-and-monitoring-with-mrtg/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/05/temper-sensor-temperature-graphing-and-monitoring-with-mrtg/#comments</comments>
		<pubDate>Tue, 10 May 2011 15:31:32 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mrtg]]></category>
		<category><![CDATA[pcsensor.com]]></category>
		<category><![CDATA[temper sensor]]></category>
		<category><![CDATA[temperature alert]]></category>
		<category><![CDATA[temperature graph]]></category>
		<category><![CDATA[temperature monitoring]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=271</guid>
		<description><![CDATA[<p>If you need to monitor indoor temperature of a server room or similar, the TEMPer Sensor from PCSensor.com may be the right solution for you, at an incredible low cost! You can buy this cheap device from Amazon.com or from e-Bay, plug in the USB port of a server, and with the power of MRTG [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to monitor indoor temperature of a server room or similar, the <a title="TEMPer Sensor" href="http://www.pcsensor.com/index.php?_a=viewProd&amp;productId=7" target="_blank">TEMPer Sensor</a> from PCSensor.com may be the right solution for you, at an incredible low cost! You can buy this cheap device from Amazon.com or from e-Bay, plug in the USB port of a server, and with the power of MRTG you will have temperature graphics and email alert. The latest device model shows up as a USB Human Interface Device, while the older was a USB-to-serial.</p>
<p>I&#8217;ve tested it on a Ubuntu 10.04 physical server, and here are some configuration hints.</p>
<h3>Perl Modules</h3>
<p>Use CPAN for installing required perl modules to use the device:</p>
<pre>$ sudo apt-get install libusb-dev build-essentials
$ sudo cpan Bundle::CPAN
$ sudo cpan ExtUtils::MakeMaker
$ sudo cpan Inline::MakeMaker
$ sudo cpan Device::USB
$ sudo cpan Device::USB::PCSensor::HidTEMPer
</pre>
<p>then download a perl script from <a href="http://www.cs.unc.edu/~hays/dev/bash/temper/temper_mon.pl">http://www.cs.unc.edu/~hays/dev/bash/temper/temper_mon.pl</a> to use as a base for MRTG integration. Save the script in /usr/local/bin and modify it to print the data in the format good for MRTG, the last lines of the script should look like this:</p>
<pre>foreach my $device ( @devices )
{
   say $device-&gt;internal()-&gt;celsius();
}
printf "0\n";
printf "fool\n";
printf "My Temper sensor\n";
</pre>
<h3>MRTG Configuration</h3>
<p>Simply add these lines to your mrtg.cfg to start graphing the temperature data:</p>
<pre>Target[temper]: `/usr/local/bin/temper_mon.pl`
AbsMax[temper]: 50
MaxBytes[temper]: 30
Options[temper]: nopercent,growright,nobanner,nolegend,noinfo,expscale,gauge,noo
Title[temper]: My Server Room Temperature
PageTop[temper]: &lt;h1&gt;My Server Room Temperature&lt;/h1&gt;
YLegend[temper]: Temperature C
ShortLegend[temper]: &amp;nbsp;&amp;deg;C
LegendI[temper]: Temperature &amp;deg;C&amp;nbsp;
ThreshMinI[temper]: 15
ThreshMaxI[temper]: 30
Unscaled[temper]: dwmy
</pre>
<p>If you want to use the MRTG threshold feature, add also these lines, and MRTG will send you email alert when the temperatures values are below or over the configured thresholds.</p>
<pre># Alert
ThreshDir: /var/mrtg/thresh
ThreshMailServer: smtp.example.com
ThreshMailSender: mrtg-alert@example.com
ThreshMailAddress[_]: supporto@example.com</pre>
<p>Create the /var/mrtg/tresh directory to make MRTG happy. The Min Threshold is also used to detect if the sensor is unplugged since the program will read a value of 0.<br />
It works like a charm!<br />
((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/05/temper-sensor-temperature-graphing-and-monitoring-with-mrtg/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ZenOSS events database cleaning</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/04/zenoss-events-database-cleaning/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/04/zenoss-events-database-cleaning/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 19:38:06 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[zenoss]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=263</guid>
		<description><![CDATA[<p>If you need to purge all the records in the events database of your ZenOSS installation, the simple procedure is the following (tested on Zenoss 2.5.x on Ubuntu server).</p>
# /etc/init.d/zenoss-stack stop
# /etc/init.d/zenoss-stack start mysql
drop the "events" database
# /etc/init.d/zenoss-stack stop mysql
delete the ibdata1 and ib_log* files in the mysql data folder
# /etc/init.d/zenoss-stack start mysql
zenoss$ zeneventbuild localhost [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to purge all the records in the events database of your ZenOSS installation, the simple procedure is the following (tested on Zenoss 2.5.x on Ubuntu server).</p>
<pre># /etc/init.d/zenoss-stack stop</pre>
<pre># /etc/init.d/zenoss-stack start mysql</pre>
<pre>drop the "events" database</pre>
<pre># /etc/init.d/zenoss-stack stop mysql</pre>
<pre>delete the ibdata1 and ib_log* files in the mysql data folder</pre>
<pre># /etc/init.d/zenoss-stack start mysql</pre>
<pre>zenoss$ zeneventbuild localhost zenoss zenoss events</pre>
<pre># /etc/init.d/zenoss-stack stop mysql</pre>
<pre># /etc/init.d/zenoss-stack start</pre>
<p>((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/04/zenoss-events-database-cleaning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris VM recovery after cloning</title>
		<link>http://blog.gurudelleccelsopicco.org/2011/04/solaris-vm-recovery-after-cloning/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2011/04/solaris-vm-recovery-after-cloning/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 17:11:58 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[pci reconfiguration]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[solaris]]></category>

		<guid isPermaLink="false">http://blog.gurudelleccelsopicco.org/?p=259</guid>
		<description><![CDATA[<p>The scenario: ESX 4.1 Cluster  and a Solaris 10u8 64 bit VM running on RDM Luns. Clone the LUNs at the  storage level (a crash consistent cloning) and map them to a new VM  configured in the same exact way, same virtual hardware version, same  SCSI Controller, same Hard Disk SCSI [...]]]></description>
			<content:encoded><![CDATA[<p><strong>The scenario</strong>: ESX 4.1 Cluster  and a Solaris 10u8 64 bit VM running on RDM Luns. Clone the LUNs at the  storage level (a crash consistent cloning) and map them to a new VM  configured in the same exact way, same virtual hardware version, same  SCSI Controller, same Hard Disk SCSI ID.</p>
<p><strong>The problem</strong>:  the cloned Solaris guest will fail to boot, since for a still  unexplained reason the PCI device mapping of the controller has changed  and the kernel while booting will be unable to find the disk(s). This is  really strange since VMware ESX should provide the same exact hardware  to the guest, like in Linux OS guests.</p>
<p>Booting in failsafe mode and mounting the root file system on /a should show something like this:</p>
<p><a href="http://blog.gurudelleccelsopicco.org/wp-content/uploads/2011/04/Solaris-Failsafe-ShowDifferentPCI.png"><img class="alignleft size-full wp-image-260" title="Solaris-Failsafe-ShowDifferentPCI" src="http://blog.gurudelleccelsopicco.org/wp-content/uploads/2011/04/Solaris-Failsafe-ShowDifferentPCI.png" alt="Solaris Failsafe boot show different PCI devices" width="722" height="113" /></a></p>
<p>The /devices/pci@0,0/pci15ad,1976/sd@0,0:a is the new device, while on /a/dev/dsk/c1t0d0s0 you can see the broken symlink to the wrong PCI path.</p>
<p><strong>The solution</strong>:  you have to reconfigure the devices inside the cloned guest;  unfortunately for Solaris is far more complicated than in Linux OS.</p>
<p>1. Start the VM and at the grub prompt,  enter fail-safe mode and allow the root file system to be mounted as  read/write under <strong>/a</strong>.</p>
<p>2. Identify the new device name  using the format command. In this case it is <strong>/pci@0,0/pci15ad,1976@10/sd@0,0</strong> so replace where  necessary from now on.  vi may not display correctly so fix the  terminal type with the following command:</p>
<div>
<blockquote><p># TERM=sun-color;  export TERM</p></blockquote>
<p>3. Now edit <strong>/a/boot/solaris/bootenv.rc</strong> and  update the line that starts with <strong>setprob boothpath</strong> so that it  reads:</p>
<blockquote><p>setprop bootpath &#8216;/pci@0,0/pci15ad,1976@10/sd@0,0:a&#8217;</p></blockquote>
<p>4. Update the boot archive:</p>
<blockquote><p># bootadm  update-archive -R /a</p></blockquote>
</div>
<p>5. Then edit /a/etc/vfstab (making a backup copy  first) and modify the line mounting the root file system so instead of <strong>/dev/dsk/c1t0d0s0</strong> and <strong>/dev/rdsk/c1t0d0s0</strong> it reads the following absolute paths. Do  not forget to suffix <strong>a:</strong> and <strong>,raw</strong> respectively.</p>
<blockquote><p>/devices/pci@0,0/pci15ad,1976@10/sd@0,0:a  /devices/pci@0,0/pci15ad,1976@10/sd@0,0:a,raw / ufs 1 no -</p></blockquote>
<p>6.  Now we need to force a reconfiguration boot so that the system recreates  the <strong>/etc/path_to_inst</strong> file that contains physical device to  logical instance mappings. You can do this in 2 different ways: &#8220;touch  /a/reconfigure&#8221; before reboot or at the grub prompt, I prefer to use  grub.<br />
Anyway it is time to restart:</p>
<blockquote><p># reboot</p></blockquote>
<p>7. At the grub prompt, edit the grub entry thath sould automatically boot with &#8216;e&#8217; and edit the kernel  command line adding -r -s at the end of the line, then press &#8216;b&#8217; to  boot that entry. -r is to force reconfiguration, -s to start in  single-user mode</p>
<p>8. Login and edit <strong>/etc/vfstab</strong> again so that you can replace those absolute paths for the / file  system. If you have /var on a separate file system mount it manually to  make vi happy. If you made a  backup of this file before the last update, it would be easier to start  with this. Before you do this use format to determine the  new disks and update this file as appropriate. An example with the correct disk paths may be:</p>
<blockquote><p>/dev/dsk/c3t0d0s1 &#8211; - swap &#8211; no -<br />
/dev/dsk/c3t0d0s0  /dev/rdsk/c3t0d0s0 / ufs 1 no -<br />
/dev/dsk/c3t0d0s7 /dev/rdsk/c3t0d0s7  /export/home ufs 2 yes -</p></blockquote>
<p>9. Reboot again in multi-user mode and you&#8217;re done!  System is now ready for use.<br />
It seems that ZFS volumes will not be affected by the device reconfiguration, they should come up automatically.</p>
<p>YMMV.</p>
<p>Useful links:<br />
- http://communities.vmware.com/message/907527<br />
- http://rdiggle.blogspot.com/2010/06/using-solaris-1009-virtual-appliance.html</p>
<p>((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2011/04/solaris-vm-recovery-after-cloning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

