Archive for the ‘Virtualization’ Category

Copying a Virtual Machine to a New Server

Sunday, February 10th, 2008

To copy a VMware virtual machine to a new server you need to follow these steps:

  • Install VMware on the new server
  • Create a virtual machine on the new server of the proper type (Windows, Linux, etc)
  • Copy all files from the virtual machine’s directory on the old server to the corresponding directory on the new machine.
  • At this point it is possible that will need to use the VMware console to modify the properties of the virtual machine to match the configuration of the new server.  For example, the CD-ROM device name might be different, the virtual networking parameters might be different, etc.
  • Once the virtual machines properties have been set to match the new server all you should need to do is  start the virtual machine.  At this point you will be told that the virtual machine has been moved to a new location.  You will need to pick the appropriate option here if you want you virtual machine to work properly.  If you have shutdown the virtual machine on the old server and want to move it to the new server, choose to KEEP the old settings.  This causes things like the MAC address and IP address to be preserved.  If you choose to use new values so that you can run two copies (in different servers) at the same time the virtual machine will be assigned a new MAC address.  In some versions of Windows that could force you to re-register the software.

Installing VMware 1.0.4 on Slackware 12.0

Sunday, February 10th, 2008

Today I had to set up a new server to use as a back up if my primary server fails. Rather than messing about with the old version (1.0.2) of VMware that is used on my primary server I decided to try out the latest version (1.0.4). Well, much to my surprise, 1.0.4 works with Slackware right out of the box. No more need to apply patches to support kernel version (more…)

Virtualization - Step 5 Fixing it when it goes wrong

Monday, July 23rd, 2007

After substituting the onboard ethernet controller for one that actually worked, VMware networking stopped working. Everytime I tried to start a virtual machine it would give a message to the effect that ‘The bridge network is not functioning because the virtual network vmnet0 is offline’. (more…)

Virtualization - Step 4 Creating a Virtual Machine

Tuesday, July 17th, 2007

Once you actually get VMware installed and running actually creating a virtual machine is incredibly simple. Here is how you do it: (more…)

Virtualization - Step 3 Install VMware Server

Tuesday, July 17th, 2007

The next step is to install and configure VMware server so that I can configure virtual machines to run various other operating systems concurrently with Slackware. There is an excellent, although a bit outdated, article about configuring VMware for Slackware here:

An updated version of the installation instructions for Slackware 12 follows: (more…)

Virtualization - Step 2 Setting up Remote Access via X (Xdmcp)

Monday, July 16th, 2007

To make life easy for myself I want to be able to access the Linux server from my desktop using KDM. This is incredibly easy to set up, yet difficult to find out how to set it up. Again, my first stop was Google where I found any number of Xdmcp HOWTOs but these all talked about xdm and gdm but said very little about kdm. And the little that was mentioned was wrong.

On Slackware, this is how you do it: (more…)

Virtualization - Step 1 Installation and Raid-1

Monday, July 16th, 2007

I got my new server on Friday, so the first step was to get Linux installed with the boot partition mirrored. I started from a Linux Raid HOWTO that I found on the web. I looked at several different versions of this HOWTO and they all seemed to agree on the basics. That is, they all said that you need to install Linux to a non-raid partition, then create your raid array, copy the installed OS to the array and then fiddle LILO to point to the Raid array. I wasted most of Saturday trying to get this approach to work, only to find out that nothing could be further from the truth. With Slackware, all you need to do is create the Raid array before running setup and then install directly to the Raid array.

Here is how I finally got it to work: (more…)

Consolidating my Servers

Monday, July 9th, 2007

Today I begin my first foray into the murky world of virtualized servers. My intention is to combine my existing Linux (Slackware) and Windows 2000 servers into one machine. I also want to be able to get rid of my test machine. This machine currently has the ability to multi-boot Windows 98, Windows XP and Windows 2000. I also need to be able to add Windows Vista to this mix. My intention is to create a separate virtual machine for each of these test environments which I will be able to boot as necessary.

With all of this in mind I have ordered a 2.4GHz Intel Core-Duo system with 4GB of ram, a 256MB video card, gigabit ethernet and 2 250GB SATA drives. I have downloaded Slackware version 11 and 12 along with VMWare server edition.

My first goal is to get Slackware installed and running to the same point as my existing Slackware server. I need to have Samba configured and running, KDE configured as my desktop and remote access to the server via an X server on my development workstation. I hope to keep this blog updated with details about how all of this works out as I go along.

Wish me luck.