<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Pushkar bhatkoti's blog........... &#187; Linux</title>
	<atom:link href="http://pushkarbhatkoti.wordpress.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://pushkarbhatkoti.wordpress.com</link>
	<description>Just another CCIE voice certified person's blog....</description>
	<lastBuildDate>Mon, 07 Sep 2009 15:06:44 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='pushkarbhatkoti.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/6d139ceb5b354b59d6e3f1222585db12?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Pushkar bhatkoti's blog........... &#187; Linux</title>
		<link>http://pushkarbhatkoti.wordpress.com</link>
	</image>
			<item>
		<title>How to recover a creshed VMWARE ESX server (3.0.1)</title>
		<link>http://pushkarbhatkoti.wordpress.com/2008/12/21/how-to-recover-a-creshed-vmware-esx-server-301/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2008/12/21/how-to-recover-a-creshed-vmware-esx-server-301/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 02:18:14 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[How to recover a creshed VMWARE ESX server (3.0.1)]]></category>
		<category><![CDATA[how to recover vmware ESX server]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=132</guid>
		<description><![CDATA[Just think, your lab is  in a week time and you&#8217;ve lost your all virtual machines (pub, sub, unity etc?). The ESX server doens&#8217;t boot !! hiue.. happy birthday!
Well I put about 15 hours to figure out how to bring up the creshed VMWARE ESX server.
Root cause of server CRESH:
I tried mounting 1TB disk to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=132&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just think, your lab is  in a week time and you&#8217;ve lost your all virtual machines (pub, sub, unity etc?). The ESX server doens&#8217;t boot !! hiue.. happy birthday!</p>
<p>Well I put about 15 hours to figure out how to bring up the creshed VMWARE ESX server.<strong></strong></p>
<p><strong>Root cause of server CRESH:</strong></p>
<p>I tried mounting 1TB disk to VMWARE but vmware ESX server kernel and anaconda doesn&#8217;t have UCCI support for USB devices.<br />
As a result it creshed the VMWARE modules and I couldn&#8217;t recover it by using several methods including &#8211; booting from redhat/fedora/centos disk/, esxcfg-boot -p -r stuffs. nothing seemed working.<br />
I found that the /etc/pam.d files were gone when I chrooted the ESX server hard drive. also in /etc/sysconfig/network-script/  -the folder was empty.</p>
<p><strong>Solution</strong>:</p>
<p>It was damn easy. I wasted whole saturday night trying to figure out the best method. The challenge was I had unity, ipcc, CCM 4 to 6 vmware images in the server. So building from the screach wasn&#8217;t an option.</p>
<p>I tried everything but still no luck till 4am.  I took some fizzy drinks and had a quick nap of 20 minutes and then resumed what I was doing. A new idea came up in my head. Google didn&#8217;t tell me what to do and any helpy url. I popped in the vmware ESX 3.0.1 CD to my other laptop&#8217;s cdrom and started installing it.  I saw there is an option when you install a new server which says  tick on &#8220;do you want to keep existing .vmx/datastore&#8221;, just ticked there.  I was so relexed afte rseeing that option.  I took that CD out from my laptop and popped into the ESX 3.0.1 monster server (ML580) and started installation. During installation there is an option<br />
which says &#8220;keep your vmstore&#8221; and wipe out everything. Volla &#8230; here you go , the mother of all trouble was  just sitting there in ESX partion option.</p>
<p>So I choose &gt; install (not upgrade)&gt;&gt; then ticked on that keep old vmware-store in partion prepration step and continued the installation procedure.</p>
<p>In a nutshell, above excercise installed VMWARE ESX server and  also retained old partition which had my all vmware images.</p>
<p>The whole above process only took 40 minutes.</p>
<p>After installation finished, the server boot up with a fleshy screen asking for password. after I punched my password immediately i checked .vmx files and found they are there&#8230;</p>
<p>Sometime it&#8217;s too easy task but we seems not finding it right away. I hate vendor not documenting things like that. Yes vmware have poor documentation which wasted my Saturday night staying at home and doing nothing but playing with vmware esx box.</p>
<p>Anyhow, it was a good fun and i really enjoyed as there was  a challenge and it was good to find out solution by myself.</p>
<p>-push bhatkoti</p>
<p>CCIE voice#21569</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=132&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2008/12/21/how-to-recover-a-creshed-vmware-esx-server-301/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>
	</item>
		<item>
		<title>How to backup Vmware ESX server &#8211; unity ipcc ccm vmx images</title>
		<link>http://pushkarbhatkoti.wordpress.com/2008/12/21/how-to-backup-vmware-esx-server-unity-ipcc-ccm-vmx-images/</link>
		<comments>http://pushkarbhatkoti.wordpress.com/2008/12/21/how-to-backup-vmware-esx-server-unity-ipcc-ccm-vmx-images/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 02:01:10 +0000</pubDate>
		<dc:creator>pushkarbhatkoti</dc:creator>
				<category><![CDATA[Vmware how to backup]]></category>

		<guid isPermaLink="false">http://pushkarbhatkoti.wordpress.com/?p=128</guid>
		<description><![CDATA[How to transfer files (GIGS in size) between  ESX 3.0.1 or 3.0  server as an FTP client
A friend of mine asked me if I can sell my CCIE server to him for $1500. Normally I won&#8217;t sell it, rather keep it as a monoument, after all I passed my lab using this server.
But after several [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=128&subd=pushkarbhatkoti&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><strong>How to transfer files (GIGS in size) between  ESX 3.0.1 or 3.0  server as an FTP client</strong></p>
<p>A friend of mine asked me if I can sell my CCIE server to him for $1500. Normally I won&#8217;t sell it, rather keep it as a monoument, after all I passed my lab using this server.<br />
But after several requests, to keep friendship I finally agreed to sell my server. After that the challenge was that I had to take all virtual machines backup.</p>
<p>On last friday I bought 1 terabytes (TB) hard disk (for AUD $200) and tried transfering files using winscp. I couldn&#8217;t transfer those files because those were biggg.</p>
<p>So finally I had to install vsftp in the ESX server and make a softlink of my /vmfs to a ftp users home directory then download using &#8220;File zilla ftp client&#8221;</p>
<p>Hardware details: HP ML-580, Dual Xeon 3.0 processor, 4 gig RAM. loaded with CCM pub/sub, unity and IPCC.</p>
<p>Here is the procedure:<strong><br />
</strong></p>
<ol style="list-style-type:decimal;">
<li>SSH to ESX server &#8211; issue &#8216;chkconfig iptables off&#8217; , service iptables stop (its culprit)</li>
<li>Download <a href="http://www.esxpress.com/vsftpd-1.2.0-4.i386.rpm" target="_blank"><span style="color:#0066cc;">vsftpd-1.2.0-4.i386.rpm</span></a></li>
<li>Copy vsftpd-1.2.0-4.i386.rpm to your ESX server</li>
<li>SSH to your ESX server console using root account (make sure in /etc/sshd/sshd_config has root account enabled else use below method)</li>
<li>after loggin in using a normal user, become the root user (su -)</li>
<li>Install the FTP server <strong>rpm -ivh vsftpd-1.2.0-4.i386.rpm &#8211;nodeps<br />
</strong></li>
<li><strong>vi /etc/vsftpd/vsftpd.conf</strong>
<ul>
<li>Change <strong>anonymous_enable=NO</strong> (for security)</li>
<li>You need to add the following lines to force passive mode to only use ports 2050-5000.<br />
<strong>pasv_min_port=2050</strong><br />
<strong>pasv_max_port=5000</strong></li>
</ul>
</li>
<li>Start the FTP server with <strong>service vsftpd start</strong></li>
<li>Create a user. Do not use &#8216;anonymous&#8217; or &#8216;ftp&#8217;.<br />
User and Pass cannot contain symbols like <strong>@ (single quote)</strong></p>
<ul>
<li><strong>adduser mybackups.</strong></li>
<li><strong>passwd mybackups.</strong></li>
</ul>
</li>
<li>To have the ftp server automatically start on boot, type:<br />
<strong>chkconfig &#8211;level 3 vsftpd on</strong></li>
<li>Remember you will probably have to change the permissions on the /vmfs/volume you are using as a FTP destination.<br />
<strong>chmod 1777 /vmfs/volumes/(UUID of Folder)</strong><br />
You can also link the path to a simpler name, such as:<br />
<strong>ln -s /vmfs/volumes/UUID-NAME/backups /backups</strong><br />
Then use just &#8216;/backups&#8217; in the esXpress configuration.</li>
<li>use filezillaftp  client to download the files from ESX server</li>
</ol>
<p><strong>gochaas?</strong></p>
<p>Make sure that you have NTFS or Ext2/3 file system where you are going to store the files.<br />
I had FAT32 and it won&#8217;t copy more than 4 gig file size. It will come up with error saying that no desk space. how stupid is this error message, after all I had 1TB of hdd and still got that message that can&#8217;t copy the file , disk running out of space.</p>
<p>Here is the limitations:</p>
<p>fat16 &#8211; 2 gig max<br />
fat32 &#8211; 4 gig max<br />
NTFS &#8211; Above 2TB<br />
EXT2/3 &#8211; 2 TB</p>
<p>Thats all.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pushkarbhatkoti.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pushkarbhatkoti.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pushkarbhatkoti.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pushkarbhatkoti.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pushkarbhatkoti.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pushkarbhatkoti.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pushkarbhatkoti.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pushkarbhatkoti.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pushkarbhatkoti.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pushkarbhatkoti.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=pushkarbhatkoti.wordpress.com&blog=4335568&post=128&subd=pushkarbhatkoti&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://pushkarbhatkoti.wordpress.com/2008/12/21/how-to-backup-vmware-esx-server-unity-ipcc-ccm-vmx-images/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/89c6928aa356ad85cfc4a6752fea7f09?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pushkarbhatkoti</media:title>
		</media:content>
	</item>
	</channel>
</rss>