VMware Server 2.0 auf CentOS 5.1 (RHEL5.1)

Installation

  • Minimalinstallation durchführen und mittels yum update das System auf den aktuellsten Stand bringen.
  • Prerequisites auflösen:
    • yum install make xinetd perl
      • (mit db4, gdbm, libstdc++)
  • ggf. IPV6 ausschalten:
    • NETWORKING_IPV6=no in /etc/sysconfig/network
    • chkconfig ip6tables off
  • SELinux ausschalten
    • setenforce 0
  • xinetd starten
    • chkconfig xinetd on
    • service xinetd start
  • VM Storage einrichten
    • lvcreate -L100G -n vmstorage0 datavg
  • xfs installieren
    • yum install xfsprogs kmod-xfs
    • mkfs.xfs /dev/datavg/vmstorage0
  • fstab anpassen
  • rpm -Uvh VMware-server-e.x.p-63231.x86_64.rpm

Erstkonfiguration

  • /usr/bin/vmware-config.pl

vmware-config.pl 1

Module vmmon not loaded
Stopping VMware autostart virtual machines:
   Virtual machines                                        [FAILED]
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                [FAILED]
Stopping VMware services:
   VMware Authentication Daemon                            [  OK  ]
   Virtual machine monitor                                 [  OK  ]
...
Trying to find a suitable vmmon module for your running kernel.

The module bld-2.6.18-8.el5-x86_64smp-RHEL5 loads perfectly in the running 
kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes] 

Configuring a bridged network for vmnet0.

Please specify a name for this network. 
[Bridged] vmbr0

Your computer has multiple ethernet network interfaces available: eth0, eth1. 
Which one do you want to bridge to vmnet0? [eth0] 

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

Do you wish to configure another bridged network? (yes/no) [no] yes

Configuring a bridged network for vmnet2.

Please specify a name for this network. 
[Bridged] vmbr1

The following bridged networks have been defined:

. vmnet0 is bridged to eth0
. vmnet2 is bridged to eth1

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes] 

Configuring a NAT network for vmnet8.

Please specify a name for this network. [NAT] vmnat

Do you want this program to probe for an unused private subnet? (yes/no/help) 
[yes] no

What will be the IP address of your host on the private 
network? 10.10.200.4

What will be the netmask of your private network? 255.255.255.0

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 10.10.200.0.

Do you wish to configure another NAT network? (yes/no) [no] no

Do you want to be able to use host-only networking in your virtual machines? 
[yes] yes

Configuring a host-only network for vmnet1.

Please specify a name for this network. 
[HostOnly] vmhost0   

Do you want this program to probe for an unused private subnet? (yes/no/help) 
[yes] no

What will be the IP address of your host on the private 
network? 10.10.201.4

What will be the netmask of your private network? 255.255.255.0

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 10.10.201.0.

Do you wish to configure another host-only network? (yes/no) [no] no
...
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  XXXXX-XXXXX-XXXXX-XXXXX

Creating a new VMware VIX API installer database using the tar4 format.

Installing VMware VIX API.

In which directory do you want to install the VMware VIX API binary files? 
[/usr/bin] 

In which directory do you want to install the VMware VIX API library files? 
[/usr/lib/vmware-vix/lib] 

The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

In which directory do you want to install the VMware VIX API document pages? 
[/usr/share/doc/vmware-vix] 

The path "/usr/share/doc/vmware-vix" does not exist currently. This program is 
going to create it, including needed parent directories. Is this what you want?
[yes] 

The installation of VMware VIX API e.x.p build-63231 for Linux completed 
successfully. You can decide to remove this software from your system at any 
time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl".

Enjoy,

--the VMware team

Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Bridged networking on /dev/vmnet2                       [  OK  ]
   Host-only networking on /dev/vmnet8 (background)        [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
Starting VMware management services:
   VMware Server Host Agent (background)                   [  OK  ]
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                        [  OK  ]

The configuration of VMware Server e.x.p build-63231 for Linux for this running
kernel completed successfully.


Netzwerkdienste

netstat -nalp

tcp        0      0 0.0.0.0:904                 0.0.0.0:*                   LISTEN      4176/xinetd         
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      4775/vmware-hostd   
tcp        0      0 0.0.0.0:8085                0.0.0.0:*                   LISTEN      4775/vmware-hostd   
tcp        0      0 0.0.0.0:443                 0.0.0.0:*                   LISTEN      4775/vmware-hostd   
tcp        0      0 ::ffff:127.0.0.1:8005       :::*                        LISTEN      4648/webAccess      
tcp        0      0 :::8009                     :::*                        LISTEN      4648/webAccess      
tcp        0      0 :::8308                     :::*                        LISTEN      4648/webAccess      
tcp        0      0 :::22                       :::*                        LISTEN      2676/sshd           
tcp        0      0 ::1:55697                   ::1:43742                   TIME_WAIT   -                   
tcp        0     48 ::ffff:10.10.178.4:22     ::ffff:10.10.178.24:1641  ESTABLISHED 2386/1              
raw        0      0 0.0.0.0:1                   0.0.0.0:*                   7           4382/vmnet-natd     
unix  2      [ ACC ]     STREAM     LISTENING     32184  4382/vmnet-natd     /var/run/vmnat.4382
unix  2      [ ACC ]     STREAM     LISTENING     32705  4775/vmware-hostd   /var/run/vmware/root_0/1200174167611106_4775/ha-nfc-fd
unix  2      [ ACC ]     STREAM     LISTENING     32712  4775/vmware-hostd   /var/run/vmware/root_0/1200174167611106_4775/ha-nfcssl-fd
unix  2      [ ACC ]     STREAM     LISTENING     32714  4775/vmware-hostd   /var/run/vmware/proxy-webserver
unix  2      [ ACC ]     STREAM     LISTENING     32717  4775/vmware-hostd   /var/run/vmware/proxy-mob
unix  2      [ ACC ]     STREAM     LISTENING     32725  4775/vmware-hostd   /var/run/vmware/root_0/1200174167611106_4775/hostd-vmdb-fd
unix  3      [ ]         STREAM     CONNECTED     32651  4775/vmware-hostd   
unix  2      [ ]         DGRAM                    32118  4377/vmnet-dhcpd    
unix  2      [ ]         DGRAM                    32089  4355/vmnet-dhcpd    

Webzugriff

WebUI

Neue VM

  • Add Datastore für vmimages.
  • Create Virtual Machine

RHEL4 x86_64

  • Add Machine to Inventory
  • ggf. Edit Hardware etc.
 
wissen/vmware/vmware-server-2.0-freie-virtualisierung-fuer-linux-auf-centos5.1.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de