<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Hillel's Weblog</title>
	<atom:link href="http://hantonov.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://hantonov.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Tue, 09 Aug 2011 21:36:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='hantonov.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Hillel's Weblog</title>
		<link>http://hantonov.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://hantonov.wordpress.com/osd.xml" title="Hillel&#039;s Weblog" />
	<atom:link rel='hub' href='http://hantonov.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Shazam Magic</title>
		<link>http://hantonov.wordpress.com/2010/01/06/shazam-magic/</link>
		<comments>http://hantonov.wordpress.com/2010/01/06/shazam-magic/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 17:26:35 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=31</guid>
		<description><![CDATA[On my short drive to the computer parking this morning, I tuned in to the WBGO radio station. There was a song I liked and I wanted to know what it is. Usually when this happens, I check wbgo&#8217;s web site where they have the play list, but for this I need to remember the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=31&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>On my short drive to the computer parking this morning, I tuned in to the <a href="http://www.wbgo.org/" target="_blank">WBGO</a> radio station. There was a song I liked and I wanted to know what it is. Usually when this happens, I check wbgo&#8217;s web site where they have the play list, but for this I need to remember the time and I need to remember to check the web site.  This time I decided to use Shazam app on my iPhone. The app managed to tag it as one of Michel Camilo songs (<a href="http://www.amazon.com/One-More-Once-Michel-Camilo/dp/B000002AOD/ref=sr_1_1?ie=UTF8&amp;s=music&amp;qid=1262798178&amp;sr=1-1" target="_blank">why not!</a>). This made me wonder what is the technology behind this. My initial thought was FFT on the song sample but then comparing this to every second of every song would be impractical. Quick google search reviled the academic paper written by someone from Shazam and a good <a href="http://laplacian.wordpress.com/2009/01/10/how-shazam-works/" target="_blank">explanation</a> by this blogger. Very impressive technology.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=31&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2010/01/06/shazam-magic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Random password generator.</title>
		<link>http://hantonov.wordpress.com/2009/09/17/random-password-generator/</link>
		<comments>http://hantonov.wordpress.com/2009/09/17/random-password-generator/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 15:38:01 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[sysadmin linux]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=29</guid>
		<description><![CDATA[Very simple. I checked it on OS X and Ubuntu&#8230; egrep -ioam1 '[a-z0-9]{8}' /dev/urandom<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=29&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Very simple. I checked it on OS X and Ubuntu&#8230;</p>
<pre>egrep -ioam1 '[a-z0-9]{8}' /dev/urandom</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=29&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2009/09/17/random-password-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Exchange 2007 Management Shell</title>
		<link>http://hantonov.wordpress.com/2009/04/20/exchange-2007-management-shell/</link>
		<comments>http://hantonov.wordpress.com/2009/04/20/exchange-2007-management-shell/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 18:59:16 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Exchange 2007]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=23</guid>
		<description><![CDATA[When activating Exchange Management Shell directly (for example from scheduler or monitoring application) and not from the link that installation is crating, this is the command line PowerShell.exe -PSConsoleFile &#8220;C:\Program Files\Microsoft\Exchange Server\Bin\ExShell.psc1&#8243; -Command &#8220;./myscript.ps1&#8243; Update As an alternative, the first line in the script can be Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=23&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When activating Exchange Management Shell directly (for example from scheduler or monitoring application) and not from the link that installation is crating, this is the command line</p>
<p>PowerShell.exe -PSConsoleFile &#8220;C:\Program Files\Microsoft\Exchange Server\Bin\ExShell.psc1&#8243; -Command &#8220;./myscript.ps1&#8243;</p>
<p><strong> Update</strong></p>
<p>As an alternative, the first line in the script can be</p>
<pre style="overflow:visible;font-size:8pt;width:100%;color:black;line-height:12pt;">Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=23&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2009/04/20/exchange-2007-management-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Autocomplete for ssh</title>
		<link>http://hantonov.wordpress.com/2009/04/16/autocomplete-for-ssh/</link>
		<comments>http://hantonov.wordpress.com/2009/04/16/autocomplete-for-ssh/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 18:01:37 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=20</guid>
		<description><![CDATA[This is a handy autocomplete for hostnames for the ssh command. Works with bash on OS X Add this to .bash_profile complete -W &#8220;$(echo `cat ~/.ssh/known_hosts &#124; cut -f 1 -d &#8216; &#8216; &#124; sed -e s/,.*//g &#124; uniq &#124; grep -v &#8220;\[&#8220;`;)&#8221; ssh<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=20&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a handy autocomplete for hostnames for the ssh command. Works with bash on OS X</p>
<p>Add this to .bash_profile</p>
<p>complete -W &#8220;$(echo `cat ~/.ssh/known_hosts | cut -f 1 -d &#8216; &#8216; | sed -e s/,.*//g | uniq | grep -v &#8220;\[&#8220;`;)&#8221; ssh</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=20&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2009/04/16/autocomplete-for-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows performance counters and WMI</title>
		<link>http://hantonov.wordpress.com/2009/04/14/windows-performance-counters-and-wmi/</link>
		<comments>http://hantonov.wordpress.com/2009/04/14/windows-performance-counters-and-wmi/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 00:43:34 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[cacti]]></category>
		<category><![CDATA[EVA]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wmi]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=17</guid>
		<description><![CDATA[I wanted to monitor performance of HP EVA storage with cacti. Installing EVAPerf on a server connected to the SAN installs performance  counters for the EVA. Using WMI queries it should be possible to gain access to the counters. WQL query similar to &#8220;SELECT * FROM Win32_PerfFormattedData_EVAPMEXT_HPEVAPhysicalDiskGroup&#8221; should return objects for each physical disk group. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=17&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to monitor performance of HP EVA storage with <a href="http://www.cacti.net/" target="_blank">cacti</a>. Installing EVAPerf on a server connected to the SAN installs performance  counters for the EVA. Using WMI queries it should be possible to gain access to the counters. WQL query similar to &#8220;SELECT * FROM Win32_PerfFormattedData_EVAPMEXT_HPEVAPhysicalDiskGroup&#8221; should return objects for each physical disk group. Each object contains counters like read/write latency. Unfortunately my queries didn&#8217;t return anything. I have used similar techniqe to access terminal service gateway counters on a different server so the problem was not with the way my perl script was accessing the wmi. I also could see the EVA counters in perfmon mmc so it looked like the wmi service didn&#8217;t have access to the counters. Using wbemtest.exe I confirmed that the definitions for the counters were installed but there were no instances. Apparently it is possible for wmi not to be in sync with the installed counters and Microsoft provides a way to sync it. Here are the steps.</p>
<ol>
<li>Stop the Windows Management Instrumentation service</li>
<li>From the command prompt, run winmgmt /resyncperf</li>
<li>From the command prompt, type wmiadap.exe /f</li>
<li>Start the Windows Management Instrumentation service</li>
</ol>
<p>After synchonizing wmi I started to get results and some nice graphs in cacti.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=17&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2009/04/14/windows-performance-counters-and-wmi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Sending test snmp traps from command line</title>
		<link>http://hantonov.wordpress.com/2009/03/19/sending-test-snmp-traps-from-command-line/</link>
		<comments>http://hantonov.wordpress.com/2009/03/19/sending-test-snmp-traps-from-command-line/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 18:00:37 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=15</guid>
		<description><![CDATA[Example of  a command to send snmp traps from Linux shell. snmptrap -v 1 -c public host UCD-SNMP-MIB::ucdStart &#8220;&#8221; 6 17 &#8220;&#8221; SNMPv2-MIB::sysLocation.0 s &#8220;Hello World&#8221;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=15&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Example of  a command to send snmp traps from Linux shell.</p>
<p>snmptrap -v 1 -c public host UCD-SNMP-MIB::ucdStart &#8220;&#8221; 6 17 &#8220;&#8221; SNMPv2-MIB::sysLocation.0 s &#8220;Hello World&#8221;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=15&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2009/03/19/sending-test-snmp-traps-from-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux High Availability Cluster</title>
		<link>http://hantonov.wordpress.com/2008/09/21/linux-high-availability-cluster/</link>
		<comments>http://hantonov.wordpress.com/2008/09/21/linux-high-availability-cluster/#comments</comments>
		<pubDate>Sun, 21 Sep 2008 17:20:04 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Information Technology]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[DRBD]]></category>
		<category><![CDATA[HA-Linux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=13</guid>
		<description><![CDATA[Our application is using NFS server, since we use it just for serving static pages, we keep it on a virtual server running on VMWare ESX 3.5. This week the server froze and after cold restart didn’t boot. Luckily, the file systems were intact and I mounted them to a temporary server to export as [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=13&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Our application is using NFS server, since we use it just for serving static pages, we keep it on a virtual server running on VMWare ESX 3.5. This week the server froze and after cold restart didn’t boot. Luckily, the file systems were intact and I mounted them to a temporary server to export as an NFS service. The downtime was short but noticeable. After restoring the service I started to investigate the options to provide High Availability (HA) NFS service.<br />
Looking from pure OSS perspective the only viable option with Ubuntu distribution is <a href="http://linux-ha.org/HomePage" target="_blank">HA</a>/<a href="http://www.drbd.org/">DRBD</a> configuration. It is not unusual for OSS solution to be a combination of several application to compliment functionality. I assume that for historical reasons, cluster solutions for Linux are mostly share nothing configurations. In the past, when shared storage was expensive, this was a great advantage that overweighted the complexity of the setup and the duplication of the data.<br />
DRBD is used to replicate in realtime block devices. This is Active/Passive configuration where changes to the file system are replicated in realtime to the passive node. HA is responsible for the heartbeat and failover of the resources from Active to Passive node. For NFS, there are 3 resources. The IP address, the files system (replicated by DRBD) and the NFS service that needs to be activated after the file system is mounted after the failover.<br />
After completing the setup and deploying to production, here some thoughts.</p>
<ol>
<li>The products are not integrated properly and although HA has a script to mount the DRBD device after the failover this is where the integration stops. HA has no knowledge about the status of DRBD and if there is a problem with the replication, the failover will still occur.</li>
<li>Both products require monitoring of their own, especially DRBD, since if there is a problem with the replication, there is no way to know about it without directly checking DRBD.</li>
<li>The replication is one way. Although HA supports fallback, the DRBD doesn’t out of the box and needs some tweaking with the scripts. If the Master server needs rebuilding, full replication must be performed before fallback is possible. This takes time depending on the size of the block device. During this time the cluster is not redundant.</li>
<li>There are some concerns about latency that DRBD introduces into the I/O path since the replication is synchronous. Not that important in my NFS implementation, but can be a problem for MySql for example.</li>
<li>HA is relatively primitive, and has no knowledge of the resources. For example, if NFS service will fail, HA will not initiate fail over. There is a need to write scripts to monitor the services (NFS, MySQL, etc&#8230;) or use applications like <a href="http://munin.projects.linpro.no/" target="_blank">Munin</a>.</li>
</ol>
<p>I would really like to see a cluster product that is more like Windows cluster that after the initial shock of the price is very easy to install and support and has an API that if used can make any application cluster aware.<br />
I saw that RedHat has a cluster offering that works with a shared storage/GFS. I think I will give it a try.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=13&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2008/09/21/linux-high-availability-cluster/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>MySQL rants</title>
		<link>http://hantonov.wordpress.com/2008/07/30/mysql-rants/</link>
		<comments>http://hantonov.wordpress.com/2008/07/30/mysql-rants/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 20:52:31 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[profiling]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=8</guid>
		<description><![CDATA[For the last year my primary production database is MySQL. We are using community version that comes precompiled with Ubuntu. It is a very good and stable product suitable for production. We buy support directly from MySQL and due to the nature of their business model, the support is excellent. I have two issues with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=8&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>For the last year my primary production database is MySQL. We are using community version that comes precompiled with Ubuntu. It is a very good and stable product suitable for production. We buy support directly from MySQL and due to the nature of their business model, the support is excellent.</p>
<p>I have two issues with supporting MySQL in production: profiling and backup/restore.</p>
<p>Profiling MySQL is very primitive and virtually impossible. MS SQL for example, has built-in instrumentation and can provide a lot of useful real time, and with appropriate tools like <a href="http://www.symantec.com/business/products/articles.jsp?pcid=2246&amp;pvid=i3_db_1" target="_blank">Symantec I3 for databases</a>, historical information. In the past I successfully used I3 to improve application performance of a real time ASP application for VoIP tellecomm. With MySQL all you have is show processlist, show status and show innodb status (if you are using innodb engine). There are some tools that can help analyzing the output of the commands and provide some trending information. Since we are MySQL paying customers we have access to the MySQL Enterprise Dashboard that monitors the database and the server. With this tool, I  can see that the server has I/O bottle neck or had a CPU load 2 hours ago, but I have no idea which query caused it. It looks like for really deep profiling there are two options, try to write custom solutions, my colleague Chetan, <a href="http://www.chetanislazy.com/blog/2008/07/29/ghetto-profiling-for-mysql/" target="_blank">did that</a> or use DTrace with Solaris. Since Chetan as developer took the first path, I will take the second.</p>
<p>The second operational issue for me is backup/restore. MySQL has no API for both in versions 5.0 and 5.1. API was introduces in version 6.0 which is in alpha stage right now. There are serveral ways to hot backup MySQL with innodb database. I do not like the tool provided by innodb it self since it is slow, expensive and the license is tight to the server name. The other two options are to do sql dump of the server, not a recommended for databases bigger than 5Gb, or do LVM snapshot. LVM option doesn&#8217;t allow backup/restore of individual databases and because of that I only use it to create backup for setting up replication. So yes, right now I&#8217;m using the dump option with understanding that the restore process will take time.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hantonov.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hantonov.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=8&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2008/07/30/mysql-rants/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>Sun server x4440</title>
		<link>http://hantonov.wordpress.com/2008/07/08/sun-serve-x4440/</link>
		<comments>http://hantonov.wordpress.com/2008/07/08/sun-serve-x4440/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 13:18:41 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[HW]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=6</guid>
		<description><![CDATA[I have worked with many x86 servers including the major vendors like HP/Compaq, IBM and Dell. I like the HP servers mostly for the best management tools and the ease of drivers installation (especially on windows). When Sun just started to ship AMD based servers I bought one 1U server for test and as a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=6&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have worked with many x86 servers including the major vendors like HP/Compaq, IBM and Dell. I like the HP servers mostly for the best management tools and the ease of drivers installation (especially on windows). When Sun just started to ship AMD based servers I bought one 1U server for test and as a cheap x64 test machine. It was a very bad design and I had a lot of HW problems. I discovered, the hard way, that   Sun was not ready with people to support the servers.</p>
<p>Recently I had a chance to see the servers on MySQL conference and was very impressed. So when I needed couple of  4 sockets servers I decided to buy x4440. Those are 2U machines with up to 4  quad or dual AMD CPUs, 128Gb RAM max,8 disk drives and 4 on board NICs. HP has DL585 G5 but it is 4U and has only 2 onboard NIC. All the &#8220;main stream&#8221; operating systems are supported. I&#8217;m planning to run Ubuntu 8.04 on them. The installation of Ubuntu was smooth. Unfortunately none of the hardware vendors support Ubuntu and I had to compile Adaptec management services and tools. I think it is important since this is the only way to know if any of the disks in the raid failed.</p>
<p>Since I&#8217;m planning to run MySQL on the servers, I did some sysbench tests and the results are impressive.</p>
<p>Overall I think Sun has has a good product.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hantonov.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hantonov.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=6&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2008/07/08/sun-serve-x4440/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
		<item>
		<title>My MacBook Pro died</title>
		<link>http://hantonov.wordpress.com/2008/06/28/my-macbook-pro-died/</link>
		<comments>http://hantonov.wordpress.com/2008/06/28/my-macbook-pro-died/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 16:46:15 +0000</pubDate>
		<dc:creator>hantonov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hantonov.wordpress.com/?p=4</guid>
		<description><![CDATA[I&#8217;m a long time Windows user and used Windows on servers and clients. At some point I even had MCSE certification. I consider my self a very powerfull user. When I started my new job a year ago, I had an option to take MacBook Pro and switch to OS X. After a short learning [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=4&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a long time Windows user and used Windows on servers and clients. At some point I even had MCSE certification. I consider my self a very powerfull user. When I started my new job a year ago, I had an option to take MacBook Pro and switch to OS X. After a short learning curve and getting used to do things OS X way I&#8217;m totaly converted. I do run Windows XP in virtual machine using parallels for all those application that require Windows or Internet Explorer. VMware VI is one of them.</p>
<p>This week my Mac starteed to freeze or give me the Gray Screen of Death. I do not know if this is the official term for it. I have MozyPro backup for documents and files and I backup media files on FireWire disk.  I was not much concerned about loosing any data.  By the way, Mozy client doesn&#8217;t backup hidden directories and files so it didn&#8217;t backup my .ssh directory and I lost my private key. I work in midtown New York, so I took the notebook to TekServe. After waiting for more than an hour I was told that the logic board is faulty and it will take at least a week to fix it. Until I will get my Mac back I&#8217;m using Lenovo X61 tablet running Windows Vista. The only advantage this machine has &#8211; it is really small. The disadvantage &#8211; it runs Vista and IE 7. Simple operation as opening new tab in IE7 takes couple of seconds. Luckily FireFox 3 is a great alternative. I hope TekServe will call me soon.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/hantonov.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/hantonov.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/hantonov.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/hantonov.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/hantonov.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/hantonov.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/hantonov.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/hantonov.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/hantonov.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/hantonov.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=hantonov.wordpress.com&amp;blog=4045289&amp;post=4&amp;subd=hantonov&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://hantonov.wordpress.com/2008/06/28/my-macbook-pro-died/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/029d9f6b1cd180ac416b91565aed5a27?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">hantonov</media:title>
		</media:content>
	</item>
	</channel>
</rss>
