SlideShare a Scribd company logo
AMBIENT INTELLIGENCE
tech days•
2015
#mstechdays techdays.microsoft.fr
select * from techdays2015.speaker_principals
Christophe LAPORTE
Consultant Formateur Indépendant
Blog http://conseilit.wordpress.com/
Twitter @Conseilit
Email christophe_laporte@hotmail.fr
Nadia BEN EL KADI
SQL Server Team
Microsoft France
Blog : http://blogs.technet.com/b/dataplatforminsider/
tech.days 2015#mstechdaysSESSION
Agenda – SQL Server & la virtualisation
 Introduction
 Why virtualizing
 Advantages of virtualization
 Demo / Deployement
 Virtualization Support rules & Best Practices
 Virtualization HA scenarios
 Troubleshooting & Monitoring & Good to know
 Case Study
 Virtualization & cloud : A sample usage scenario
 Conclusion
tech.days 2015#mstechdaysSESSION
Introduction
DatabasesInstancesVirtual
Machines
Sales_1
Marketing_1
Online_Sales
ERP_10
ERP_10
DB_1
DB_2
DB_3
Consolidate_1
 Consolidation
 Standardize to fewer hardware
 Reduce space, power
 Improve Hardware Utilization
 Improve Management Efficiency
 Lowered cost and complexity
tech.days 2015#mstechdaysSESSION
Pourquoi virtualiser ?
• Historiquement
• Consolidation
• Maintenance de matériel obsolète
• Peu adapté à de lourdes charges de travail (OLTP / DWH)
• Actuellement
• Le matériel à évolué
• CPU / RAM / Réseau (10Gb, RDMA)
• Disques (SAN Full Flash / SSD, Cartes Flash)
• Les hyperviseurs ont aussi évolué
• Gestion des ressources
• Performance
• Les serveurs bases de données peuvent être candidat à la
virtualisation
tech.days 2015#mstechdaysSESSION
Avantages de la virtualisation
• Faible adhérence au matériel
• Migrations facilitées
• Mise à jour hyperviseur
• Flexibilité
• Modification (à chaud) de la configuration d’une VM
• Redimensionnement à chaud des VHDX
• Limitation de la bande passant disque si nécessaire
• Affectation de ressources à l’instant T et non pas en fonction de la durée de vie du
projet
• Nombre de CPU
• Mémoire
• Dépannage
• Clonage à chaud (ou export depuis un checkpoint) d’une VM
tech.days 2015#mstechdaysSESSION
SQL Server virtualization
tech.days 2015#mstechdaysSESSION
SQL Server support for virtualization
http://support.microsoft.com/kb/956893/en-us
tech.days 2015#mstechdaysSESSION
SQL Server
tech.days 2015#mstechdaysSESSION
tech.days 2015#mstechdaysSESSION
HOST
 Better when the host supports SLAT (Second Level Address Translation) and NUMA (Non-Uniform Memory Access)
Most modern servers provide these features
 Take Care of the overcommitting : (VP:LP) ratio
 Antivirus (extensions VHD/VHDX/AVHD/AVHDX)
 Let enough Memory for the HOST for the VMs management
 Monitor Memory usage to prevent performance issues
tech.days 2015#mstechdaysSESSION
Guest VM
Maximizing GUEST CPU
 Identify and categorize virtual machines based on their loads and allocate #Vcpu processors accordingly.
Maximizing GUEST Memory
 Allocate a reasonable amount of memory to the virtual machines running SQL Server workloads so that they can handle
the expected loads (at peak and off-peak times)
 If using Dynamic memory to provide better stability to a virtual machine workload, grant Lock Pages in Memory user rights to the
SQL Server service account.
tech.days 2015#mstechdaysSESSION
 Pass-through Disk
 VHD (Virtual Hard Disk)
 Fixed Size VHD : Best performance
 Dynamic VHD : Expand on demand
 Hyper-V 2012 has the new VHDX format
 Hyper-V 2012 has Virtual Fiber Channel to connect directly to FC storage from within a virtual machine.
Storage
tech.days 2015#mstechdaysSESSION
Reduce IO with Instant File Initialization
0
10
20
30
40
50
60
Create 100 GB database Restore 100 GB database
Time(minutes)
Impact of Instant File Initialization
Without Instant File Initialization With Instant File Initialization
tech.days 2015#mstechdaysSESSION
Reduce IO with Data Compression
400000
500000
600000
700000
800000
900000
1000000
100000
150000
200000
250000
NONE PAGE
Reads
Time(ms)
Query Performance with Data Compression
CPU Time Elapsed Time
Logical Reads Physical Reads (+RA)
0
10
20
30
40
50
60
70
NONE PAGE
Throughput(BusinessTransactions/sec)
OLTP Throughput
Throughput
tech.days 2015#mstechdaysSESSION
Whitepapers
http://go.microsoft.com/fwlink/?LinkId=306266
http://download.microsoft.com/download/6/1/D/61DDE9B6-AB46-48CA-8380-
D7714C9CB1AB/Best_Practices_for_Virtualizing_and_Managing_SQL_Server_2012.pdf
tech.days 2015#mstechdaysSESSION
Comparison : Physical vs Virtual
Enterprise Strategy Group (ESG)
Tested the difference in performance
between the brokerage application running
in a Hyper-V VM & a native physical server
Increased Scale & Performance
The 2 tests showed just a 6% difference
between the brokerage application running
on physical vs. virtual
Download Full Report
The full report is available for public
download here.
0
200
400
600
800
1000
1200
1400
1600
Physical Virtual
Transactions/Sec
Hyper-V OLTP Workload Analysis
tech.days 2015#mstechdaysSESSION
tech.days 2015#mstechdaysSESSION
Points d’attention
• Diagnostic
• Niveau 1 : hyperviseur (CPU, disque, mémoire)
• Est-ce que le Host est chargé
• Quelle sont les limites du Host
• Hyper-V Processor Counters : best way to get true measure of CPU utilization
• Hyper-V Logical Processor: Total CPU time across entire server
• Hyper-V Virtual Processor: CPU time for each guest virtual processor
• Niveau 2 : Guest OS (CPU, disque, mémoire)
• Est-ce que le Guest est chargé (OS)
• Est-ce que SQL Server est chargé
• Compteurs de performance système / SQL Server
• DMVs / DMFs
• Pensez à ne pas surexploiter le host
• Pas de surexploitation de la mémoire
• Nombre de vCœurs vs nombre de cœurs
• pNUMA vs vNUMA
• Stratégie de sauvegarde
tech.days 2015#mstechdaysSESSION
Troubleshooting Common VM Issues
Issue KPIs To Monitor Actions to Consider
CPU at or near 80%
% Processor Time (_Total)
SOS_SCHEDULER_YIELD waits
Increase instance size
Identify top consuming queries and tune
Load balance (e.g. move DB to another instance)
Near I/O capacity limits or
IO Latency Increases
Average disk reads per second
Average disk writes per second
Disk reads per second
Disk writes per second
io_virtual_file_stats
PAGEIOLATCH waits
SQL Server: Buffer ManagerPage Life Expectancy
Check Page Life Expectancy counter, for mem
pressure. Increase instance size
Identify which DB and log files have I/O bottleneck
Add more data disks and separate data files if near
IOPS limits per disk
Tune queries to reduce reads and writes
Consider enabling row or page compression
Memory resource pressure
Memory: Available Bytes
Memory: Pages per second
SQL Server: Buffer ManagerPage Life Expectancy
Process: Working Set (for SQL Server)
RESOURCE_SEMAPHORE waits
Check max server memory setting for SQL Server.
Use high memory instance
Identify SQL component (such as, CLR, high
memory grants for app queries, et.), tune
appropriately.
tech.days 2015#mstechdaysSESSION
Characteristics of a cloud
Shared
Infrastruct
ure
Scalable
and Elastic
Usage
Based
Self Service
tech.days 2015#mstechdaysSESSION
Exemple : Catalogue de services
Self Service provisioning
tech.days 2015#mstechdaysSESSION
Conclusion
• Read the white papers
• Control/discover your DB sprawl
• Run MAP toolkit to identify running DBs
• Capacity Planning
• Understand Isolation/security/HA requirements
• Plan and test for IO perf variability
• Identify optimal VM size
• Use Filegroups and multiple data disks for large DBs
• Begin conversion (virtualize)
• Use P2V to keep existing settings
• Create new VM to combine multiple apps
• Identify your KPIs to monitor
• Revisit optimization decisions as workload changes
© 2015 Microsoft Corporation. All rights reserved.
tech days•
2015
#mstechdays techdays.microsoft.fr

More Related Content

Similar to SQL Server & la virtualisation : « 45 minutes inside » !

Session 1: 'On cloud nine about your IT solution'
Session 1:  'On cloud nine about your IT solution'Session 1:  'On cloud nine about your IT solution'
Session 1: 'On cloud nine about your IT solution'
Xylos
 
HighAvailabilityForSharepoint
HighAvailabilityForSharepointHighAvailabilityForSharepoint
HighAvailabilityForSharepointJason Dover
 
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits GuideDell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Principled Technologies
 
Microsoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BIMicrosoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BI
Mark Kromer
 
Hp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server ConsolidationHp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server ConsolidationCB UTBlog
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
Tobias Koprowski
 
Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)pramod singh
 
Microsoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows PresentationMicrosoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows PresentationMicrosoft Private Cloud
 
Azure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This CloudAzure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This Cloud
Michael Blumenthal (Microsoft MVP)
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnelSQL Azure Overview - ericnel
SQL Azure Overview - ericnel
ukdpe
 
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Hitachi Vantara
 
Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...
Hitachi Vantara
 
Optimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec AzureOptimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec Azure
Swiss Data Forum Swiss Data Forum
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
Shahed Chowdhuri
 
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureGlobal Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Karim Vaes
 
Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5
Lucas Chies
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2
Eduardo Castro
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServiceswebuploader
 
Profile narendraredy
Profile narendraredyProfile narendraredy
Profile narendraredy
NARENDRA REDDY S
 
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerBest Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerFlamer
 

Similar to SQL Server & la virtualisation : « 45 minutes inside » ! (20)

Session 1: 'On cloud nine about your IT solution'
Session 1:  'On cloud nine about your IT solution'Session 1:  'On cloud nine about your IT solution'
Session 1: 'On cloud nine about your IT solution'
 
HighAvailabilityForSharepoint
HighAvailabilityForSharepointHighAvailabilityForSharepoint
HighAvailabilityForSharepoint
 
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits GuideDell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
 
Microsoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BIMicrosoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BI
 
Hp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server ConsolidationHp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server Consolidation
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
 
Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)
 
Microsoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows PresentationMicrosoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows Presentation
 
Azure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This CloudAzure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This Cloud
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnelSQL Azure Overview - ericnel
SQL Azure Overview - ericnel
 
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
 
Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...
 
Optimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec AzureOptimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec Azure
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureGlobal Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
 
Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
 
Profile narendraredy
Profile narendraredyProfile narendraredy
Profile narendraredy
 
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerBest Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
 

More from Microsoft Technet France

Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Microsoft Technet France
 
Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10
Microsoft Technet France
 
OMS log search au quotidien
OMS log search au quotidienOMS log search au quotidien
OMS log search au quotidien
Microsoft Technet France
 
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
 Fusion, Acquisition - Optimisez la migration et la continuité des outils col... Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
Microsoft Technet France
 
Wavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semainesWavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semaines
Microsoft Technet France
 
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités AzureRetour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
Microsoft Technet France
 
Scénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + SecurityScénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + Security
Microsoft Technet France
 
SharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle générationSharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle génération
Microsoft Technet France
 
Stockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le mondeStockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le monde
Microsoft Technet France
 
Bien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a ServiceBien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a Service
Microsoft Technet France
 
Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365
Microsoft Technet France
 
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Microsoft Technet France
 
Comprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de MicrosoftComprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de Microsoft
Microsoft Technet France
 
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Microsoft Technet France
 
Sécurité des données
Sécurité des donnéesSécurité des données
Sécurité des données
Microsoft Technet France
 
Déploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloudDéploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloud
Microsoft Technet France
 
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Microsoft Technet France
 
SharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybridesSharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybrides
Microsoft Technet France
 
Gestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderneGestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderne
Microsoft Technet France
 
Office 365 dans votre Système d'Informations
Office 365 dans votre Système d'InformationsOffice 365 dans votre Système d'Informations
Office 365 dans votre Système d'Informations
Microsoft Technet France
 

More from Microsoft Technet France (20)

Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
 
Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10
 
OMS log search au quotidien
OMS log search au quotidienOMS log search au quotidien
OMS log search au quotidien
 
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
 Fusion, Acquisition - Optimisez la migration et la continuité des outils col... Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
 
Wavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semainesWavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semaines
 
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités AzureRetour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
 
Scénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + SecurityScénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + Security
 
SharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle générationSharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle génération
 
Stockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le mondeStockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le monde
 
Bien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a ServiceBien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a Service
 
Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365
 
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
 
Comprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de MicrosoftComprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de Microsoft
 
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
 
Sécurité des données
Sécurité des donnéesSécurité des données
Sécurité des données
 
Déploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloudDéploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloud
 
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
 
SharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybridesSharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybrides
 
Gestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderneGestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderne
 
Office 365 dans votre Système d'Informations
Office 365 dans votre Système d'InformationsOffice 365 dans votre Système d'Informations
Office 365 dans votre Système d'Informations
 

Recently uploaded

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 

Recently uploaded (20)

Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 

SQL Server & la virtualisation : « 45 minutes inside » !

  • 2. select * from techdays2015.speaker_principals Christophe LAPORTE Consultant Formateur Indépendant Blog http://conseilit.wordpress.com/ Twitter @Conseilit Email christophe_laporte@hotmail.fr Nadia BEN EL KADI SQL Server Team Microsoft France Blog : http://blogs.technet.com/b/dataplatforminsider/
  • 3. tech.days 2015#mstechdaysSESSION Agenda – SQL Server & la virtualisation  Introduction  Why virtualizing  Advantages of virtualization  Demo / Deployement  Virtualization Support rules & Best Practices  Virtualization HA scenarios  Troubleshooting & Monitoring & Good to know  Case Study  Virtualization & cloud : A sample usage scenario  Conclusion
  • 4. tech.days 2015#mstechdaysSESSION Introduction DatabasesInstancesVirtual Machines Sales_1 Marketing_1 Online_Sales ERP_10 ERP_10 DB_1 DB_2 DB_3 Consolidate_1  Consolidation  Standardize to fewer hardware  Reduce space, power  Improve Hardware Utilization  Improve Management Efficiency  Lowered cost and complexity
  • 5. tech.days 2015#mstechdaysSESSION Pourquoi virtualiser ? • Historiquement • Consolidation • Maintenance de matériel obsolète • Peu adapté à de lourdes charges de travail (OLTP / DWH) • Actuellement • Le matériel à évolué • CPU / RAM / Réseau (10Gb, RDMA) • Disques (SAN Full Flash / SSD, Cartes Flash) • Les hyperviseurs ont aussi évolué • Gestion des ressources • Performance • Les serveurs bases de données peuvent être candidat à la virtualisation
  • 6. tech.days 2015#mstechdaysSESSION Avantages de la virtualisation • Faible adhérence au matériel • Migrations facilitées • Mise à jour hyperviseur • Flexibilité • Modification (à chaud) de la configuration d’une VM • Redimensionnement à chaud des VHDX • Limitation de la bande passant disque si nécessaire • Affectation de ressources à l’instant T et non pas en fonction de la durée de vie du projet • Nombre de CPU • Mémoire • Dépannage • Clonage à chaud (ou export depuis un checkpoint) d’une VM
  • 8. tech.days 2015#mstechdaysSESSION SQL Server support for virtualization http://support.microsoft.com/kb/956893/en-us
  • 11. tech.days 2015#mstechdaysSESSION HOST  Better when the host supports SLAT (Second Level Address Translation) and NUMA (Non-Uniform Memory Access) Most modern servers provide these features  Take Care of the overcommitting : (VP:LP) ratio  Antivirus (extensions VHD/VHDX/AVHD/AVHDX)  Let enough Memory for the HOST for the VMs management  Monitor Memory usage to prevent performance issues
  • 12. tech.days 2015#mstechdaysSESSION Guest VM Maximizing GUEST CPU  Identify and categorize virtual machines based on their loads and allocate #Vcpu processors accordingly. Maximizing GUEST Memory  Allocate a reasonable amount of memory to the virtual machines running SQL Server workloads so that they can handle the expected loads (at peak and off-peak times)  If using Dynamic memory to provide better stability to a virtual machine workload, grant Lock Pages in Memory user rights to the SQL Server service account.
  • 13. tech.days 2015#mstechdaysSESSION  Pass-through Disk  VHD (Virtual Hard Disk)  Fixed Size VHD : Best performance  Dynamic VHD : Expand on demand  Hyper-V 2012 has the new VHDX format  Hyper-V 2012 has Virtual Fiber Channel to connect directly to FC storage from within a virtual machine. Storage
  • 14. tech.days 2015#mstechdaysSESSION Reduce IO with Instant File Initialization 0 10 20 30 40 50 60 Create 100 GB database Restore 100 GB database Time(minutes) Impact of Instant File Initialization Without Instant File Initialization With Instant File Initialization
  • 15. tech.days 2015#mstechdaysSESSION Reduce IO with Data Compression 400000 500000 600000 700000 800000 900000 1000000 100000 150000 200000 250000 NONE PAGE Reads Time(ms) Query Performance with Data Compression CPU Time Elapsed Time Logical Reads Physical Reads (+RA) 0 10 20 30 40 50 60 70 NONE PAGE Throughput(BusinessTransactions/sec) OLTP Throughput Throughput
  • 17. tech.days 2015#mstechdaysSESSION Comparison : Physical vs Virtual Enterprise Strategy Group (ESG) Tested the difference in performance between the brokerage application running in a Hyper-V VM & a native physical server Increased Scale & Performance The 2 tests showed just a 6% difference between the brokerage application running on physical vs. virtual Download Full Report The full report is available for public download here. 0 200 400 600 800 1000 1200 1400 1600 Physical Virtual Transactions/Sec Hyper-V OLTP Workload Analysis
  • 19. tech.days 2015#mstechdaysSESSION Points d’attention • Diagnostic • Niveau 1 : hyperviseur (CPU, disque, mémoire) • Est-ce que le Host est chargé • Quelle sont les limites du Host • Hyper-V Processor Counters : best way to get true measure of CPU utilization • Hyper-V Logical Processor: Total CPU time across entire server • Hyper-V Virtual Processor: CPU time for each guest virtual processor • Niveau 2 : Guest OS (CPU, disque, mémoire) • Est-ce que le Guest est chargé (OS) • Est-ce que SQL Server est chargé • Compteurs de performance système / SQL Server • DMVs / DMFs • Pensez à ne pas surexploiter le host • Pas de surexploitation de la mémoire • Nombre de vCœurs vs nombre de cœurs • pNUMA vs vNUMA • Stratégie de sauvegarde
  • 20. tech.days 2015#mstechdaysSESSION Troubleshooting Common VM Issues Issue KPIs To Monitor Actions to Consider CPU at or near 80% % Processor Time (_Total) SOS_SCHEDULER_YIELD waits Increase instance size Identify top consuming queries and tune Load balance (e.g. move DB to another instance) Near I/O capacity limits or IO Latency Increases Average disk reads per second Average disk writes per second Disk reads per second Disk writes per second io_virtual_file_stats PAGEIOLATCH waits SQL Server: Buffer ManagerPage Life Expectancy Check Page Life Expectancy counter, for mem pressure. Increase instance size Identify which DB and log files have I/O bottleneck Add more data disks and separate data files if near IOPS limits per disk Tune queries to reduce reads and writes Consider enabling row or page compression Memory resource pressure Memory: Available Bytes Memory: Pages per second SQL Server: Buffer ManagerPage Life Expectancy Process: Working Set (for SQL Server) RESOURCE_SEMAPHORE waits Check max server memory setting for SQL Server. Use high memory instance Identify SQL component (such as, CLR, high memory grants for app queries, et.), tune appropriately.
  • 21. tech.days 2015#mstechdaysSESSION Characteristics of a cloud Shared Infrastruct ure Scalable and Elastic Usage Based Self Service
  • 22. tech.days 2015#mstechdaysSESSION Exemple : Catalogue de services Self Service provisioning
  • 23. tech.days 2015#mstechdaysSESSION Conclusion • Read the white papers • Control/discover your DB sprawl • Run MAP toolkit to identify running DBs • Capacity Planning • Understand Isolation/security/HA requirements • Plan and test for IO perf variability • Identify optimal VM size • Use Filegroups and multiple data disks for large DBs • Begin conversion (virtualize) • Use P2V to keep existing settings • Create new VM to combine multiple apps • Identify your KPIs to monitor • Revisit optimization decisions as workload changes
  • 24. © 2015 Microsoft Corporation. All rights reserved. tech days• 2015 #mstechdays techdays.microsoft.fr