Installation d'un Hyperviseur Proxmox & Vmware serveur

De $1

Introduction :

Objectifs :

Installation d'un hyperviseur intégrant les fonctionnalités de Proxmox ( Openvz ) et Vmware serveur 2.0.1

PS :

KVM ne fonctionne pas avec Vmware serveur

Intérêt :

C'est avant tout un exercice technique.

On choisit rarement plusieurs technologies de virtualisation, cette solution à donc très peu de chance de finir en production.

Le but est juste de voir comment pourraient cohabiter plusieurs technologies de virtualisation  sur une seule machine.

Quels en sont les impacts au niveau stabilité et performance.

Installation :

Système d'exploitation :

Proxmox (pve-manager/1.4/4390)

Il s'agit en fait d'une Debian 5.0 avec un kernel retravaillé pour l'occasion.

Outils :

  • Proxmox
  • Vmware Serveur 2.0.1
  • Webmin
  • Agent Bacula

 

Installation de Proxmox :

Suivre la procédure standard

 Installation des pve-headers :

apt-get install pve-headers-$(uname -r)

apt-get install build-essential

Installation de Vmware serveur :

 Téléchargez vmware serveur :

http://www.vmware.com/download/server/

Décompressez l'archive :

tar -xzvf VMware-server-xxx.tar.gz

 

cd vmware-server-distrib/


Lancez l'installation

./vmware-install.pl

 

Creating a new VMware Server installer database using the tar4 format.



Installing VMware Server.



In which directory do you want to install the binary files? 

[/usr/bin] 

[Entrée]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)? 

[/etc] 

[Entrée]

What is the directory that contains the init scripts? 

[/etc/init.d] 

[Entrée]

In which directory do you want to install the daemon files? 

[/usr/sbin] 

[Entrée]

In which directory do you want to install the library files? 

[/usr/lib/vmware] 

[Entrée]

The path "/usr/lib/vmware" does not exist currently. This program is going to 

create it, including needed parent directories. Is this what you want? 

[yes] 

[Entrée]

In which directory do you want to install the manual files? 

[/usr/share/man] 

[Entrée]

In which directory do you want to install the documentation files? 

[/usr/share/doc/vmware] 

[Entrée]

The path "/usr/share/doc/vmware" does not exist currently. This program is 

going to create it, including needed parent directories. Is this what you want?

[yes] 

[Entrée]

The installation of VMware Server 2.0.1 build-156745 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.pl".



Before running VMware Server for the first time, you need to configure it by 

invoking the following command: "/usr/bin/vmware-config.pl". Do you want this 

program to invoke the command for you now? [yes] 

[Entrée]

Making sure services for VMware Server are stopped.



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                                        done

   Virtual machine monitor                                             done



You must read and accept the End User License Agreement to continue.

Press enter to display it. 

[Entrée]

 

Do you accept? (yes/no)  

yes

Thank you.



The bld-2.6.24-16-i386server-Ubuntu8.04 - vmmon module loads perfectly into the

running kernel.



The bld-2.6.24-16-i386server-Ubuntu8.04 - vmci module loads perfectly into the 

running kernel.



The bld-2.6.24-16-i386server-Ubuntu8.04 - vsock module loads perfectly into the

running kernel.



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

[Entrée]

Configuring a bridged network for vmnet0.



Please specify a name for this network. 

[Bridged] 

[Entrée]

Your computer has multiple ethernet network interfaces available: eth0, eth1. 

Which one do you want to bridge to vmnet0? [eth0] 

[Entrée]

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

yes si vous avez d'autres cartes réseau à configurer sinon [Entrée]


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

[yes] 

[Entrée]

Configuring a NAT network for vmnet8.



Please specify a name for this network. [NAT] 

[Entrée]

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

[yes] 

[Entrée]

Probing for an unused private subnet (this can take some time)...



The subnet 192.168.163.0/255.255.255.0 appears to be unused.



The following NAT networks have been defined:



. vmnet8 is a NAT network on private subnet 192.168.163.0.



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

[Entrée]

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

[yes] 

[Entrée]

Configuring a host-only network for vmnet1.



Please specify a name for this network. 

[HostOnly] 

[Entrée]

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

[yes] 

[Entrée]

Probing for an unused private subnet (this can take some time)...



The subnet 172.16.18.0/255.255.255.0 appears to be unused.



The following host-only networks have been defined:



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



Do you wish to configure another host-only network? (yes/no) [no] 

[Entrée]

The bld-2.6.24-16-i386server-Ubuntu8.04 - vmnet module loads perfectly into the

running kernel.



Please specify a port for remote connections to use [902] 

[Entrée]

Please specify a port for standard http connections to use [8222] 

[Entrée]

Please specify a port for secure http (https) connections to use [8333] 

[Entrée]

The current administrative user for VMware Server  is ''.  Would you like to 

specify a different administrator? [no] 

[Entrée]

Using root as the VMware Server administrator.



In which directory do you want to keep your virtual machine files? 

[/var/lib/vmware/Virtual Machines] 

/home/Machines

Please enter your 20-character serial number.



Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:

9AXF4-R69D2-JEQ4N-4H4JR

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] 

[Entrée]

In which directory do you want to install the VMware VIX API library files? 

[/usr/lib/vmware-vix/lib] 

[Entrée]

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] 

[Entrée]

In which directory do you want to install the VMware VIX API document pages? 

[/usr/share/doc/vmware-vix] 

[Entrée]

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] 

[Entrée]

The installation of VMware VIX API 1.6.2 build-156745 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                                             done

   Virtual machine communication interface                             done

   VM communication interface socket family:                           done

   Virtual ethernet                                                    done

   Bridged networking on /dev/vmnet0                                   done

   Host-only networking on /dev/vmnet1 (background)                    done

   DHCP server on /dev/vmnet1                                          done

   Bridged networking on /dev/vmnet2                                   done

   Host-only networking on /dev/vmnet8 (background)                    done

   DHCP server on /dev/vmnet8                                          done

   NAT service on /dev/vmnet8                                          done

   VMware Server Authentication Daemon (background)                    done

   Shared Memory Available                                             done

Starting VMware management services:

   VMware Server Host Agent (background)                               done

   VMware Virtual Infrastructure Web Access

Starting VMware autostart virtual machines:

   Virtual machines                                                    done



The configuration of VMware Server 2.0.1 build-156745 for Linux for this 

running kernel completed successfully.

Divers :

Webmin

wget http://downloads.yakakliker.org/mnt/volume/datas/www/Webmin/webmin_1.480_all.deb
apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl libmd5-perl openssl
dpkg --install webmin_1.480_all.deb

Pour les partages Nfs réseauModifier la section

apt-get install nfs-common nfs-kernel-server

Conclusion :

Tous les tools nécessaires à l'installation du Vmware serveur étaient disponibles, il n'y a donc eu aucun problème pour installer le Vmware serveur 2.0.1.

Je me retrouve actuellement avec un Serveur Openvz et Vmware mutualisé, KVM n'étant pas actif ...

Petit avantage (qui n'est cependant qu'un détail ), l'interface de proxmox me permettant de voir en temps reel l'utilisation CPU, les retards E/S, etc plus fiable que la pseudo interface de Vmware serveur.

L'installation est très rapide

Pour le reste, des tests plus poussés sont nécessaires.

 

Tests :

Certaines fonctionnalités Vmware ne sont pas fonctionnelles

Certaines VM ne peuvent pas se lancer

En Cours

 howto05_small.pngVous en pensez quoi ?


 

 

 

 
 
Images (0)
 
Commentaires (0)
Vous devez être connecté pour poster un commentaire.