Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

DISCLAIMER!

This document provides instuctions for configuring a standalone VCL environment running on a single computer which is able to provision VCL reservations using VMware.  It is only provided to help you understand how the various components of VCL operate.  This document DOES NOT describe how to configure a production VCL environment.  The environment described in this document can however be used to learn, test, and help develop VCL.

...

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

Panel

uname -a

The following output indicates a Xen kernel is being used:
Panel

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

If "xen" appears in the output of the previous command, replace the Xen Kernel with the following commands:
Panel

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
Panel

less /boot/grub/grub.conf 

The grub.conf file should NOT look like this:
Panel

# 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

The grub.conf file SHOULD look like this:
Panel

# 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

After removing the Xen kernel, reboot the computer:

...

  1. Press ENTER to view the license agreement, scroll to the bottom, type yes and press ENTER
  2. Wiki MarkupIn which directory do you want to install the mime type icons? \
    [/usr/share/icons\] *ENTER*
  3. Wiki MarkupWhat directory contains your desktop menu entry files?
    These files have a .desktop file extension. \ [/usr/share/applications\] *ENTER*
  4. Wiki MarkupIn which directory do you want to install the application's icon? \
    [/usr/share/pixmaps\] *ENTER*
  5. Wiki MarkupNone of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel.    Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? \ [yes\] *ENTER*unmigrated-wiki-markup
  6. What is the location of the directory of C header files that match your running
    kernel? \ [/lib/modules/2.6.18-128.1.14.el5/build/include\] *ENTER*
  7. Wiki MarkupDo you want networking for your virtual machines? (yes/no/help) \ [yes\] *ENTER*
  8. Wiki Markup
    Your computer has multiple ethernet network interfaces available: eth0, eth1,
    virbr0. Which one do you want to bridge to vmnet0? \[eth0\] *eth1*
  9. Your computer has multiple ethernet network interfaces available: eth0, eth1,
    virbr0. Which one do you want to bridge to vmnet0? [eth0] eth1
  10. Do you wish to configure another bridged network? Wiki MarkupDo you wish to configure another bridged network? (yes/no) \ [no\] *ENTER*
  11. Wiki MarkupDo you want to be able to use NAT networking in your virtual machines? (yes/no) \
    [yes\] *no* Wiki Markup
  12. Do you want to be able to use host-only networking in your virtual machines? \
    [no\] *yes*unmigrated-wiki-markup
  13. Do you want this program to probe for an unused private subnet? (yes/no/help) \
    [yes\] *no*
  14. What will be the IP address of your host on the private
    network? 192.168.0.1
  15. What will be the netmask of your private network? 255.255.0.0
  16. DHCP information is displayed, press ENTERunmigrated-wiki-markup
  17. Do you wish to configure another host-only network? (yes/no) \ [no\] *ENTER*
  18. Wiki MarkupThe default port : 902 is not free. We have selected a suitable alternative
    port for VMware Server use. You may override this value now.
    Remember to use this port when connecting to this server.
    Please specify a port for remote console connections to use \ [904\] *ENTER*
  19. Wiki MarkupIn which directory do you want to keep your virtual machine files? \
    [/var/lib/vmware/Virtual Machines\] *ENTER*
  20. Wiki MarkupThe path "/var/lib/vmware/Virtual Machines" does not exist currently. This
    program is going to create it, including needed parent directories. Is this
    what you want? \ [yes\] *ENTER*
  21. Please enter your 20-character serial number
    Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: enter the serial number

Verify the host-only network was configured correctly:

Panel

/sbin/ifconfig

You should see a vmnet1 interface using IP address 192.168.0.1:
Panel

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:192.168.0.1  Bcast:192.168.255.255  Mask:255.255.0.0
          inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Restart the vmware service (/sbin/service vmware restart), you should see the following:

Starting VMware services:    Virtual machine monitor                                  \[ OK \]    Virtual ethernet                                         \[ OK \]    Bridged networking on /dev/vmnet0                        \[ OK \]    Host-only networking on /dev/vmnet1 (background) \[ OK \]    Starting VMware virtual machines...                     \[ OK \
   Virtual machine monitor                                  [ OK ]
   Virtual ethernet                                         [ OK ]
   Bridged networking on /dev/vmnet0                        [ OK ]
   Host-only networking on /dev/vmnet1 (background) [ OK ]
   Starting VMware virtual machines...                     [ OK ]

Panel

Wiki Markup

Configure /etc/hosts

Modify the /etc/hosts file to include entries for the VM host and guest computers:

Panel

vi /etc/hosts

Add the entries in bold:

...