Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • VMWare Server RPM: /install/VMware-server-1.0.8-126538.i386.rpm
  • Windows XP ISO: /install/WinXP+SP3.iso

Make Sure The Host Computer Is Not Running A Xen Kernel

VMWare Server cannot be installed on a computer running a Xen kernel.  To determine if a Xen kernel is being used:

  • uname -a
    The following output indicates a Xen kernel is being used:
    No Format
    
    Linux blade1g6-4 2.6.18-92.el5xen #1 SMP Tue Jun 10 19:20:18 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
    

Replace the Xen Kernel with the following commands:

No Format

yum update ecryptfs-utils \--y
yum install kernel kernel-devel \--y
yum remove xen kernel-xen \--y

Check the grub.conf file to make sure it is not configured to boot using the Xen Kernel

less /boot/grub/grub.conf 

No Format

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda3
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-92.el5xen)
        root (hd0,0)
        kernel /xen.gz-2.6.18-92.el5
        module /vmlinuz-2.6.18-92.el5xen ro root=LABEL=/ pci=nommconf
        module /initrd-2.6.18-92.el5xen.img
No Format

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/sda3
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.1.14.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-128.1.14.el5 ro root=LABEL=/1 pci=nommconf
        initrd /initrd-2.6.18-128.1.14.el5.img

Install VMWare Server

  1. Establish root access: sudo bash
  2. Install the VMWare Server RPM:
    No Format
    rpm \-ivh   /install/VMware-server-1.0.8-126538.i386.rpm
    
  3. Run the following command to configure VMWare Server:
    No Format
    vmware-config.pl
    

    Create a Virtual Machine

  1. Launch the VMWare Server console:
    No Format
    vmware &
    
  2. Connect to Local Host
  3. Copy a Windows XP ISO image to the VMWare Server machine 
  4. Create a new VM
    1. Type: Typical
    2.  Guest OS: Microsoft Windows, Version: Windows XP Professional
    3. Name: Windows XP Base
    4. Network connection: Use bridged networking
    5. Disk size: 8.0 GB
      1. Allocate all disk space now: no
      2. Split disk into 2GB files: yes
  5. Configure the VM CD-ROM drive to use the Windows XP ISO image
    1. Connection: Use ISO image: browse to path of Windows XP ISO image:
      /install/WinXP+SP3.iso

...

  1. Launch C:\Cygwin\Cygwin.bat
  2. Download the cygwin-sshd-config.sh script to the following location on the Windows VM:
    C:\Cygwin\home\root\cygwin-sshd-config.sh
  3. Make sure the script is set to executable:
    No Format
    chmod \+x /home/root/cygwin-sshd-config.sh
    
  4. Launch C:\Cygwin\Cygwin.bat
  5. Run the script and specify the root account password as an argument, enclose the password in ticks in case special characters are used in the password:
    No Format
    /home/root/cygwin-sshd-config.sh '<PASSWORD>'
    
    Note: the sshd service probably will not start until the next step is completed
  6. Open Start -> Run -> services.msc
  7. Double-click the Cygwin sshd service
  8. Open the Log On tab
  9. Enter the root account password twice and click OK, you should see a message stating root has been granted the Log On As A Service Right
  10. Click the General tab
  11. Click Start

...

  1. Download the gen-node-key.sh script to the following location on the management node:
    /root/gen-node-key.sh
  2. Set the script to be executable:
    No Format
    chmod \+x /root/gen-node-key.sh
    
  3. Run the script and specify the node as an argument (either the node's DNS name or IP address can be used):
    No Format
    /root/gen-node-key.sh 192.168.22.55
    
  4. Attempt to connect from the management node to the Windows VM via SSH using the key:
    No Format
    ssh \-i /etc/vcl/vcl.key 192.168.22.55
    
No Format

Common Problems

 You may see the following dialog box when powering on a VM which has been saved in a VCL image. Click on Always Keep: