A Kaminario Reference Architecture: Reference Architecture for Running SQL Server on ESXi

Similar documents
Achieving SQL Server High Availability with Kaminario K2

Functional Testing of SQL Server on Kaminario K2 Storage

MongoDB on Kaminario K2

Performance Testing of SQL Server on Kaminario K2 Storage

SQL Server Backup and Restore using Kaminario K2 Snapshots

Accelerated Application Development

VMware vsphere 6 Reference Architecture for the Kaminario K2 All-Flash Storage Array

Managed Service Providers

Four Steps to Unleashing The Full Potential of Your Database

Veritas Access. Installing Veritas Access in VMWare ESx environment. Who should read this paper? Veritas Pre-Sales, Partner Pre-Sales

VMware vsan 6.6. Licensing Guide. Revised May 2017

VMware Exam VCP-511 VMware Certified Professional on vsphere 5 Version: 11.3 [ Total Questions: 288 ]

Nutanix Tech Note. Virtualizing Microsoft Applications on Web-Scale Infrastructure

VMware vstorage APIs FOR ARRAY INTEGRATION WITH EMC VNX SERIES FOR SAN

Veeam Availability Solution for Cisco UCS: Designed for Virtualized Environments. Solution Overview Cisco Public

NAS for Server Virtualization Dennis Chapman Senior Technical Director NetApp

VMWARE VSAN LICENSING GUIDE - MARCH 2018 VMWARE VSAN 6.6. Licensing Guide

Speed-up Virtualized Databases with All-Flash Storage

IOmark- VDI. IBM IBM FlashSystem V9000 Test Report: VDI a Test Report Date: 5, December

What s New in VMware vsphere 4.1 Performance. VMware vsphere 4.1

VMware vsphere 5.0 STORAGE-CENTRIC FEATURES AND INTEGRATION WITH EMC VNX PLATFORMS

VMware VAAI Integration. VMware vsphere 5.0 VAAI primitive integration and performance validation with Dell Compellent Storage Center 6.

Accelerating SAP Performance and Scalability with Kaminario K2

W H I T E P A P E R. Comparison of Storage Protocol Performance in VMware vsphere 4

DumpExam. The best exam dump, valid dumps PDF, accurate exam materials provider

VMware vsphere: Taking Virtualization to the Next Level

EMC Virtual Infrastructure for Microsoft Exchange 2010 Enabled by EMC Symmetrix VMAX, VMware vsphere 4, and Replication Manager

Next Gen Storage StoreVirtual Alex Wilson Solutions Architect

Stellar performance for a virtualized world

EMC XTREMCACHE ACCELERATES VIRTUALIZED ORACLE

Hyper-Convergence De-mystified. Francis O Haire Group Technology Director

IOmark- VM. IBM IBM FlashSystem V9000 Test Report: VM a Test Report Date: 5, December

Data Protection for Cisco HyperFlex with Veeam Availability Suite. Solution Overview Cisco Public

IOmark- VM. HP HP ConvergedSystem 242- HC StoreVirtual Test Report: VM- HC b Test Report Date: 27, April

EMC Business Continuity for Microsoft Applications

HP 3PAR StoreServ Storage and VMware vsphere 5 best practices

Performance & Scalability Testing in Virtual Environment Hemant Gaidhani, Senior Technical Marketing Manager, VMware

Virtualizing SQL Server 2008 Using EMC VNX Series and VMware vsphere 4.1. Reference Architecture

EXAM - VCP5-DCV. VMware Certified Professional 5 Data Center Virtualization (VCP5-DCV) Exam. Buy Full Product.

Pivot3 Acuity with Microsoft SQL Server Reference Architecture

Copyright 2012 EMC Corporation. All rights reserved.

Construct a High Efficiency VM Disaster Recovery Solution. Best choice for protecting virtual environments

Kaminario and K2 All Flash Array At A Glance 275+ Employees Boston HQ Locations in Israel, London, Paris, Beijing & Seoul 200+ Channel Partners K2 All

Ten things hyperconvergence can do for you

vsphere Storage Update 1 Modified 16 JAN 2018 VMware vsphere 6.5 VMware ESXi 6.5 vcenter Server 6.5

Understanding Virtual System Data Protection

EMC VSPEX FOR VIRTUALIZED MICROSOFT SQL SERVER 2012

Beyond the Hype of NVMe & NVMeoF:

VMWARE TUNING BEST PRACTICES FOR SANS, SERVER, AND NETWORKS

VMware vsphere VMFS First Published On: Last Updated On:

Surveillance Dell EMC Storage with Cisco Video Surveillance Manager

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

Dell EMC Ready Solutions for Microsoft SQL: Design for Dell EMC XtremIO

Exam4Tests. Latest exam questions & answers help you to pass IT exam test easily

A Dell Technical White Paper Dell Virtualization Solutions Engineering

Backup and Recovery Best Practices With Tintri VMstore

Fujitsu PRIMEFLEX for VMware vsan 20,000 User Mailbox Exchange 2016 Mailbox Resiliency Storage Solution

Surveillance Dell EMC Storage with Digifort Enterprise

PERFORMANCE STUDY OCTOBER 2017 ORACLE MONSTER VIRTUAL MACHINE PERFORMANCE. VMware vsphere 6.5

Preparing Virtual Machines for Cisco APIC-EM

Preparing Virtual Machines for Cisco APIC-EM

Adobe Acrobat Connect Pro 7.5 and VMware ESX Server

Microsoft SQL Server in a VMware Environment on Dell PowerEdge R810 Servers and Dell EqualLogic Storage

VMware Virtual SAN. Technical Walkthrough. Massimiliano Moschini Brand Specialist VCI - vexpert VMware Inc. All rights reserved.

How Flash Storage is Changing the Economics of SaaS Businesses

Microsoft Exchange Server 2010 Implementation on Dell Active System 800v

VMware vsphere Administration Training. Course Content

Data center requirements

iscsi Target Usage Guide December 15, 2017

White Paper Effects of the Deduplication/Compression Function in Virtual Platforms ETERNUS AF series and ETERNUS DX S4/S3 series

Protecting Mission-Critical Application Environments The Top 5 Challenges and Solutions for Backup and Recovery

Copyright 2012 EMC Corporation. All rights reserved.

Discover the all-flash storage company for the on-demand world

High performance and functionality

EMC Backup and Recovery for Microsoft Exchange 2007 SP1. Enabled by EMC CLARiiON CX4-120, Replication Manager, and VMware ESX Server 3.

IBM Spectrum Protect Plus

VCP410 VMware vsphere Cue Cards

Backup Solution Testing on UCS B and C Series Servers for Small-Medium Range Customers (Disk to Tape) Acronis Backup Advanced Suite 11.

2014 VMware Inc. All rights reserved.

Nimble/Cisco SmartStack Integrated Infrastructure for Enterprise-class Oracle Workloads

NEXGEN N5 PERFORMANCE IN A VIRTUALIZED ENVIRONMENT

Lenovo SAN Manager Rapid RAID Rebuilds and Performance Volume LUNs

Exam Name: VMware Certified Professional on vsphere 5 (Private Beta)

Infortrend VMware Solutions

Cisco HyperFlex and the F5 BIG-IP Platform Accelerate Infrastructure and Application Deployments

Infinio Accelerator Product Overview White Paper

Configuration Maximums VMware vsphere 5.0

Symantec Reference Architecture for Business Critical Virtualization

Potpuna virtualizacija od servera do desktopa. Saša Hederić Senior Systems Engineer VMware Inc.

Performance Report: Multiprotocol Performance Test of VMware ESX 3.5 on NetApp Storage Systems

EMC Performance Optimization for VMware Enabled by EMC PowerPath/VE

ECONOMICAL, STORAGE PURPOSE-BUILT FOR THE EMERGING DATA CENTERS. By George Crump

Storage Solutions for VMware: InfiniBox. White Paper

Upgrade to Microsoft SQL Server 2016 with Dell EMC Infrastructure

Storage Considerations for VMware vcloud Director. VMware vcloud Director Version 1.0

EMC VNX FAMILY. Next-generation unified storage, optimized for virtualized applications. THE VNXe SERIES SIMPLE, EFFICIENT, AND AFFORDABLE ESSENTIALS

Microsoft SQL Server HA and DR with DVX

Reasons to Deploy Oracle on EMC Symmetrix VMAX

EMC Integrated Infrastructure for VMware. Business Continuity

Cisco HyperFlex Hyperconverged Infrastructure Solution for SAP HANA

Transcription:

A Kaminario Reference Architecture: Reference Architecture for Running SQL Server on ESXi December 2017 TABLE OF CONTENTS 2 2 3 3 10 11 Executive Summary Introduction to Kaminario K2 Microsoft SQL Server Deploying SQL Server on VMware ESXi over K2 Best Practices Kaminario SQL Server Configuration Best Practices About Kaminario

Executive Summary The Kaminario K2 all-flash array is built to support modern workloads that require efficient use of resources, high performance and flexibility in scale. Virtualized environments, that are used to increase the utilization of servers and increase productivity, are an ideal workload for the K2 s all flash architecture. One such environment is SQL Server deployed via VMware vsphere using ESXi. Kaminario has a unique value proposition for this implementation, and it is recommended that best practices and reference guides are followed in order to maximize capacity and performance efficiencies. This reference architecture describes in detail all integration points of the K2 all-flash array, SQL Server, VMware ESXi, Kaminario best practices for ESX environments, and Kaminario SQL Server configuration best practices. The document also includes examples and screenshots that facilitate easy understanding of the different settings and clearly demonstrate the tradeoffs between different options of configurations. Content in this document is quite technical and is intended to be used by pre-sales engineers, system and storage administrators and customers who want to deploy SQL Server on the Kaminario K2 with VMware ESXi environments. Introduction to Kaminario K2 The K2 all-flash array is an appliance which is a combination of tested and packaged hardware, software and services. K2 s Gen6 hardware platform is based on leading off-the-shelf enterprise components that enable K2 s software-defined architecture and software stack. The K2 runs Kaminario VisionOS, the next-generation flash operating system stack, that provides the core software and advanced data services framework. The value proposition for VisionsOS is its ability to enable the following modular components and services across a real scale-out storage platform: DataShrink Data reduction features and capabilities are mandatory for economics of flash storage. With differentiating inline, global, adaptive and selective deduplication, together with inline byte aligned compression, thin provisioning and zero detection, Kaminario is able to establish itself as a cost-efficiency leader of flash storage. DataProtect Kaminario values its customers data more than anything. Native array based snapshots and replication allow for returning to any point in time at any site. Data-at-rest AES256 encryption makes sure that data is kept private and safe at all times. A highly resilient design to eliminate single points of failure, non-disruptive upgrades (NDU) and a robust RAID scheme facilitate 99.999% of data availability. DataManage The K2 can be managed by various means. Internal management includes an intuitive web-based GUI, a scriptable CLI and a fully programmable RESTful API platform. DataConnect K2 s RESTful API allows for external applications of the IT eco-system to easily integrate and seamlessly manage the K2. This eco-system is constantly growing and includes: VMware vsphere, Microsoft VSS, OpenStack, Flocker (containers) and Cisco UCS director. 2

Microsoft SQL Server Microsoft SQL Server is one of the most widely used databases in the world. Most organizations often run both production and revenue-generating applications on redundant instances of SQL Server. SQL Server is often preferred by developers for its simplicity and ease of use, enabling the use of a single database to perform tasks such as Online Transaction Processing workloads (OLTP), data mining, and Online Analytical Processing workloads (OLAP). One limiting factor about SQL Server is its host utilization needing to utilize all of the available CPU, memory and disk. This often leads to either underutilized or a lack of resources based on host configuration. The growth of virtual environments has helped overcome this hurdle. Virtualizing SQL Server allows for the optimization of resources and the ability to add resources as needed and migrate to newer hardware without incurring expensive costs. Storage is another critical component in running SQL Server, with different workloads requiring different I/O patterns and levels. Supporting VMware hosts with scalable storage is just as important for achieving the desired performance from the SQL Server environment. Deploying SQL Server on VMware ESXi over K2 Best Practices ESXI Host Configuration for SQL Server Installation It is important to remember that ESXi host configuration on VMware impacts the performance of SQL Server. Specific host configurations are recommended in order to achieve the desired performance levels from SQL Server environments. However, not all settings are applicable to every host. BIOS/UEFI SETTINGS Enable Turbo Boost Enable hyper-threading Enable NUMA settings Enable advanced CPU features as VT-x/AMD-V, EPT and RVI Set Power Management to OS controlled ESXI SETTINGS Power Settings Power management provides the ability to choose between performance and efficiency. It is recommended to set the Power Policy Settings to High Performance when there are critical SQL Server VMs. By default, ESXi uses Balanced Power Policy. See the Figure below for the different Power Policy Settings. 3

Figure 1: ESXi Power Policy Settings K2 Best Practices for VMware ESXI Environment ESXi has many settings that affect the K2 s performance. This list details the major parameter settings and Kaminario s recommendation for each parameter. Parameter Scope Default Value Recommended Setting Importance Path Selection Policy Per Volume, per ESXi host Fixed Round-Robin Critical. Better utilization of K2 Ports Number of Outstanding IOs With Competing Worlds Per Volume, per ESXi host 32 256 Critical. Allows pushing more load to the K2. Disk.SchedQuantum Per ESXi host 8 64 VAAI Primitives Per ESXi host Enabled Enabled Low. Less significant for All-Flash Arrays Critical. Offloads heavy workloads from the ESXi host to the K2 QLogic HBA Settings Per ESXi host Queue Depth=64, ZIO=1, IDT=100 Queue Depth=400, ZIO=6, IDT=1 Medium. Can increase performance significantly but may not always fit the whole eco-system Emulex HBA Settings Per ESXi host lpfc_lun_queue_ depth = 30-128 lpfc_lun_queue_ depth = 30-128 Medium. Can increase performance significantly but may not always fit the whole eco-system For additional information of the parameters and different test results refer to K2 VMware vsphere Reference Architecture in Kaminario Support Portal. 4

VM CONFIGURATION This section summarizes Kaminario s recommendations of ESX VM configuration for SQL Server VM. Detailed information on each configuration appears after the table. Setting Default Value Recommended Setting Comments Power Settings Balanced High-Performance vcpu Allocation 1 NUMA Consideration Exact number of vcpu that is required at the installation time Equal or less vcpus than the number of physical cores of a NUMA node Cores Per Socket 1 Depends on ESXi version. Different in 6.5 and previous versions CPU Affinity No Affinity No Affinity Memory Allocation 4GB According to what needed by SQL Server with ESX and SQL Server buffers Reserve All guest memory Storage VMFS or RDM VMFS VMFS or RDM. No Performance Impact Use of K2 Snapshots Requires RDM Disks VMDK File Layout Thick Provision Lazy Zeroed K2 Supports all VMDK File Layouts SCSI Controller LSI Logic SAS Paravirtualized 5

POWER SETTINGS Windows allows users to select different Power Plans for its servers. Power Plans enable the option to select between a high-performance environment or a high-efficient environment (performance per watt). The default windows setting is Balanced, while it is recommended for critical SQL Server installations to change the setting to High Performance. The Figure below shows the different Power Plan options. Figure 2: Windows Power Plan Options VCPU Allocation Deciding the right vcpu allocation for SQL Server VMs is different from the decision-making process when using physical SQL Server hardware. In a virtualized environment adding or removing a CPU from a VM is a very easy task. It is recommended to provide the VM with the exact number of vcpus required at the installation time. It is also recommended not to give the VM more vcpus than the number of physical cores that the ESXi has. In case the number of vcpus is not sufficient, it is possible to add more. NUMA Consideration In case of a small SQL Server installation, it is recommended to allocate the VM equal or less vcpus than the number of physical cores of a NUMA node. vnuma is enabled by default only for a VM with nine or more vcpus. 6

Cores per Socket Cores per Socket configuration enables users the option to configure the number of cores per CPU socket. This setting was created to assist users in licensing limitations and with applications that have limitations with number of cores. The settings effect performance together with NUMA considerations. There are a few factors to take into consideration: A VM with fewer CPU cores then a physical NUMA node will be assigned to one NUMA node. The number of sockets will not affect the vnuma. Still, it is recommended to use the fewest number of vsockets possible. It is recommended to assign an even number of vcpus in case there is a need to assign more vcpus than physical NUMA node cores. An uneven number of vcpus will result in sub-optimal configuration. Starting with vsphere 6.5 the number of cores per socket does not affect the vnuma configuration by default. Prior to vsphere 6.5, the number of cores per socket directly affected the vnuma. It is recommended to be aware of the underlying physical NUMA topology before configuring the cores per socket. In case a VM is configured with more memory than of a physical NUMA node and less vcpus than a physical NUMA node, it forces memory to be fetched remotely, degrading performance. In that case, it is recommended to assign more vcpus to the VM forcing the hypervisor to assign vnuma or lower the numa.vcpu.min setting to lower than nine. CPU Affinity It is recommended not to use CPU affinity as it is limits the hypervisor s ability to schedule vcpus on the physical server efficiently. MEMORY CONFIGURATION A VM should generally not have more memory than its ESXi physical memory. It is good practice to leave some memory for ESXi overhead and VM overhead. For more information about ESXi and VM overhead refer to the Vsphere Resource Management. To calculate how much memory is needed for a VM, use the below formula: VM Memory = SQL Max Server Memory + ThreadStack + OS Mem + VM Overhead ThreadStack = SQL Max Worker Threads * ThreadStackSize ThreadStackSize = 1MB on x86 = 2MB on x64 = 4MB on IA64 OS Mem: 1GB for every 4 CPU Cores VM Overhead: The amount of memory a VM need to power on. After a VM is running, the amount of overhead memory might be different. Next table shows a sample of Overhead Memory on Virtual Machines 7

Memory (MB) 1 vcpu 2 vcpu 4 vcpu 8 vcpu 256 20.29 24.28 32.23 48.16 1024 25.90 29.91 37.86 53.82 4096 48.64 52.72 60.67 76.78 16384 139.62 143.98 151.93 168.60 Table 1 Sample of Overhead Memory on Virtual Machines More information can be found in the Vsphere Resource Management. It is recommended to reserve the SQL Server VM memory to eliminate the possibility of ballooning or swapping memory. Ballooning or swapping memory can cause performance degradation. The figure below shows how to reserve guest memory. Figure 3: Guest Memory Reservation 8

STORAGE CONFIGURATION VMFS or RDM VMware Virtual Machine File System (VMFS) and RDM (Raw Device Mapping) are the most common disk options that VMware provides for its guests. K2 supports both options, creating a LUN that is used as a VMware datastore which facilitates VMDK disks or LUNs that are used as RDM disks. In terms of performance there is no difference when choosing one over the other. However, it is important to understand that there are other considerations when choosing between the options. VMFS does not support FCI clustering between hosts. VMFS does not support Kaminario K2 snapshot. In order to utilize the K2 snapshot mechanism, RDM disks are required. Using Kaminario VSS, K2 can take an application-consistent snapshot of SQL Server databases with no performance impact and no additional capacity. Kaminario K2 snapshots can be mounted for read/write purposes, which serve to create additional working environments such as QA, Test & Dev, analytics, backup and more, all at a very low cost of storage capacity. Read/write snapshots deliver the same performance as production volumes, without any impact on production volumes. The duration of creating a snapshot has no dependencies on the number or size of the volumes being snapped or how big the array is. For more information about K2 snapshots for SQL Server refer to SQL Server Backup and Restore using Kaminario K2 Snapshots. VMDK File Layout VMFS disks can be deployed in three different formats: Thin Provisioned, Thick Provisioned Lazy Zeroed, Thick Provisioned Eager Zeroed. The difference between the options is the time to employ zeroes on the disk. 1. Thin Provisioned Enables 100 percent storage on demand. Disk space is allocated and zeroed during writes. 2. Thick Provisioned Lazy Zeroed Disk storage is pre-allocated. Disk is zeroed the first time the disk is written. 3. Thick Provisioned Eager Zeroed Disk is pre-allocated. Disk is zeroed during provision time. Kaminario K2 implements all VMware s vstorage APIs for Array Integration (VAAI). There is no performance implication when choosing either one of the file layouts. For more information regarding Kaminario K2 implementation of Vmaware VAAI refer to K2 VMware vsphere Reference Architecture. PVSCSI Virtual Adapter It is recommended to use VMware Paravirtualized SCSI Controller as the virtual SCSI Controller. The PVSCSI Controller is the optimal SCSI controller for an I/O-intensive application on vsphere. For more information refer to Configuring disks to use VMware Paravirtual SCSI (PVSCSI) adapters. 9

Kaminario SQL Server Configuration Best Practices SQL Server has several best practices for best performance. This table summarizes those best practices and Kaminario s recommendation for each one. Best Practice SQL Server Recommendation Kaminario Recommendation Comments Raid Configuration RAID 10 K-RAID No RAID configuration is needed Separation of Files Allocate different file types for different LUNS for best spindle performance Separation of files is unnecessary for best performance Separation of different database files is recommended when using K2 snapshots Filegroups or Number of LUNs Consider when more spindles are needed and for administration needs No need for performance improvement Can be considered for administration needs Number of Files More than one data file on different spindles for performance. TempDB files as the number of CPUs (up to eight) TempDB files as the number of CPUs (up to eight) No need for more than a single data file for best performance Allocation Unit Size 64K 64K 10

About Kaminario Contact Contact a business development representative to answer any questions you may have. Schedule a Demo Schedule a demo with an engineer and learn if Kaminario s solution works for you. Kaminario, the leading all-flash storage company, is redefining the future of modern data centers. Its unique solution enables organizations to succeed in today s on-demand world and prepares them to seamlessly handle tomorrow s innovations. Only Kaminario K2 delivers the agility, scalability, performance and economics a data center requires to deal with today s cloud-first, dynamic world and provide real-time data access -- anywhere, anytime. Hundreds of customers rely on the Kaminario K2 all-flash array to power their mission critical applications and safeguard their digital ecosystem. Headquartered in Needham, MA, Kaminario works with an extensive network of resellers and distributors, globally. Request a Quote Request a quote for your application from our business development team. For more information, visit www.kaminario.com Kaminario and the Kaminario logo are registered trademarks of Kaminario, Inc. K-RAID, and Perpetual Array are trademarks of Kaminario, Inc. Product specifications and performance are subject to change without notice. The Kaminario ForeSight program is subject to terms and conditions. 2017 Kaminario All Rights Reserved December 2017 11