<?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>java rants &#187; vmware</title> <atom:link href="http://www.javarants.com/tag/vmware/feed/" rel="self" type="application/rss+xml" /><link>http://www.javarants.com</link> <description>Rants about Java and other internet technologies by Sam Pullara</description> <lastBuildDate>Sun, 09 Oct 2011 23:29:31 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.2.1</generator> <item><title>Time Machine vs. ZFS + rsync</title><link>http://www.javarants.com/2008/10/30/time-machine-vs-zfs-rsync/</link> <comments>http://www.javarants.com/2008/10/30/time-machine-vs-zfs-rsync/#comments</comments> <pubDate>Fri, 31 Oct 2008 03:17:18 +0000</pubDate> <dc:creator>Sam Pullara</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[backup]]></category> <category><![CDATA[parallels]]></category> <category><![CDATA[rsync]]></category> <category><![CDATA[time machine]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[vmware]]></category> <category><![CDATA[zfs]]></category> <guid
isPermaLink="false">http://www.javarants.com/?p=916</guid> <description><![CDATA[Update: I actually got the fslogger thing at the end of this entry working so I can do incremental backups. Not really a product yet but it isn&#8217;t hard to do. Here is the super rough version of it. I &#8230; <a
href="http://www.javarants.com/2008/10/30/time-machine-vs-zfs-rsync/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><strong>Update</strong>: I actually got the fslogger thing at the end of this entry working so I can do incremental backups.  Not really a product yet but it isn&#8217;t hard to do. <a
href="http://buildandtest.com/files/rlogsync.tar.gz">Here is the super rough version of it.</a></p><p>I can&#8217;t stand inefficiency.  Time Machine is fundamentally a very inefficient mechanism for backing up large files that change.  So bad actually that most things like Parallels and VMWare disable backups of your disk images.  Here is the basic algorithm:<br
/> <span
id="more-916"></span><br
/> 1) Get the list of files that have changed since the last backup<br
/> 2) Create new directory in backup store<br
/> 3) Copy any file that has changed since the last backup<br
/> 4) Create hard links to any file or even whole directory in the new backup to the last backup for any file that has not changed</p><p>Step 1 is pretty efficient for Time Machine as they keep hooks into the filesystem to track those changes as they occur.  Step 2 is obviously easy.  Step 3 is a doosy.  If you change 1 byte in a VMWare image it will copy the several gigs over to the backup store.  Not a great result from such small change and that would quickly consume your disk flushing valuable older changes out of the system.  Step 4 is also very efficient because hard links are trivial to create and use virtually no space, though they did have to make special changes to HFS+ so that you could hard link directories to make Time Machine more efficient.</p><p>The obvious big problem here is that in the case that a file changes at all you need to copy the whole thing to you backup device.  Not that viable over the internet or even WiFi for really big files that are updated often like VM images.  You might have wondered why Apple is considering integrating ZFS directly into Mac OS X, now you know why.  ZFS lets you do something very special: create a snapshot of a whole filesystem.  Essentially a copy of that filesystem at a particular point in time and they do this without copying whole files when they change but instead at the block level.  This amazing capability is critical in this more efficient way to backup your system with multi-level snapshots.</p><p>Enter <a
href="http://en.wikipedia.org/wiki/Rsync">rsync</a>.  Rsync has been around for a long time.  It is used by system adminstrators everywhere to efficiently update files in one location with files from another location, even over the internet.  It does this by comparing them at the block level and only sending diffs when needed to update files on the other end.  Using the right command line options you can essentially make one filesystem look like a carbon copy of another filesystem.  Using this in combination you can make a backup solution that is much better than most out there:</p><p>1) Rsync your current filesystem to a ZFS filesystem &#8212; remote or attached storage<br
/> 2) Take a snapshot of the resulting filesystem to forever capture its state</p><p>Those are the two steps.  Nothing more.  Here is the script that I use to backup my Macbook Air to my server at home:</p><pre>
#!/bin/sh
cd /Users
time rsync -av --delete sam 192.168.1.90:/Volumes/zdisk/macbookair
ssh 192.168.1.90 sudo zfs snapshot zdisk/macbookair@`date "+%s"`
</pre><p>This results in a set of filesytems that looks like this:</p><pre>
zdisk/macbookair             14.9G   898G  14.6G  /Volumes/zdisk/macbookair
zdisk/macbookair@1225350709   125M      -  14.6G  -
zdisk/macbookair@1225351248   117M      -  14.6G  -
zdisk/macbookair@1225418584  21.7M      -  14.6G  -
</pre><p>This obviously isn&#8217;t as awesome as using Time Machine to recover my files because I don&#8217;t have a great UI, I have to run a script and generally have to know more about the system than a Time Machine user.  However&#8230; I can update a VM without sending gigs of data over the internet to back it up or deal with not having a backup at all.</p><p>The only downside is that an empty backup still takes about 8 minutes to go through all my files. Next step would be to integrate into the fslogger into the solution and only look at those files that changed for sure.</p> ]]></content:encoded> <wfw:commentRss>http://www.javarants.com/2008/10/30/time-machine-vs-zfs-rsync/feed/</wfw:commentRss> <slash:comments>11</slash:comments> </item> <item><title>Parallels vs VMWare vs Bootcamp vs Codeweavers Crossover Office revisited</title><link>http://www.javarants.com/2007/10/07/parallels-vs-vmware-vs-bootcamp-vs-codeweavers-crossover-office-revisited/</link> <comments>http://www.javarants.com/2007/10/07/parallels-vs-vmware-vs-bootcamp-vs-codeweavers-crossover-office-revisited/#comments</comments> <pubDate>Mon, 08 Oct 2007 01:10:04 +0000</pubDate> <dc:creator>Sam Pullara</dc:creator> <category><![CDATA[Technology]]></category> <category><![CDATA[Apple]]></category> <category><![CDATA[bootcamp]]></category> <category><![CDATA[codeweavers]]></category> <category><![CDATA[crossover]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[mac]]></category> <category><![CDATA[office]]></category> <category><![CDATA[parallels]]></category> <category><![CDATA[virtualization]]></category> <category><![CDATA[vmware]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://www.javarants.com/2007/10/07/parallels-vs-vmware-vs-bootcamp-vs-codeweavers-crossover-office-revisited/</guid> <description><![CDATA[I have reviewed these products in the past but I think they have rev&#8217;d enough times to make it worth my while to revisit them and see how far they have come. As a reminder, lets again review a couple &#8230; <a
href="http://www.javarants.com/2007/10/07/parallels-vs-vmware-vs-bootcamp-vs-codeweavers-crossover-office-revisited/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>I have <a
href="http://www.javarants.com/C1242049796/E20060904143855/" title="  Crossover (WINE) vs. Parallels vs. Bootcamp">reviewed these products</a> in the past but I think they have rev&#8217;d enough times to make it worth my while to revisit them and see how far they have come.  As a reminder, lets again review a couple of use cases that you might have:</p><ol><li>Native Microsoft Office (any version) support</li><li>Latest Microsoft Office</li><li>Microsoft Vista</li><li>Games</li><li>IE7</li></ol><p>Again with the ideal requirements:</p><ol><li>Runs applications at full speed</li><li>Executes them in such a way as they appear to be native applications</li><li>Does not require a Window license</li></ol><p>The simplest answer is to use Crossover Office to run applications that work with it, as when it works it satisfies the ideal requirements and then use Bootcamp when you absolutely have to have a true Windows machine.  Crossover Office is now robust enough to run Outlook 2003 pretty well along with some older games like Counter Strike: Source though it doesn&#8217;t have support for the very latest software.  There are cases that are in-between, for example you might not need full speed but you do need full compatibility, then either Parallels or VMWare Fusion ought to work for you, like when you want to run IE7 to view a website.  If you are doing anything that requires high non-graphics speed and also high-compatibility like developing software, either VMWare or Bootcamp would be your best bet.  VMWare allows you to use more than 1 processor and it out benchmarks Parallels.  On the other hand, Parallels is a nicer application and its Coherence-mode (integrates Windows applications into the Mac desktop experience) is better than VMWare&#8217;s Unity mode.  Neither VMWare nor Parallels run highly graphical twitch games to my satisfaction.  Here is a little table to help you make your decision:</p><ul><li><a
href="http://www.codeweavers.com/products/cxmac/">Crossover Office 6.2</a><ul><li>When it works its the best option</li><li>Fast, well integrated, runs some games</li><li>Only option that doesn&#8217;t require a Windows license</li><li>According to <a
href="http://www.codeweavers.com">CodeWeavers</a>, will work even better under Leopard</li></ul></li><li><a
href="http://www.apple.com/macosx/bootcamp/">Bootcamp</a><ul><li>It is just Windows</li><li>Mac&#8217;s are really good Windows machines</li></ul></li><li><a
href="http://www.parallels.com/en/products/desktop/">Parallels Desktop 3.o</a> (build 5160)<ul><li>Easier to use than VMWare Fusion</li><li>Coherence is very mature</li><li>Does not really run games well</li></ul></li><li><a
href="http://vmware.com/products/fusion/">VMWare Fusion 1.0</a> (build 51348)<ul><li>Faster than Parallels</li><li>Unity is OK</li><li>Lot&#8217;s of compatible VMWare appliances</li><li>Not much luck running games on it</li></ul></li></ul><p>Have any questions about the options? Since I have a license to all of them and use them all for various purposes I would be happy to answer any specific questions about the products.</p> ]]></content:encoded> <wfw:commentRss>http://www.javarants.com/2007/10/07/parallels-vs-vmware-vs-bootcamp-vs-codeweavers-crossover-office-revisited/feed/</wfw:commentRss> <slash:comments>31</slash:comments> </item> </channel> </rss>
