196
Présentation de la formation Citrix XenServer 6.0 Administration (A26) alphorm.com™© Fabrice Sforza Titre Contact : [email protected] de la formation Site : http://www.alphorm.com Blog : http://www.alphorm.com/blog Forum : http://www.alphorm.com/forum Fabrice Chrzanowski Formateur et Consultant indépendant En Virtualisation Certifications : MCT, MCITP, CCEE, VCP Contact : [email protected]

Présentation de la formation - alphorm.com - support de... · ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Embed Size (px)

Citation preview

Page 1: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de la formation

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

de la formation

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 2: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation du formateur

• Fabrice Chrzanowski Sforza

[email protected]

• Consultant – Trainer en Virtualisation

• Mission d’architecture, de migration et de formation

• Microsoft MCT, MCITP et MCSE 2012 (en cours)

• Citrix CCEE

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Vmware VCP 4.0

Page 3: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Qu’est ce que XenServer 6?

• XenServer 6 est un Hyperviseur Server. Conçurent de vMware vSphere 5.1 et de Hyper-V 2012

• XenServer est une plateforme de virtualisation d’entreprise et d’infrastructure cloud intégrant toutes les fonctionnalités nécessaires à la création et à la gestion d’une infrastructure.

• XenServer permet :

� Automatisation du datacenter

� Intégration et gestion avancées

Infrastructure virtuelle haute performance

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Infrastructure virtuelle haute performance

Page 4: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Le plan de formation

• Module 1 : Introduction a XenServer 6.0

• Module 2 : Installer et configurer XenServer 6.0

• Module 3 : Configurer le réseau

• Module 4 : Configurer le stockage

• Module 5 : Créer et Configurer les machines virtuelles

• Module 6 : Installer et configurer Provisionning Services

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Module 7 : Gestion des vDisks et périphériques cible

• Module 8 : Distributed Virtual Switching

• Module 9 : Gestion de la charge

• Module 10 : Gestion de la Haute Disponibilité (HA)

• Module 11 : XenServer 6.0 Diagnostiquer les erreurs

Page 5: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Certification

• La page de l’examen :http://training.citrix.com/cms/index.php/certification/administrator-series/cca-for-citrix-xenserver-6/

• Le contenu de la formation officielle : http://training.citrix.com/mod/ctxcatalog/course.php?id=336

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 6: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de la formation (1)

• La formation reposera sur la mise en œuvre d’un lab

• Le scénario de la formation sera d’implémenter ce lab et de comprendre comment on arrive à l’objectif

• Il vous faut une machine performante ou louer un serveur dédié sur le Cloud

• Je travaille en environnement vSphere Workstation 8/9 ou vSphere 5.1

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 7: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de la formation (2)

• Le lab de la formation

• Pour cette formation,je vais utiliser vSphere 5.1

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 8: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de la formation (2bis)

• Le lab de la formation

• Un contrôleur de domaine Alphorm.lab 192.168.1.100

• Une machine Admin Win7 DHCP

• Un serveur XenServer1 192.168.1.200

• Un serveur XenServer2 192.168.1.201

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Un serveur XenServer2 192.168.1.201

• OpenFiller 192.168.1.205

Page 9: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les liens utiles

• Mes liens préférés

� https://github.com/bvox/knife-xenserver

� http://www.doctor-citrix.com/en/

� http://www.brianmadden.com/

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 10: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

GO

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

GO

Page 11: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de XenServer 6

Introduction de XenServer 6

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

XenServer 6

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 12: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Les éditions

• Caractéristiques techniques

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 13: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les éditions

• Gratuite

• Advanced

• Entreprise

• Platinium

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 14: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Caractéristiques techniques

• Basé sur Xen 4.1 hyperviseur

• Supporte SCVMM (System Center Virtual Machine Manager)

• Intégration de XenDesktop HDX (GPU et HDX 3D Pro)

• Host accepte 1 TB de RAM

• vCPU jusqu’à 16 vCPUs

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• vCPU jusqu’à 16 vCPUs

• vRAM jusqu’à 128 GB pour Windows

Page 15: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Les éditions

• Caractéristiques techniques

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 16: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

Introduction de XenServer 6

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected] : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 17: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Les composants

• XenCenter

• Pools de ressource

• Le stockage

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Le réseau

• Provisioning Services (PVS)

Page 18: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les composants

• Hardware

• Hyperviseur Xen

• Control Domain VM

• Invite OS (Guest)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Linux machine virtuelle

• Windows machine virtuelle

Page 19: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenCenter

• Console de Gestion de XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 20: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Pool de ressources

• Permet de gérer plusieurs XenServer comme un seul et de créer un Cluster

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 21: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Stockage

• Le stockage est appelé Repositeries

• Contient les disques des VMs

• Les stockages peuvent êtres partage entre plusieurs XenServer (ex HA)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 22: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Le réseau

• Un réseau est créé pour chaque carte réseau physique. Aussi appelé virtualswitch.

• Utilise pour communiquer entre les cartes physiques et les cartes virtuelles des Machines Virtuelles

• Terme utilisé :

Physical NIC (carte sur le Host)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Physical NIC (carte sur le Host)

� Interface virtuelle : sur la VM

� Network : Ethernet switch

Page 23: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Provisioning Services

• Technologie de streaming d’un vDisk pose sur un San/NAS

• On va ensuite créé une Machine virtuelle sans DD !

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 24: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Les éditions

• Caractéristiques techniques

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 25: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Installation et Configuration

Installer et Configurer XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Configuration

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 26: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Comment ?

• XenCenter

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 27: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Comment ?

• Vérifier la HCL de Citrix

• CD

• PXE TFTP

• Démarrer à partir d’un SAN

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Configurer NTP

Page 28: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenCenter

• Console de Gestion de XenServer. Installer XenCenter.msi

• Console :

� Windows : les écrans sont envoyées a unecarte VGA Cirrus puis converti par le Control Domain a un VNC (SSL 443)

� Linux : Texte par la console

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Linux : Texte par la consoleGraphique : installer dans le VM un ServerVNC. XenCenter se connecte sur le port5900

Page 29: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Comment ?

• XenCenter

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 30: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Decouverte de XenCenter

Installer et Configurer XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

XenCenter

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 31: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Console XenCenter

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 32: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Console XenCenter

• Console graphique

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 33: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Console XenCenter

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 34: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Installation du serveur de licence

Installer et Configurer XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

de licence

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 35: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Serveur de licence Citrix

• Importation du serveur de licence et configuration

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 36: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Serveur de licence Citrix

• Serveur de Licence. Appliance chez Citrix version 11.6.1 ou sup.

• Fichier de licence. Récupérer sur mycitrix.com

• Console WEB pour administrer les licences

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 37: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Importation du serveur de licence

• Télécharger une machine virtuelle

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 38: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Serveur de licence Citrix

• Importation du serveur de licence et configuration

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 39: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture et composants réseaux

Configuration du réseau

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

composants réseaux

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 40: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Architecture

• Type de vSwitch

• Support du VLAN

• Configuration initiale

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 41: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

• Pendant l’installation, un réseau (vSwitch) est créé pour chaque carte réseau physique du serveur XenServer

• Terminologie

� Virtual NIC : carte réseau dans la machine virtuelle. Cette carte NIC utilise les drivers paravirtualisation pour se connecter a la VIF du control domain

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Virtual interface (VIF) : représente une carte réseau virtuelle pour permettre aux VMS se de voire entre elles et de se connecter a la carte physique du serveur XenServer

� Network (vSwitch) : présent dans le control domain et permet la connexion a la carte physique du serveur XenServer

� PIF : carte réseau physique (16 max)

Page 42: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Type de vSwitch

• Les Networks (vSwitch) sans PIF sont desréseaux prive. Les VMS communiquentensemble

• Les Networks (vSwitch) avec PIF sont desréseaux externes

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 43: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Support du VLAN

• XenServer supporte l’utilisation de plusieurs VLANs associe a des cartes physiques sur le serveur XenServer

• A la création du Network, vous devez configurer le VLAN tag pour la carte virtuelle pour correspondre aux VLANs sur le virtual switch

• Réseau :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Un nouveau réseau (Network) est configuré pour chaque VLAN, et les VLAN tag sont ajoutés aux packets

Page 44: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Configuration initiale

• Pendant l’installation, vous avez sélectionné la carte physique et l’ippour le management:

� Connexion XenCenter

� Iscsi

� XenMotion

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� XenMotion

• Apres l’installation, Citrix conseille d’utiliser d’autres cartes physique pour les machines virtuelles !

Page 45: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Architecture

• Type de vSwitch

• Support du VLAN

• Configuration initiale

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 46: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les technologies de stockage

Configurer le stockage

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

stockage

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 47: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Technologies

• Lequel choisir ?

• Architecture

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 48: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Technologies

• Plusieurs types de stockage :

� Disque local : disque physique attaché a XenServer (LVM Logical Volume Management)

� NFS

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� NFS

� iSCSI SAN

� Fibre Channel SAN . Connexion avec carte Qlogic et Emulex

Page 49: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Lequel choisir ?

• Premier choix : Thin et Partage

• Second choix : Opération sur les disques

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 50: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Un SR (stockage repository) est L’endroit ou le DD (virtual disk) de la VM est stocké.

• PBD : Physical block Device

• VDI : Virtual Disk Image

• VBD : Virtual Block Device

Page 51: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Technologies

• Lequel choisir ?

• Architecture

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 52: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les stockages local,nfs,Iscsi et FC

Configurer le stockage

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

local,nfs,Iscsi et FC

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 53: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Comparaison des stockages

• NFS

• iSCSI

• Fibre Channel SAN

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 54: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Comparaison des stockages

• Tableau de comparaison avec actions sur les disques

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 55: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

NFS

• NFS v3

• Connexion par IP

• Format du disque de la VM : VHD

• Fichier

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Avantages : VHD dynamique – Fast cloning

Page 56: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

iSCSI

• Accès par carte réseau (software initiator) ou HBA

• Permet le Xmotion

• Connexion par LUN

• Composants :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Composants :

� iSCSI initiator

� Target

� LUN

• Dédié au moins 2 cartes réseaux

Page 57: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Fibre Channel SAN

• On peut installer XenServer sur un LUN avec une carte HBA

• Vous devez configurer la carte HBA pour démarrer sur un LUN

• Tous les serveurs se connectent sur le même LUN

• Xmotion supporté

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Xmotion supporté

• Pour découvrir les LUNS :

� Aller sur le SR et lancer un SCAN

Page 58: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Comparaison des stockages

• NFS

• iSCSI

• Fibre Channel SAN

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 59: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de StorageLink

Configurer le stockage

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

StorageLink

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 60: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Avantage

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 61: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Avantage

• Permet un accès direct au SAN du constructeur

• Les actions de snapshot et de cloning sont réalisés par le SAN

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Support de :

� NetApp- IBM N series

� Dell Equalogic PS series

Page 62: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Avantage

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 63: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Gestion et création de machines virtuelles

Créer et configurer les machines virtuelles

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

de machines virtuelles

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 64: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Architecture

• Hardware virtuel pour les machines virtuelles Windows

• Librairies ISO

• Création de la Machine Virtuelle Windows

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenServer Tools

• Actions sur les VMS

Page 65: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

� Les machines virtuelles utilisent des drivers de paravirtualisation pour accéder au stockage et au réseau (control domain)

� Et les machines virtuelles accèdent au processeur directement grâce aux technos de VT ou AMD.V

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 66: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Hardware virtuel pour les machines virtuelles

• Quand vous allez créer des VM Windows garder en mémoire les limites :

� vCPU 8

� vDisk avec CD/Rom 7

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� CD Drives 1

� vNIC 7

Page 67: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Librairies ISO

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Quand vous allez créer des VMs, vous pourrez utiliser des ISO

• Avant pensez a créer un SR ISO (CIFS Best practice)

Page 68: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Création de la Machine Virtuelle

• Choisir où se trouve la source de l’OS

• Choisir un template

• Installer l’OS

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Installer les XenServer Tools

Page 69: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenServer Tools

• Grace au XenServer tools, vous allez pouvoir :

� Arrêter proprement une VM - Suspendre une VM

� Migrer une VM (xenMotion) - Utiliser les checkpoint

� Changer les nombre de vCPU dynamiquement sur des machines virtuelles Linux. Pour Windows vous devez redémarrer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Linux. Pour Windows vous devez redémarrer

• Install des drivers pour le stockage et le réseau en paravirtualisation.

• Pour des VMs Linux, les drivers sont déjà installés nativement

Page 70: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Actions sur les VMS

• Listes d’actions possibles :

� Démarrer – Start

� Arrêter - Shutdown

� Forcer l’arrêt – Force shutdown

Rebooter

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Rebooter

� Forcer le Reboot

� Suspendre

� Supprimer

Page 71: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Architecture

• Hardware virtuel pour les machines virtuelles Windows

• Librairies ISO

• Création de la Machine Virtuelle Windows

• XenServer Tools

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenServer Tools

• Actions sur les VMS

Page 72: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Création de modèles

Créer et configurer les machines virtuelles

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Création de modèles

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 73: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Les SnapShots

• Création d’un template

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 74: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

• Un modèle (template) contient :

� OS

� Paramètres de la VM

XenServer contient des modèles de type :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenServer contient des modèles de type :

� Basic (vide – contient des paramètres recommandées)

� Complet : copie complète d’une VM fourni par Citrix

� Custom : copie de VM que l’administrateur a créé (utiliser SYSPREP).Attention convertir une VM en template est définitif !

Page 75: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les clichés instantanés (SnapShots)

• Live Memory snapshot permet de capturer la RAM et le DD d’une VM a tout instant.

• Vous pourrez ensuite restaurer la VM avec le snapshot

• Attention un snapshot n’est pas un template

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 76: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Création d’un template

• Création d’une VM

• Installation de l’OS, Patchs, Anti-Virus, ….

• Installation des XenTools

• Lancement de SYSPREP

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Arrêt de la VM et conversion en template

• Quand vous allez créer des VMs, vous pourrez utiliser des ISO

• Avant pensez a créer un SR ISO (CIFS Best practice)

Page 77: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Les SnapShots

• Création d’un template

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 78: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Virtual Appliance Packages et XenConvert

Créer et configurer les machines virtuelles

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Packages et XenConvert

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 79: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Création d’une appliance

• Importation d’une appliance

• XenConvert

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenConvert préparation de la machine Source

Page 80: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

• Une virtual appliance est une machine virtuelle pre-configure avec la plupart du temps une application egalement pre-configure

• Le format utilise est Open Virtualization Format (OVF) ou Open Virtualization Appliance (OVA)

• Le format XVA est que pour XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Ceci permet d’exporter une VM dans un format reconnu par les autres hyperviseurs !

Page 81: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Création d’une appliance

• Cliquer sur le serveur XENServerPuis cliquer sur EXPORT

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 82: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Importation d’une appliance

• Pour importer une ApplianceAller sur Fichier Importer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 83: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenConvert

• Solution de P2V (physical to Virtual). Permet de transformer une machine physique/virtuelle (max 4 volumes) en une VM

� Machine physique vers vDIsk PVS

� Machine physique vers un VHD

� Machine physique vers XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Machine physique vers XenServer

� Machine physique vers une appliance OVF

• Pour importer une ApplianceAller sur Fichier Importer

Page 84: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenConvert préparation de la machine

• Preparation de la machine source :

� Activer Windows Automount

� Desactiver Autoplay

� Enlever des tools Hyperviseur

Verifier espace disque

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Verifier espace disque

Page 85: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Création d’une appliance

• Importation d’une appliance

• XenConvert

• XenConvert préparation de la machine Source

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenConvert préparation de la machine Source

Page 86: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Dynamic Access Control

Créer et configurer les machines virtuelles

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Control

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 87: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Les valeurs

• Scenarios pratique

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 88: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Dynamic Memory Control (DMC) permet de définir une valeur min et maximum pour la mémoire d’une VM. Ceci permet de pouvoir démarrer plus de VMs. vSphere utilise le terme overcommitment

• La première fois que vous configurez ces valeurs, vous allez de voir rebooter la VM. Mais après vous pouvez changer ces valeurs a tout moment

Page 89: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Valeurs

• DMC Range : c’est la valeure de la vRAM de la VM qui pourra etreenlever ou retirer de la vRAM.

� Exemple une VM a 4GB en min et 5GB en max = DMC range est de 1024 MB

• DMC minimum Memory : limite basse d’une VM. Attention qu’elle soit pas trop basse

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

pas trop basse

• DMC maximum Memory : limite haute

• Cliquer sur le serveur XENServerPuis cliquer sur EXPORT

Page 90: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Scenarios pratique

• Voici ce qui se passe quand vous allumez une VM

� 1 DMC est désactivé et XenServer n’a plus de RAM : Memory FULL

� 2 DMC est active et XenServer n’a plus de Ram :

• Xenserver va prendre de la RAM dans les VMS existantes et dans leurs valeurs Min Max. Si assez de RAM est dispo, la VM demarre. Sinon elle

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

valeurs Min Max. Si assez de RAM est dispo, la VM demarre. Sinon elle démarre pas !

� 3 DMC est activé et XenServer a de la RAM dispo :

• Les VMS vont recevoir le valeur MAX RAM

Page 91: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Les valeurs

• Scenarios pratique

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 92: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

Installer et configurer ProvisionningServices

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Architecture

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 93: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Provisionning Services

• Architecture

• Les composants

• Les services

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Préparation de l'installation

Page 94: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Principe de Provisionning Services

• VHD streaming permet de centraliser une seule Image (VHD)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• On utilise les ressources des Clients Riche

• Fonctionne pour les Machines virtuelles et machines physique (client et serveurs !)

Page 95: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

� Batterie (FARM)

• Le niveau le plus haut de PVS. Organisé sous forme de Site

• Contient Serveur de Licence, Base SQL, stockage réseau et un serveur qui héberge le rôle PXE

� SITE

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� SITE

• Contient les Services PVS, collections de Device, Pools de Vdisk

� Collection de périphériques (Device collection)

• Groupes de machines cibles. Ce sera vos VMS

Page 96: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les composants

• Serveur PVS

• Database PVS

• Magasin (stores)

• Vdisk

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Pool de Vdisk

• Machine cible (Target device)

• Machine cible Master

• Serveur de Licence Citrix

Page 97: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les services

• Service Stream

• DHCP ou Bootp

• PXE

• TFTP

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 98: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Préparation de l'installation

• Avant l’installation vous devez décider et comprendre :

� Les services de Boot en réseau (PXE, Bootp, Dhcp, Tftp)

� Le stockage

• Vdisk static ou dynamique

Vdisk standard ou privé

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Vdisk standard ou privé

• Location du Write-Cache

• Location du Vdisk

• Backup du Vdisk

Page 99: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Provisionning Services

• Architecture

• Les composants

• Les services

• Préparation de l'installation

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Préparation de l'installation

Page 100: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les différents mode

Gestion des vDisks et périphérique cible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Les différents mode d'un Vdisk et les Write Caches

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 101: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Les modes de vDisk

• Standard Image Mode

• Différentiel disque image mode

• Privé image Mode

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Les types de Write-Cache

Page 102: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les modes de vDisk

• Un vDisk contient le disque d’un périphérique avec le système d’exploitation :

� Standard Image mode

� Différentiel disque image mode

� Privé image Mode

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Privé image Mode

Page 103: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Standard Image mode

• vDisk sont en lecture seule

• Les machines virtuelles ou machines physiquevont booter dessus.

• Les changements qui interviennent sontstockées dans un fichier Write-Cache le tempsde la session

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

de la session

Page 104: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Différentiel disque image mode

• Même que le standard mode

• Les machines virtuelles ou machines physiquevont booter dessus.

• Les changements qui interviennent sontstockées dans un fichier dans un disquedifférentiel et reste.

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

différentiel et reste.

• Le disque différentiel doit être stocké dans le même magasinque les vDisk associé.

• Si le vDisk de base est change, le disque différentiel est supprimé !

Page 105: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Privé image Mode

• Même qu’un PC standard

• Une machine = 1 vDisk privé

• PVS écris et li directement sur le vDisk

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 106: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les types de Write-Cache

• Cache sur le serveur

� Les changements sont stockes sur un fichier temporaire sur le PVS Host

� Peut etre ecris sur le disque du PVS Host ou sur un stockage partagé

� Peuvent etre crypte

Cache sur la machine

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Cache sur la machine

� Les changements sont stockes sur un fichier temporaire sur le disque de la machine

• Cache dans la RAM de la machine

� Les changements sont stockes dans la RAM de la machine

Page 107: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Les modes de vDisk

• Standard Image Mode

• Différentiel disque image mode

• Privé image Mode

• Les types de Write-Cache

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Les types de Write-Cache

Page 108: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les différents mode

Gestion des vDisks et périphérique cible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Les différents mode d'un Vdisk et les Write Caches

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 109: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Les modes de vDisk

• Standard Image Mode

• Différentiel disque image mode

• Privé image Mode

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Les types de Write-Cache

Page 110: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les modes de vDisk

• Un vDisk contient le disque d’un périphérique avec le système d’exploitation :

� Standard Image mode

� Différentiel disque image mode

� Privé image Mode

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Privé image Mode

Page 111: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Standard Image mode

• vDisk sont en lecture seule

• Les machines virtuelles ou machines physiquevont booter dessus.

• Les changements qui interviennent sontstockées dans un fichier Write-Cache le tempsde la session

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

de la session

Page 112: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Différentiel disque image mode

• Même que le standard mode

• Les machines virtuelles ou machines physiquevont booter dessus.

• Les changements qui interviennent sontstockées dans un fichier dans un disquedifférentiel et reste.

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

différentiel et reste.

• Le disque différentiel doit être stocké dans le même magasinque les vDisk associé.

• Si le vDisk de base est change, le disque différentiel est supprimé !

Page 113: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Privé image Mode

• Même qu’un PC standard

• Une machine = 1 vDisk privé

• PVS écris et li directement sur le vDisk

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 114: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les types de Write-Cache

• Cache sur le serveur

� Les changements sont stockes sur un fichier temporaire sur le PVS Host

� Peut etre ecris sur le disque du PVS Host ou sur un stockage partagé

� Peuvent etre crypte

Cache sur la machine

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Cache sur la machine

� Les changements sont stockes sur un fichier temporaire sur le disque de la machine

• Cache dans la RAM de la machine

� Les changements sont stockes dans la RAM de la machine

Page 115: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Les modes de vDisk

• Standard Image Mode

• Différentiel disque image mode

• Privé image Mode

• Les types de Write-Cache

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Les types de Write-Cache

Page 116: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Le périphérique

Gestion des vDisks et périphérique cible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Le périphérique cible et la création d'un Vdisk

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 117: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Etapes pour la création d’un vDisk

• Assistant de création de l’image

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 118: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Etapes pour la création d’un vDisk

• Vous devez définir:

� Le site et la magasin

� Le nom du vDisk, sa taille et le format VHD

� Monter le vDisk

Monter le vDisk a la VM Master

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Monter le vDisk a la VM Master

� Formater le vDisk

� Créer l’image provenant du master vers le vDisk

� Démonter le vDisk

Page 119: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Assistant de création de l’image

• Permet de simplifier le création de l’image a partir de la machinemaster.

• Vous pouvez aussi utiliser XenConvert pour créer le vDisk

• Quand le vDisk est créé, 2 fichiers sont créé :

� Fichier VHD qui contient l’image du master

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Fichier VHD qui contient l’image du master

� Fichier .pvp qui contient les propriétés du vDisk

Page 120: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Etapes pour la création d’un vDisk

• Assistant de création de l’image

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 121: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

La haute

Gestion des vDisks et périphérique cible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

La haute disponibilité et les logs

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 122: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation de la haute disponibilité

• Activer la haute disponibilité

• Activer le support Offline Database

• Les Logs disponible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 123: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation de la haute disponibilité

• Il faut min 2 serveurs PVS

• Les 2 PVS doivent avoir accès au même Storage

• Si un serveur PVS est HS, le second pourra offrir le vDisk aux périphériques cibles et le PVS qui sera choisi sera le moins chargé

• Si vous active la répartition de charge, et un PVS tombe, le target device

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Si vous active la répartition de charge, et un PVS tombe, le target deviceva choisir un des PVS disponible

Page 124: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Activer la haute disponibilité

• Pour activer le HA, aller sur leVdisk et clique sur HA

• Ensuite aller sur le Magasin (store) et choisir les serveursqui ont accès au store

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

qui ont accès au store

Page 125: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Active le support Offline database

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• L’option est disponible

• Si PVS ne peut pas contacter la database, PVS va utiliser un snapshot de la base de données au lieu de la base sur SQL

• Donc PVS peut continuer a fonctionner mais pas d’accès a la console

Page 126: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les Logs disponible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Les logs sont dans :C:\Documents and Settings\All Users\Application Data\Citrix \Provisioning Services\logs

• Stream_log.config et stream.log

Page 127: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation de la haute disponibilité

• Activer la haute disponibilité

• Activer le support Offline Database

• Les Logs disponible

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 128: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

Les Pools de Ressources

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Architecture

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 129: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Constitution des Pools

• Condition d’ajouts de nouveaux serveurs

• Enlever un serveur du pool

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 130: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

• Si un serveur tombe, toutes les machines virtuellessont redémarrées sur les autres serveurs Xen

• Un ressource Pool comprend un Master et des serveurs membres.

• Avantage :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Authentification unique

� Tous les serveurs se partagent les SR et les Network

Page 131: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Constitution des Pools

• Un pool a un Master et jusqu’à 15 membres secondaires

• Un Master :

� Un point unique de contrôle

� Maintiens toute la config du Pool

� S’occupe des locks du stockage partagé

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� S’occupe des locks du stockage partagé

� Configure les serveurs secondaires

• Un serveur secondaire :

� Contrôlé par le Master

� Contient la config du master

� Peut devenir Master

Page 132: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Condition d’ajouts de nouveaux serveurs

• Quand vous ajoutez un serveur XenServer dansle pool il faut :

� Même CPU (AMD-V ou Intel VT)

� Même version de XenServer

� Réseaux :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Réseaux :

• Les cartes réseaux doivent être connecte au même Network

• Même vitesse mais peuvent être de marque différentes

� Si pas possible, on peut avoir des Pools hétérogène

� Même NTP, pas de BOND interface de management, pas de machines virtuelles allumés, pas membre d’un autre Pool

Page 133: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Enlever un serveur du pool

• Attention, toutes les VMs qui sont sur le SR localeseront supprimées !!

• Arrêter les VMs ou les déplacer (XenMotion)

� Vous pouvez aussi utiliser les commandes Linux :

• xe vm-migrate OU

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• xe vm-migrate OU

• Xe host-evacuate (toutes les VMs)

• Si vous avez des VMs sur le disque local, vous pouvez les exporter ou les copier

Page 134: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Constitution des Pools

• Condition d’ajouts de nouveaux serveurs

• Enlever un serveur du pool

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 135: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Panne d'un serveur

Les Pools de Ressources

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Panne d'un serveur dans le pool

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 136: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Promouvoir un master en ligne de commande

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 137: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

• XenServer synchronise sa config pour pouvoir tolérer lapanne d’un membre. La config est stockée dans une base dedonne ce qui permet :

� Continuer a fonctionner même si le master tombe

� Prendre le rôle de master :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Si HA est activé, un autre master sera élu

• Si HA est désactivé, les serveurs secondaires vont attendreque le master revienne ou que manuellement vous le restaurer !

Page 138: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Promouvoir un master en ligne de cmd

• Sur un serveur secondaire :

� xe pool-emergency-transition-to-master

Xe pool-recover-slaves

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Xe pool-recover-slaves

� Xe pool-param-list

� Et voila ☺

Page 139: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Promouvoir un master en ligne de commande

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 140: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Fonctionalitées et

Distributed Virtual Switching

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Fonctionalitées et importation de l’Appliance

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 141: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Composants

• Import de l’Appliance

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 142: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

• Portabilité du réseau

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Isolation du trafic

• RSPAN

• Standard de monitoring

Page 143: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Composants

• DVS tourne sur tous les Serveurs

• DVS est contrôlé par une appliance : vSwitch Controller. Permet de regrouper les vSwitch de chaque serveur comme un seul vSwitch(jusqu’à 64 hosts !)

• Les VMs gardent leur config réseau même si elles sont déplacées !

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Sur chaque serveur XEN, DVS va créé des Open vSwitch :

� QOS

� NetFlow

� Traffic mirrorig et Port bonding

� Stratégie par VM

Page 144: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Import de l’Appliance

• Télécharger chez Citrix

• Pendant l’importation, la carte VIF est attaché au Network du serveur pour communiquer avec le Pool

• Best practice : importer l'Appliance sur un serveur séparé du Pool

• Apres l’importation, vous devez le configurer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Apres l’importation, vous devez le configurer

• Default Password : dvscadmin

• La config se fait après en GUI ou SSH

Page 145: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Composants

• Import de l’Appliance

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 146: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Configuration

Distributed Virtual Switching

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Configuration

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 147: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Export stats NetFlow

• ACL Stratégies

• Cross Server Private Network

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 148: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Export stats NetFlow

• Pour voulez exporter les stats NetFlow vers un collector Exterme

• Il suffit de saisir IP et port du controller

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 149: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

ACL Stratègies

• ACL stratégies autorise ou interdit le trafic des VMs

• Chaque ACL stratégie consiste de plusieurs règles :

� Action

� Protocol

Direction

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Direction

� Remote addresses

Page 150: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Cross Server Private Network

• Apporte les avantages suivants :

� Isolation des reseaux privés

� Autoriser les VMs a etre sur plusieurs Serveurs dans le meme pool

� Compatible avec XenMotion et WLB !!

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 151: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Export stats NetFlow

• ACL Stratégies

• Cross Server Private Network

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 152: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture et

Gestion de la charge

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Architecture et import de l'appliance

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 153: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Présentation

• Architecture

• Importation de l’appliance

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 154: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Présentation

• Permet de déplacer Automatiquement les machines virtuelles selon leur état de stress :

� Quand vous mettez le serveur en maintenance, lesVMs seront automatiquement déplacer vers les serveurs les plus optimum

� Démarre la VM sur le serveur le plus recommandé

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Démarre la VM sur le serveur le plus recommandé

• Permet de faire un Power-OFF les serveurs pendant les heuresen dehors des SLA : moins de consommation EDF

Page 155: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Architecture

• Pour activer le gestion de la charge (Workload Balancing) vous devez télécharger une Appliance chez citrix.com.

• Cette Appliance est une machine virtuelle Linux équipée d’une base donnée PostgreSQL

• La gestion de charge est configuré de base pour déplacer les VMs selon des critères de performance, de nombres de machines sur un serveur et

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

des critères de performance, de nombres de machines sur un serveur et des vCPU

• Il existe 2 modes :

� Maximiser les performances

� Maximiser vos serveurs

Page 156: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Importation de l’appliance

• L'Appliance a besoin de 1GB RAM et de 4GB d’espace

• L'Appliance utilise le port 8012 pour la configuration

• L'Appliance a besoin d’un compte et password pour son fonctionnement et pour la base de donnée

� Pour changer de mot de passe, il faut le faire en ligne de commande

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Pour changer de mot de passe, il faut le faire en ligne de commandeAller dans /opt/citrix/wlbTaper : mono wlcconfig.exeEnsuite Taper : postgresql-9.0 restart et service workloadbalancing restart

• XenServer et l'Appliance communiquent en https.L'Appliance utilise un certificat auto signé

Page 157: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Présentation

• Architecture

• Importation de l’Appliance

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 158: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Paramètres de la

Gestion de la charge

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Paramètres de la gestion de charge et de l'alimentation

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 159: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Critères

• Les optimisations

• Les recommandations

• Gestion de l’alimentation

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 160: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Critères

• Le WLB va analyser sur chaque serveur XenServer :

� CPU, RAM, Network (R&W), Disque (R&W)

• Ensuite vous pouvez éditer l’importance de cesvaleurs sur le Pool. Citrix recommande d’utiliser lesparamètres par default.

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Le best practice est de laisser WLB tourne pendant un temps. Puis de voir si devez évaluer ces critères .. Comment ? En visualisation les rapports :

� Pool Health et Pool Health history

Page 161: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les optimisations

• Vous pouvez choisir 2 modes pour dire a WLB a quel moment l’optimisation va se produire :

• FIXE

� Les valeurs seront toujours les mêmes et vous pourrez choisir entre :

• Meilleure performances

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Meilleure performances

• Meilleure densité

• PLANIFIE

� Permet de changer le type d’optimisation selon un agenda

Page 162: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les recommandations

• Les recommandations d’optimisation affichent :

� Nom de la VM que WLB veut déplacer

� Le serveur sur lequel la VM réside

� Le nouveau serveur que Xen propose

Et la raison pour laquelle il propose de déplacer la VM

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� Et la raison pour laquelle il propose de déplacer la VM

Page 163: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Gestion de l’alimentation

• Permet d’arréter et démarrer un serveur XenServer

� Le serveur doit pouvoir être géré a distance

� L’option doit être active

� Les recommandations soit être appliques automatiquement

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 164: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Critères

• Les optimisations

• Les recommandations

• Gestion de l’alimentation

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 165: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Configuration

Configuration de la Haute Disponibilité (HA)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Configuration

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 166: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Prérequis

• Considérations

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 167: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Prérequis

• Un stockage partagé (Iscsi, NFS ou FC)

• Un espace disponible de min 356 MB pour leheartbeat SR

• Un pool d’au moins de 3 serveurs (recommandé)

• Edition Advanced min sur tous les serveurs XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Edition Advanced min sur tous les serveurs XenServer

• Une IP statique sur les serveurs XenServer

• Pour les VMS :

� Les disks doivent être sur un stockage partage

� Pas de connexion au DVD local

Page 168: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Considérations

• HA va créer 2 volumes :

� 4 MB pour les heartbeats

� 256 MB metadata du Master (élection d’un nouveau master…)

• Attention pour enlever un serveur du Pool, vous allez devoir désactiver HA

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Attention pour enlever un serveur du Pool, vous allez devoir désactiver HAsur ce serveur !

• Priorité de démarrage des machines virtuelles :

� De 0 a Best Effort

• Overcommitting : pas assez de ressources pour démarrer les VMs

• Host Fencing : isolation …

Page 169: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Prérequis

• Considérations

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 170: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Backup de

Configuration de la Haute Disponibilité (HA)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Backup de XenServer et des machines virtuelles

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 171: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Sauvegarde

• Sauvegarde d’un Pool

• Sauvegardes des VMs

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 172: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Sauvegarde

• Vous pouvez sauvegarder et restaurer les metadata de :

� Ressource Pool

� VM

� Host

• Vous pouvez utiliser 2 commandes :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Vous pouvez utiliser 2 commandes :

� Xe –backup-metadata

� Xe –restore-metadata

Page 173: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Sauvegarde d’un Pool

• SI vous perdez toute la config d’un Pool :

� Xe pool-dump-database file-name=backup

� Xe pool-restore-database file-name=backup dry-run=true(permet de voir si assez de place pour le backup !!)

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Restaurer un Pool :

� Xe pool-restore-database sur le Master

� Xe host-forget sur le nouveau master

� Xe pool-joint sur les serveurs secondaires

Page 174: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Sauvegardes des VMs

• Utiliser les snapshots

� xe vm-snapshot vm=<vm uuid> new-name-label=<vm_snapshot_name>

� xe snapshot-list

� xe vm-list

� xe snapshot-uninstall snapshot-uuid=<snapshot_uuid>

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

� xe snapshot-uninstall snapshot-uuid=<snapshot_uuid>

Page 175: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Sauvegarde

• Sauvegarde d’un Pool

• Sauvegardes des VMs

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 176: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les commandes

XenServer Diagnostiquer les erreurs

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Les commandesSSH et le monitoring

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 177: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Les commandes

• La console

• Monitoring

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 178: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les commandes

• Les commandes commencent par xe –

• Exemple : DEMO

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 179: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

La console

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 180: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Monitoring

• Vous pouvez utiliser XenCenter ou XenTop

• Sur XenCenter les alertes sont graphique

• Pour avoir des logs complets, min version advanced de XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenTop

Page 181: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Les commandes

• La console

• Monitoring

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 182: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Les logs et Alertes

XenServer Diagnostiquer les erreurs

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Les logs et Alertes

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 183: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• XenCenter Logs

• Outils xen-bugtool

• Affichage des alertes et XenTop

• XenServer CrashDump

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 184: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenCenter Logs

• Xencenter.log : action, information, alert …

• Xencenter audit trail.log : opérations de XenCenter

• Le logs sont dans :

� %appdata%\citrix\xencenter\logs\XenCenter.log

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 185: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Outils xen-bugtool

• Ligne de commande

� Host-bugreport-upload

• Permet de collecter tous les logs et ensuite les envoyer au supportCitrix

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 186: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Affichage des alertes et XenTop

• Vous pouvez utiliser XenCenter ou XenTop

• Sur XenCenter les alertes sont graphique

• Pour avoir des logs complets, min version advanced de XenServer

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• XenTop

Page 187: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

XenServer CrashDump

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• CrashDump permet de générer un fichier pour diagnostiquer un problème.

• Vous pouvez ensuite l’envoyer au support Citrix sur leur FTP

• Commande : xe host-crashdump-list

Page 188: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• XenCenter Logs

• Outils xen-bugtool

• Affichage des alertes et XenTop

• XenServer CrashDump

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 189: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Mise a jour et patch

XenServer Diagnostiquer les erreurs

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected]

Mise a jour et patch des Hosts

Site : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 190: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Mettre a jour l’OS Xen

• Procédure pour mettre à jour un Serveur

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 191: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Mettre a jour l’OS Xen

• Votre rôle est de mettre a jour XenServer avec les updates et leshotfixes

• Les updates :

� Contient des bug fixes et des améliorations de XenServer

• Les Hotfixes :

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Les Hotfixes :

� Permet de fixer un problème bien précis

• Attention : faire un xMotion des VMs avant d’appliquer ces maj

Page 192: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Procédure pour mettre à jour un Serveur

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Télécharger l’update ou le fixe

• Déplacer les Vms ou les arrêter

• Aller sur XenCenter et choisir Install new update

• Commande: xe –s –u –pw patch-upload file-name=xxxxx

Page 193: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Mettre a jour l’OS Xen

• Procédure pour mettre à jour un Serveur

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 194: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

CONCLUSION

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Fabrice SforzaTitre

Contact : [email protected] : http://www.alphorm.comBlog : http://www.alphorm.com/blogForum : http://www.alphorm.com/forum

Fabrice ChrzanowskiFormateur et Consultant indépendant En Virtualisation

Certifications : MCT, MCITP, CCEE, VCPContact : [email protected]

Page 195: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Plan

• Ce qu’on a couvert

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

Page 196: Présentation de la formation - alphorm.com - support de... ·  ... Installer et Configurer XenServer Citrix XenServer6.0 Administration (A26) alphorm.com

Ce qu’on a couvert

• Module 1 : Introduction a XenServer 6.0

• Module 2 : Installer et configurer XenServer 6.0

• Module 3 : Configurer le réseau

• Module 4 : Configurer le stockage

• Module 5 : Créer et Configurer les machines virtuelles

• Module 6 : Installer et configurer Provisionning Services

Citrix XenServer 6.0 Administration (A26) alphorm.com™©

• Module 7 : Gestion des vDisks et périphériques cible

• Module 8 : Distributed Virtual Switching

• Module 9 : Gestion de la charge

• Module 10 : Gestion de la Haute Disponibilité (HA)

• Module 11 : XenServer 6.0 Diagnostiquer les erreurs