<?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>Maksym Schipka's Playground &#187; General</title>
	<atom:link href="http://schipka.com/archives/category/general/feed" rel="self" type="application/rss+xml" />
	<link>http://schipka.com</link>
	<description>Thinking out loud</description>
	<lastBuildDate>Mon, 24 Jan 2011 15:40:13 +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>VMWare ESXi 4.1 and HighPoint RocketRAID 3510</title>
		<link>http://schipka.com/archives/88</link>
		<comments>http://schipka.com/archives/88#comments</comments>
		<pubDate>Mon, 24 Jan 2011 15:39:04 +0000</pubDate>
		<dc:creator>maksym</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[3510]]></category>
		<category><![CDATA[esx]]></category>
		<category><![CDATA[esxi]]></category>
		<category><![CDATA[highpoint]]></category>
		<category><![CDATA[hptiop.o]]></category>
		<category><![CDATA[oem.tgz]]></category>
		<category><![CDATA[raid]]></category>
		<category><![CDATA[rocketraid]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://schipka.com/?p=88</guid>
		<description><![CDATA[One of the computers I have at home is a nice Intel Core i7 12Gb RAM 2Tb RAID10 VMWare ESXi server. As I hate reinstalling my main personal and work computers, I use ESXi for all kinds of experiments, development, debugging, etc. RAID10 there is provided by a decent hardware HighPoint RocketRAID 3510 controller. The main reason [...]]]></description>
			<content:encoded><![CDATA[<p>One of the computers I have at home is a nice Intel Core i7 12Gb RAM 2Tb RAID10 <a href="http://www.vmware.com/products/vsphere-hypervisor/index.html" target="_blank">VMWare ESXi </a>server. As I hate reinstalling my main personal and work computers, I use ESXi for all kinds of experiments, development, debugging, etc. RAID10 there is provided by a decent hardware <a href="http://www.highpoint-tech.com/PDF/RR3510/RR3510_datasheet.pdf" target="_blank">HighPoint RocketRAID 3510 controller</a>. The main reason I chose it was its announced support for VMWare ESXi. The system is set up in such a way that the 2Tb SATA II disk is provided by RocketRAID 3510 controller. There are no other disks in that system &#8211; no CD/DVD drives, nothing at all.</p>
<p>Back in the days when I was setting it up, the latest version of ESXi available was 3.5. I had a fair bit of a headache to get the system set up and boot from RAID10 array. It involved:</p>
<ul>
<li>creating custom oem.tgz (edit pci.ids, etc, etc&#8230;)</li>
<li>integrating it into install image</li>
<li>after install, connecting external DVD drive to the server</li>
<li>boot into <a href="http://www.knoppix.net/" target="_blank">Knoppix</a> LiveCD</li>
<li>set up RAID10 support in Knoppix (it didn&#8217;t work out of the box)</li>
<li>finally, copy my custom oem.tgz to the relevant partition on RAID10 device</li>
<li>pray that it works (which it did)</li>
</ul>
<p>This is a fair bit of hassle, which I didn&#8217;t document at all.</p>
<p>Now imagine my disappointment when I figured out that neigher patching nor &#8220;normal&#8221; upgrades from ESXi 3.5 to ESXi 4/4.1 work for my setup &#8211; something to do with custom oem.tgz. Trust me, I tried everything, all possible combinations of upgrades, upgrade tools, network setups, etc. It just doesn&#8217;t work, so don&#8217;t waste your time on that. At the same time, I needed a solution, as I had to run 64-bit OSes.</p>
<p>To cut the long story short, here is a simple and elegant solution that worked perfectly for me:</p>
<ol>
<li>Install brand new copy of ESXi 4/4.1 (or whatever is the latest at the time) onto USB stick (I used 1Gb SanDisk) following <a href="http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&amp;cmd=displayKC&amp;externalId=1020655" target="_blank">these </a>instructions</li>
<li>Boot into any Linux with your newly baked ESXi USB stick connected</li>
<li>Download this <a href="http://schipka.com/wp-content/uploads/2011/01/oem.tar.gz" target="_self">oem.tar.gz </a>(it must work for anything that is compatible with hptiop driver 1.6 &#8211; this includes a range of HighPoint devices with Intel IOP processor)</li>
<li>Rename it to oem.tgz</li>
<li>Make sure your USB is mounted (&#8220;mount&#8221; without parameters will tell you what is mounted and where). Let&#8217;s assume that your USB partitions are mounted on /media</li>
<li>Run something like &#8220;find /media -type f -name oem.tgz&#8221; to find where exactly the old oem.tgz is located. Let&#8217;s assume you find that it is in /media/part1/oem.tgz</li>
<li>(<strong>this assumes you do not require any other OEM drivers!</strong> if you do &#8211; for example, for networking &#8211; you need to merge two oem.tgz files; this is out of scope of this article) Back it up: &#8220;mv /media/part1/oem.tgz /media/part1/oem.tgz.backup&#8221;</li>
<li>Overwrite the old oem.tgz with a new one: &#8220;mv ./oem.tgz /media/part1/&#8221;</li>
<li>Reboot and enter setup</li>
<li>Set your system to boot from USB first</li>
<li>Voila &#8211; you will have your VMWare ESXi on USB stick, you can import the RAID10 storage and all of your VMs through VMWare vSphere Center.</li>
</ol>
<p>So this now works and all the updates can be applied remotely without reinstalls/etc. Nice!</p>
<p>I hope this helps someone. If not, it will help me one day. <img src='http://schipka.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://schipka.com/archives/88/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SiteBar and &#8220;Recently Added&#8221;, &#8220;Recently Visited&#8221; and &#8220;Most Visited&#8221; virtual folders</title>
		<link>http://schipka.com/archives/84</link>
		<comments>http://schipka.com/archives/84#comments</comments>
		<pubDate>Fri, 20 Mar 2009 13:12:02 +0000</pubDate>
		<dc:creator>maksym</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[added]]></category>
		<category><![CDATA[bookmark]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[folders]]></category>
		<category><![CDATA[management]]></category>
		<category><![CDATA[manager]]></category>
		<category><![CDATA[most]]></category>
		<category><![CDATA[recently]]></category>
		<category><![CDATA[sitebar]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[visited]]></category>

		<guid isPermaLink="false">http://schipka.com/?p=84</guid>
		<description><![CDATA[As I have mentioned in the past, I have moved from Spurl to SiteBar for my bookmark management. I host SiteBar on my own server. Generally, I am very happy with it. I have quite a hierarchical tree of my links in SiteBar. However, one piece of functionality that I missed a lot in SiteBar compared [...]]]></description>
			<content:encoded><![CDATA[<p>As I have <a href="http://schipka.com/archives/59" target="_blank">mentioned</a> in the past, I have moved from <a href="http://spurl.net" target="_blank">Spurl</a> to <a href="http://sitebar.org/downloads.php" target="_blank">SiteBar</a> for my bookmark management. I host SiteBar on my own server. Generally, I am very happy with it.</p>
<p>I have quite a hierarchical tree of my links in SiteBar. However, one piece of functionality that I missed a lot in SiteBar compared to Spurl, was the ability to see and click on URLs that I recently visited, or recently added, or that I visit the most often. I had this on my TODO list for eons.</p>
<p>At the same time, after my move to Kaspersky Lab, I wanted to check how easy it is to work with <a href="http://www.php.net/" target="_blank">PHP</a> compared to <a href="http://www.perl.org/" target="_blank">Perl</a>. At the same time, having the abovementioned functionality became very important as well. So I thought: why not combine the two together, and add missing functionality to SiteBar, while exploring PHP a bit further for work purposes?</p>
<p>So here you go: the result of around 1 hour of poking around SiteBar and PHP. Here is how to use it:</p>
<ol>
<li>Replace your &#8220;/var/www/your-site/sitebar/inc/tree.inc.php with the downloaded from <a title="SiteBar mod" href="http://schipka.com/wp-content/uploads/2009/03/sitebar_mod.zip" target="_blank">here</a> (of course, it&#8217;d make sense to backup your old one, just in case)</li>
<li>In your SiteBar, go to &#8220;Maintain Trees&#8221;, then create the following 5 trees (or less, if you don&#8217;t need all the functionality; the names and case are important):
<ol>
<li>&#8220;<strong>Recently Added</strong>&#8221; &#8211; for recently added URLs</li>
<li>&#8220;<strong>Recently Visited</strong>&#8221; &#8211; for recently visited URLs</li>
<li>&#8220;<strong>Most Visited</strong>&#8221; &#8211; for most visited URLs</li>
<li>&#8220;<strong>Dead</strong>&#8221; &#8211; for dead links</li>
<li>&#8220;<strong>Unverified</strong>&#8221; &#8211; for those links that haven&#8217;t been checked</li>
</ol>
</li>
<li>After you do that, every folder of those is going to display <strong>top 30</strong> relevant links in your whole collection</li>
</ol>
<p>So hopefully someone else also finds it useful. Have fun!</p>
<p>P.S. By the way, yes, my opinion is that PHP is as easy as Perl, and implies a more structured approach and, therefore, a tiny bit easier to read.</p>
]]></content:encoded>
			<wfw:commentRss>http://schipka.com/archives/84/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thank you, Backups!</title>
		<link>http://schipka.com/archives/32</link>
		<comments>http://schipka.com/archives/32#comments</comments>
		<pubDate>Fri, 23 May 2008 22:23:23 +0000</pubDate>
		<dc:creator>maksym</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://schipka.com/?p=32</guid>
		<description><![CDATA[I am sometimes too attentive to details. Although I am very aware of it (unlike Monica from Friends), I can sometimes be caught up in an act of cleaning and making things generally tidier/better/more organized. Like today. I decided that my digital photos were not organized properly. So I just had to move them from drive X: [...]]]></description>
			<content:encoded><![CDATA[<p>I am sometimes too attentive to details. Although I am very aware of it (unlike <a href="http://en.wikipedia.org/wiki/Monica_Geller" target="_blank">Monica</a> from <a href="http://en.wikipedia.org/wiki/Friends" target="_blank">Friends</a>), I can sometimes be caught up in an act of cleaning and making things generally tidier/better/more organized.</p>
<p>Like today. I decided that my digital photos were not organized properly. So I just had to move them from drive X: (which is my large, slow, reliable backup and junk drive), to drive D: (which is my super-fast, RAID0 300Gb total <a href="http://www.westerndigital.com/en/products/products.asp?driveid=189" target="_blank">WD Raptors 10k</a>). At the same time, I use <a href="http://www.adobe.com/products/photoshopelwin/" target="_blank">Adobe Photoshop Elements</a> 6 to manage my photo collection (btw, definitely recommended &#8211; provided that you know its character). This means that in addition to just moving the files, one needs to make sure that the Photoshop Elements catalog is up-to-date.</p>
<p>There are several ways to make sure that the catalog is up-to-date.</p>
<ol>
<li>Use &#8220;Reconnect Files&#8221; menu option in Elements. All good and wonderful, but one needs to be very careful about what links to accept and what not to &#8211; especially, in large collections. I&#8217;ve had cases where the reconnection completely messed up the catalog by connecting to irrelevant files</li>
<li>The way Adobe proposes to move files between locations preserving their directory structure is &#8220;Backup/Restore&#8221;. Sounds reasonable?</li>
<li>Adobe&#8217;s <strong>*.pesg</strong> files (the files that are Photoshop Elements catalogs) are nothing more but <a href="http://www.sqlite.org/" target="_blank">SQLite</a> databases with quite clear schema. So using one of the available tools for editing SQLite databases, one can update the catalogs after manually moving files. Sounds like a bit of work though&#8230;</li>
</ol>
<p>Being lazy and having trust in Adobe, I took option (2). There were no issues with backup. Then I wanted the files that were backed-up from <strong>X:\Pictures</strong> to be restored into <strong>D:\Users\Maksym\Pictures</strong> preserving my nice, clear and easy-to-navigate directory structure. This meant specifying <strong>D:\Users\Maksym</strong> as a destination directory for restore. So I restored the files just to see that the catalog files, together with some junk files, were restored directly into <strong>D:\Users\Maksym</strong>. Not good &#8211; they were not supposed to be there! So I thought I missed some option and decided to repeat the restore. But before repeating it, I decided to delete the just-restored catalog. I went into <strong>File-&gt;Catalogs</strong>, selected <strong>Maksym</strong> as a catalog, and pressed <strong>Remove</strong>. What would a thinking person expect to happen? I expected the catalog files together with the files it refers, to be deleted.</p>
<p>Do you know what Photoshop Elements has done? No? Wait for it: <strong>IT DELETED THE WHOLE OF D:\Users\Maksym</strong>, with <strong>ALL </strong>of my Documents, Downloads, Music, Pictures, Video vanishing from the hard drive!!!</p>
<p>A normal reaction to this situation is PANIC. I only calmed down a little, when I realized that I have Windows built-in backup working like a dream on a nightly basis, and in addition, <a href="http://backuppc.sourceforge.net/" target="_blank">BackupPC</a> running on my Ubuntu Server box does another backup of the same box to a different location. I managed to restore the majority of the files, other than 1 days worth.</p>
<p>The bottom line is: because of a Backup running in a scheduled mode, I only lost around $10 in my online music downloads, and some work I did in the morning around planning financial strategy for my investment portfolio and around tracking my personal finance. Not a huge price, it could have been much worse.</p>
<p><strong>THANK YOU, BACKUPS!</strong></p>
<p>P.S. An easy solution was to manually move catalog files to the desired location after the Restore process in Adobe Photoshop Elements completes, and delete some rubbish files that shouldn&#8217;t have been there in the first place. I did exactly this, and now my computer is running perfectly, with its Pictures folder where I want it. <img src='http://schipka.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://schipka.com/archives/32/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LinkedIn hResume</title>
		<link>http://schipka.com/archives/1</link>
		<comments>http://schipka.com/archives/1#comments</comments>
		<pubDate>Fri, 14 Dec 2007 16:08:53 +0000</pubDate>
		<dc:creator>maksym</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[hResume]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://schipka.com/?p=1</guid>
		<description><![CDATA[I finally managed to improve the appearence of my front page. Yes, good old WordPress, nothing new. Amazingly, it was pretty easy to set up. One of the plugins I found when setting all of this up, is called LinkedIn hResume by Brad Touesnard. It is simple and powerful. All it does is it pulls your [...]]]></description>
			<content:encoded><![CDATA[<p>I finally managed to improve the appearence of my front page. Yes, good old WordPress, nothing new. Amazingly, it was pretty easy to set up. One of the plugins I found when setting all of this up, is called <a href="http://wordpress.org/extend/plugins/linkedin-hresume/">LinkedIn hResume</a> by <a href="http://bradt.ca/">Brad Touesnard</a>. It is simple and powerful. All it does is it pulls your CV from <a target="_blank" href="http://www.linkedin.com" title="LinkedIn">LinkedIn</a> and fits it into your WordPress site. Anyhow, the plugin could not cope with some of the newer features of LinkedIn, so I took the liberty of updating it a bit. Here it is: <a href="http://schipka.com/wp-content/uploads/2007/12/linkedin_hresume.php_" title="Updated LinkedIn hResume WordPress plugin">Updated LinkedIn hResume WordPress plugin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://schipka.com/archives/1/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

