Virtualization Fundamentals for DBAs Joey D’Antoni February 3, 2015 DBA Fundamentals VC.

Slides:



Advertisements
Similar presentations
Virtualization and Cloud Computing. Definition Virtualization is the ability to run multiple operating systems on a single physical system and share the.
Advertisements

© 2010 VMware Inc. All rights reserved Confidential Performance Tuning for Windows Guest OS IT Pro Camp Presented by: Matthew Mitchell.
Antony Jo The University of Montana. Virtualization  The process of abstraction; making something more abstract  Many types: Server Desktop Application.
11 HDS TECHNOLOGY DEMONSTRATION Steve Sonnenberg May 12, 2014 © Hitachi Data Systems Corporation All Rights Reserved.
Introduction to Virtualization
Denny Cherry Manager of Information Systems MVP, MCSA, MCDBA, MCTS, MCITP.
Denny Cherry MVP, MCSA, MCDBA, MCTS, MCITP.
Virtualization for Cloud Computing
Virtualization 101.
5205 – IT Service Delivery and Support
Presented by Jacob Wilson SharePoint Practice Lead Bross Group 1.
SQL SERVER DAYS 2011 Optimizing SQL Server Performance in a Virtual Environment Denny Cherry twitter.com/mrdenny.
Virtualization 101.
Virtualization Performance H. Reza Taheri Senior Staff Eng. VMware.
SAP on windows server 2012 hyper-v documentation
VMware vSphere 4 Introduction. Agenda VMware vSphere Virtualization Technology vMotion Storage vMotion Snapshot High Availability DRS Resource Pools Monitoring.
Tales from the Trenches About
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Introduction to VMware Virtualization
Virtualization. ABCs Special software: hypervisors or virtual machine managers Guest OS (virtual machine) sits on top of host OS (Win 7 in our case) We.
Module 7: Hyper-V. Module Overview List the new features of Hyper-V Configure Hyper-V virtual machines.
Copyright © 2011 EMC Corporation. All Rights Reserved. MODULE – 6 VIRTUALIZED DATA CENTER – DESKTOP AND APPLICATION 1.
A Brief Intro to Virtualiztion. What is Virtualization? An abstraction Usually performed via software Many different types –Hardware –Software –Data –Network.
INTRODUCTION TO VIRTUALIZATION KRISTEN WILLIAMS MOSES IKE.
Server Virtualization
Case for Server Virtualization. Content Why virtualize? Business value of virtualization Virtualization technologies & Hyper-V overview Management and.
VMware vSphere Configuration and Management v6
© Copyright 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. HP Restricted Module 7.
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Hands-On Virtual Computing
Cloud Computing Lecture 5-6 Muhammad Ahmad Jan.
Capacity Planning in a Virtual Environment Chris Chesley, Sr. Systems Engineer
1 Best Practices for Monitoring Databases on VMware Dean Richards Senior DBA, Confio Software.
REMINDER Check in on the COLLABORATE mobile app Best Practices for Oracle on VMware - Deep Dive Darryl Smith Chief Database Architect Distinguished Engineer.
Virtualization Assessment. Strategy for web hosting Reduce costs by consolidating services onto the fewest number of physical machines
27-29 August NIMHANS Convention Centre, Bangalore, India. Modernizing The Data Platform Flying Through the Clouds Performance Tuning in Azure Joey.
Unit 2 VIRTUALISATION. Unit 2 - Syllabus Basics of Virtualization Types of Virtualization Implementation Levels of Virtualization Virtualization Structures.
1 SQL Server on VMware? Rob Mandeville Senior DBA, Confio Software 1 Virtualizing Our Environment: Lessons Learned Rob Mandeville.
Optimizing SQL Server Performance in a Virtual Environment Denny Cherry twitter.com/mrdenny.
VIRTUAL MACHINE – VMWARE. VIRTUAL MACHINE (VM) What is a VM? – A virtual machine (VM) is a software implementation of a computing environment in which.
1 SQL Server on VMware? Rob Mandeville Senior DBA, Confio Software.
Copyright © 2016 by McGraw-Hill Education. All rights reserved. Mike Meyers’ CompTIA A+ ® Guide to Managing and Troubleshooting PCs Fifth Edition Copyright.
PHD Virtual Technologies “Reader’s Choice” Preferred product.
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
Introduction to VMware Virtualization
Agenda Hardware Virtualization Concepts
Virtualization Dr. Michael L. Collard
Prepared by: Assistant prof. Aslamzai
Virtualization OVERVIEW
Don’t Panic, DBAs! Databases on Vmware made easy Janis Griffin Senior DBA, Confio Software 1.
Building a Virtual Infrastructure
Windows Azure Migrating SQL Server Workloads
Chapter 21: Virtualization Technology and Security
A Brief Intro to Virtualiztion
A Brief Intro to Virtualiztion
1. 2 VIRTUAL MACHINES By: Satya Prasanna Mallick Reg.No
Optimizing SQL Server Performance in a Virtual Environment
SQL Server 2012 Licensing Overview.
Chapter 22: Virtualization Security
“Geek Out”: DIY vSphere 5.1 Lab
Virtualization Meetup Discussion
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Virtualization 101.
Virtualization Techniques
HC Hyper-V Module GUI Portal VPS Templates Web Console
Guide to Operating Systems, 5th Edition
Cloud Computing Architecture
SQL Server on Containers
Presentation transcript:

Virtualization Fundamentals for DBAs Joey D’Antoni February 3, 2015 DBA Fundamentals VC

Joey D’Antoni  Joey has over 15 years of experience with a wide variety of data platforms, in both Fortune 50 companies as well as smaller organizations  Principal Consultant, Denny Cherry and Associates  He is a frequent speaker on database administration, big data, and career management  He is the co-president of the Philadelphia SQL Server User’s Group  He wants you to make sure you can restore your data Joeydantoni.com

Virtualization Major PlayersTermsCosts and BenefitsTechnologyOptimizing SQL for a Virtual EnvironmentSummary

Major Virtualization Players

Virtualization Why did it happen?

It seemed like a good idea at the time…

Server Room Sprawl Server sprawlSQL sprawl Power and Cooling Issues in DCs Broader availability of SAN storage Cloud Computing

VM Terminology Guest—The virtual server running underneath the physical host and hypervisor (instance of an Operating System) Host—The physical server that your virtual machines run on Hypervisor—The underlying software that performs the load balancing and sharing of resources between guest operating systems

VM Terminology (cont’d) Thin Provisioning—Allowance in virtual environments to overallocate physical resources (more to come later) Deduplication—Process of compressing memory/disk space by saving only one copy of common bits vMotion/LiveMigration—Process which moves guest OS’s from host with high resource utilization to lower. Also an HA function with the hypervisor

Terminology (cont’d) Snapshot—A full point in time backup of your guest OS (very handy for upgrades/patches/code releases) Cloning—The process of building a gold guest image in order to rapid deployment

Costs  VMWare isn’t free  Memory Based Licensing  Hyper-V  Included with your Windows Server Licenses (amount of VMs vary based on edition)  SC-VMM, while not required is recommended

Benefits of Virtualization Lower cooling and powerHigher utilization of hardwareCan be used for HA configurationsRapid Deployment of new environmentsUse Gold Standard servers and rolloutSQL Server LicensingSnapshots

How this works… Host Hypervisor Guest One Physical Server

What does the hypervisor do?  Manages resources between guest O/S  Memory management  Backups  Failover and DR

Types of Hypervisors  Type 1—Native or Bare Metal. Run directly on host (VMWare ESX, Hyper-V)  Type 2—Run as process on local OS. (VMWare Workstation, Virtual Box)

VMWare Architecture

HA and DR

Typical Hardware  Virtualization hosts are the typical servers you might run SQL Server on.  2 x 4-6 core processors (Dual socket servers represent 80% of install base)  A Lot of RAM

Snapshots

Thin Provisioning  Allows over allocation of resources  Increases storage provisioning  Management console allows for easy management of this along with SAN  NOT GOOD FOR PRODUCTION DB SERVERS!!!

Shared Environment vs Dedicated Environment

Multi-Tenant Environments This can make monitoring and baselining your server more challenging You will want to have open communications with your VM administrators Ask for view access into vCenter—it will show you what else is going on in the environment

CPUs Can be over allocated Use servers with the newest chips—they are optimized for Virtual Workloads Maintain 1:1 ratio of physical cores to vCPU for production boxes For production workloads you may want to dedicate CPUs to the machine

Memory Management  Memory can be over allocated (but don’t do it for production!!!)  Hypervisor handles it by de-duplicating memory.  Host Page Files

Balloon Driver

 When hosts comes under memory pressure, VMWare reclaims memory from guests

Storage

I/O Concerns  Two choices of file types—VMFS (VMWare File System) and RDM (Raw Device Mapping)  Performance between two is similar  RDM is required for clustering  VMFS generally more flexible  Use Shared Storage (SAN) to get HA and DR functionality

I/O Concerns  Partition alignments still matters < Windows 2008  Work with storage team to monitor I/O— Hypervisors can have strange I/O patterns

Datastores It can be easy to overwhelm storage if not enough storage devices are presented Modern SANs tend to be designed with this in mind

Windows Server 2012  Introduces concept of “Storage Spaces”  Allows storage to be pooled and shared between multiple VM hosts  Can be created from non Microsoft platforms

Storage Spaces

Virtual Server

Virtualizing SQL Server  Use Trace Flag –T834—large pages enabled  Reserve memory for production workloads  Also reserve memory in Hypervisor for Prod Servers  Follow the same storage best practices you would for a physical box (Separate TempDB, Data, Logs)  Baseline IO performance

Virtualizing SQL Server  Think carefully about using lock pages in memory*  Enable optimize for ad-hoc workloads  DON’T OVERALLOCATE CPUs

Monitoring SQL Server  From the server perspective everything stays the same  Everything may not match at times  Ask for access to the vSphere client!  It’s the only way to have an overview into the broader system

Performance Issues  Troubleshoot as you normally would, then check VMWare  Similarly with a SAN—try to identify what you apps are sharing your resources  Can adjust load on the fly by using vMotion (or Live Migration)

Summary  Virtualization is the future, and the future is now!  Virtual servers work from a shared resource pool and that can impact your workloads  Identify changes you need to make to your SQL Servers for Virtual Environments  Get access to your virtualization management layer

Questions?

Contact Info    Blog (slides): joedantoni.wordpress.com