Author
others
View
8
Download
0
Embed Size (px)
Diviser pour régner
PROXMOX Virtual Environment
Geoffrey BERGERET IR3 — 2014/2015
Xposé — 18/11/2014
❖ Qu’est ce qu’un gestionnaire d’environnements virtuels ?
❖ Système
❖ Gestion d'environnements
❖ Multi-instances
❖ Hôte / Invités
Introduction
2
VE2
ManageurVE1
Système
I1.2I2.1I1.1
3
❖ Introduction
❖ Contexte
❖ Promox VE
❖ Autres Solutions
❖ Bilan
❖ Conclusion
Sommaire
Contexte
Contexte
❖ Hyperviseurs :
❖ Type 1 : natif❖ ProxmoxVE❖ VMWare ESXi❖ Citrix XenServer❖ Windows Hyper-V
❖ Type 2 :❖ VirtualBox❖ VMWare Workstation
5
AppsHyperviseur
Matériel
…SystèmeInvité
SystèmeInvité
Système Hôte
Hyperviseur
Matériel
…SystèmeInvité
SystèmeInvité
Contexte
❖ Pourquoi utiliser un VE ?
❖ Machines de plus en plus puissantes
❖ Flexibilité matériel :❖ Panne❖ Croissance
6
Contexte
❖ Pourquoi utiliser un VE ?
❖ Séparer les applications
❖ Sécurité en cas d'attaque
❖ Rationalisation des ressources
7
Hyperviseur
Matériel
VoIPWebDNS/eMail
Système
Matériel
VoIPWebDNS/eMail
PROXMOX VE
Proxmox VE
❖ Proxmox Server Solutions GmbH
❖ Version 1 (29/10/2008)
❖ Projet actif —> version 3.3 (15/09/2014)
❖ Basé sur Debian 7 x64
❖ Totalement Open-Source
9
Interface
❖ Web
❖ Sécurisé
❖ Tableau de bord
10
Kernel-based Virtual Machine
❖ Solution de virtualisation complète pour Linux
❖ Inclu dans le kernel (>= 2.6.20)
❖ Requiert CPU compatible
❖ Windows, FreeBSD, …
❖ Scalable à chaud (Mémoire, HDD, …)
11
OpenVZ
❖ Virtualisation Linux par conteneur
❖ Création rapide (< 1min)
❖ Indépendant (root account, IP, Ram, …)
❖ Scalable à chaud (Mémoire, HDD, …)
12
❖ Pont réseau / Agrégation de liens
❖ vSwitch
❖ Gestion des VLANs
❖ "iptables" du système hôte
Réseau
13
vmbr1
dummy0vmbr2
eth2
vmbr0 eth0
eth1bond0
Cluster
❖ Gestion centralisée
❖ Multiples maitres
❖ Migration entre les hôtes
❖ High Availability Cluster
❖ 1 Cluster —> 1 LAN
14
hp1# pvecm nodes
Node Sts Inc Joined Name 1 M 156 2011-09-05 10:39:09 hp1 2 M 156 2011-09-05 10:39:09 hp2 3 M 168 2011-09-05 11:24:12 hp4 4 M 160 2011-09-05 10:40:27 hp3
Backups / Snapshots
❖ Snapshot à chaud
❖ Réguliers (avec rapport)
❖ Multi-supports :❖ Gzip❖ Lzo
15
❖ NFS❖ LVM❖ iSCSI
API
❖ REST / JSON
❖ API HTTP (/api2/json/)
❖ Shell avec pvesh (/) Ex : GET /api2/json/version
{"data":{"repoid":"e24a91c1","version":"3.2","release":"4","keyboard":"en-us"}}
16
éco-système
❖ Abonnement
❖ Formation
❖ Support
17
Autres Solutions
VMWare vSphere
❖ Solution propriétaire/payante de VMWare
❖ vSphere 4 (21/05/2009)
❖ Projet actif —> vSphere 5.5 (11/03/2014)
❖ Requiert Windows (Cluster/WebUI)
❖ Version gratuite (fonctionnalités réduites)
❖ Leader en virtualisation de serveurs
19
Citrix XenServer
20
❖ Basé sur XenServer
❖ Solution libre maintenue par XenSource, Inc.
❖ Projet actif —> Xen 4.4.1 (03/11/2014)
❖ Distribué par Citrix Systems
❖ Payant avec période d'essai
❖ XenDesktop
Windows Hyper-V
❖ Solution propriétaire/payante de Microsoft
❖ Basé sur Windows Server 2008
❖ Requiert Windows Server 2012
❖ Fonctionnalité intégrée Windows serveur
❖ Virtualisation Linux limitée (3 distributions)
21
Bilan
Avantages / Inconvénients
❖ Libre & Gratuit
❖ Basé sur Debian 7
❖ Interface Web
❖ OpenVZ
23
❖ Installation silencieuse
❖ Requiert un reboot :❖ Changement du hostname❖ Création d’une interface réseau
❖ HA reboot les VMs
Conclusion
❖ Important de Virtualiser :
❖ Tests
❖ Sauvegardes / Retours arrière
❖ Migrations d'installations
24
https://www.proxmox.com/fr/proxmox-ve/comparisonhttp://www.proxmox.com/fr/downloadshttp://pve.proxmox.com/pve2-api-doc/
https://pve.proxmox.com/wiki/Proxmox_VE_2.0_Cluster
Liens Utiles