Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Home arrow Other arrow Other Features arrow Virtualization for the Small Network - Part 1
Virtualization for the Small Network - Part 1 Print E-mail
Doug Reid   
December 27, 2007

Installing The OS

The next step in creating the VM is to allocate the disk space within the working directory that will become the virtual disk for the virtual machine. In this case, I allocated 4GB of disk space for this Linux machine. Remember, my Linux machine will have full access to all my network hard drives and resources, and I can always allocate additional disk space based on available disks in my physical host computer.

It takes a few minutes for VMware to create the disk, but fear not, it is not partitioning the disk as it would in a traditional Linux install. Rather, it is allocating disk space for the Linux virtual machine, which can easily be reclaimed in the future if I decide to delete/erase the machine.

One of the nice things here is that there are no worries about partitioning software or goofing up disk drives on the host machine. Simply deleting the virtual file created for the virtual machine's disk erases the configuration and returns the capacity to the host machine.

The virtual machine is now created, but the actual OS has to be loaded within the virtual machine. Here's one of the cooler aspects of testing a new OS through virtualization: burning a boot CD/DVD of the ISO file is unnecessary. Simply pointing the virtual CD drive of the virtual machine at the ISO image of the Linux distribution will allow it to boot as if it were booting a physical machine to a physical CD, as highlighted in Figure 6.

Virtual CD drive

Figure 6: Booting an ISO image from a virtual CD drive

At this point, I'm now installing Linux as I would in a fresh install on a physical machine. Figure 7 shows Ubuntu Linux install options. I'll spare you the details on installing Linux, but the end result is a fully functioning Linux machine running within VMware.

Letting the Ubuntu install set up its network interface using DHCP enables the virtual machine to get an IP address on my network, fully independent of the host machine's IP.

Ubuntu boot CD
Click to enlarge image

Figure 7: Ubuntu Linux installation options in VMware console

The VMware manual provided a couple of tips to optimize the performance of a virtual machine. I'm using a Pentium 4 CPU with Hyper-threading enabled on my host computer, so I could allocate two processors to my virtual Linux machine. However, the VMware manual indicates that Hyper-threaded CPUs can perform worse when selecting dual CPUs for the virtual machine, so I configured my Linux VM to use only one CPU.

Virtualization can be a memory hog, so the more memory allocated to the virtual machine, the better it will perform. The trick is balancing the amount of memory allocated to each virtual machine without degrading the performance of the Host or other guest machines. Linux installations default to 256MB of memory, which can be increased all the way to the total amount of memory in the Host. VMware recommends consulting each OS's documentation to determine optimal memory allocation. For simple command line Linux use, I left it at the default 256MB setting.

Another performance enhancement is to disable CD drives within the virtual machines. They can always be re-enabled if necessary, so disabling them shouldn't cause a problem. Finally, for Linux, VMware has improved Linux drivers that can be loaded using a package called VMware Tools.

In the bottom left corner of Figure 7, there is a message reminding me to install VMware Tools on my Ubuntu virtual machine. Installing VMware Tools is done with the virtual machine running, through a combination of VMware Server menu selections and Linux file activity. There is a handy step-by-step guide on VMware's website for installing VMware tools.

As stated in the beginning, I was running Linux in order to run an IP PBX based on open source software. The open source software I've been using is Asterisk. We ran an article a little over a year ago on running an embedded Asterisk machine here. In my case, virtualization has eliminated the need for the specialized hardware discussed in last year's article and allows me to run Asterisk on a full-blown Linux machine.

I installed Asterisk on my virtual Linux machine, copied my Asterisk configuration files I had saved on a network drive, and I was passing calls through the virtual machine just as I previously had through my physical machine.



Tags: Virtualization, VMware,

Related Articles:

Virtualization for the Small Network – Part 2
Monitor your Network for Free with Nagios
Lantronix SecureLinx Spider Review: Tiny, powerful IP KVM
Untangle announces free app to turn XP machine into network security g
Paltalk adds Vumber Virtual Phone Numbers
 

Most Read

 
 

Over At The Forums

D-Link DNS-323 Mysteries
Hello folks. I'm having issues with my Nas and looking for some thoughts. 1. The 323 gets recognised by Vista as a network device but...

Gigabit Network Help!
I have a gigabit NAS (D-link 323) that I have connected to a D-Link DGS-1005D gigabit switch. I then have my desktop connected to...

Synology DS-209+ review up!!
Looks real good. Now Netgear needs to play catchup and dump that old Infrant CPU for something more modern and powerful!! http://www.trustedreviews.com/networ...ion-DS-209-/p1

Real world NAS vs XP performance
I'm interested in a NAS like the Qnap TS 509 to store a lot of photo image files. We currently use a Windows XP SP3...

FCC OET Filings--November
For a device to utilize the radio spectrum in the United States, the FCC requires hardware manufacturers to apply for the relevant license. These publically-accessible...

Slideshows

NETGEAR ReadyNAS Pro Western Digital ShareSpace QNAP TS-509 Pro D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router More

Win This!

Enter to Win!

You could win a Trendnet TEW-633GR Wireless N Gigabit Router and two TEW-621PC 300Mbps Wireless N-Draft PC Cards

Learn How!

 

Ldr:0.00171804428101, Rct:0.00575113296509, Sky:0.00745797157288, Tlink:0.323470115662, TopPG:0.32356595993, GQV:0.323733091354 seconds to load.