<?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>Admin tips</title>
	<atom:link href="http://stanly.net.ua/en/feed/" rel="self" type="application/rss+xml" />
	<link>http://stanly.net.ua</link>
	<description>очередной админский блог</description>
	<lastBuildDate>Thu, 19 Nov 2009 16:45:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Monitoring for Redis</title>
		<link>http://stanly.net.ua/en/monitoring-dlya-redis/</link>
		<comments>http://stanly.net.ua/en/monitoring-dlya-redis/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 18:58:30 +0000</pubDate>
		<dc:creator>Stanly</dc:creator>
				<category><![CDATA[Admin tips]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[redis]]></category>

		<guid isPermaLink="false">http://stanly.net.ua/?p=60</guid>
		<description><![CDATA[What&#8217;s Redis?
Redis is an advanced key-value store. It is similar to memcached but the  dataset is not volatile, and values can be strings, exactly like in  memcached, but also lists, sets, and ordered sets. All this data types  can be manipulated with atomic operations to push/pop elements,  add/remove elements, perform server [...]]]></description>
			<content:encoded><![CDATA[<p>What&#8217;s Redis?</p>
<p><a href="http://code.google.com/p/redis/">Redis</a> is an advanced key-value store. It is similar to memcached but the  dataset is not volatile, and values can be strings, exactly like in  memcached, but also lists, sets, and ordered sets. All this data types  can be manipulated with atomic operations to push/pop elements,  add/remove elements, perform server side union, intersection, difference  between sets, and so forth. Redis supports different kind of sorting  abilities.</p>
<p>Also it is really fast &#8211; 110000 SETs/second, 81000 GETs/second at Xeon X3320 2.5Ghz Linux 2.6.x server. I believe that everything should be monitored so I&#8217;ve written redis monitoring plugin for Munin. It allows to monitor some of the values such as:</p>
<ul>
<li>connected clients</li>
<li>requests per second</li>
<li>connections per second</li>
<li>used memory</li>
</ul>
<p><span id="more-60"></span></p>
<p>The plugin could be downloaded <a href="http://stanly.net.ua/repo/misc/redis_">here</a>.</p>
<p>Installation process:</p>
<ol>
<li>Download the plugin to your plugins directory (e.g. /usr/share/munin/plugins)</li>
<li>Create 3 symlinks at the directory that us used by munin for plugins detection (e.g. /etc/munin/plugins): redis_connected_clients, redis_per_sec and and redis_used_memory</li>
<li>Edit plugin-conf.d/munin-node if it is needed (env.host and  env.port variables are accepted)</li>
<li>Restart munin-node service</li>
</ol>
<p>As the result you&#8217;ll have something like this:</p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 505px"><img class="size-full wp-image-69" title="redis_connected_clients-week" src="http://stanly.net.ua/wp-content/uploads/2009/10/redis_connected_clients-week1.png" alt="redis connected clients" width="495" height="276" /><p class="wp-caption-text">redis connected clients</p></div>
<div id="attachment_71" class="wp-caption alignnone" style="width: 505px"><img class="size-full wp-image-71" title="redis_per_sec-week" src="http://stanly.net.ua/wp-content/uploads/2009/10/redis_per_sec-week2.png" alt="redis requests/connections per second" width="495" height="276" /><p class="wp-caption-text">redis requests/connections per second</p></div>
<div id="attachment_72" class="wp-caption alignnone" style="width: 505px"><img class="size-full wp-image-72" title="redis_used_memory-week" src="http://stanly.net.ua/wp-content/uploads/2009/10/redis_used_memory-week.png" alt="redis used memory" width="495" height="264" /><p class="wp-caption-text">redis used memory</p></div>
]]></content:encoded>
			<wfw:commentRss>http://stanly.net.ua/en/monitoring-dlya-redis/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java on CentOS</title>
		<link>http://stanly.net.ua/en/java-on-centos/</link>
		<comments>http://stanly.net.ua/en/java-on-centos/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 15:48:38 +0000</pubDate>
		<dc:creator>Stanly</dc:creator>
				<category><![CDATA[Admin tips]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[Sun]]></category>

		<guid isPermaLink="false">http://stanly.net.ua/?p=25</guid>
		<description><![CDATA[If you&#8217;ve already tried to create RPMs for Sun JDK at CentOS/Fedora you know that ODBC dependencies get linked incorrectly for JDBC RPM (JDBC is used to create MySQL/PostgreSQL/etc connections using Java applications)
As the result if you will try to install JDBC RPM you&#8217;ll see the following message:
libodbcinst.so() is needed by java-1.6.0-sun-jdbc-1.6.0.14-1jpp.i586
libodbc.so() is needed by [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve already tried to create RPMs for Sun JDK at CentOS/Fedora you know that ODBC dependencies get linked incorrectly for JDBC RPM (JDBC is used to create MySQL/PostgreSQL/etc connections using Java applications)</p>
<p>As the result if you will try to install JDBC RPM you&#8217;ll see the following message:<br />
<code>libodbcinst.so() is needed by java-1.6.0-sun-jdbc-1.6.0.14-1jpp.i586<br />
libodbc.so() is needed by java-1.6.0-sun-jdbc-1.6.0.14-1jpp.i586<br />
</code></p>
<p>If you don&#8217;t need database support at Java applications you still can install all other RPMs that were created during your build and ignore java-1.6.0-jdbc-* RPM.</p>
<p>At my case DB support was necessary so I used Google and found <a href="http://forums.fedoraforum.org/showpost.php?p=339048&#038;postcount=3">this</a> solution. You will only need to install nosrc RPM  and to slightly modify the spec file.</p>
<p>If you haven&#8217;t got luck with SPEC modifying all of <strong>Sun JDK 1.6.0 update 14</strong> RPMs (CentOS 5.3 i386) could be downloaded <a href="http://stanly.net.ua/repo/i386/RPM/">here</a><br />
Possibly I&#8217;ll build them also for x86_64 some day.</p>
]]></content:encoded>
			<wfw:commentRss>http://stanly.net.ua/en/java-on-centos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>memcached 1.4.2</title>
		<link>http://stanly.net.ua/en/memcached-1-4-2/</link>
		<comments>http://stanly.net.ua/en/memcached-1-4-2/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 14:33:23 +0000</pubDate>
		<dc:creator>Stanly</dc:creator>
				<category><![CDATA[Admin tips]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[memcached]]></category>
		<category><![CDATA[rpm]]></category>

		<guid isPermaLink="false">http://stanly.net.ua/?p=19</guid>
		<description><![CDATA[I don&#8217;t really know why there is still no memcached-1.4.2 at rpmforge (Dag Wieers repository).
Our programmers were needed exactly 1.4.2 version.
I hadn&#8217;t find any EL5 RPM so I had have to build my own.
CentOS 5.3 (both i386 and x86_64) RPM could be downloaded here (memcached-debug is not included)
]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t really know why there is still no memcached-1.4.2 at rpmforge (Dag Wieers repository).</p>
<p>Our programmers were needed exactly 1.4.2 version.<br />
I hadn&#8217;t find any EL5 RPM so I had have to build my own.<br />
CentOS 5.3 (both i386 and x86_64) RPM could be downloaded <a href="http://stanly.net.ua/repo/">here</a> (memcached-debug is not included)</p>
]]></content:encoded>
			<wfw:commentRss>http://stanly.net.ua/en/memcached-1-4-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
