<?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>About Me</title>
	<atom:link href="http://anishabraham.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://anishabraham.wordpress.com</link>
	<description>System Administrators makes the work easy!!!</description>
	<lastBuildDate>Tue, 09 Aug 2011 18:25:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='anishabraham.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>About Me</title>
		<link>http://anishabraham.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://anishabraham.wordpress.com/osd.xml" title="About Me" />
	<atom:link rel='hub' href='http://anishabraham.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing Mediawiki and Sphinx plugin</title>
		<link>http://anishabraham.wordpress.com/2011/07/15/installing-mediawiki-and-sphinx-plugin/</link>
		<comments>http://anishabraham.wordpress.com/2011/07/15/installing-mediawiki-and-sphinx-plugin/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 09:34:50 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Setup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=81</guid>
		<description><![CDATA[I have spent 12hours to get this working. Media wiki with sphinx plugin. I have installed this on Centos 5.5. The default search engine of mediawiki sucks. Sphinx is a search plugin which uses indexes. It far better than the &#8230; <a href="http://anishabraham.wordpress.com/2011/07/15/installing-mediawiki-and-sphinx-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=81&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have spent 12hours to get this working. Media wiki with sphinx plugin.</p>
<p>I have installed this on Centos 5.5. The default search engine of mediawiki sucks. Sphinx is a search plugin which uses indexes. It far better than the default one. also better than Semantic Mediawiki plugin.</p>
<p>Visit the page : <a title="Mediawiki Installation" href="http://anishabraham.wordpress.com/mediawiki-installation-instructions/" target="_blank">Mediawiki (Installation instructions)</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=81&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/07/15/installing-mediawiki-and-sphinx-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>HBA checker</title>
		<link>http://anishabraham.wordpress.com/2011/06/20/hba-checker/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/20/hba-checker/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 12:14:04 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=73</guid>
		<description><![CDATA[OK. So here is a script that can verify if the HBA is attached to the server. Note : It not for OS configuration of HBA #!/bin/ksh ## ## ## Notes:       Linux HBA Checker.  Script to verifying if there is &#8230; <a href="http://anishabraham.wordpress.com/2011/06/20/hba-checker/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=73&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>OK. So here is a script that can verify if the HBA is attached to the server.</p>
<p>Note : It not for OS configuration of HBA</p>
<p>#!/bin/ksh<br />
##<br />
##<br />
## Notes:       Linux HBA Checker.  Script to verifying if there is physical conectivity on the HBA cards<br />
##              This does not Check OS configuration<br />
##</p>
<p>OS=`uname -s`</p>
<p>function port_speed {<br />
case $LPFCSPEED_NUM in<br />
0)  LPFCSPEED=&#8221;auto select&#8221; ;;<br />
1) LPFCSPEED=&#8221;1Gb/s&#8221; ;;<br />
2) LPFCSPEED=&#8221;2Gb/s&#8221; ;;<br />
3) LPFCSPEED=&#8221;4Gb/s&#8221; ;;<br />
4) LPFCSPEED=&#8221;8Gb/s&#8221; ;;<br />
esac<br />
}</p>
<p>function check_hba {</p>
<p>if [ `/sbin/lspci | grep -i emulex | wc -l` -lt 1 ]<br />
then<br />
echo &#8220;No Emulex cards installed&#8221;<br />
exit 21<br />
fi</p>
<p>if [ -a /sys/class/scsi_host/host0 ]<br />
then<br />
for hba_dir in `ls -d /sys/class/scsi_host/host*`<br />
do<br />
LPFCNO=`echo ${hba_dir} | awk -F&#8221;host/host&#8221; &#8216;{print $2}&#8217;`<br />
FIRMWAREREV=`cat ${hba_dir}/fwrev | awk &#8216;{print $1}&#8217;`<br />
LPFCSPEED_NUM=`cat ${hba_dir}/lpfc_link_speed`<br />
port_speed<br />
LPFCSTATE=`cat ${hba_dir}/state | grep Link`<br />
LPWWN=`cat ${hba_dir}/lpfc_symbolic_name | awk -F&#8221;-&#8221; &#8216;{print $2}&#8217;`</p>
<p>if [ "${LPFCSTATE}" = "Link Up - Ready:" ]<br />
then<br />
pr_pass &#8220;lpfc${LPFCNO} ${LPFCSTATE}&#8221;<br />
fi</p>
<p>echo &#8220;## lpfc${LPFCNO} ##&#8221;<br />
echo &#8220;Frimware rev =     ${FIRMWAREREV}&#8221;<br />
echo &#8220;Link_Speed   =     ${LPFCSPEED}&#8221;<br />
echo &#8220;Link status  =     ${LPFCSTATE}&#8221;<br />
echo &#8220;WWN          =     ${LPWWN}&#8221;<br />
echo &#8221; &#8220;<br />
done<br />
exit 0<br />
fi</p>
<p>}</p>
<p>check_hba</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=73&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/20/hba-checker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>Diskdump</title>
		<link>http://anishabraham.wordpress.com/2011/06/20/diskdump/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/20/diskdump/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 11:27:07 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Setup]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=66</guid>
		<description><![CDATA[The diskdumputils package loads and configures the diskdump kernel module so that if a machine crashes its memory will be dumped to disk. First designate a disk device to which to dump memory. The dump device may be any of &#8230; <a href="http://anishabraham.wordpress.com/2011/06/20/diskdump/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=66&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">The </span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><em>diskdumputils</em></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"> package loads and configures the </span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><strong>diskdump</strong></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"> kernel module so that if a machine crashes its memory will be dumped to disk. </span></span></p>
<ul>
<li><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">First designate a disk device to which to dump memory. The dump device may be any of the following:</span></span>
<ul>
<li><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">a full disk device (e.g. </span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><em>/dev/sda</em></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">)</span></span></li>
<li><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">a partition of a disk device (e.g. </span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;"><em>/dev/sda4</em></span></span><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">)</span></span></li>
</ul>
</li>
</ul>
<p><span style="font-family:Times New Roman,serif;"><span style="font-size:small;">* The size of dump device should be large enough to save the whole dump. (With compression and/or the partial dump feature, this can be smaller). The dump size to be written consists of the size of whole physical memory plus a header field. To determine the exact size required, add the following entries to /etc/modprobe.conf or /etc/modules.con (RHEL 3) </span></span></p>
<p><a title="diskdump setup" href="http://anishabraham.wordpress.com/linux-server/diskdump-setup/" target="_blank">Continue&#8230;.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/66/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/66/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/66/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=66&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/20/diskdump/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>Script to get the CDP info from switch</title>
		<link>http://anishabraham.wordpress.com/2011/06/20/script-to-get-the-cdp-info-from-switch/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/20/script-to-get-the-cdp-info-from-switch/#comments</comments>
		<pubDate>Mon, 20 Jun 2011 10:29:19 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[scripts]]></category>
		<category><![CDATA[aix]]></category>
		<category><![CDATA[cdp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[sunos]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=61</guid>
		<description><![CDATA[This script will help you to get the CDP info of the switch which the server is connected to. It is for Linux, AIX and SUNOS. click here to get to the script.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=61&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This script will help you to get the CDP info of the switch which the server is connected to. It is for Linux, AIX and SUNOS.</p>
<p><a title="CDP " href="http://anishabraham.wordpress.com/script-to-get-the-cdp-info/">click here to get to the script.</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=61&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/20/script-to-get-the-cdp-info-from-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>examples of find command</title>
		<link>http://anishabraham.wordpress.com/2011/06/17/examples-of-find-command/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/17/examples-of-find-command/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 16:50:15 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Server realted issues]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=59</guid>
		<description><![CDATA[1. Find Files Using Name # find -name &#8220;MyCProgram.c&#8221; 2. Find Files Using Name and Ignoring Case # find -iname &#8220;MyCProgram.c&#8221; 3. Limit Search To Specific Directory Level Using mindepth and maxdepth # find / -name passwd # find -maxdepth &#8230; <a href="http://anishabraham.wordpress.com/2011/06/17/examples-of-find-command/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=59&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Find Files Using Name<br />
# find -name &#8220;MyCProgram.c&#8221;</p>
<p>2. Find Files Using Name and Ignoring Case<br />
# find -iname &#8220;MyCProgram.c&#8221;</p>
<p>3. Limit Search To Specific Directory Level Using mindepth and maxdepth<br />
# find / -name passwd<br />
# find -maxdepth 2 -name passwd<br />
# find / -maxdepth 3 -name passwd<br />
# find -mindepth 3 -maxdepth 5 -name passwd</p>
<p>4. Executing Commands on the Files Found by the Find Command<br />
# find -iname &#8220;MyCProgram.c&#8221; -exec md5sum {} \;</p>
<p>5. Inverting the match.<br />
# find -maxdepth 1 -not -iname &#8220;MyCProgram.c&#8221;</p>
<p>6. Finding Files by its inode Number.<br />
find command renames a file using the inode number.<br />
# find -inum 16187430 -exec mv {} new-test-file-name \;<br />
Use the inode number to remove the file that had special character in it as shown below<br />
# find -inum 804180 -exec rm {} \;</p>
<p>7. Find file based on the File-Permissions<br />
# find . -perm -g=r -type f -exec ls -l {} \;<br />
# find . -perm g=r -type f -exec ls -l {} \;<br />
# find . -perm 040 -type f -exec ls -l {} \;</p>
<p>8. Find all empty files (zero byte file) in your home directory and it’s subdirectory<br />
# find ~ -empty<br />
# find . -maxdepth 1 -empty<br />
# find . -maxdepth 1 -empty -not -name &#8220;.*&#8221;</p>
<p>9. Finding the Top 5 Big Files<br />
# find . -type f -exec ls -s {} \; | sort -n -r | head -5</p>
<p>10. Finding the Top 5 Small Files<br />
# find . -type f -exec ls -s {} \; | sort -n  | head -5<br />
# find . -not -empty -type f -exec ls -s {} \; | sort -n  | head -5</p>
<p>11. Find Files Based on file-type using option -type</p>
<p>Find only the socket files.<br />
# find . -type s</p>
<p>Find all directories<br />
# find . -type d</p>
<p>Find only the normal files<br />
# find . -type f</p>
<p>Find all the hidden files<br />
# find . -type f -name &#8220;.*&#8221;</p>
<p>Find all the hidden directories<br />
# find -type d -name &#8220;.*&#8221;</p>
<p>12. Find files by comparing with the modification time of other file.</p>
<p>Show files which are modified after the specified file. The following find command displays all the files that are created/modified after new_file<br />
# find -newer new_file</p>
<p>13. Find Files by Size<br />
Find files bigger than the given size</p>
<p># find ~ -size +100M</p>
<p>Find files smaller than the given size</p>
<p># find ~ -size -100M</p>
<p>Find files that matches the exact given size</p>
<p># find ~ -size 100M</p>
<p>Note: – means less than the give size, + means more than the given size, and no symbol means exact given size.<br />
14. Create Alias for Frequent Find Operations</p>
<p>If you find some thing as pretty useful, then you can make it as an alias. And execute it whenever you want.</p>
<p>Remove the files named a.out frequently.</p>
<p># alias rmao=&#8221;find . -iname a.out -exec rm {} \;&#8221;<br />
# rmao</p>
<p>Remove the core files generated by c program.</p>
<p># alias rmc=&#8221;find . -iname core -exec rm {} \;&#8221;<br />
# rmc</p>
<p>15. Remove big archive files using find command</p>
<p>The following command removes *.zip files that are over 100M.</p>
<p># find / -type f -name *.zip -size +100M -exec rm -i {} \;&#8221;</p>
<p>Remove all *.tar file that are over 100M using the alias rm100m (Remove 100M). Use the similar concepts and create alias like rm1g, rm2g, rm5g to remove file size greater than 1G, 2G and 5G respectively.</p>
<p># alias rm100m=&#8221;find / -type f -name *.tar -size +100M -exec rm -i {} \;&#8221;<br />
# alias rm1g=&#8221;find / -type f -name *.tar -size +1G -exec rm -i {} \;&#8221;<br />
# alias rm2g=&#8221;find / -type f -name *.tar -size +2G -exec rm -i {} \;&#8221;<br />
# alias rm5g=&#8221;find / -type f -name *.tar -size +5G -exec rm -i {} \;&#8221;</p>
<p># rm100m<br />
# rm1g<br />
# rm2g<br />
# rm5g</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/59/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/59/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/59/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=59&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/17/examples-of-find-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>perl script for tcp and udp test connections</title>
		<link>http://anishabraham.wordpress.com/2011/06/17/perl-script-for-tcp-and-udp-test-connections/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/17/perl-script-for-tcp-and-udp-test-connections/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 14:04:50 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Server realted issues]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=56</guid>
		<description><![CDATA[#!/usr/bin/perl -w print &#8220;try connect\n&#8221;; use IO::Socket; $remote = IO::Socket::INET-&#62;new( Proto =&#62; &#8220;udp&#8221;, PeerAddr =&#62; &#8220;ipaddr&#8221;, PeerPort =&#62; &#8220;port&#8221;, ) or die &#8220;cannot connect to daytime port at localhost&#8221;; print &#8220;sending request\n&#8221;; print &#8220;GET / HTTP/1.1\nHost: xmlrpc.rhn.redhat.com\n\n&#8221;; print &#8220;waiting for &#8230; <a href="http://anishabraham.wordpress.com/2011/06/17/perl-script-for-tcp-and-udp-test-connections/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=56&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>#!/usr/bin/perl -w</p>
<p>print &#8220;try connect\n&#8221;;<br />
    use IO::Socket;<br />
    $remote = IO::Socket::INET-&gt;new(<br />
                        Proto    =&gt; &#8220;udp&#8221;,<br />
                        PeerAddr =&gt; &#8220;ipaddr&#8221;,<br />
                        PeerPort =&gt; &#8220;port&#8221;,<br />
                    )<br />
                  or die &#8220;cannot connect to daytime port at localhost&#8221;;</p>
<p>print &#8220;sending request\n&#8221;;<br />
print &#8220;GET / HTTP/1.1\nHost: xmlrpc.rhn.redhat.com\n\n&#8221;;</p>
<p>print &#8220;waiting for response\n&#8221;;</p>
<p>    while (  ) { print }</p>
<p>#### save this as filename.pl and run</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=56&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/17/perl-script-for-tcp-and-udp-test-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux : Free memory</title>
		<link>http://anishabraham.wordpress.com/2011/06/16/linux-free-memory/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/16/linux-free-memory/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 13:07:56 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Server realted issues]]></category>
		<category><![CDATA[free memory]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=52</guid>
		<description><![CDATA[Quick fix to free up memory run sync first to flush useful things out to disk!!! To free pagecache: echo 1 &#62; /proc/sys/vm/drop_caches To free dentries and inodes: echo 2 &#62; /proc/sys/vm/drop_caches To free pagecache, dentries and inodes: echo 3 &#8230; <a href="http://anishabraham.wordpress.com/2011/06/16/linux-free-memory/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=52&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Quick fix to free up memory<br />
run sync first to flush useful things out to disk!!!</p>
<p>To free pagecache:</p>
<p>echo 1 &gt; /proc/sys/vm/drop_caches</p>
<p>To free dentries and inodes:</p>
<p>echo 2 &gt; /proc/sys/vm/drop_caches</p>
<p>To free pagecache, dentries and inodes:</p>
<p>echo 3 &gt; /proc/sys/vm/drop_caches</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=52&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/16/linux-free-memory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>UNIX / Linux: 10 Netstat Command Examples</title>
		<link>http://anishabraham.wordpress.com/2011/06/15/46/</link>
		<comments>http://anishabraham.wordpress.com/2011/06/15/46/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 16:05:29 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Server realted issues]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=46</guid>
		<description><![CDATA[&#160; 1. List All Ports (both listening and non listening ports) List all ports using netstat -a List all tcp ports using netstat -at List all udp ports using netstat -au 2. List Sockets which are in Listening State List &#8230; <a href="http://anishabraham.wordpress.com/2011/06/15/46/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=46&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<h3>1. List All Ports (both listening and non listening ports)</h3>
<h4>List all ports using netstat -a</h4>
<h4>List all tcp ports using netstat -at</h4>
<h4>List all udp ports using netstat -au</h4>
<h3>2. List Sockets which are in Listening State</h3>
<h4>List only listening ports using netstat -l</h4>
<h4>List only listening TCP Ports using netstat -lt</h4>
<h4>List only listening UDP Ports using netstat -lu</h4>
<h4>List only the listening UNIX Ports using netstat -lx</h4>
<h3>3. Show the statistics for each protocol</h3>
<h4>Show statistics for all ports using netstat -s</h4>
<h4>Show statistics for TCP (or) UDP ports using netstat -st (or) -su</h4>
<h3>4. Display PID and program names in netstat output using netstat -p</h3>
<p>netstat -p option can be combined with any other netstat option. This will add the “PID/Program Name” to the netstat output. This is very useful while debugging to identify which program is running on a particular port</p>
<h3>5. Don’t resolve host, port and user name in netstat output</h3>
<p>When you don’t want the name of the host, port or user to be displayed, use netstat -n option. This will display in numbers, instead of resolving the host name, port name, user name.</p>
<p>This also speeds up the output, as netstat is not performing any look-up.</p>
<p># netstat -an
</p>
<p>If you don’t want only any one of those three items ( ports, or hosts, or users ) to be resolved, use following commands.</p>
<p># netsat -a &#8211;numeric-ports</p>
<p># netsat -a &#8211;numeric-hosts</p>
<p># netsat -a &#8211;numeric-users
</p>
<h3>6. Print netstat information continuously</h3>
<p>netstat will print information continuously every few seconds.</p>
<p># netstat -c
</p>
<h3>7. Find the non supportive Address families in your system</h3>
<p>netstat &#8211;verbose
</p>
<h3>8. Display the kernel routing information using netstat -r</h3>
<p># netstat -r
</p>
<h3>9. Find out on which port a program is running</h3>
<p># netstat -ap | grep ssh
</p>
<h3>10. Show the list of network interfaces</h3>
<p># netstat -i</p>
<p>Display extended information on the interfaces (similar to ifconfig) using netstat -ie:</p>
<p># netstat -ie
</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=46&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/06/15/46/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>Mysql ERROR! Manager of pid-file quit without updating file</title>
		<link>http://anishabraham.wordpress.com/2011/04/27/mysql-error-manager-of-pid-file-quit-without-updating-file/</link>
		<comments>http://anishabraham.wordpress.com/2011/04/27/mysql-error-manager-of-pid-file-quit-without-updating-file/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 08:30:44 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Server realted issues]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/?p=42</guid>
		<description><![CDATA[Here is how you resolve it Stop mysql mysqld_safe &#8211;skip-grant-tables &#8211;user=mysql &#38; [root@server ~]# mysql Welcome to the MySQL monitor.  Commands end with ; or \g. Your MySQL connection id is 1 to server version: 4.0.20-standard Type &#8216;help;&#8217; or &#8216;\h&#8217; &#8230; <a href="http://anishabraham.wordpress.com/2011/04/27/mysql-error-manager-of-pid-file-quit-without-updating-file/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=42&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here is how you resolve it</p>
<p>Stop mysql</p>
<p>mysqld_safe &#8211;skip-grant-tables &#8211;user=mysql &amp;</p>
<p>[root@server ~]# mysql<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 1 to server version: 4.0.20-standard</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the buffer.</p>
<p>mysql&gt; FLUSH PRIVILEGES;<br />
Query OK, 0 rows affected (0.00 sec)</p>
<p>mysql&gt; UPDATE mysql.user SET Password = PASSWORD(&#8221;) WHERE user = &#8216;root&#8217;;<br />
Query OK, 3 rows affected (0.00 sec)<br />
Rows matched: 3  Changed: 3  Warnings: 0</p>
<p>mysql&gt; FLUSH PRIVILEGES;<br />
Query OK, 0 rows affected (0.00 sec)</p>
<p>mysql&gt; QUIT<br />
Bye<br />
[root@server ~]# mysql -uroot -p<br />
Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 2 to server version: 4.0.20-standard</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the buffer.</p>
<p>mysql&gt; quit<br />
Bye<br />
[root@server ~]# /etc/init.d/mysql stop<br />
Killing mysqld with pid 8433<br />
Wait for mysqld to exit.. done<br />
[root@server ~]# /etc/init.d/mysql start<br />
[root@server ~]# mysql -uroot -p<br />
Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 1 to server version: 4.0.20-standard</p>
<p>Type &#8216;help;&#8217; or &#8216;\h&#8217; for help. Type &#8216;\c&#8217; to clear the buffer.</p>
<p>mysql&gt; show databases;<br />
+&#8212;&#8212;&#8212;-+<br />
| Database |<br />
+&#8212;&#8212;&#8212;-+<br />
| mysql    |<br />
+&#8212;&#8212;&#8212;-+<br />
1 row in set (0.00 sec)</p>
<p>mysql&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/42/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/42/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/42/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=42&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2011/04/27/mysql-error-manager-of-pid-file-quit-without-updating-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
		<item>
		<title>How to setup NFS cluster server</title>
		<link>http://anishabraham.wordpress.com/2008/01/31/how-to-setup-nfs-cluster-server/</link>
		<comments>http://anishabraham.wordpress.com/2008/01/31/how-to-setup-nfs-cluster-server/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 10:43:21 +0000</pubDate>
		<dc:creator>Anish Abraham</dc:creator>
				<category><![CDATA[Server realted issues]]></category>

		<guid isPermaLink="false">http://anishabraham.wordpress.com/2008/01/31/how-to-setup-nfs-cluster-server/</guid>
		<description><![CDATA[Setting Up A Highly Available NFS Server : In this tutorial I will describe how to set up a highly available NFS server that can be used as storage solution for other high-availability services like, for example, a cluster of &#8230; <a href="http://anishabraham.wordpress.com/2008/01/31/how-to-setup-nfs-cluster-server/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=39&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Setting Up A Highly Available NFS Server :</p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">In this tutorial I will describe how to set up a highly available NFS server that can be used as storage solution for other high-availability services like, for example, a cluster of web servers that are being loadbalanced. If you have a web server cluster with two or more nodes that serve the same web site(s), than these nodes must access the same pool of data so that every node serves the same data, no matter if the loadbalancer directs the user to node 1 or node n. This can be achieved with an NFS share on an NFS server that all web server nodes (the NFS clients) can access.</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">As we do not want the NFS server to become another &#8220;Single Point of Failure&#8221;, we have to make it highly available. In fact, in this tutorial I will create two NFS servers that mirror their data to each other in realtime using <font face="Courier New, Courier, mono"><i>DRBD</i></font> and that monitor each other using <font face="Courier New, Courier, mono"><i>heartbeat</i></font>, and if one NFS server fails, the other takes over silently. To the outside (e.g. the web server nodes) these two NFS servers will appear as a single NFS server.</font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">In this setup I will use Debian Sarge (3.1) for the two NFS servers as well as for the NFS client (which represents a node of the web server cluster). </font></p>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!</font></p>
<p><font size="2" face="Verdana"><a target="_blank" href="http://anishabraham.wordpress.com/how-to-setup-nfs-cluster-server/">Continue</a></font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/anishabraham.wordpress.com/39/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/anishabraham.wordpress.com/39/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/anishabraham.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/anishabraham.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/anishabraham.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/anishabraham.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/anishabraham.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/anishabraham.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/anishabraham.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/anishabraham.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=anishabraham.wordpress.com&amp;blog=1020367&amp;post=39&amp;subd=anishabraham&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://anishabraham.wordpress.com/2008/01/31/how-to-setup-nfs-cluster-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/62de8928001abbd0ff621fdcb6c51bd7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">anishabraham</media:title>
		</media:content>
	</item>
	</channel>
</rss>
