<?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>Source.kohlerville.com</title>
	<atom:link href="http://source.kohlerville.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://source.kohlerville.com</link>
	<description>My ramblings to the tech</description>
	<lastBuildDate>Sun, 22 Apr 2012 23:51:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>windows 7 gateway 0.0.0.0 from adobe software bonjour</title>
		<link>http://source.kohlerville.com/2012/02/windows-7-gateway-0-0-0-0-from-adobe-software-bonjour/</link>
		<comments>http://source.kohlerville.com/2012/02/windows-7-gateway-0-0-0-0-from-adobe-software-bonjour/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 20:58:41 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[broken and fixed]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=529</guid>
		<description><![CDATA[This happened again at work and thought I would post the &#8220;solution&#8221; for future reference. Problem: After an installation/update of an Adobe product, the Windows 7 desktop loses connecting to off the network. After doing an ipconfig, there was an &#8230; <a href="http://source.kohlerville.com/2012/02/windows-7-gateway-0-0-0-0-from-adobe-software-bonjour/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This happened again at work and thought I would post the &#8220;solution&#8221; for future reference.</p>
<p>Problem: After an installation/update of an Adobe product, the Windows 7 desktop loses connecting to off the network. After doing an ipconfig, there was an additional default gateway of 0.0.0.0 set so that the user can&#8217;t access any computer off their subnet. Settings the configurations from dhcp to static doesn&#8217;t solve the problem for very long.</p>
<p>The &#8220;solution&#8221; was find on this <a href="http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/765aa1c6-dd9a-4447-9de0-aecc41498b04/">microsoft forum</a> and basically boils down to running cmd with Administrative privs and running the following:</p>
<pre>"C:\Program Files\Bonjour\mDNSResponder.exe" -remove</pre>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2012/02/windows-7-gateway-0-0-0-0-from-adobe-software-bonjour/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh idle keepalive timeouts</title>
		<link>http://source.kohlerville.com/2012/01/ssh-idle-keepalive-timeouts/</link>
		<comments>http://source.kohlerville.com/2012/01/ssh-idle-keepalive-timeouts/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 04:44:13 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[keepalive]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[timeout]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=524</guid>
		<description><![CDATA[I&#8217;v had to solve this problem a few times and thought that I would post it up here. The problem is basically that when ssh&#8217;ing into a machine in a remote location, sometimes your session will log off because a &#8230; <a href="http://source.kohlerville.com/2012/01/ssh-idle-keepalive-timeouts/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;v had to solve this problem a few times and thought that I would post it up here. The problem is basically that when ssh&#8217;ing into a machine in a remote location, sometimes your session will log off because a firewall or something in between is ending the connection.</p>
<p>The simple solution is to find the keepalive packet option and enable it on your ssh client.  </p>
<p>On Windows using Putty:<br />
I found the following configurations in the &#8220;Connection&#8221; section:<br />
Seconds between keepalives (0 to turn off)<br />
Enable TCP keepalives<br />
Try setting it to 180 seconds and enabling the TCP keepalives.</p>
<p>On OSX:<br />
Edit the /etc/ssh/ssh_config:<br />
ServerAliveInterval 180</p>
<p>linux probably works the same as the OSX, but I&#8217;ve never actually ran into the problem on any of my connections.</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2012/01/ssh-idle-keepalive-timeouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>simple 1337 translator in python3</title>
		<link>http://source.kohlerville.com/2012/01/simple-1337-translator-in-python3/</link>
		<comments>http://source.kohlerville.com/2012/01/simple-1337-translator-in-python3/#comments</comments>
		<pubDate>Sun, 29 Jan 2012 03:55:05 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[1337]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[python3]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=514</guid>
		<description><![CDATA[I&#8217;m playing around with some python3 and my little brother-in-law came up with the idea of a function that takes a string, does a 1337 translation on it, and returns it. I found the replace function that you can do &#8230; <a href="http://source.kohlerville.com/2012/01/simple-1337-translator-in-python3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m playing around with some python3 and my little brother-in-law came up with the idea of a function that takes a string, does a 1337 translation on it, and returns it. I found the replace function that you can do with strings and came up with the following:</p>
<pre>def eliteSpeak(word):
  leetWord = word.replace("e","3")
  leetWord = leetWord.replace("E","3")
  leetWord = leetWord.replace("l","1")
  leetWord = leetWord.replace("L","1")
  leetWord = leetWord.replace("o","0")
  leetWord = leetWord.replace("O","0")
  return leetWord</pre>
<p>Granted I realized that I don&#8217;t know the 1337 speak conventions so I just did some simple replaces. Something like &#8220;Oh no, look out for the Listerine spillage.&#8221;</p>
<p><code>eliteSpeak("Oh no, look out for the Listerine spillage.")<br />
'0h n0, 100k 0ut f0r th3 1ist3rin3 spi11ag3.'</code></p>
<p>If there&#8217;s a better way to do it, let me know. Oh btw, I used 2 spaces for formatting instead of tabs.</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2012/01/simple-1337-translator-in-python3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yum $releasever expands to %24releasever</title>
		<link>http://source.kohlerville.com/2011/10/yum-releasever-expands-to-releasever/</link>
		<comments>http://source.kohlerville.com/2011/10/yum-releasever-expands-to-releasever/#comments</comments>
		<pubDate>Fri, 28 Oct 2011 06:03:24 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[centos 6]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[releasever]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=503</guid>
		<description><![CDATA[Had this error when we were messing around with Centos 6. ftp://ftp.server.com/pub/centos/mirror/%24releasever/os/x86_64/repodata/repomd.xml: [Errno 14] FTP Error 550 : ftp://ftp.server.com/pub/centos/mirror/%24releasever/os/x86_64/repodata/repomd.xml Couple of the trouble shooting steps I did was that I first straced it: yum clean all strace -f -o /tmp/yumoutput &#8230; <a href="http://source.kohlerville.com/2011/10/yum-releasever-expands-to-releasever/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Had this error when we were messing around with Centos 6.</p>
<pre>ftp://ftp.server.com/pub/centos/mirror/%24releasever/os/x86_64/repodata/repomd.xml:
[Errno 14] FTP Error 550 : ftp://ftp.server.com/pub/centos/mirror/%24releasever/os/x86_64/repodata/repomd.xml</pre>
<p>Couple of the trouble shooting steps I did was that I first straced it:</p>
<pre>yum clean all
strace -f -o /tmp/yumoutput yum info gcc</pre>
<p>I looked inside the /tmp/yumoutput and found that when yum would ftp to the mirror, it didn&#8217;t expand out the $releasever to be 6, but actually releasever:</p>
<pre>20209 sendto(7, "CWD $releasever\r\n", 17, MSG_NOSIGNAL, NULL, 0) = 17</pre>
<p>I got a ftp 505 error as a result and the fact is that /mirror/$releasever was not a valid path to the mirror. This path is defined in a /etc/yum.repos.d/local-mirror file and we are using the builtin variable $releasever so that we don&#8217;t have to update it every time the release changes.</p>
<p>My coworker found a <a href="http://unix.stackexchange.com/questions/19701/yum-how-can-i-view-variables-like-releasever-basearch-yum0">page </a>that includes a simple python script to run to get the releasever also:</p>
<pre>python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)'</pre>
<p>Which resulted in:</p>
<pre>Loaded plugins: fastestmirror
{'arch': 'amd64',
 'basearch': 'x86_64',
 'releasever': '$releasever',
 'uuid': 'a9aaaaa-6aa4-4aa0-a9aa-e2aaaaaaaa59'}</pre>
<p>but really should result to:</p>
<pre>Loaded plugins: fastestmirror
{'arch': 'amd64',
 'basearch': 'x86_64',
 'releasever': '6',
 'uuid': 'a9aaaaa-6aa4-4aa0-a9aa-e2aaaaaaaa59'}</pre>
<p>There&#8217;s also the /var/cache/yum/arch folder and there was a $releasever folder in there.  Another indication that the $releasever was not expanding out.</p>
<p>We have set our Centos 5 servers to have the yum.conf setting for distroverpkg=centos-release-notes so that we don&#8217;t upgrade to the next minor point release on accident when yum updating. When we are good and ready to update, we change it to distroverpkg=centos-release and then do an update to the next point release. When we changed the distropkgver=centos-release in /etc/yum.conf, the yum just started to magically work. The python code translated the $releasever to be 6 instead of the text &#8220;$releasever&#8221; and I felt a sigh of relief at finding the problem.</p>
<p>The quest to find out why was next. Looking at the man yum.conf, I discovered this handy quote:</p>
<blockquote><p>distroverpkg The package used by yum to determine the &#8220;version&#8221; of the distribution. This can be any installed package. Default<br />
is redhat-release. You can see what provides this manually by using: &#8220;yum whatprovides redhat-release&#8221;.</p></blockquote>
<p>Unfortunately, yum doesn&#8217;t work so I can&#8217;t use the command above. The following is the equivalent but using rpm query and using centos-release instead of redhat-release (which also works):</p>
<pre>rpm -q --whatprovides centos-release</pre>
<p>So here&#8217;s the result for my CentOS 5 box:</p>
<pre>rpm -q --whatprovides centos-release
centos-release-5-7.el5.centos</pre>
<pre>rpm -q --whatprovides centos-release-notes
centos-release-notes-5.7-0</pre>
<p>When doing it on the CentOS 6 server, I see the error:</p>
<pre>rpm -q --whatprovides centos-release
centos-release-6-0.el6.centos.5.x86_64</pre>
<pre>rpm -q --whatprovides centos-release-notes
no package provides centos-release-notes</pre>
<p>I checked the mirror, but wasn&#8217;t able to find any centos-release-notes for CentOS 6 so I may be out of luck until 6.1 comes out and the CR is removed or something else.</p>
<p>== Update 2012.04.22 ==</p>
<p>I forgot to up this post, but I found out awhile ago reading the <a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.2">centos release notes</a>, that they <a href="http://wiki.centos.org/Manuals/ReleaseNotes/CentOS6.2#head-fbd270a1a0d6daaf1df0f32ec0df441cf4ae326d">removed</a> the redhat-release-notes package and didn&#8217;t replace it with a centos-release-notes one.</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/10/yum-releasever-expands-to-releasever/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>touchpad pbworks power point presentations</title>
		<link>http://source.kohlerville.com/2011/09/touchpad-pbworks-power-point-presentations/</link>
		<comments>http://source.kohlerville.com/2011/09/touchpad-pbworks-power-point-presentations/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 03:29:31 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[pbworks]]></category>
		<category><![CDATA[powerpoint]]></category>
		<category><![CDATA[touchpad]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=487</guid>
		<description><![CDATA[We managed to get the HP Touchpad while it was on firesale and I couldn&#8217;t be happy about the cheap $99 investment we made. Unfortunately today, we noticed that the pbworks doesn&#8217;t allow us to successfully save a power point &#8230; <a href="http://source.kohlerville.com/2011/09/touchpad-pbworks-power-point-presentations/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>We managed to get the HP Touchpad while it was on firesale and I couldn&#8217;t be happy about the cheap $99 investment we made. Unfortunately today, we noticed that the pbworks doesn&#8217;t allow us to successfully save a power point presentation that&#8217;s on their service. It just downloads a 207 byte file which is useless.</p>
<p>For now, we&#8217;ll just download it on a laptop, upload it to google docs, and then get at the presentation from there.</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/09/touchpad-pbworks-power-point-presentations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IBM Tivoli Storage Manager Server 6.2.3 is out</title>
		<link>http://source.kohlerville.com/2011/08/ibm-tivoli-storage-manager-server-6-2-3-is-out/</link>
		<comments>http://source.kohlerville.com/2011/08/ibm-tivoli-storage-manager-server-6-2-3-is-out/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 06:18:19 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[ibm]]></category>
		<category><![CDATA[tsm]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=485</guid>
		<description><![CDATA[IBM Tivoli Storage Manager Server is finally at the 6.2.3 release. For awhile now, it&#8217;s been stuck at 6.2.1 and that if you wanted 6.2.2, you had to install the interim fix which I wasn&#8217;t comfortable with. My favorite APAR &#8230; <a href="http://source.kohlerville.com/2011/08/ibm-tivoli-storage-manager-server-6-2-3-is-out/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>IBM Tivoli Storage Manager Server is finally at the <a href="https://www-304.ibm.com/support/docview.wss?uid=swg21426379">6.2.3 release</a>. For awhile now, it&#8217;s been stuck at 6.2.1 and that if you wanted 6.2.2, you had to install the interim fix which I wasn&#8217;t comfortable with.</p>
<p>My favorite APAR you ask?</p>
<p>IC69003 IC69003 5698ISMSV 62W LACK OF DOCUMENTATION REGARDING SERVER UPGRADE TO 6.X IN A CLUSTERED ENVIRONMENT.</p>
<p>I would say that it&#8217;s just hard to find and read the documentation in general.</p>
<p>Nonetheless, hopefully I will get it installed this week and check out if I notice anything different.</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/08/ibm-tivoli-storage-manager-server-6-2-3-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote desktop into Windows 7 and Server 2008 from XP</title>
		<link>http://source.kohlerville.com/2011/08/remote-desktop-into-windows-7-and-server-2008-from-xp/</link>
		<comments>http://source.kohlerville.com/2011/08/remote-desktop-into-windows-7-and-server-2008-from-xp/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 05:57:06 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[remote desktop]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows server 2008]]></category>
		<category><![CDATA[windows vista]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=479</guid>
		<description><![CDATA[I&#8217;m not sure how I missed this, but Microsfoft released an update to the remote desktop client called Remote Desktop Connection 7.0 for Windows XP, Windows Vista SP1, and Windows Vista SP2. It basically allows for these clients to remote desktop &#8230; <a href="http://source.kohlerville.com/2011/08/remote-desktop-into-windows-7-and-server-2008-from-xp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://source.kohlerville.com/wp-content/uploads/2011/08/mstsc7.0.png"><img class="alignnone size-full wp-image-481" title="mstsc7.0" src="http://source.kohlerville.com/wp-content/uploads/2011/08/mstsc7.0.png" alt="remote desktop 7.0 client" width="412" height="248" /></a></p>
<p>I&#8217;m not sure how I missed this, but Microsfoft released an update to the remote desktop client called <a href="http://support.microsoft.com/kb/969084">Remote Desktop Connection 7.0</a> for Windows XP, Windows Vista SP1, and Windows Vista SP2. It basically allows for these clients to remote desktop  into Windows 7 and Window Server 2008.</p>
<p>This is great because I&#8217;ve lowered the security settings on Windows 7 in order to allow for my old XP boxes to remote in. Now I can just update this client and I&#8217;m good to go with the higher security settings that come default in Windows 7.</p>
<p>Also keyboard ninjas, just type &#8216;mstsc&#8217; to load up the remote desktop client from Run or the Search Box.</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/08/remote-desktop-into-windows-7-and-server-2008-from-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding identi.ca support on seesmic android app</title>
		<link>http://source.kohlerville.com/2011/07/adding-identi-ca-support-on-seesmic-android-app/</link>
		<comments>http://source.kohlerville.com/2011/07/adding-identi-ca-support-on-seesmic-android-app/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 23:40:25 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[identi.ca]]></category>
		<category><![CDATA[seesmic]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=472</guid>
		<description><![CDATA[I did some searches and found that I can add my identi.ca account to my seesmic android app. Here are two blog posts I found about it: http://status.net/2010/03/25/using-seesmic-for-android-with-statusnet http://blog.seesmic.com/using-seesmic-for-android-to-add-other-web-applications-like-tumblr-identica-wordpress.html#more-197 On version of Seesmic 1.7 for android, I did the following &#8230; <a href="http://source.kohlerville.com/2011/07/adding-identi-ca-support-on-seesmic-android-app/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_473" class="wp-caption alignnone" style="width: 235px"><a href="http://source.kohlerville.com/wp-content/uploads/2011/07/P070211001.jpg"><img class="size-medium wp-image-473" title="P070211001" src="http://source.kohlerville.com/wp-content/uploads/2011/07/P070211001-225x300.jpg" alt="" width="225" height="300" /></a><p class="wp-caption-text">Proof of identi.ca on android seesmic. A bit fuzzy though <img src='http://source.kohlerville.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p></div>
<p>I did some searches and found that I can add my identi.ca account to my seesmic android app. Here are two blog posts I found about it:</p>
<p><a href="http://status.net/2010/03/25/using-seesmic-for-android-with-statusnet">http://status.net/2010/03/25/using-seesmic-for-android-with-statusnet</a></p>
<p><a href="http://blog.seesmic.com/using-seesmic-for-android-to-add-other-web-applications-like-tumblr-identica-wordpress.html#more-197">http://blog.seesmic.com/using-seesmic-for-android-to-add-other-web-applications-like-tumblr-identica-wordpress.html#more-197</a></p>
<p>On version of Seesmic 1.7 for android, I did the following</p>
<ol>
<li>Add account.</li>
<li>Twitter proxy</li>
<li>Filled out my username and password.</li>
<li>Use secure connection</li>
<li>REST API server: https://identi.ca/api/</li>
<li>Unchecked &#8220;Use XAuth&#8221;.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/07/adding-identi-ca-support-on-seesmic-android-app/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Greening through IT inspired post</title>
		<link>http://source.kohlerville.com/2011/06/greening-through-it-inspired-post/</link>
		<comments>http://source.kohlerville.com/2011/06/greening-through-it-inspired-post/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 03:43:48 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[book]]></category>
		<category><![CDATA[green]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=463</guid>
		<description><![CDATA[I&#8217;ve been reading Greening Through IT by Bill Tomlinson and has been a pretty good read so far. I&#8217;m halfway through so I can&#8217;t give a big review, but I can say that I found it very interesting and gives &#8230; <a href="http://source.kohlerville.com/2011/06/greening-through-it-inspired-post/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://source.kohlerville.com/wp-content/uploads/2011/06/greenthroughit.jpg"><img class="alignnone size-full wp-image-464" title="greenthroughit" src="http://source.kohlerville.com/wp-content/uploads/2011/06/greenthroughit.jpg" alt="Greening Through IT book cover" width="281" height="389" /></a></p>
<p>I&#8217;ve been reading <a href="http://www.amazon.com/Greening-through-Information-Environmental-Sustainability/dp/0262013932/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1256159513&amp;sr=8-1">Greening Through IT</a> by <a href="http://www.ics.uci.edu/~wmt">Bill Tomlinson</a> and has been a pretty good read so far. I&#8217;m halfway through so I can&#8217;t give a big review, but I can say that I found it very interesting and gives me new outlook on nature in life in general.</p>
<p>Although I haven&#8217;t reached specific ways of greening in my situation via the book, I&#8217;d thought I would at least list some ways that we do it at work.</p>
<ol>
<li>Lab computers are turned off soon after the lab closes and automatically turn back on in the morning before labs start.</li>
<li>Servers are set in the BIOS to have power settings controlled by the O/S so when there&#8217;s no load on the server, the cpu&#8217;s are running at a slower clock speed. The newer r610s that we have I haven&#8217;t played with comparing it with O/S mode and some other mode that I&#8217;ve forgotten what&#8217;s it&#8217;s called.</li>
<li>A/C aren&#8217;t set to be super cold: we&#8217;ve raised them to be in the 70s so they don&#8217;t need to be wasting a ton of energy trying to cool everything down a lot.</li>
<li>Warm and cold aisles of racks. We have raised floors with air vents that are only in the cold aisles and then have the backs of other racks face each other for the warm aisles with cool vents in the floor. This keeps our cooling more efficient and &#8220;should&#8221; be more &#8220;green.&#8221;</li>
<li>Monthly maintenance of the A/C units. I try to make sure the A/C units are running with solid belts so that they are running optimally all the time. Broken belts cause some low air flow wastes much energy.</li>
<li>Virtualization. Everyone always talks about consolidation, but it&#8217;s really easy to dump a few vm&#8217;s on newer servers and just assign a core to each of them. We removed an old sun server recently and replaced it with a vm and it barely takes any load on the server. We use xen on centos as our vm technology of choice.</li>
</ol>
<p>So there&#8217;s a few that I can think of at the top of my head. Stay green!</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/06/greening-through-it-inspired-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>compile amber 11 cuda on centos linux</title>
		<link>http://source.kohlerville.com/2011/06/compile-amber-11-cuda-on-centos-linux/</link>
		<comments>http://source.kohlerville.com/2011/06/compile-amber-11-cuda-on-centos-linux/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 03:26:58 +0000</pubDate>
		<dc:creator>Ryan</dc:creator>
				<category><![CDATA[software]]></category>
		<category><![CDATA[amber]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[cuda]]></category>

		<guid isPermaLink="false">http://source.kohlerville.com/?p=449</guid>
		<description><![CDATA[Here are the steps that allowed me to actually compile amber, amber mpi, amber cuda, and some other cuda variations on Centos 5.6. After each make clean I had to rerun the python patch script, that was something wasn&#8217;t so &#8230; <a href="http://source.kohlerville.com/2011/06/compile-amber-11-cuda-on-centos-linux/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here are the steps that allowed me to actually compile amber, amber mpi, amber cuda, and some other cuda variations on Centos 5.6.</p>
<p>After each make clean I had to rerun the python patch script, that was something wasn&#8217;t so clear and made my compiling not fun when figuring it out.</p>
<ol>
<li>﻿﻿amber 11 with bugfix13 and ambertools bugfix 4</li>
<li>Installing it at /pkg/amber/11-1.5.0</li>
<li>Get Amber11.tar.gz and get bugfix all for amber 11 at http://ambermd.org/bugfixes11.html</li>
<li>get ambertools 1.5 at http://ambermd.org/AmberTools-get.html</li>
<li>Get bugfix for ambertools at http://ambermd.org/bugfixesat.html</li>
<li>cd /pkg/amber</li>
<li>tar -xvpf Amber11.tar.gz which puts it in amber11 folder</li>
<li>tar -xvpf AmberTools.1.5.tar.bz2 which puts it in amber11 folder</li>
<li>mv amber11 11-1.5.0</li>
<li>export AMBERHOME=/pkg/amber/11-1.5.0</li>
<li>cd /pkg/amber/11-1.5.0</li>
<li>patch -p0 -N &lt; bugfix.all</li>
<li>mv bugfix.all bugfix.all.ambertools.up.to.4 so we know how many bugfixes it does</li>
<li>download bugfix.all for amber</li>
<li>download apply_bugfix.x</li>
<li>chmod 700 apply_bugfix.x</li>
<li>./apply_bugfix.x bugfix.all</li>
<li>mv bugfix.all bugfix.all.amber.up.to.13</li>
</ol>
<p># now that all the bugfixes done let&#8217;s compile ambertools</p>
<ol>
<li>cd /pkg/amber/11-1.5.0/AmberTools/src</li>
<li>./configure gnu</li>
<li>NOTE: after installing AmberTools, if you want to compile       Amber11 using AmberTools 1.5, you must run the        AT15_Amber11.py script first, e.g.:       cd /pkg/amber/11-1.5.0; ./AT15_Amber11.py; make serial       (See the Amber11 Users&#8217; Manual for full instructions,       and be sure to have a backup, since the AT15_Amber11.py       script will modify your Amber11 files.)</li>
<li>make install</li>
<li>cd /pkg/amber/11-1.5.0</li>
<li>./AT15_Amber11.py</li>
<li>cd src</li>
<li>make serial</li>
<li>cd ../test</li>
<li>make test</li>
</ol>
<p>359 file comparisons passed</p>
<p>21 file comparisons failed</p>
<p>0 tests experienced errors</p>
<p>== mpi time parallel ==</p>
<ol>
<li>yum install mpich2.x86_64 mpich2-devel.x86_64</li>
<li>cd /pkg/amber/11-1.5.0/AmberTools/src</li>
<li>make clean</li>
<li>./configure -mpi gnu</li>
<li>cd ../../src</li>
<li>make clean</li>
<li>cd /pkg/amber/11-1.5.0./AT15_Amber11.py</li>
<li>cd src</li>
<li>make parallel</li>
<li>cd ../testexport</li>
<li>DO_PARALLEL=&#8217;mpirun -np 2&#8242;</li>
<li>Create a ~/.mpdconf</li>
<li>mpd &amp;</li>
<li>make test.parallel</li>
</ol>
<p>Some tests require 4 threads to run, while some will notrun with more than 2.  Please run further parallel tests with theappropriate number of processors. See README for details.<br />
make[1]: Leaving directory `/pkg/amber/11-1.5.0/test&#8217;</p>
<p>361 file comparisons passed</p>
<p>9 file comparisons failed</p>
<p>0 tests experienced errors</p>
<ol>
<li>export DO_PARALLEL=&#8217;mpirun -np 4&#8242;</li>
<li>make test.parallel</li>
</ol>
<p>make[1]: Leaving directory `/pkg/amber/11-1.5.0/test&#8217;</p>
<p>282 file comparisons passed</p>
<p>16 file comparisons failed</p>
<p>0 tests experienced errors</p>
<p>== let&#8217;s try cuda now ==</p>
<ol>
<li>install the cuda developer nvidia driver</li>
<li>install cuda stuff into /usr/local/cuda-3.2</li>
<li>run deviceQueryDrv as root once after compiling it from the sdk toolkit</li>
<li>export CUDA_HOME=/usr/local/cuda-3.2/cuda</li>
<li>export PATH=/usr/local/cuda-3.2/cuda/bin:$PATH</li>
<li>unset DO_PARALLEL</li>
<li>cd /pkg/amber/11-1.5.0/AmberTools/src</li>
<li>make clean</li>
<li>./configure -cuda gnu</li>
<li>cd ../../</li>
<li>./AT15_Amber11.py</li>
<li>cd src</li>
<li>make clean</li>
<li>make cuda</li>
<li>cd ../test</li>
<li>export LD_LIBRARY_PATH=/usr/local/cuda-3.2/cuda/lib64:/usr/local/cuda-3.2/cuda/lib</li>
<li>./test_amber_cuda.sh</li>
</ol>
<p>56 file comparisons passed</p>
<p>0 file comparisons failed</p>
<p>0 tests experienced errors<br />
== cuda mpi ==</p>
<ol>
<li>cd ../AmberTools/src</li>
<li>make clean</li>
<li>./configure -cuda -mpi gnu</li>
<li>cd ../..</li>
<li>./AT15_Amber11.py</li>
<li>cd src</li>
<li>make clean</li>
<li>export C_INCLUDE_PATH=/usr/include/mpich2-x86_64:/usr/include/mpich2-i386</li>
<li>export CPLUS_INCLUDE_PATH=/usr/include/mpich2-x86_64:/usr/include/mpich2-i386</li>
<li>make cuda_parallel</li>
<li>cd ../test</li>
<li>export DO_PARALLEL=&#8217;mpirun -np 2&#8242;</li>
<li>./test_amber_cuda_parallel.sh</li>
</ol>
<p>29 file comparisons passed</p>
<p>0 file comparisons failed</p>
<p>0 tests experienced errors</p>
<p>== now cuda dpdp ==</p>
<p>(Still using above environmental settings)</p>
<ol>
<li>cd /pkg/amber/11-1.5.0/AmberTools/src</li>
<li>make clean</li>
<li>./configure -cuda_DPDP gnu</li>
<li>cd ../..</li>
<li>./AT15_Amber11.py</li>
<li>cd src</li>
<li>make clean</li>
<li>make cuda</li>
<li>cd ../test</li>
<li>./test_amber_cuda.sh -1 DPDP</li>
</ol>
<p>55 file comparisons passed</p>
<p>1 file comparison failed</p>
<p>0 tests experienced errors</p>
<p>=== now cuda dpdp mpi ===</p>
<ol>
<li>cd /pkg/amber/11-1.5.0/AmberTools/src</li>
<li>make clean</li>
<li>./configure -cuda_DPDP -mpi gnu</li>
<li>cd ../&#8230;/AT15_Amber11.py</li>
<li>cd src</li>
<li>make clean</li>
<li>make cuda_parallel</li>
<li>cd ../test</li>
<li>./test_amber_cuda_parallel.sh -1 DPDP</li>
</ol>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://source.kohlerville.com/2011/06/compile-amber-11-cuda-on-centos-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 6.696 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-20 22:32:53 -->

