...
- 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
- Establish root access: sudo bash
- Install the VMWare Server RPM:
No Format |
---|
rpm \-ivh /install/VMware-server-1.0.8-126538.i386.rpm
|
- Run the following command to configure VMWare Server:
No Format |
---|
vmware-config.pl
|
Create a Virtual Machine
- Launch the VMWare Server console:
- Connect to Local Host
- Copy a Windows XP ISO image to the VMWare Server machine
- Create a new VM
- Type: Typical
- Guest OS: Microsoft Windows, Version: Windows XP Professional
- Name: Windows XP Base
- Network connection: Use bridged networking
- Disk size: 8.0 GB
- Allocate all disk space now: no
- Split disk into 2GB files: yes
- Configure the VM CD-ROM drive to use the Windows XP ISO image
- Connection: Use ISO image: browse to path of Windows XP ISO image:
/install/WinXP+SP3.iso
...
- Launch C:\Cygwin\Cygwin.bat
- Download the cygwin-sshd-config.sh script to the following location on the Windows VM:
C:\Cygwin\home\root\cygwin-sshd-config.sh - Make sure the script is set to executable:
No Format |
---|
chmod \+x /home/root/cygwin-sshd-config.sh
|
- Launch C:\Cygwin\Cygwin.bat
- 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 - Open Start -> Run -> services.msc
- Double-click the Cygwin sshd service
- Open the Log On tab
- 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
- Click the General tab
- Click Start
...
- Download the gen-node-key.sh script to the following location on the management node:
/root/gen-node-key.sh - Set the script to be executable:
No Format |
---|
chmod \+x /root/gen-node-key.sh
|
- 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
|
- 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
|
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: