Académique Documents
Professionnel Documents
Culture Documents
com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Formation
VMware vSphere 6
Le cluster vSphere
Fouad EL AKKAD
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 1
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan de la formation
Introduction
1. Cluster et équilibrage de charge
2. Le HA - High Availability
3. Gestion du cluster
4. Le cluster étendu
Conclusion
Une formation
Public concerné
Administrateurs vSphere
Curieux ayant envie de découvrir la virtualisation
sous VMware
Passage obligé pour ceux souhaitant monter en
compétence
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 2
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Connaissances requises
Une formation
A vous de jouer !
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 3
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Rappel du lab :
Prérequis & Ressources
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 4
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Config :
•CPU : Min i3
•RAM : Min 24 Go
•Disque 250 Go (idéalement SSD)
Voir location :
Online : Dedibox LT 2016
Une formation
vSphere 6 :
https://my.vmware.com/web/vmware/info/slug/datac
enter_cloud_infrastructure/vmware_vsphere/6_0
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 5
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
•1 vCenter - 2 ESXi
•Réseau fonctionnel
•Stockage partagé
•Inventaire créé
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 6
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 7
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Prérequis du cluster
Réseau
VMkernel de management
Minimum 1Gbits
Stockage
NFS, FC, iSCSI, vSAN
CPU
CPU identique : Intel, AMD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 8
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 9
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Mise en place
d'un cluster VMware
Fouad EL AKKAD
Une formation
Plan
Création du cluster
Ajouter des ESXi dans cluster
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 10
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Définition et mise
en place de DRS
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 11
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Une formation
Un cluster DRS?
HA
EVC
DRS
Placement initial
Load balancing
Gestion d’énergie
Une formation
Cluster
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 12
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 13
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 14
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Exigences du EVC
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 15
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Exigences du EVC
Une formation
Source : kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003212
Recommandations
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 16
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 17
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 18
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 19
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Gestion de l’alimentation
et fichier SWAP
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 20
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
mode standby
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 21
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Swap File
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 22
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Le cluster de Stockage
et sDRS
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 23
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Ses fonctionnalités
1. SDRS
2. Load Balancing I/O
3. Règles d’affinité ou d’anti-Affinité
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 24
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Qu'est ce que HA ?
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 25
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 26
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Protection du vCenter
AD Plusieurs DCs
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 27
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
VMware HA
Une formation
Comment ça marche le HA
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 28
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Mise en place de HA
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 29
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Les prérequis du HA
Activation du HA
Une formation
Les prérequis du HA
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 30
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Le contrôle d'admission
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 31
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Une formation
Le contrôle d’admission
S’assurer que les hôtes disposeront d’assez de
ressources pour redémarrer toutes les VMs en cas
de perte de « X ».
Trois configurations :
1. Réservation nombre d’hôte fixe
2. Réservation d’un pourcentage de ressource
3. Hôte réservé spécifique
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 32
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 33
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 34
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Si pas de réservation
RAM : 0Go + Overhead mémoire
CPU : 32 MHz
das.slotmeminmb
das.slotcpuinmhz
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 35
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 36
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
das.ignoreInsufficientHbDatastore = True
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 37
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
VM Component Protection
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 38
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 39
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
VM Component Protection
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 40
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Surveillance de VM
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 41
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Le VM Monitoring
L’Application Monitoring
Une formation
VM monitoring
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 42
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Application Monitoring
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 43
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Démonstration du HA
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 44
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
1. Deux ESXi
2. Une VM sur chaque ESXi
3. Ping VM1 de l’ESXi1
4. Couper l’ESXi PowerOff sur WorkStation
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 45
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
das.usedefaultisolationaddress = false
das.isolationaddress0 = 192.168.199.2
das.isolationaddress1 = 192.168.199.X
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 46
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 47
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Définition de FT
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 48
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Ses prérequis
• La fonctionnalité HA activée
• Intel Sandy Bridge ou plus
• Réseau 10 Gbits
• Deux BDD pour la réplication VMDK
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 49
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 50
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Mise en place de
Fault Tolerance
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 51
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Sizing cluster
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 52
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Informations à collecter
Décisions
Eviter les faux positifs
Une formation
Informations à collecter
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 53
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Décisions : cas 1
Cluster01
Mémoire
ESX Mémoire (Mo) Mémoire utilisée 80%
ESXi1 102388,6484 53615
ESXi2 102388,6484 76461
ESXi3 102388,6484 72302
ESXi4 102388,6484 82534
ESXi5 102388,6484 60023
Total Mémoire (Mo) Mémoire utilisée 80
409554,59
511943,2422 344935 38
RAM MAX a ne pas depasser 409554,5938
RAM Consommée 344935
Taux d'utilisation cluster en % 67,4
Une formation
Décisions : cas 2
Cluster02
Mémoire Mémoire
ESX Mémoire (Mo) utilisée MAX 50%
ESXi1 102388,6484 61362
ESXi2 102388,6484 61637
Mémoire
Total Mémoire (Mo) utilisée 50
102388,648
204777,2969 122999 4
RAM MAX a ne pas
depasser 102388,6484
RAM Consommée 122999
Taux d'utilisation
cluster en % 60,1
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 54
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
das.usedefaultisolationaddress = false/true
Une formation
das.isolationadress1 = 192.168.199.2
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 55
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Maintenance Cluster
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 56
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 57
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 58
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Plan
Le PRA
Le Cluster étendu
Metro Cluster : Uniform et Non Uniform
Les prérequis
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 59
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 60
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Cluster étendu
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 61
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 62
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Les prérequis
Source :
Une formation http://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/techpaper/vmwa
re-vsphere-metro-storage-cluster-recommended-practices-white-paper.pdf
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 63
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Mise en place
d'un cluster étendu
Fouad EL AKKAD
Une formation
Plan
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 64
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Une formation
Merci
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 65
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Fouad EL AKKAD
Une formation
Plan
Règles DRS
Règles HA
Autres considérations
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 66
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Règles DRS
DRS en automatique
Regles d’affinitées
VM => Datacenter
Rules => “Should”
Rules DataStore Affinity
Une formation
Règles DRS
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 67
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Règles HA
Autres considérations
Désactiver SIOC
SDRS supporté mais désactiver IO Metric
Utiliser un site Withness “Arbitre”
Toujours consulter le vendeur de stockage
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 68
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Merci
Conclusion
Fouad EL AKKAD
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 69
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
Bilan
Une formation
Prochaine formation
Une formation
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 70
Alphorm.com-Support de la 23/11/2016
Formation VMware vSphere 6 -
Clustering HA, DRS et SDRS
A vous de jouer !
TOUTE UTILISATION EN
DEHORS DE ALPHORM EST
INTERDITE 71