TweetFollow Us on Twitter

Virtual Choices on the Mac

Volume Number: 23 (2007)
Issue Number: 02
Column Tag: Virtualization

Virtual Choices on the Mac

VMWare brings their wares to Intel Macs

By Ben Greisler

Introduction

In the November 2006 edition of MacTech, Mary Norbury introduced us to the Macintosh virtualization product Parallels. For many Mac users this was their first exposure to virtualization. Virtualization shouldn't be confused with emulation, which is the complete interpretation of an environment — including the processor. An example of this is VirtualPC running on PowerPC (never mind the name; VPC for PPC is an emulator, not a virtualizer).

Virtualization doesn't emulate a processor, but allows multiple instances of an OS, or multiple OSes, to have access to the same processor or pool of processors while isolating the environments that the OSes are running in. This is a very simplified view of what virtualization and emulation do, and most products do some amount of both. The discussion of emulation versus virtualization could fill this magazine and then some, so we are going to concentrate on the latest virtualization product to hit the Macintosh world, VMware's Fusion.

While Parallels is an impressive product coming from an impressive group of developers, Fusion is what will grab the attention of enterprise and large education organizations, as they are probably already familiar with the VMware product range. VMware's ESX Server, Workstation and Player already have mindshare in groups using virtualization. While Fusion is still in beta, and we will have to wait to see what VMware decides to do with the product, it is still interesting to put it through its paces and see what we have.

Installation

The test machine is my often abused MacBook Pro 2.16 Core Duo with 2GB RAM and a 7200 RPM 100GB hard drive. I don't have a Core 2 processor available to me, so 64 bit testing was not possible. As testing started about 24 hours after the beta was released to the public, changes and updates will probably come quickly. The following information is based on Fusion build 36932.

The Fusion beta is available at http://www.vmware.com/products/beta/fusion/, and after filling in a quick questionnaire you will be presented with the EULA. Once you agree, you will be brought to a page that has the serial number for the beta software and a link to the actual download (an 111 MB .dmg).

Installation is a straightforward .pkg file. Double click and follow all of the normal software installation steps. Note that in the mounted .dmg, you will find a readme, license information and an uninstaller script. You may want to copy the script over to a safe place in case you ever need it. I did it as I have a habit of throwing away the installer packages to save space on my hard drive and trust me, once you start downloading all the pre-made VM appliances available out there, you will need the space.

Pre-made Virtual Appliances

One of the big attractions to VMware is the existence of their Virtual Appliance Marketplace http://www.vmware.com/vmtn/appliances/. You can get to the website via the above URL, the VMTN button on the Welcome Screen or "Download Virtual Appliances" under the File menu. This website is a collection of free and for fee pre-built, pre-configured virtual machines. Want to try out Smoothwall, but didn't have too much extra time to devote to the machine setup and installation of it? Just download the pre-built VM. How about wanting to compare Ubuntu to Red Hat? Download the VM's for each, fire them up and compare away. It is very convenient and quick.

The website is indexed and searchable. I suggest just skimming through the entire list to get an idea of what is out there. Some VMs have been certified by VMware using a standardized criteria set. Their goal is to allow developers to submit their VMs for certification so users will have confidence in the VMs and have support available to them. There is also a rating system with a one to five star choice. To read comments about the VM, click on the "Comment on this Appliance" link on the right side of the page under the star rating.

Once you pick a VM, download it in the manner provided. This could be http or BitTorrent. Other download methods may be available, but everything I saw was one of those two. I did find that the Torrent methods weren't quite as quick as I would have expected, but there are probably very few people sharing out the files. In fact one VM I downloaded came from only two partners.

It pays to read the notes provided on the information page, the comments and the readme files. Because this is a community effort for most of the appliances, there isn't as much standardization as there could be for the location of import information such as the login usernames and passwords.

Most of the VMs come compressed as a zip. Expand the file and place it into the "vmware folder". The location of the folder can be defined during installation of the app, but will default to the users home directory. Once the VM resides in the "vmware" folder, you can open the VM using the Open button in the Welcome Screen, or under the File menu. Easy as that.


Figure 1: Opening a pre-built VMWare Image

Configuring Fusion

Once a VM is running, you are presented with its window and a group of buttons across the top of it. Starting from the left side:


Figure 2: Control buttons on VM Toolbar

Power Off: This button provides an equivalent to the actual power button (OFF) of a physical machine. If you click it, it provides a dialog box confirming that you want to shut down the guest operating system.

Suspend: This allows you to close the VM while saving the state that it is in. This provides the ability to start a VM without having to go through the booting process of the VM — leaving you right where you were. Once pushed it will show a progress bar for the duration of state saving and then eventually show a black screen. It is up to the user to close the window all together or push the Resume button to start the VM again.

Power On/Resume: This button provides the equivalent to an actual power button (ON) of a physical machine. It shows "Resume" when the VM is suspended.

Settings: Clicking this will allow you to change a number of system settings for the VM you have loaded. All of the settings give you the choice to "Connect this device" and "Connect automatically when powering on". Keep in mind that physical hardware can only be in use by one VM at a time, so for example, you won't be able to connect the optical drive to three VMs while they are all running.

Shared Folders (Figure 3): To add a shared folder you need to click on the "+" button at the bottom of the window and supply a name and path to the shared folder. This relies on VMware Tools being installed. Even at that, I had issues with getting shared folders working. I didn't beat it up too much as this is beta and I expect that things will get better.


Figure 3: Shared folder settings.

Removable Devices (Note: Some of these choices will not be available depending on the VM):

Ethernet (Figure 4): It is here that you can configure the VM to connect to the physical network or to share the host's connection via NAT. If you choose NAT, the VMware virtual DHCP server will provide the address. Pay attention to which choice you want as much as you would on a real, physical machine.


Figure 4: A virtual machine's Ethernet settings.

The following removable devices are supported, but have no configuration options besides on or off: sound adapter, CD-ROM, floppy drive, hard disk and USB controller.

System Hardware Memory: The assigned memory can be adjusted in this window. There will be a recommended value but you can increase this if you have the available RAM. You have to be very careful with this setting as you need to account for how many VMs you have running and how much RAM you assign as not to force your physical machine into swapping. This will drag the speed down for all applications and the host machine. You will want to visit your command line and look at the behavior of memory on your host machine. Using tools like Activity Monitor or top, make sure your pageouts aren't too high and adjust VM memory as needed.

Processors (Figure 5): You can assign one or two processors to the VM. This will be set when the VM is made. This is an advantage over Parallels, which can only use one processor, or a single core, at a time for a given VM.


Figure 5: SMP capabilities of a VM.

Full Screen: Clicking on this will toggle full screen mode. To get out of full screen mode, place your mouse at the top of the screen and the tool bar will come into view. Click on View and "Toggle Full Screen", or you can use the command-return key combination.

Notice that the CD-ROM, Floppy and Ethernet devices have green dot indicators when they are connected to the physical device or in the case of Floppy, the floppy image. This is handy when you have multiple VM's running and you need to access a physical device that is currently connected to another VM.

Building a new Virtual Machine

Unlike the free VMWare Player for Windows, Fusion allows you to create virtual machines. The process is fairly straightforward.

1. Using the New Virtual Machine Assistant (Figure 6), choose the operating system you will be using. Pick whether you have the installation on a physical CD or in an ISO. If you are using an ISO, provide the path to it.


Figure 6: Creating a VM

2. You will then be asked for a name for the VM and a location for it to reside. The default is in a folder named "vmware" in the root of the users home folder.

3. Under System Settings you will define the size of the virtual disk. A recommended default will be assigned, but you can change it to whatever you want. As of this version there is no easy way to expand an existing virtual disk so you will want to carefully consider the size you want. You will also set the memory allocation and number of processors -- the latter being an advanced option that currently doesn't exist in Parallels. It would be useful to restrict a VM to one processor if you plan on running multiple VMs simultaneously.

4. Once you have completed the previous steps, you will get to the point where you actually install the OS. You have configured the VM and you will have your choice of installing the OS immediately or wait until a later time.

5. At this point the VM will start and because the product is still beta, a warning will pop up explaining that debugging is running and may affect performance. You can permanently dismiss this warning if you wish. [Ed. Note: this is a little disappointing, even for a beta. Running debug code that affects performance should be optional.]

6. The VM will behave like a standard physical machine and installation will start (Picture 11)

7. Once installation is complete, you will have a working OS within the VM

Installing VMware Tools

The VMware Tools provide better graphics performance, drag and drop support, time sync between host and VM, automatic cursor control as it travels in and out of the VM, and a better behaved mouse in some OSes (within the VM). It is highly recommended that you install the VMware Tools package.

Installing the package in Windows Vista or XP is as easy as clicking on a menu item. Make sure the guest OS in running within the VM and pull down the Virtual Machine menu. Choose Install VMware Tools and a wait a moment while the tools package is mounted in the guest OS. A regular installation dialog will ensue with the caveat that, "The tool package isn't certified by Microsoft", forcing you to acknowledge a number of "Do you really want to do this?" type queries. Follow the directions and the process will complete.

In Linux or any of the xNIX'es, you follow the same general process, but when you click on the Install VMware Tools button, a virtual DVD-ROM is mounted in the guest OS. You will be presented with two packages, a tar and an rpm. In this case, I'm using Ubuntu Linux, and I expanded it out. I changed directory to the resulting folder and ran the installer: "sudo ./vmware-install.pl".

Using VMware Tools

To configure VMware Tools in Windows, there is an icon for VMware Tools in the taskbar. In a Unix variant, navigate to /usr/bin and run vmware-toolbox as root. In either case, a Properties box will pop up with a number of choice that may differ with the guest OS you are running. Note that the help buttons are enabled, but may include information for versions of VMware that is not correct for Fusion and at this time, we can't really say what will end up in the production version.

Options: (Figure 7) You can choose to keep the guest OS synced with the host OS, notify if an upgrade is available and or show the VMware Tools in the taskbar (Windows only — Unix tools only allow for time sync).


Figure 7: Guest OS options with VMWare Tools installed.

Devices: This allows the user to connect or disconnect devices from the VM, just like the icon at the top of the VM window.

Scripts (Figure 8): At this point in time we probably shouldn't change the defaults here. While the help pages give us information about the scripts, they also warn that it will only work with certain versions of VMware. That said, this is beta software and none of the notes in the help pages make reference to the beta. We can't tell what will result if we make customized scripts. While I was tempted to start experimenting, we are too early in the beta cycle to know if it is worth the effort.


Figure 8: Preloaded and custom scripts for a given action

Shrink: This is where we can shrink partitions. Simply pick the partition you want to shrink and click Shrink. The partition will be prepared and when finished preparing it you can perform the shrink at that time or wait until later. I suggest reviewing the help pages for your specific installation for recommendations on this topic. This process will reduce the amount of space that the virtual disk takes up on the host machine. There are many notes about what can be shrunk and what can't be, but they also refer to versions of VMware that do not apply to the beta. For example they note that VMs with snapshots can't be shrunk. Also, the help notes state that the disks can be defragmented, but there are no tools for that in the current beta.

About: Information about VMware Tools and version number.

Running VMs

On the first run of a VM, you may get a warning box asking you what to do about the UUID because the location of the configuration file has changed. The directions are self-explanatory, but you won't go wrong by choosing "Create a new identifier". The UUID is comprised of a 128 bit integer based on the path to the VMs configuration file and the physical machines identifier. If you want to get into the details, you should keep the UUID if you moved the VM, but create a new one of you made a copy, and are still using the original VM. You can use Always Create if you are using one VM as a template and keep moving it to new locations. This will make a new UUID for each location. This is similar in concept to Always Keep but used if you want to keep the same UUID each time you move the VM.

When you start a VM when another VM is running, you will get a dialog box that lets you know that some devices on the host machine may not be available to the VM. You may need to toggle the buttons for the devices on or off as necessary to get the resource you need, like an optical drive. You may also get a warning that a certain device may not be available at all. This may be due to a pre-made VM that was build on a machine that had a certain device available, such as a floppy drive, and is now being run on a host machine that doesn't have that same device.

Final Words

Keep in mind that this is the first public beta of Fusion. VMware has not said what their production plans are, or if we are looking at something representative of the final product. It is tempting to want to put this into production, but it is too early. I ran into one kernel panic when something went bonkers with my Vista install.

It is tempting to compare Fusion with Parallels. I think it would be a mistake at this point, not knowing what VMware has up their sleeve. I can say that right out of the box Fusion worked better than Parallels did at its first release, but there are also less choices and configurations to play with. Some things that I noticed is that Fusion seems to take less system resources than Parallels, but that could be just the way I have configured my virtual machines. Running Windows VM's on Parallels seem to really drag down the host system whereas Fusion doesn't impact the CPU as much.

VMware has the advantage of having a mature product to draw code from and experience making it work. They also have the advantage of an established base of expertise and the pre-made appliances. I am glad that VMware brought out Fusion but I hope they don't limit this to a lower level product. I would really like to see them produce something along the lines of ESX for the Apple platform. We also need to see if they are allowed to virtualize OS X itself, but that is a political issue that is yet to be resolved at the time of writing this article.

The end result is this: We now have two major choices for virtualization on the Mac platform. I don't include Qemu (qemu.org) as it is primarily an emulator, not virtualization. We are much further ahead than we were a year ago. This is all just great stuff for acceptance of the Mac platform in areas that that it hasn't been in before. Let the developers know what you think and what you want.


Ben has worked Apple based technology integration projects from Maine to Japan while learning all the way. When not collecting frequent flyer miles he spends his favorite time with his wife and 2.5 year old daughter at their home outside of Philadelphia. He can be reached at magikben@mac.com

 
AAPL
$119.00
Apple Inc.
+1.40
MSFT
$47.75
Microsoft Corpora
+0.28
GOOG
$540.37
Google Inc.
-0.71

MacTech Search:
Community Search:

Software Updates via MacUpdate

Skype 7.2.0.412 - Voice-over-internet ph...
Skype allows you to talk to friends, family and co-workers across the Internet without the inconvenience of long distance telephone charges. Using peer-to-peer data transmission technology, Skype... Read more
HoudahSpot 3.9.6 - Advanced file search...
HoudahSpot is a powerful file search tool built upon MacOS X Spotlight. Spotlight unleashed Create detailed queries to locate the exact file you need Narrow down searches. Zero in on files Save... Read more
RapidWeaver 6.0.3 - Create template-base...
RapidWeaver is a next-generation Web design application to help you easily create professional-looking Web sites in minutes. No knowledge of complex code is required, RapidWeaver will take care of... Read more
iPhoto Library Manager 4.1.10 - Manage m...
iPhoto Library Manager lets you organize your photos into multiple iPhoto libraries. Separate your high school and college photos from your latest summer vacation pictures. Or keep some photo... Read more
iExplorer 3.5.1.9 - View and transfer al...
iExplorer is an iPhone browser for Mac lets you view the files on your iOS device. By using a drag and drop interface, you can quickly copy files and folders between your Mac and your iPhone or... Read more
MacUpdate Desktop 6.0.3 - Discover and i...
MacUpdate Desktop 6 brings seamless 1-click installs and version updates to your Mac. With a free MacUpdate account and MacUpdate Desktop 6, Mac users can now install almost any Mac app on macupdate.... Read more
SteerMouse 4.2.2 - Powerful third-party...
SteerMouse is an advanced driver for USB and Bluetooth mice. It also supports Apple Mighty Mouse very well. SteerMouse can assign various functions to buttons that Apple's software does not allow,... Read more
iMazing 1.1 - Complete iOS device manage...
iMazing (was DiskAid) is the ultimate iOS device manager with capabilities far beyond what iTunes offers. With iMazing and your iOS device (iPhone, iPad, or iPod), you can: Copy music to and from... Read more
PopChar X 7.0 - Floating window shows av...
PopChar X helps you get the most out of your font collection. With its crystal-clear interface, PopChar X provides a frustration-free way to access any font's special characters. Expanded... Read more
OneNote 15.4 - Free digital notebook fro...
OneNote is your very own digital notebook. With OneNote, you can capture that flash of genius, that moment of inspiration, or that list of errands that's too important to forget. Whether you're at... Read more

Latest Forum Discussions

See All

Lucha Amigos (Games)
Lucha Amigos 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Forget Ninja Turtles, and meet Wrestlers Turtles! Crazier, Spicier and…Bouncier! Sling carapaces of 7 Luchadores to knock all... | Read more »
Raby (Games)
Raby 1.0.3 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0.3 (iTunes) Description: ***WARNING - Raby runs on: iPhone 5, iPhone 5C, iPhone 5S, iPhone 6, iPhone 6 Plus, iPad Mini Retina, iPad Mini 3, iPad 4, iPad Air,... | Read more »
Oddworld: Stranger's Wrath (Games)
Oddworld: Stranger's Wrath 1.0 Device: iOS Universal Category: Games Price: $5.99, Version: 1.0 (iTunes) Description: ** PLEASE NOTE: Oddworld Stranger's Wrath requires at least an iPhone 4S, iPad 2, iPad Mini or iPod Touch 5th gen... | Read more »
Bounce On Back (Games)
Bounce On Back 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: | Read more »
Dwelp (Games)
Dwelp 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: === 50% off for a limited time, to celebrate release === Dwelp is an elegant little puzzler with a brand new game mechanic. To complete a... | Read more »
Make Way for Fat Chicken, from the Maker...
Make Way for Fat Chicken, from the Makers of Scrap Squad Posted by Jessica Fisher on November 26th, 2014 [ permalink ] Relevant Games has announced they will be releasing their reverse tower defense game, | Read more »
Tripnary Review
Tripnary Review By Jennifer Allen on November 26th, 2014 Our Rating: :: TRAVEL BUCKET LISTiPhone App - Designed for the iPhone, compatible with the iPad Want to create a travel bucket list? Tripnary is a fun way to do exactly that... | Read more »
Ossian Studios’ RPG, The Shadow Sun, is...
Ossian Studios’ RPG, The Shadow Sun, is Now Available for $4.99 Posted by Jessica Fisher on November 26th, 2014 [ permalink ] Universal App - Designed for iPhone and iPad | Read more »
Mmmm, Tasty – Having the Angry Birds for...
The very first Angry Birds debuted on iOS back in 2009. When you sit back and tally up the number of Angry Birds games out there and the impact they’ve had on pop culture as a whole, you just need to ask yourself: “How would the birds taste... | Read more »
Rescue Quest Review
Rescue Quest Review By Jennifer Allen on November 26th, 2014 Our Rating: :: PATH BASED MATCH-3Universal App - Designed for iPhone and iPad Guide a wizard to safety by matching gems. Rescue Quest might not be an entirely original... | Read more »

Price Scanner via MacPrices.net

Black Friday: 15% off iTunes Gift Cards
Staples is offering 15% off $50 and $100 iTunes Gift Cards on their online store as part of their Black Friday sale. Click here for more information. Shipping is free. Best Buy is offering $100... Read more
BEVL Releases Dock Tailored for iPhone 6 and...
Seattle based BEVL has released their first product: an iPhone dock that is divergent in build quality, rock-solid function and visual simplicity to complement the iPhone. BEVL is now accepting... Read more
Black Friday: $150 off 13-inch Retina MacBook...
 Best Buy has 13-inch 2.6GHz Retina MacBook Pros on sale for $150 off MSRP on their online store as part of their Black Friday sale. Choose free shipping or free local store pickup (if available).... Read more
Black Friday: $300 off 15-inch Retina MacBook...
 B&H Photo has the new 2014 15″ Retina MacBook Pros on sale for $300 off MSRP as part of their Black Friday sale. Shipping is free, and B&H charges NY sales tax only: - 15″ 2.2GHz Retina... Read more
Black Friday: Up to $140 off MacBook Airs, fr...
 B&H Photo has 2014 MacBook Airs on sale for up to $140 off MSRP as part of their Black Friday sale. Shipping is free, and B&H charges NY sales tax only: - 11″ 128GB MacBook Air: $799 $100... Read more
Black Friday: 13-inch 2.5GHz MacBook Pro on s...
 Best Buy has the 13″ 2.5GHz MacBook Pro on sale for $899.99 on their online store as part of their Black Friday sale. Choose free shipping or free instant local store pickup (if available). Their... Read more
Black Friday: 21-inch 1.4GHz iMac on sale for...
 Best Buy has the 21″ 1.4GHz iMac on sale for $899.99 on their online store as part of their Black Friday sale. Their price is $200 off MSRP. Choose free shipping or free local store pick up. Price... Read more
Black Friday iPad Air 2 sale prices, $100 off...
 Best Buy has iPad Air 2s on sale for $100 off MSRP on their online store for Black Friday. Choose free shipping or free local store pickup (if available). Sale prices available for online orders... Read more
2014 1.4GHz Mac mini on sale for $449, save $...
 B&H Photo has the new 1.4GHz Mac mini on sale for $449.99 including free shipping plus NY tax only. Their price is $50 off MSRP, and it’s the lowest price available for this new model. Adorama... Read more
Early Black Friday pricing on 27-inch 5K iMac...
 B&H Photo continues to offer Black Friday sale prices on the 27″ 3.5GHz 5K iMac, in stock today and on sale for $2299 including free shipping plus NY sales tax only. Their price is $200 off MSRP... Read more

Jobs Board

*Apple* Solutions Consultant (ASC) - Apple (...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
Senior Event Manager, *Apple* Retail Market...
…This senior level position is responsible for leading and imagining the Apple Retail Team's global event strategy. Delivering an overarching brand story; in-store, Read more
*Apple* Retail - Multiple Positions (US) - A...
Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, you're also the Read more
*Apple* Solutions Consultant (ASC) - Apple (...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
*Apple* Solutions Consultant (ASC) - Apple (...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.