Sunteți pe pagina 1din 33

Technical white paper

Best Practices for Implementing


SQL Server with HP 3PAR
StoreServ and VMware vSphere
HP 3PAR StoreServ, MS Failover Clustering, MS SQL Server, VMware vSphere 5.1

Table of contents
Executive summary ...................................................................................................................................................................... 2
Overview .......................................................................................................................................................................................... 2
Solution components ................................................................................................................................................................... 3
HP 3PAR StoreServ Storage ................................................................................................................................................... 3
HP ProLiant Servers.................................................................................................................................................................. 8
Microsoft Windows Server and SQL Server ......................................................................................................................... 8
VMware vSphere 5.1 ................................................................................................................................................................ 9
Test environment ........................................................................................................................................................................ 10
3PAR StoreServ Storage........................................................................................................................................................ 11
HP ProLiant Servers................................................................................................................................................................ 21
MS SQL Server 2008 R2 and MS SQL Server 2012 guidance ........................................................................................ 22
VMware vSphere for Failover Clustering ............................................................................................................................ 24
Key findings and test scenarios ............................................................................................................................................... 25
SQL Server workloads used .................................................................................................................................................. 25
Single VM failure with SQL Server ....................................................................................................................................... 25
HP 3PAR Dynamic Optimization .......................................................................................................................................... 26
HP 3PAR Adaptive Optimization .......................................................................................................................................... 26
HP 3PAR Priority Optimization (QoS) .................................................................................................................................. 29
Summary ....................................................................................................................................................................................... 32
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Executive summary
HP 3PAR StoreServ Storage provides superior performance and availability from mid-range to high-end storage through
industry leading architectural innovation, design, and implementation. Specifically, its tightly coupled clustered architecture,
secure multi-tenancy, and mixed workload support are designed to deliver enterprise IT as a utility service simply,
efficiently, and flexibly. It is the only storage platform spanning the low end of the midrange to the high end of the
enterprise market segments with a single architecture. HP 3PAR StoreServ is an excellent choice for both individual
SQL Server environments and consolidated SQL Server environments with VMware vSphere.
HP 3PAR StoreServ offers a robust storage solution that builds redundancy, performance, and breakthrough functionality
on top of common components, driving a huge return on investment, in a virtualized environment. Some of the
breakthrough features of HP 3PAR StoreServ include fine-grain, wide striping of data on all available storage for
exceptional performance, quality of service (QoS) capabilities, VMware vSphere Storage API integration, vCenter plug-ins,
HP 3PAR thin technologies, and storage tiering.
When servers are consolidated on virtual machines (VMs), they tend to squeeze storage performance as the array becomes
the focal point of a greater I/O demand than ever before. Workloads in virtualized environments are unpredictable, with
random and heavy I/O patterns. As a result, storage must be resilient enough to handle numerous hosts and mixed
workloads. HP 3PAR StoreServ provides performance and tuning capabilities to meet demanding workload needs.
VMs are only as available as the storage on which they reside. Storage in virtualized environments must be protected at
many levels, including disks, controllers, and nodes, to enable survival without disruptions should failures occur. With
redundant controllers, HA drive and HA cage configurations, online servicing, Persistent Cache, snapshot and copy
functionality, and online updates, HP 3PAR StoreServ can meet the highest levels of uptime. Additionally, HP 3PAR
StoreServ has native phone home capabilities to alert HP support in the event of a failed component, so that the part
can be quickly replaced without degrading performance or creating large degraded availability windows.
Virtualization introduces complexity into the data center, directly affecting the underlying storage infrastructure. Storage
must be as simple to manage and maintain as possible and not add unnecessary complexity to the virtualized environment.
HP 3PAR StoreServ is designed for virtualization and delivers easily managed, consolidated storage for virtual environments
with the increased resiliency and performance unavailable in smaller, stranded storage environments.
Storage capital expenditures often detract from virtualization implementation savings. Storage should be enhanced for
virtualized environments to maximize efficiency, so capacity and performance barriers do not create additional expenses.
HP 3PAR StoreServ consolidates thickly provisioned, older existing environments and recaptures stranded storage, while
migrating data into thinly-provisioned, wide-striped storage (called HP 3PAR Thin Conversion). HP 3PAR StoreServ takes
advantage of adaptive capabilities to help resolve persistent hot spots. Deploy HP 3PAR StoreServ for the storage
performance needs of today, without overprovisioning for unknown needs next year.

Target audience
This white paper is intended for IT decision makers, database administrators, storage administrators, system administrators,
and database and solution architects involved in the planning and deployment of consolidated MS SQL Server environments
with VMware vSphere 5.1 on the HP 3PAR StoreServ platform.

Overview
HP 3PAR StoreServ is optimized for vSphere and SQL Server
Consolidating workloads in virtual server environments is key to driving increased savings. HP 3PAR StoreServ offers wide
striping, mixed workload support, and integration with VMware Adaptive Queue Depth Throttling algorithm and vSphere
Storage APIs, providing the performance necessary to increase VM density for each server by two foldguaranteedwhen
compared to VMware deployments using traditional storage arrays. 1

1
HP 3PAR Guarantee!
h20195.www2.hp.com/V2/GetDocument.aspx?docname=4AA4-0948ENW&cc=us&lc=en
www8.hp.com/us/en/products/data-storage/data-storage-solutions.html?compURI=1284392
media.hp.com/program.aspx?key=NOMMKJMJMF

2
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Because a VMware vSphere server can host many VMs, each with its own I/O patterns, the resulting I/O pattern seen by the
array is generally random in nature. Random I/O means that the server derives less benefit from storage caching than a
server with a more predictable access pattern, forcing more requests to access disks. Thus, the number of drives that make
up the LUN predominantly determines performance. Wide striping spreads even modestly-sized volumes across as many
drives as possible in HP 3PAR StoreServ. This results in unmatched I/O performance, even when caching is minimally
effective. This specifically benefits SQL Server environments, where even the smallest databases benefit from the
performance of all the available disks in the array.
Virtualizing Microsoft SQL Server workloads with VMware vSphere on HP 3PAR StoreServ is a way to achieve performance
and increase hardware resource usage throughout your data center. HP 3PAR StoreServ provides sustained performance
for SQL Server and other consolidated workloads. When SQL Server storage capacity or performance needs to increase,
HP 3PAR StoreServ online storage upgrades meet the demand. The HP 3PAR StoreServ accommodates increasing SQL
Server OLTP performance demands by adding additional disk storage, up to the maximum number of configurable spindles.
HP 3PAR StoreServ, VMware virtualization, and Microsoft SQL Server provide functionality, performance, and ease of use,
helping todays businesses lower costs, reduce business risk, and improve IT agility.

Solution components
Components tested for this paper included HP 3PAR StoreServ Storage, HP ProLiant Blade Servers, VMware
vSphere 5.1, and Microsoft SQL Server in consolidated, clustered environments on Microsoft Windows 2008 R2,
and Windows Server 2012.

HP 3PAR StoreServ Storage


HP 3PAR StoreServ uses a single architecture, shown in figure 1, to deliver primary storage platforms for midrange,
enterprise, and optimized all-flash arrays. 2
Storage used during testing consisted of the HP 3PAR StoreServ 7200 Storage. 3 HP 3PAR StoreServ 7000 extends the
innovative HP 3PAR StoreServ product line to the midrange with industry-leading performance and features at an
affordable price. Spend less time managing storage, get more features for less money, and do it all without sacrificing
performance or future scalability. HP 3PAR StoreServ is also the first product family with a common architecture that meets
midrange needs and spans to the largest global enterprises, giving you access to the same features as the worlds largest
service providers. You can start small and grow as needed without painful upgrades.
Figure 1. HP 3PAR Storage offering 4

2
HP 3PAR StoreServ Storage: hp.com/go/3PAR
3
HP 3PAR StoreServ 7000 Storage QuickSpecs: h18000.www1.hp.com/products/quickspecs/14433_div/14433_div.pdf
4
HP 3PAR StoreServ offering: www8.hp.com/us/en/products/disk-storage/index.html?facet=3par-storage

3
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

HP 3PAR Priority Optimization (QoS functionality) 5


Sometimes, adding spindles to fix a performance problem is not the best answer. Successful storage consolidation requires
a way to ensure quality of service (QoS). Implementing HP 3PAR QoS at the storage level helps to maintain or increase
performance levels in a previously non-consolidated environment. This is possible because a non-shared storage solution
can only provide the limited performance available within its means. Consolidating multiple discrete storage solutions into a
single shared HP 3PAR StoreServ storage environment usually provides increased overall performance and decreased
overall cost.
This increased performance is available to all storage users. Applying QoS can keep select applications from unexpectedly
using more performance than configured, and allow all applications to reap benefits not previously available in separate,
discrete storage environments.
QoS is essential for storage resource management.
Storage performance resources are limited and expensive, and have periods of contention that disrupt business
operations unpredictably.
Without storage QoS, hot or active data will utilize more storage performance resources, which can starve other
storage resources.

Databases are considered a mission-critical application for many customers. Careful performance planning allows for the
creation of a QoS policy that helps ensure the proper day-to-day operation of a database, while addressing runaway queries
that may consume excessive IOPS and bandwidth.
Priority Optimization is the only quality of service solution supported for a virtualized MS Cluster Services environment
running on VMware VMs across hosts with shared RDM clustered storage. VMware does not support Storage I/O Control
(SIOC) with Raw Device Mapping (RDM), as noted in VMware KB 1022091. SIOC throttling is based on I/O latency; Priority
Optimization is based on max IOPS and bandwidth.
Priority Optimization adds additional I/O tuning capabilities to HP 3PAR StoreServ by enhancing the heterogeneous I/O
handling capabilities already present. Priority Optimization operates by setting maximum thresholds for front-end IOPS
and bandwidth at the Virtual Volume set (VVset) level.
Priority Optimization key features provide these benefits:
Simplifies implementation, monitoring, and troubleshooting.
Complements Adaptive Optimization.
Requires no physical pre-planning or training.
Works for every tier of Storage, not only SSD.
Works for both Bandwidth and IOPS.
Works the same on all platforms, from the 7200 to 10800 (including T and F class).
Requires no Host Agents.

When an I/O packet reaches the HP 3PAR StoreServ controllers, HP 3PAR Priority Optimization takes one of these actions:
Passes the I/O packet to the Virtual Volume
Delays the I/O by stalling it in a private QoS queue
Returns a SCSI Queue Full (QFULL) message to the host

If the upper limit for IOPS or bandwidth for a particular VVset is reached, HP 3PAR Priority Optimization delays SCSI I/O
request responses to the host for the volumes contained in that VVset. Every QoS rule maintains its own queue for delayed
I/Os. Only the I/O request descriptions are queued, not the actual data.

5
HP 3PAR Priority Optimization white paper: h20195.www2.hp.com/V2/GetPDF.aspx/4AA4-7604ENW.pdf

4
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

A controller nodes cache is not impacted because the QoS rules are applied before write I/O data hits the cache. When I/O
requests reside longer than 200 ms in a QoS queue, then addition incoming I/Os to the volumes in the VVset are rejected,
and a Queue Full (QFULL) response is returned to the host server using the volumes. QFULL prevents delayed I/O from
holding all system resources, such as host, HBA, and VV layer buffers and queues. When configured correctly, vSphere will
respond to the QFULL message appropriately and throttle I/O. The I/O delay and the eventual QFULL response apply to all
members of the VVset, even if only one of the VVs causes the QoS threshold breach.
When setting QoS rules, consider not just the current performance workloads, but also how those workloads change over
time. Some variables that affect QoS are:
r/w ratios
block size
sequential vs. random access patterns
cache hits

Priority Optimization test results are shown in the Test scenarios section of this paper. Priority Optimization is a feature
of HP 3PAR OS 3.1.2 MU2 and greater, and is supported on all HP 3PAR StoreServ Storage systems that are certified for
this version of 3PAR OS. This includes the 3PAR InServ F-Class and T-Class, as well as the 3PAR StoreServ 7000 and
10000 systems.
HP 3PAR Thin Provisioning 6
HP 3PAR StoreServ provides value-added thin functionality to increase return on investment and simplify management
and maintenance.
HP 3PAR Thin Provisioning eliminates the stranded storage dilemma plaguing many storage implementations and is used
for storage needs including RDM devices, because this enables the most cost-effective storage while reducing
administrative effort. VMware vSphere support for Microsoft clustering solutions requires raw device mapping (RDM)
for shared storage (VMware KB 1037959 7). When implementing HP 3PAR Thinly Provisioned Virtual Volumes (TPVVs),
administrators often ask whether additionally implementing vSphere Thin Provisioning for VMDK files is beneficial.
In general, both Thin Provisioning with 3PAR and vSphere accomplish the same end-result, albeit at different logical layers.
With VMware vSphere Thin Provisioning, administrators realize greater VM density at the virtual machine file system (VMFS)
layer at the cost of CPU and disk I/O overhead, as the volume is incrementally grown on the ESXi hosts. By implementing
HP 3PAR TPVVs, the same VM density levels are achieved; however, the thin provisioning CPU work is offloaded to the
HP 3PAR ASIC.
If the goal is to reduce storage costs, maximize storage usage, and maintain performance, then use HP 3PAR Thin
Provisioning Software to provision virtual volumes. If performance is not a concern, but overprovisioning VMs at the
VMFS layer is important, then implement both thin provisioning solutions. However, there are no additional storage
savings realized by using vSphere Thin Provisioning on top of HP 3PAR TPVVs. In fact, implementing both solutions adds
more management complexity to the environment.

Note:
HP recommends using only HP 3PAR Thin Provisioning, which reduces management complexity and enables greater
performance and efficiency.

6
HP 3PAR Thin Technologies, www8.hp.com/h20195/v2/GetDocument.aspx?docname=4AA3-8987ENW
7
VMware KB 1037959, Microsoft Clustering on VMware vSphere: Guidelines for Supported Configurations.

5
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

HP 3PAR Zero detection


Zero detection is a feature of HP 3PAR StoreServ, which allows writes of zeros to be recognized and not actually written to
disk, saving space and time. Zero detection also reclaims zeroed data space during copy operations, which may significantly
increase available space. It is advisable to enable zero detection on 3PAR TPVVs.
HP 3PAR Thin Conversion
HP 3PAR Thin Conversion Software is a feature that converts a fully provisioned volume to a TPVV. Volumes with large
amounts of allocated but unused space are converted to TPVVs that are much smaller than the original volume. During the
conversion process, allocated but unused space is discarded and the result is a TPVV that uses less space than the original
volume. Space is recovered by zeroing free space before the conversion process. The more free space there is, the greater
the realized cost savings. As production environments are consolidated with VMware vSphere, implement HP 3PAR Thin
Conversion. This helps to ensure that the consolidation efforts produce the expected cost savings.
HP 3PAR Thin Persistence Software
HP 3PAR Thin Persistence Software keeps TPVVs and read/write snapshots of TPVVs small by detecting pages of zeros
during data transfers and not allocating space for those pages. This feature works in real time and analyzes the data before
it is written to the source TPVV or read/write snapshot of the TPVV. Freed blocks of 16 KB of contiguous space are returned
to the source volume and freed blocks of 128 MB of contiguous space are returned to the common provisioning group (CPG)
for use by other volumes. Thin Copy Reclamation Software reclaims space when snapshots are deleted from a system. As
snapshots are deleted, the snapshot space is reclaimed and returned to the CPG free space. Deleted snapshot space can be
reclaimed from virtual copies, physical copies, or remote copies.
An example of thin persistence is when an administrator deletes a virtual machine disk (VMDK) file that existed on a 3PAR
TPVV, the array detects the delete operation (ESXi 5.0 and greater), and the zeroed space (SCSI write_same) is reclaimed.

Note:
Reclaiming space when snapshots are deleted with the Thin Copy Reclamation feature requires the Virtual Copy,
Remote Copy, or Thin Provisioning license.

HP 3PAR Adaptive Optimization storage tiering 8


HP 3PAR StoreServ provides a policy-driven, easy-to-use tiered storage solution that balances cost and performance to
meet service-level requirements, using HP 3PAR Adaptive Optimization software. This storage tiering solution provides
administrators with autonomic storage optimization that moves cold data to more economical, lower storage tiers. At the
same time this optimization moves hot or frequently accessed data to the systems highest tier, without disrupting users
or applications. Tiers can include SSDs, FC or Performance SAS HDDs, and Nearline (NL) HDDs.
HP 3PAR Adaptive Optimization (AO) operates on the region level. AO regions are logical fractions of the Logical Disks that
make up the virtual volumes. These regions are 128 MB for user data and 32 MB for the admin regions (most regions are
user data regions). Calculations in the AO access density table graphs are based on these smaller units (MB rather than GB),
which provide higher precision and accuracy during the migration calculations and movements.
AO configurations may contain two or three storage tiers (tiers numbered 0, 1, and 2), where tier 0 is the fastest, tier 1 is the
intermediate speed, and tier 2 is the slowest. Tiers are defined on a CPG basis, and all performance characteristics of the tier
are determined by the CPG setting, such as the RAID level, number of disks used, disk type, and speed.
AO uses a mode configuration setting to determine migration plans. AO modes are Performance, Balanced, and Cost. For
SQL Server usage, set Mode to Performance, which moves more data to the high performance tier.
AO calculates the access rate (I/O accesses/(GiB*min)) over the measurement interval (specified in the configuration) for all
the VV regions in the CPGs of a configuration. AO also calculates the average access rates for each individual CPG tier and
migrates data based on these key factors:
Space available in each tier
AO configuration mode
Performance of each region in comparison with the averages for each of the tiers.

8
HP 3PAR Adaptive Optimization Software, www8.hp.com/us/en/products/storage-software/product-detail.html?oid=5043778

6
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

AO is relatively easy to schedule and run. Use the intuitive user interface, shown in figure 2, to perform the following tasks:
Start and stop AO immediately or at a scheduled time.
Set a start time for the monitoring period, which precedes data migration and can run for up to seven days.
Optionally, set a stop time to end the monitoring period at any time before the actual migration. Monitoring during a
period of heavy activity, but migrating later when storage I/O is reduced, helps to minimize the effects of data migration
on critical work. Notice that the monitoring period can actually involve time in the past.
Specify a data migration period from 1 to 24 hours.
Execute a dry run to monitor and analyze data, without actually performing a migration.

Figure 2. AO scheduling GUI interface

Data/business protection
HP 3PAR StoreServ protects data with a flexible and efficient copy-on-write technology that maximizes both recovery point
objectives and recovery time objectives.
HP Storage Services 9
HP provides professional support of your HP 3PAR StoreServ environment, including proactive advice, performance
baselines, and deep performance analysis when you do not have the expertise in-house, or need an expert set of eyes to
ensure sound configuration decisions.

9
HP Storage Technology Services: www8.hp.com/us/en/business-services/it-services.html?compURI=1078604

7
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

HP ProLiant Servers
The servers used consisted of the industrys best-selling HP ProLiant BL460c Gen8 blade servers and
HP ProLiant BL460c Gen7 blade servers. 10 Designed for virtualization from the ground up, HP ProLiant Server blades
deliver more memory and superior networking capability for virtualized environments and compute-intensive
application workloads.
The HP c7000 blade enclosure provided the network and infrastructure for the blade servers. HP Virtual Connect FlexFabric
10Gb/24-port Modules are the simplest, most flexible way to connect virtualized server blades to data or storage networks.
VC FlexFabric modules eliminate up to 95% of network sprawl at the server edge, with one device that converges traffic
inside enclosures and directly connects to external LANs and SANs. 11

Microsoft Windows Server and SQL Server


Microsoft Windows Server Operating System
Microsoft Windows Server 2008 R2 is the base OS for the clustered SQL Server database environments. This was required
due to VMware support restrictions for Failover Clustering and Microsoft Cluster Services, described in the following section.
SQL Server AlwaysOn Failover Cluster Instances
As part of the SQL Server AlwaysOn offering, AlwaysOn Failover Cluster Instances leverage Windows Server Failover
Clustering (WSFC) functionality to provide local high availability through redundancy at the server-instance levela failover
cluster instance (FCI).
An FCI is a single instance of SQL Server that is installed across Windows Server Failover Clustering (WSFC) nodes and,
possibly, across multiple subnets. On the network, an FCI appears to be an instance of SQL Server running on a single
computer, but the FCI provides failover from one WSFC node to another if the current node becomes unavailable. 12
Microsoft SQL Server 2008 R2 and Microsoft SQL Server 2012
The MS SQL Server test environment included SQL Server 2008 R2 and SQL Server 2012.
Microsoft SQL Server is a database management and analysis system for e-commerce, line-of-business, and data
warehousing solutions. Microsoft SQL Server 2012 enables a cloud-ready information platform that helps organizations
unlock breakthrough insights across the organization, quickly build solutions, and extend data across on-premises and
public clouds, backed by capabilities for mission-critical confidence. 13
SQL Server 2012 Enterprise Edition includes all the advanced features of comparable database products in the base product
at no additional cost, significantly lowering the total cost of ownership (TCO) for enterprise customers. 14

10
HP BladeSystems: hp.com/go/bladesystem
11
HP Virtual Connect FlexFabric 10/24: h30094.www3.hp.com/product/sku/10276336
12
MSDN AlwaysOn FCIs: msdn.microsoft.com/en-us/library/ms189134.aspx
13
MS SQL Server, Mission Critical Confidence: microsoft.com/en-us/sqlserver/solutions-technologies/mission-critical-operations.aspx
14
MS SQL Server features in base product: microsoft.com/philippines/server/sqlserver/compare-competitor.aspx

8
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

VMware vSphere 5.1


VMware vSphere 5 is VMwares latest generation virtualization platform, providing the foundation for virtualization of the
most demanding applications. VMware vSphere 5 virtual machines can scale up to provide the compute requirements of
the largest recommended SQL Server instances. This allows for efficient, secure, and scalable use of todays powerful
ProLiant Server hardware.
VMware supports MS Failover Cluster Services within vSphere 5. 15 Figure 3 reflects the type of consolidation configuration
adopted in this paper, referred to as clustering across hosts. This configuration provides optimal redundancy and
consolidation of multiple clusters onto VMs hosted across physical hosts.
Figure 3. Multiple clusters of VMs across physical shared hosts

Running SQL Server 2012, SQL Server 2008 R2, and other consolidated solutions on VMware vSphere 5 VMs with HP servers
and storage offers the benefits of server consolidation, operational efficiency and high availability, configuration flexibility,
and the use of HP Insight Control integration with VMware vCenter to simplify management.
Converting a physical server to a VM is a convenient method of replacing aging hardware. Converting multiple servers to
VMs and consolidating them to fewer physical hosts creates significant savings in equipment, power, cooling, and real
estate. When sizing the host servers, confirm that they have at least the sum of the used resources on the physical servers
being converted to VMs. Additionally, provide resources to handle the hypervisor overhead.
For access to tools that can help in your sizing efforts, see the section Resources.

15
For Microsoft Cluster Service (MSCS) support on ESXi/ESX (1004617) refer to kb.vmware.com/kb/1004617

9
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

HP Insight Control Storage Module for VMware vCenter Server 16


This free module provides storage configuration and status information for mapping VMs, datastores, and hosts to LUNs on
HP storage arrays and supports provisioning on HP 3PAR storage systems. Provisioning tasks include creating, expanding,
and deleting a datastore, and creating or cloning a VM. Display of RDM information is available, but as of version 7.2.1,
creation of RDMs is not available.
Perform these tasks using the HP Insight Control Storage Module for vCenter (HPIC4VC):
Monitor the status and health of HP storage arrays.
Understand the relationships between physical storage and virtual objects.
VM to datastore mapping and VM to raw device mapping
Datastore to physical device mapping and datastore to VM mapping
RDM to physical device mapping and RDM to VM mapping
Manage LUN and volume connections from VMs, datastores, and hosts (ESXi servers) to HP storage arrays.
Take advantage of VASA storage API features

Figure 4 shows a portion of the information displayed in the VMs To Volumes information screenshot. Columns of
information can be hidden or displayed to suite specific needs. Figure 4 shows a portion of the useful information collected
by the HP Insight Control module, and displayed in one place. A horizontal scrollbar is used to display several pages of VM to
Volume end-to-end information.
Figure 4. HP Insight Control Storage Module showing a portion of VMs To Volumes information display

Test environment
Figure 4 shows the hardware layout, including the HP c7000 Blade enclosure front view and the VMware virtual machines
that host the MS Windows Failover Clustering cluster and SQL Server instances. HP c7000 VC FlexFabric 10Gb/24-port
modules provide the network resources used for vSphere vSwitches and dvSwitches. Four HP B-Series 8/24c SAN Switches
provide storage connectivity.

16
HP Insight Control Storage Module documentation: h18004.www1.hp.com/products/servers/management/unified/infolibraryicv.html
HP Insight Control Storage Module download: h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPVPR

10
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 5. Solution environment hardware layout

3PAR StoreServ Storage


HP provides reference information to help with the HP 3PAR StoreServ implementation in VMware vSphere and SQL Server
environments, including those shown in table 1.
Table 1. HP StoreServ Storage implementation reference information

HP 3PAR StoreServ h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&contentType=


Implementation Guides SupportManual&prodTypeId=18964&prodSeriesId=5044394&docIndexId=64179#2

HP 3PAR VMware ESX


bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c03290624/c03290624.pdf
Implementation Guide

HP 3PAR Priority Optimization


h20195.www2.hp.com/V2/GetPDF.aspx/4AA4-7604ENW.pdf
white paper

Adaptive Optimization for


h20195.www2.hp.com/V2/GetPDF.aspx/4AA4-0867ENW.pdf
HP 3PAR StoreServ Storage

Automated Tiering in Microsoft


SQL Server Environments with h20195.www2.hp.com/V2/GetPDF.aspx/4AA4-1998ENW.pdf
HP 3PAR Arrays

11
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Table 2 shows at a high level, select 3PAR Storage configuration information.


Table 2. HP 3PAR 7200 configuration information

Item Description

3PAR OS version 3.1.2 (MU2)

Host ports12 total 4 built in FC host ports


8 additional FC host ports (optional)

Number of drives/devices 8x SFF 200 GB SAS SSD


64x SFF 10k rpm 450 GB SAS HDD
24x LFF 7.2k rpm 2 TB NL SAS HDD

Number of drive chassis and type5 total 1x 2U controller with 24 SFF slots
3x 2U 24 SFF slots
1x 4U 24 LFF slots

HP 3PAR Priority Optimization license QoS enablement license

HP 3PAR Thin Provisioning license Thin Provisioning enablement license

HP 3PAR Dynamic Optimization license Full volume (or LUN) migration license

HP 3PAR Adaptive Optimization license Sub volume (or LUN) region migration license

HP 3PAR Provisioning
This paper is not a sizing guide, nor does it suggest the maximum capabilities of the equipment used.
One benefit of virtual environments is they are generally more forgiving of sizing issues. With virtualization, VMs can be
created, copied, migrated, and modified. Likewise, the HP 3PAR StoreServ, with thin provisioning technology built in,
can present over provisioned LUNs that are completely redundant and simplify administration. This environment used
3PAR Thinly Provisioned Virtual Volumes (TPVVs) for SQL Server data and log LUNs to simplify administration. Thin
provisioned volumes provide maximum flexibility, but if capacity usage will not be growing, then thick provisioned volumes
will be adequate. Thin VLUNs can be over provisioned at the Windows OS level, so precise sizing of the LUN is not needed.
LUN provisioning with HP 3PAR StoreServ is relatively straightforward for those familiar with vSphere. Use either the
HP 3PAR Management Console or the HP Insight Control Storage Module to create vSphere datastores. Use the HP 3PAR
Management Console to create the needed RDMs.
Table 2 shows initial LUN configurations, which were predominately thin provisioned. Volumes used were of type RAID 1 and
RAID 5, with RAID 5 being preferred for maximum flexibility and value. RAID 5 was selected for the majority of use cases.
The HP 3PAR StoreServ controllers will buffer the write I/Os in cache, providing quick response times as long as the back
end disks are able to keep up with the asynchronous cache flushes. If back end disk I/O becomes too heavy for the disks to
handle, then several options are available.
If additional storage capacity was planned, then add disks to the CPG. With HP 3PAR StoreServ wide striping of data
across all disks in a CPG, additional disks should provide additional backend performance.
Consider using HP 3PAR Priority Optimization to limit host I/O and throughput of lower tier I/O workloads, so array
performance is maintained for critical tier 1 workloads.
Create a RAID 1 CPG and move VVs with the highest write workloads to the RAID 1 CPG.
If SSDs are available, and the complete VV with the highest tier 1 I/O demand can reside on SSD storage, then create an
SSD CPG and move the VV to SSD storage.

12
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

If the regions of highest I/O workload are intense enough, and dense enough (very high I/O in a small amount of space),
and the I/O hot spots do not deviate drastically over time, then use 3PAR Adaptive Optimization to find and move those
intense I/O regions to SSDs.
Use a combination of the options.

Use RAID 6 for NL storage, which was used in some AO configurations.


Table 3. 3PAR LUN provisioning table

LUN Usage Primary CPG 17 Initial RAID Thick/Thin Size (GB) Comment

Quorum Disk and


FC 1 Thick 0.5 Pre-allocated capacity.
MSDTC

Thinly allocated for maximum flexibility


Data FC 5 Thin 2000
and cost savings.

Thinly allocated for maximum flexibility


and cost savings.
Log FC 5 Thin 2000 Log LUNs were presented to the VMs, and
Log file sizes were limited using Database
Properties settings.

Thinly allocated for maximum flexibility


Boot FC 5 Thin 2000
and cost savings.

Thinly allocated for maximum flexibility


Tempdb FC 1 Thin 2000
and cost savings.

Note:
Consider references to FC HDDs or Performance SAS HDDs to be synonymous.

Moving a VV from a RAID 5 CPG to a RAID 1 CPG involves changing or tuning a Virtual Volumes properties. Tunable Virtual
Volume characteristics include RAID level, CPG, and thick/thin characteristic. Figure 6 shows how to easily tune a
datastore LUN containing vmdk boot files from RAID 5 to a RAID 1.

17
Primary CPG is the one from which new data is allocation from. This is important for Thinly Provisioned Virtual Volumes from CPGs that
are members of an Adaptive Optimization configuration.

13
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 6. Tuning a Virtual Volume from RAID 5 to RAID 1

Selecting storage media can be difficult. The following use cases can help you decide which storage media to use for
SQL Server environments.
1. Capacity is important, while performance is not. This is likely not a SQL Server use case.
2. Capacity and performance are both important.
3. Capacity is not important, while performance is important.

For the first use case, in which performance is not important, use NL devices. This is likely not a good solution for any kind of
SQL Server consolidation environment.
In the second use case, both capacity and performance are important. This will likely be the need for the majority of
consolidation environments. Always size for IOPs first. To meet SQL Server performance requirements, spindle count is
important. Use large-capacity Fast Class storage to meet performance requirements. If additional capacity is needed, add
small NL drives, but no more than 25% of the total capacity. Adaptive Optimization can help place little-used data onto NL
devices, but data accessed from NL devices will have a performance penalty. If data is accessed evenly over the full capacity,
then do not use NL devices.

14
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Consider using several AO configurations, depending on the SQL Server needs. For tier 2 and 3 database needs, NL and FC
tiered storage configurations using AO will work for data with good localized access patterns that change little over time.
For tier 1 database needs, a 2 (or possibly 3) tier AO solution may work well.
In the third use case, performance is paramount. For SQL Server consolidation environments, this is the most difficult
environment to size when cost is also a concern. In this case, capacity is not important, but performance is, so do not use NL
devices. For very small capacity, high performance needs, an SSD-only solution is an excellent choice. SSD solutions provide
extremely high performance with minimal power and cooling, which is important for some use cases.
When HDDs are used with SSDs and AO, follow the AO considerations and guidelines discussed previously and in the
HP 3PAR Adaptive Optimization section of this paper. The HP 3PAR StoreServ 7000 has controllers that can run with a set
of 8 SSDs and still have performance head room, so running a 2 tier AO solution is a good option for this third use case if the
I/O usage profile is truly hot enough, localized enough, and changes little over time.
If possible, start with a smaller configuration and analyze data access patterns before implementing a tiered solution with
AO. This allows sizing of the tiers to match the solution needs. A safe starting point is to size the storage solution initially
with Fast Class HDDs and then add tiers based on actual use case data.

HP 3PAR Priority Optimization (QoS functionality)


Priority Optimization QoS rules operate on sets of Virtual Volumes called VVsets. A VVset is a collection of virtual volumes.
VVsets help to simplify volume administration and reduce human error.
HP 3PAR StoreServ uses VVsets for several configuration purposes, including volume mapping to hosts during the creation
of VLUNs, and for Priority Optimization configurations. Volume sets containing the same Virtual Volumes do not affect each
other, but are used to simplify configuration steps. Table 4 shows how the same Virtual Volumes existed in different virtual
volume sets during testing.
Table 4. Example usage of volume sets for Priority Optimization configurations

Virtual Volume Set Virtual Volumes in the set Usage

vs_Data1 Data1.0, Data1.1 Used to create VLUNs by mapping to a Host Set.

vs_QoS1 Data1.0 Used for QoS configuration.

vs_Qos2 Data1.1 Used for QoS configuration.

Use Priority Optimization to limit the potential performance impact a Tier 2 or Tier 3 SQL Server database might have on a
Tier 1 database environment. This also applies to other lower priority workloads, such as non-production environments,
and test environments that might be using the shared storage. When setting QoS rules, start conservatively and set
limits high.
Table 5 suggests when to apply the QoS configuration. Creating a separate volume set for each VV allows fine-tuning of QoS
configurations on an individual VV basis. Grouping multiple VVs into a single VVset provides a simple way to set QoS for all
those VVs with a single configuration set, but this might not be practical. QoS settings for a VVset apply globally, so one VV
might use more resources than anticipated and starve the other VV in the set. If you want to change the rule of an individual
VV in a set, either create a new VVset with that VV, or relocate the VV into its own VVset. Enabled rules for QoS VVsets are
applied using wired-OR logic, so the first QoS limit reached takes precedence.

15
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Table 5. Example usage of volume sets for Priority Optimization configurations

Priority Optimization
Usage Comment
Usage

Quorum Disk and


No Only to limit run-away processes or anomalous performance usage.
MSDTC

Data (Tier 1
No Only to limit run-away processes or anomalous performance usage.
applications)

Data (Tier 2
Mixed Mild limits based on SLAs so Tier 1 performance is not compromised.
applications)

Data (Tier 3
Limit Aggressive limits based on SLAs so Tier 1 performance is not compromised.
applications)

Log No Only to limit run-away processes or anomalous performance usage.

Boot No Only to limit run-away processes or anomalous performance usage.

Tempdb No Only to limit run-away processes or anomalous performance usage.

When the special QoS VVset called System or sys: all_others, is used, all VVs not in another enabled QoS VVset will be
included in this catch-all category. HP recommends that a named QoS rule for a workload be enabled before starting the
workload if its I/O profile is known. This way, the workload will not be governed by the all_others rule whose IOPS and
bandwidth limit may be far too small. HP recommends that explicit QoS rules be defined with sensible limits for IOPS and
bandwidth on all VVsets used in Tier 1 applications. The all_others rule should always be defined to control I/O to
applications on the system without an explicit enabled QoS rule, to prevent them from affecting Tier 1 applications.

HP does not encourage the use of many QoS rules applied to the same VV. For this reason, a VV may be a member of only
up to eight QoS enabled VVsets. When a VV is a member of several QoS VVsets, the first VVset to reach a configured rule
limit is the rule that is applied to the VV. The maximum number of active QoS rules per an array is limited only by the
number of VVs times eight.
Table 6. Example usage of volume sets for Priority Optimization configurations

QoS rule examples Comment

Gold App1 A Single QoS VVset for all Tier 1 applications

Sys:all_others A Single QoS VVset for all other applications

Gold App1,, Gold AppX Separate QoS VVsets for each Tier 1 application

Sys:all_others A Single QoS VVset for all other applications

Gold App1,, Gold AppX Separate QoS VVsets for each Tier 1 application

Silver App1,, Silver AppX Separate QoS VVsets for each Tier 2 application

Sys:all_others A Single QoS VVset for all other applications

Gold App1,, Gold AppX Separate QoS VVsets for each Tier 1 application

Silver App1,, Silver AppX Separate QoS VVsets for each Tier 2 application

Bronze App1,, Bronze AppX Separate QoS VVsets for each Tier 3 application

Sys:all_others A Single QoS VVset to capture any forgotten VVs

16
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 7 shows a powerful level of control provided by QoS-nested rules. These nested rules functioned very well and
provide for overprovisioning of individual SQL Server databases or LUNs while controlling overall limits. As shown in the
figure, Tenant #1 is capped at 20k IOPs overall, while the three individual applications under Tenant #1 are capped at 10k
each. Individual applications 1, 2, and 3 can each peak to 10k IOPs, but not at the same time, since the Tenant #1 rule would
limit the I/O to 20k overall. The total Front-End IOPs are limited to 70k.
Figure 7. Overprovisioning with nested rules configured

Consult the HP 3PAR Priority Optimization white paper 18 for additional technical and usage information for the QoS product.
HP 3PAR Persistent Ports
The Persistent Ports (or virtual ports) feature minimizes I/O disruption during an HP 3PAR StoreServ online upgrade or
node-down event. HP 3PAR Persistent Ports functionality, provided in HP 3PAR OS 3.1.2, performs upgrades on a
node-by-node basis, transparent to host multipathing software, avoiding any path failovers. Persistent Ports also
protects applications against any possible outage resulting from a controller node failure.
Regardless of the cause of a controller node failure (upgrades, maintenance, or power failure), Persistent Ports enables a
seamless failover of all the ports on that affected node to their predefined ports on the Partner Node. From a host
standpoint, connections to HP 3PAR StoreServ continue uninterrupted, with all I/O routed through a different port on
HP 3PAR StoreServ. This helps to achieve an uninterrupted service level for customer applications running on
HP 3PAR StoreServ.
Persistent Ports technology leverages SAN fabric NPIV functionality for transparent migration of a servers connections
to a predefined partner port on the HP 3PAR StoreServ during software upgrades. A predefined, host-facing port on the
HP 3PAR StoreServ assumes the Identity of the host facing ports for the node being upgraded.
As a best practice for SQL Server environments, configure HP 3PAR Persistent Ports to maintain storage connectivity and I/O
continuity without having to endure multipath failover and failback disturbances. 19 This achieves smoother, consistent
solution functionality during maintenance and component failure situations.

18
HP 3PAR Priority Optimization white paper, document number: h20195.www2.hp.com/V2/GetPDF.aspx/4AA4-7604ENW.pdf
19
HP 3PAR VMware ESX Implementation Guide, bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c03290624/c03290624.pdf

17
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

For proper functionality of Persistent Ports, enable NPIV on the fabric switches if not already enabled, and verify the correct
zoning of array ports to the host. For additional information, refer to the HP 3PAR StoreServ Persistent Port white paper. 20
For Brocade fabrics, use the portcfgshow command to confirm the default NPIV functionality for the fabric switch ports used
by 3PAR storage.
For the HP 3PAR StoreServ, use the showport command, to find the partner port. Use the controlport
[failover|failback] N:S:P command to test array port failover and failback.

Example of port failover/failback functionality confirmation

9902230 cli% showport 0:1:1 1:1:1


N:S:P Mode State ----Node_WWN---- -Port_WWN/HW_Addr- Type Protocol Label Partner FailoverState
0:1:1 target ready 2FF70002AC0008B6 20110002AC0008B6 host FC - 1:1:1 none
1:1:1 target ready 2FF70002AC0008B6 21110002AC0008B6 host FC - 0:1:1 none
------------------------------------------------------------------------------------------------
9902230 cli%
9902230 cli% controlport failover 0:1:1
Are you sure you want to run controlport failover on port 0:1:1?
select q=quit y=yes n=no: y
9902230 cli%
9902230 cli% showport 0:1:1 1:1:1
N:S:P Mode State ----Node_WWN---- -Port_WWN/HW_Addr- Type Protocol Label Partner FailoverState
0:1:1 target offline 2FF70002AC0008B6 20110002AC0008B6 free FC - 1:1:1 failed_over
1:1:1 target ready 2FF70002AC0008B6 21110002AC0008B6 host FC - 0:1:1 active
--------------------------------------------------------------------------------------------------
9902230 cli%
9902230 cli% controlport failback 0:1:1
Are you sure you want to run controlport failback on port 0:1:1?
select q=quit y=yes n=no: y
9902230 cli%
9902230 cli% showport 0:1:1 1:1:1
N:S:P Mode State ----Node_WWN---- -Port_WWN/HW_Addr- Type Protocol Label Partner FailoverState
0:1:1 target ready 2FF70002AC0008B6 20110002AC0008B6 free FC - 1:1:1 none
1:1:1 target ready 2FF70002AC0008B6 21110002AC0008B6 host FC - 0:1:1 none

------------------------------------------------------------------------------------------------

CPG Growth Increment


The CPG growth increment parameter specifies the increment by which a CPGs allocated space grows, such as when
Thinly-Provisioned Virtual Volumes (TPVVs) grow. The growth increment is the unit of storage space by which the system
creates and allocates logical disks (LDs) to a CPG when the volumes in that CPG require additional resources. 21

20
HP 3PAR StoreServ Persistent Ports white paper, hp.com/h20195/v2/GetPDF.aspx%2F4AA4-4545ENW.pdf
21
HP 3PAR StoreServ Storage Concepts Guide,
h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&contentType=SupportManual&prodTypeId=12169
&prodSeriesId=5335712

18
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

To improve the performance of HP 3PAR 7200 for SQL Server environments, the growth increment should be the size of a
1024 MB stripe that spans all the physical disks in the CPG. The optimal growth increment depends on the RAID level, the
number of controller pairs (1 controller pair for the 7200), and the number of disks in the CPG. Calculate the optimal growth
increment as follows:
(the number of physical disks in the CPG) x (1024 MB) x (number of Data disks in the RAID set) / (number of disks in the
RAID set).
For SSD, it is best to set the Growth Increment based on the number of nodes in the system. On 2-node systems, set the
value to 8 GB, on a 4-node system to 16 GB, on a 6-node system to 24 GB, and on an 8-node system to 32 GB
Example with RAID 5:
Number of 10k rpm disks in the CPG = 64
Four shelves or cages contain the FC disks. This includes the controller shelf that also contains disks; therefore RAID 5
(3D + 1P) with cage redundancy is used (3 Data disks per a RAID set of 4 disks). If five shelves had been used to contain
the 10k disks, then RAID 5 (4D + 1P) could be used and still maintain cage level redundancy.
Optimal Growth Increment for this RAID 5 CPG =
(64 disks) x (1024 MB) x (3 Data disks in the RAID set) / (4 disks in the RAID set)
= 49152 MB or 48 GB
Example with RAID 1:
Use the same 64 disks as previously described (multiple CPGs can use the same disks), the same four shelves, and a
RAID 1 configuration with a RAID set of 2 disks.
Optimal Growth Increment for this RAID 1 CPG =
(64 disks) x (1024 MB) x (1 Data disk in the RAID set) / (2 disks in the RAID set)
= 32 GB
Set the growth increment using either the HP 3PAR CLI or the HP 3PAR Management Console (MC).
Adding disks to a CPG
While adding disks to a CPG does not add overhead in and of itself, subsequent CPG data load balancing across the newly
added disks may impact performance. To minimize the performance impact of load balancing operations for SQL Server
environments, it is best to add as many disks as possible, and in multiples that use all disk chassis used by the CPG.
For example, if a CPG spans four disk chassis, then add disks evenly to all four chassis at the same time. For the
HP 3PAR StoreServ 7000, this would mean adding a minimum of a pair of disks to each of the four chassis. However, if
economically feasible, it would be better to add twice that many disks at a time, which would reduce the load balancing
influence by spreading the load across a greater number of spindles.
HP 3PAR StoreServ and VMware vSphere hardware-accelerated block zeroing and zero detection
VMware has several file system configuration options. For the virtual servers that will host SQL Server or other applications
in the shared environment where VMFS will be implemented, use Eager-Zeroed Thick (EZT) virtual disks. Eager Zeroed disks
provide performance and security benefits over Lazy-Zeroed-Thick disks, whose blocks are zeroed on demand the first time
a block has data written to it. When using the EZT format during virtual disk creation, all the space is pre-allocated and
pre-zeroed from the vSphere perspective. This would normally be both time-consuming and resource-intensive; however,
HP 3PAR StoreServ avoids this issue. The vSphere VAAI block-zeroing primitive uses the SCSI WRITE_SAME command to
write zeros, which allows HP 3PAR StoreServ to keep volumes thin while speeding up the provisioning of VMs.

Note:
HP recommends that VMFS volumes should use EZT along with Zero Detect to maximize the performance and space
savings in TPVVs.

19
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Enable HP 3PAR zero detection with HP 3PAR Management Console by using the Advanced options checkbox in either the
Create Virtual Volume wizard or the Edit Virtual Volume wizard as shown in figure 8.
HP 3PAR zero detect is also effective in extending thin provisioning to the database by keeping allocated database storage
thin due to the zero fill nature of SQL Server data files.
Figure 8. Zero detect Advanced options check box

HP 3PAR Adaptive Optimization


An HP 3PAR StoreServ storage device may have multiple AO configurations. Each configuration should correspond to a
related set of hosts or applications that require optimization. Use separate AO configurations to keep various solution
environment migration plans from adversely affecting each other. If two different environments with data in the same CPG
have important workloads running at different times during the month, then it will be difficult to create a usable AO
monitoring schedule that provides beneficial migration plans. The monitoring schedule needs to encompass the time that
each important workload is running, which might be difficult to create. Depending on the situation, it might be better to
create separate CPGs and AO configurations for the separate environments, which will monitor the important workload for
each environment at the most efficient scheduled time. This will allow AO to operate on one environment without adversely
affecting the other.
Adaptive Optimization considerations for SQL Server environment:
FC (or SAS performance) HDDs provide about 3 times the performance of NL devices. For a FC/NL tiered configuration,
verify that the SQL Server performance goals are met before adding NL disks. Add additional faster spindles if
performance goals are not being met.
Do not count NL disks towards performance goals. NL disks are better suited to storing relatively inactive data. Add NL
disks and allow AO to monitor and migrate data for optimal database performance.
Ensure that the CPG from which the VV are provisioned (the default tier) is sized to handle basic solution performance and
capacity needs, because newly provisioned capacity will come from the default tier.
Keep Temp DB from migrating by provisioning it from a CPG that is not a member of an AO configuration.
Multiple CPGs can use the same devicesthis is a normal practice for simplified administration.
Use either the HP 3PAR System Reporter application or the HP 3PAR Management Console Performance & Reports
feature to analyze the workload profile and characteristics of your SQL Server database.
Microsofts SQLIO or SQLIOSIM will not work well with AO. While these tools may create an I/O load and confirm SQL
Server compatibility with an array or storage system, they will not simulate real-life, dynamic, non-uniform SQL Server
database workloads.
Make sure that your database workload characteristic is dynamic over the storage address space and that the workload is
intense enough to benefit from tiered storage. See figure 8 for an example of a dynamic SQL Server workload graph
captured from the HP 3PAR Management Console.

20
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

The expectation for a successful AO implementation is that SQL Server data access patterns will remain relatively the
same over time with a high degree of locality. If data access patterns are constantly moving over a large area, with no
real pattern, then AO is less effective.
Scheduled AO monitoring and migration cycles help maintain performance for slowly changing access patterns. AO has a
powerful scheduling interface. AO schedules can be as simple as a particular weekly period of time, or as complex as
specific minutes and hours, during specific days and months.
Plan for migrations to occur during non-peak usage times, because any I/O to the disks affects performance as expected
and migrations do incur disk I/Os.
Use the AO Performance mode setting for SQL Server.
Create VVs from the FC CPG tier, so new space allocations come from a good performance tier by default.
HP Storage Services can provide professional support for your HP 3PAR StoreServ environment, including proactive
advice, performance baselines, and deep performance analysis when you do not have the expertise in house, or need
an expert set of eyes to help ensure sound configuration decisions.

Figure 9 shows an HP 3PAR Management Console AO Region I/O Density report, based on 12 hours of data collected from a
single SQL Server instance with two active databases. Each database had its own HP 3PAR StoreServ data LUN. Logs were
located on separate LUNs, but not included in the AO configuration. One database had about 3 times the workload of the
other. They were both active at the same time, with an average response time of 15 ms.
The charts show the same regions from two different perspectivesSpace and I/O rate. The figure shows the Space to I/O
Density chart on the left and the I/O rate to I/O Density chart on the right. The combined charts show lots of space with little
I/O, and a little space with lots of I/O. This workload is a good candidate for AO if the I/O profile remains relatively stable over
time. If the lots of space with little I/O area remains relatively the same, then AO has already found those regions and can
move them to more economical storage, such as NL devices, freeing up the more expensive space for hotter data.
Figure 9. I/O Rate Density graphs of SQL Server workload that may benefit from 3PAR Adaptive Optimization

HP ProLiant Servers
The vSphere hosts are ProLiant BL460c Gen8 blade servers. The hosts contain the consolidated, virtualized
Windows Server 2008 R2 Failover Cluster Services environments.
HP ProLiant BL460c Gen7 blade servers host infrastructure applications and services. Examples of infrastructure items
include VMware vCenter Server, HP Systems Insight Control, Windows Active Directory, DNS services, and HP 3PAR
Management Client and Command Line Interface applications.

21
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Table 7 lists pertinent server information for this paper.


Table 7. HP c7000 BL460c Gen8 blade server hardware (per server)

Server item Quantity Description

Processor type Two Intel Xeon Processors 8-Core


E5-2658 2100 MHz, 20 MB, 95W, DDR3-12800

Memory 192 GB Twelve 16 GB DIMMs


Dual Rank x4 PC3-12800R (DDR3-1600) Registered DIMMS at 1.5V

Internal storage Two 146 GB Boot disks

Network (FlexibleLOM) 554FLB HP FlexFabric 10Gb 2-port 554FLB FlexibleLOM

Recommendation:
use the HP-provided VMware ESXi media when installing vSphere on ProLiant servers, this media includes all of the drivers
required for the installation.

MS SQL Server 2008 R2 and MS SQL Server 2012 guidance


Microsoft Assessment and Planning Toolkit

The Microsoft Assessment and Planning (MAP) toolkit assists in evaluating existing SQL Server workloads to understand the
current SQL Server sizing requirements and ease migration planning. Use the MAP tool as follows:
With planning and growth estimates for new SQL Server 2012 workloads, to help form the total sizing requirements for
the array.
To help inventory different environments for planning, such as VMware, MySQL, Oracle, and servers running various
versions of the Windows Server operating system.

MS AlwaysOn Failover Cluster Instances (FCI) 22


An Always On Failover Cluster Instance is a SQL Server instance installed across nodes in a Windows Server Failover
Clustering (WSFC) cluster. In the event of a failover, the WSFC service transfers ownership of instance resources to a
designated failover node. The SQL Server instance is then re-started on the failover node, and databases are recovered.
At any given moment, only a single node in the cluster hosts the FCI and underlying resources. FCI nodes existing in the
same datacenter provide local High Availability (HA). FCI can provide HA and DR (Disaster Recovery) by having nodes in a
remote data center and combining the solution with storage replication.
Plan which VMs will host the cluster nodes when consolidating the SQL Server environments onto the vSphere-hosted,
MS Failover Clustering solution.
Create a load-balancing plan to spread the SQL Server hardware requirements evenly over the vSphere hosts.
Move SQL Server resources to the cluster nodes based on the plan.
Configure the cluster failover options to prefer a particular node (VM), which reflects the node preference plan.

Normally, failback of cluster resources is de-selected; however, for load balancing across the vSphere hosts, failback was
set to Immediately. This is set based on site policies, but if failback is de-selected, then plan for manual load balancing
after a recovery operation.

Distributed Transaction Coordinator (MSDTC) clustered


Installing SQL Server into the cluster without a clustered Distributed Transaction Coordinator (MSDTC) service present
generates a Setup Support Rules Warning. The Planning, System Configuration Checker does not provide a warning of this
before the installation. Before installing SQL Server, choose and implement the MSDTC service method that best meets your
needs. This solution used a single DTC per SQL Server instance in each cluster.

22
MS WSFC with SQL Server, msdn.microsoft.com/en-us/library/hh270278.aspx

22
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

SQL Server cache tuning


In this section, there was a single SQL Server 2012 instance, with two databases totaling 1,088 GB of space usage, excluding
logs. Actual data files space usage was approximately 85%. I/O load was a standard brokerage account type OLTP workload.
The only change made here was the tuning of SQL Server max server memory being set to 8, 12, 20, 28, and 48 GB
(x-axis of graph). Data came from Perfmon counters. Workload settings were not changed during testing.
Data in figure 10 is normalized, displaying data in a single graph with a single vertical axis.
Failing to provide adequate cache for SQL Server can have severe consequences for storage performance. Figure 10 shows
the dramatic effect that tuning server memory usage can have on storage I/O and SQL Server effective work.
When available SQL Server memory is inadequate, the result can be significantly reduced real work (reduced
transactions/second or Batch Requests/sec). In this situation, SQL Server must resort to fetching the same data
from disk multiple times, which wastes valuable storage resources.
Not all storage I/O is good I/O. Fetching the same data from storage multiple times puts a drain on storage I/O capabilities
and robs those resources from other users. Storage I/O requests should be for data that is too expensive to reside in
server cache, and storage should provide that data as quickly as possible.
At 8 GB of max server memory, reads account for 97% of the data transferred to/from storage. At 28 GB of
max server memory reads account for 85% of the data transferred to/from storage, while accomplishing 144%
more real work (SQL Server Transactions/sec). Another benefit in tuning the server memory variable to 28 GB is that
total I/Os to storage dropped by 30%.
There might be a point of diminishing returns. Test your environment for usage patterns. Adding additional server cache
does not guarantee the same return on investment; at some point, it is better to let the I/O go to disk.
Increasing max server memory from 8 GB to 28 GB provided a reported increase of SQL Server Transactions/sec
of 144%. Continuing to increase the max server memory from 28 GB to 48 GB only provided a 19% increase in
transactions/sec, which is not as efficient a use of server memory resources.

HP 3PAR StoreServ Storage is more than able to handle the I/O needs of your virtual consolidated environment when sized
correctly, which includes tuning the environment so that storage is used to service the hard I/Os that cannot be easily
handled by server cache.
Figure 10. Storage I/O during SQL Server memory tuning

23
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

VMware vSphere for Failover Clustering 23


VMware vSphere 5.1 is the virtualization platform used. Table 8 lists some recommendations for configuration and setup.
Table 8. Storage considerations for MS Failover Clustering and MS Cluster Service

Item Comment

Shared RDM storage Storage must be on a SAN


(HP 3PAR FC connect meets this requirement)

FC SAN Zoning A single initiator to multiple targets per zone


(shared HP FC storage environment for simplified management)

Eager Zeroed Thick (EZT) for 3PAR LUNs EagerZeroedThick format should be used for all vSphere VMSF disks using
3PAR storage (not applicable for RDMs)

Multipath Path Policy = Fixed Fixed is required for volumes used with MS Cluster Service.
Manually configure the Preferred path for evenly distributed path usage.

RDM Compatibility Mode Physical required for sharing between VMs on any server

SCSI Controller for RDMs not 0 Use SCSI 1 for example, not the default SCSI 0

SCSI Bus Sharing = Physical Allows sharing between VM on any server

Storage I/O Control (SIOC) Not supported for RDMs

Cluster Features HA = Off


DRS = ON

vSphere DRS VM-Host Affinity rules used to keep VMs on separate hosts

vSphere thin provisioning block space reclamation (UNMAP) 24


Starting with ESXi 5.0 update 1, UNMAP functionality (called space reclamation) is turned off by default. Space reclamation
is a garbage collection process that helps storage efficiently reclaim deleted space in coordination with vSphere 5.0;
however, it can cause problems for some storage, but not for HP 3PAR StoreServ. Some arrays have problems with the
implementation of UNMAP that caused vSphere operations to time out, which is why VMware made UNMAP a manual
process. HP 3PAR StoreServ supports UNMAP functionality for thinly provisioned volumes. Enabling the space reclamation
feature in ESXi will help ensure that thin solutions stay thin.
MS Windows Server 2012 supports this feature; however, vSphere does not currently support Windows Server 2012 with
failover cluster service. MS Windows Server 2008 R2 does not support the UNMAP functionality without the use of
sdelete or some other workaround.

23
Setup for Failover Clustering and Microsoft Cluster Service: pubs.vmware.com/vsphere-51/topic/com.vmware.ICbase/PDF/vsphere-esxi-
vcenter-server-51-setup-mscs.pdf
24
HP 3PAR VMware ESX Implementation Guide, Working with 3PAR StoreServ and VMware UNMAP to stay thin:
hp.com/bc/docs/support/SupportManual/c03290624/c03290624.pdf

24
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

For additional vSphere information, refer to KB 2014849, Using vmkfstools to reclaim VMFS deleted blocks on
thin-provisioned LUNs.
ESXi handling of SCSI Queue Full and Busy messages from 3PAR StoreServ
Configure ESXi SCSI Queue Full and Busy message handling on a per LUN basis per the implementation guide. 25 This setting
is important for Priority Optimization (QoS) functionality. Set both the QFullSampleSize and the QFullThreshold values.
HP recommends following the implementation guide for Queue Full and Busy message handling whether or not QoS
is implemented.
ESXi Perennially-Reserved RDM volumes with MSCS
Set perennially-reserved to true. Failure to do so may result in extremely long boot times for cluster reserved RDM devices.
Refer to KB 1016106 26 for implementation instructions.

Key findings and test scenarios


The complete environment included several separate failover cluster instances running separate workloads of
varying intensities.

SQL Server workloads used


Testing used two different SQL Server workload types and simulation tools. One simulated a decision support type of
workload that reads and examines large amounts of data. The other workload simulated a brokerage accounts type of
OLTP workload. No workload characteristics were altered other than global user and global intensity settings.

Single VM failure with SQL Server


Microsoft Failover Clustering clusters with SQL Server 2008 R2 functioned as expected whether or not an SQL Server
workload was running. Moving an SQL Server instance from one cluster node to another functioned as expected with the
resource going off-line on one node and then coming online on the other, whether the node was virtualized or not.
Killing the cluster node by powering off the VM simulated a crash of the vSphere host, and again, the SQL Server instance
came up on the other cluster node as expected with no problems. Killing a server with a running database produces a
crash-consistent database as expected. MS SQL Server is able to recover from such situations.

25
HP 3PAR VMware ESX Implementation Guide, ESX/ESXi Handling SCSI Queue Full and Busy Messages from the
HP 3PAR StoreServ Storage Array
26
VMware KB 1016106: kb.vmware.com/kb/1016106

25
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 11 shows the use case environment.


Figure 11. vSphere hosting MS Failover Clustering

HP 3PAR Dynamic Optimization


Dynamic Optimization (DO) allows for easy migration of whole volumes from one CPG to another, as well as changes in CPG
configurations such as RAID configuration. DO provides an easy and powerful means of online tuning of HP 3PAR StoreServ
I/O performance. DO was used during testing, for example, by investigating the benefits of HP 3PAR StoreServ write cache
for Log LUNs by moving Logs from faster 10k rpm devices to NL devices. RAID levels were changed during testing to see the
effect on I/O.
The effect of write cache was found to increase performance for Log LUNs during normal database write operations,
because cache provides the quick response times needed. Using NL devices for Log LUNs can be a problem when Logs are
read. NL devices are slow, and the cache effect enjoyed during writes, does not help during read operations. Reading Log
data from an NL device is often slower than SQL Server application service levels require.
The effect of RAID levels is more subtle. When the I/O workload is low, either RAID 1 or 5 will provide the response times and
bandwidth needed. However, depending on the 3PAR storage configuration and the read/write profile, as the I/O load
increases, the benefits of RAID 1 for response times and throughput can be dramatic. The ability to tune RAID levels online
can be extremely beneficial.

HP 3PAR Adaptive Optimization


Both 2- and 3-tier AO configurations were tested. When using an NL HDD tier, do not expect an overall performance boost.
Testing with an SSD tier provided performance increases, but results will vary depending on how fast the workload
profile changes. Workload profiles must remain fairly stable before and after a migration for the migration to be
beneficial. With good workload conditions, AO benefits are most effective and very beneficial. Scheduled AO tasks help
keep performance optimal.
Benefits of AO
The AO 2-Tier configuration consisted of the following:
SQL Server brokerage account type of OLTP workload
AO Tier 0none
AO Tier 110k rpm SAS HDDs configured as RAID 5
AO Tier 27.2k rpm SAS HDDs configured as RAID 6

26
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 12 shows an Adaptive Optimization I/O Density Report after AO migrated data and some time passed. This case
presents only two tierstier 1 and tier 2. Tier 2 is composed of NL devices and is intended to host the AO migrated data
that has no real I/O workload running on it. In this configuration, Tier 1 is sized to handle the I/O workload by itself, because
there is no Tier 0 to provide assistance. Response times before and after the migration remained around 15 ms, since there
was no Tier 0. The benefit of AO in this case is that over 2 TB of space was migrated off Tier 1 storage. The graph on the
right shows a small portion of the I/O workload being serviced by the NL CPG. This is expected as workload profiles shift
over time. Running subsequent AO schedules helps to keep active data on Tier 1 storage and maintain performance.
Figure 12. AO two tier results after a migration and some elapsed time.

Figure 13 shows an Adaptive Optimization I/O Density Report before a scheduled AO migration. In this case, AO has not been
run in a long time and workload dynamics have caused more I/Os to be serviced out of the NL CPG tier. Performing another
AO migration based on this data will migrate hot data regions back to Tier 1 storage and inactive regions back to Tier 2
storage. AOs built-in scheduling mechanism automates these tuning procedures and helps to optimize performance.
Figure 13. AO two tier results after a migration and some elapsed time.

The AO 3 Tier configuration consisted of the following:


SQL Server brokerage account type of OLTP workload
AO Tier 0SSD SAS configured as RAID 5
AO Tier 110k rpm SAS HDDs configured as RAID 5
AO Tier 27.2k rpm SAS HDDs configured as RAID 6

27
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 14 shows an Adaptive Optimization I/O Density Report with three tiers. The SQL Server environment consists of a
single instance with two databases. The Microsoft SQL Server Management Studio (MSSMS) Disk Usage report shows the
Data Files Space Usage to be 545 GB each, and over 85% allocated. Running AO in this environment dramatically changed
the entire database dynamics.
No longer was the CPU waiting 15 ms. for storage data I/Os to complete; the six CPU VM went from 50% CPU usage to 100%
(figure 15). Data LUN average response times dropped to under 2 ms. Perfmon showed that the effect was so dramatic that
Database Transactions/sec almost tripled. AO achieved these results by finding and migrating the active regions to SSDs,
while moving inactive regions to NL devices. This can be accomplished by manually moving the database files or the VVs to
SSD, but in that case, all the space, not just the hot regions, will be moved.
Figure 14. AO Region IO Density report after several hours of migration in a 3 tier environment.

Figure 15. CPU usage increased to 100% when AO moved heavily accessed data to SSDs

The preceding AO migration shows that placing growth limits on a CPG can be beneficial. Placing usage limits on a tier
prevents unlimited, uncontrolled tier usage, and helps with resource sharing. Setting growth limits on a CPG used in an AO
configuration provides quality of service by limiting data migration into a CPG tier. For this use case, about 853 GB of data
was migrated to Tier 1. Figure 16 shows the Region Density report when growth limits are set and only 455 GB of data is
migrated to SSDs. This configuration has average data LUN response times of below 5 ms, CPU usage running around 90%,
and over two times the database Transactions/sec above the earlier baseline measurements. The number of CPUs should
be tuned, but this test shows how AO can change the working dynamics of the SQL Server environment.

28
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 16. AO migration with growth limits set

Every environment is unique, with its own workload profiles and address space usage patterns. Users should analyze their
environments or consult with HP Services to discover how AO can support their performance goals.

HP 3PAR Priority Optimization (QoS)


Table 4, shows there is very little difference in complexity in going from the simplest implementation to the more thorough
configuration. A little extra time is required, but the difference in the ability to control and monitor usage patterns is well
worth the effort. Figure 7 shows a nested rule configuration. Nested rules were tested with great success. Allowing peaks in
performance while capping overall IOPs and bandwidth is a useful way to help multi-tenant workloads coexist and use the
array to its maximum capabilities.
The ability to easily monitor I/O at the storage port, based on QoS rule VVsets, is a powerful feature for managing and
monitoring multi-tenant consolidated environments.
Benefits of QoS
HP 3PAR Priority Optimization provided the powerful QoS functionality expected. Figures 17 and 18 show the beneficial
effects of applying QoS rules to a consolidated, multi-tenant, shared storage environment. The Tier 3 application is using
the shared array resources at the same privilege and as the Tier 1 application until the QoS rules are applied. After the QoS
rules are enabled, responsiveness and throughput increase for the Tier 1 application, while usage thresholds for lower
priority applications are enforced.
Figure 17. QoS IOPS response benefits

29
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 18. QoS Response Time benefits

Use either the 3PAR CLI or the 3PAR Management Console to monitor and set QoS rules. Some helpful CLI commands are:
setqoscreate, modify delete QoS rules on VVsets (see figure 19).
showqosview existing QoS rules and configurations (see figure 20).
statqosprovides useful real time performance reporting (see figure 21).

Figure 19. setqos example output (sets / clears QoS settings)

hp3par2230 cli% setqos -off -io 7000 -bw 400M vvset:vvset_qos85-86_Gold


hp3par2230 cli% setqos -on vvset:vvset_qos85-86_Gold
hp3par2230 cli%
hp3par2230 cli% setqos -on -io 3000 -bw 80M vvset:vvset_qos85
hp3par2230 cli% setqos -on -io 4000 -bw 120M vvset:vvset_qos86
hp3par2230 cli% setqos -off -io 6000 -bw 150M vvset:vvset_qos85-86_Gold
hp3par2230 cli% setqos -on vvset:vvset_qos85-86_Gold

Figure 20. showqos example output (shows QoS settings). Sorting on second column (starting at 0).

hp3par2230 cli% showqos -sortcol 2,inc


I/O per second KBytes per sec
Id Type Name QoS Limit Limit
7 sys all_others on 8888 188888
5 vvset vvset_host_Boot_DC2 on 6999 199999
3 vvset vvset_qos81 on 1500 199999
4 vvset vvset_qos82 on 1500 199999
1 vvset vvset_qos83 on 4500 500000
2 vvset vvset_qos84 on 1800 200000
10 vvset vvset_qos85 on 3000 80000
9 vvset vvset_qos85-86_Gold on 6000 150000
11 vvset vvset_qos86 on 4000 120000
0 vvset vvset_qos_Logs83-84 on 1999 100000
8 vvset vvset_Quorum_and_DTC on 99 1999
---------------------------------------------------------------
11 total
hp3par2230 cli%

30
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 21. statqos example full output (provides statistic information)

hp3par2230 cli% statqos -d 20 -iter 1


23:32:36 07/18/2013 r/w I/O_per_second KBytes_per_sec Svt_ms Wtt_ms IOSz_KB
Type Name Qt Cur Avg Max Qt Cur Avg Max Cur Avg Cur Avg Cur Avg Rej Qlen WQlen
vvset vvset_qos_Logs83-84 t 1999 0 0 0 100000 6 6 6 0.3 0.3 0.0 0.0 20.7 20.7 0 0 0
vvset vvset_host_Boot_DC2 t 6999 10 10 10 199999 156 156 156 0.3 0.3 0.0 0.0 15.4 15.4 0 0 0
vvset vvset_qos85-86_Gold t 13000 11490 11490 11490 200000 94581 94581 94581 4.4 4.4 0.0 0.0 8.2 8.2 0 33 0
vvset vvset_qos82 t 1500 1314 1314 1314 199999 10832 10832 10832 8.8 8.8 0.0 0.0 8.2 8.2 0 6 0
vvset vvset_qos83 t 4500 0 0 0 500000 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0
vvset vvset_qos84 t 1800 0 0 0 200000 0 0 0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 0
vvset vvset_qos85 t 9000 8474 8474 8474 80000 69767 69767 69767 3.4 3.4 0.0 0.0 8.2 8.2 0 18 0
vvset vvset_qos86 t 4000 3016 3016 3016 120000 24814 24814 24814 7.3 7.3 0.0 0.0 8.2 8.2 0 15 0
vvset vvset_Quorum_and_DTC t 99 2 2 2 1999 8 8 8 0.3 0.3 0.0 0.0 5.0 5.0 0 0 0
vvset vvset_qos81b t 4700 3545 3545 3545 399000 29062 29062 29062 6.5 6.5 0.0 0.0 8.2 8.2 0 20 0
sys all_others t 8888 270 270 270 188888 1917 1917 1917 0.3 0.3 0.0 0.0 7.1 7.1 0 1 0

hp3par2230 cli%

Figure 22 shows a portion of the statqos output and the useful information displayed. In the figure, the major sections have
been divided and numbered from 1 to 7. This is a short explanation of those sections:
1. VVset name, which starts with the System wide VVset with the name all_others.
2. IOPS information. First is the statqos Quantity (Qt) setting followed by Current, Average, and Max values calculated over
the same time.
3. Throughput information. Notice that for vvset_qos85, the current IOPS is running at the set limit of 7000 IOPS.
Additionally, there was a momentary peak of 87,639 KB/sec, which was then quickly limited.
4. Service time is the total time to service the I/O, including both the QoS delay and the remainder of the system I/O
processing time.
5. Wait time in milliseconds is how long I/O was delayed strictly due to the QoS rule.
6. Size of the I/O request is the size of the I/O coming into the storage port.
7. Number of QoS rejected I/O requests (Rej), the average QoS queue length (Qlen), and the average wait queue length
(WQlen) are displayed. Qlen is the total queue length of both the I/Os delayed by QoS and the I/Os processed without
QoS delay. WQlen is the average number of I/Os delayed by QoS.

The vvset_qos85 VVset shows some interesting data. This is a VVset with a single VV; however, this VV is provisioned from a
CPG that is configured in a 3-Tier Adaptive Optimization configuration with SSDs. The AO graphs for this VV are shown earlier
in figures 14 and 15. SSDs are extremely fast, and in this case, the VV is servicing 7000 IOPS (limited by QoS).
Normally, do not use AO to boost performance, and then limit that performance with QoS; however, this example is
interesting for observing QoS behavior with AO. The columns labeled 4 and 5 show that Priority Optimization is currently
adding 3.3 ms of wait time (Wtt_ms) for vvset_qos85 I/O, for a current total service time (Svt_ms) of 6.7 ms. Column 2
reports the system is currently servicing I/Os at right about the QoS IOPS limit (7000 vs. 6995). This shows that back-end
devices can provide much more I/O, but are throttled by QoS functionality.

31
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Figure 22. statqos example output (provides statistic information)

Figure 23 shows a follow-on statqos report after tuning the vvset_qos85 QoS IOPS limit from 7000 to 9000. The IOPS have
settled to a current value of over 8500. The WQlen value is zero; however there are still some I/Os being limited, as shown
by the Wtt_ms value of 1.4 ms. Because this is a Tier 1 application with data on SSDs, the IOPS limit is still set too low. To
remove the wait time being generated for I/Os to the vvset_qos85 VVs, increase the IOPS limit further. This makes sense,
since this is a Tier 1 application using SSDs.
Figure 23. statqos example output with IOPS changed from 7000 to 9000.

r/w I/O_per_second KBytes_per_sec Svt_ms Wtt_ms IOSz_KB


Name Qt Cur Avg Max Qt Cur Avg Max Cur Avg Cur Avg Cur Avg Rej Qlen WQlen
vvset_qos85 t 9000 8593 8587 8916 80000 72743 71633 75302 4.5 3.9 1.4 0.7 8.5 8.3 0 35 0

Summary
Key features that distinguish HP 3PAR StoreServ and provide performance, ease of use, efficiency, and flexibility are:
HP 3PARs Thin Provisioning technology
HP 3PAR Priority Optimization (QoS)
HP 3PAR Dynamic Optimization
HP 3PAR Adaptive Optimization

HP 3PAR StoreServ is designed for use with VMware vSphere on ProLiant Servers, and WSFC; the four together provide a
combination for success.
The trusted VMware virtualized platform installed on HP ProLiant Servers provides a versatile base for consolidated
Windows Server Failover Clustering for MS SQL Server solution. VMware simplifies physical server provisioning and provides
a consistent virtualized hardware platform to build on.
MS Windows Server running WSFC on VMware vSphere behaved the same as solutions running directly on a ProLiant Server.
Consolidating multiple discrete SQL Server environments onto ProLiant Servers running VMware vSphere helps to simplify
management and increase overall storage performance.
The HP 3PAR StoreServ storage products performed seamlessly in the consolidated SQL Server environment, providing
performance and highly available storage in an easy to manage solution. HP 3PAR StoreServ is efficient, reducing data
duplication and eliminating the need for over-provisioning, while ease of management and implementation help reduce the
chance of configuration errors, and reduce the cost of ownership.
VMware vSphere on HP ProLiant Servers, running consolidated SQL Server solutions with HP 3PAR storage, provides a
winning solution for critical SQL Server business solutions.

32
Technical white paper | Best Practices for Implementing SQL Server with HP 3PAR StoreServ and VMware vSphere

Resources
HP Storage Arrays
HP Storage
HP Storage Solutions for MS SQL Server
HP Insight Control Storage Module for VMware vCenter Server

HP 3PAR Storage Arrays


HP 3PAR StoreServ Storage Family
HP 3PAR Adaptive Optimization Software Solution Brief
HP 3PAR System Reporter Reference User Guide
HP 3PAR StoreServ Storage and VMware vSphere 5 best practices

HP 3PAR StoreServ Implementation Guide

HP Servers
hp.com/go/Servers

HP Unified Sizer for Server Virtualization


http://h71019.www7.hp.com/ActiveAnswers/us/en/sizers/unified-sizer-server-
virtulization.html?jumpid=reg_r1002_usen_c-001_title_r0001

HP Insight Control Storage Module


HP Insight Control Storage Module for VMware vCenter Technical Documentation
HP Insight Control Storage Module for VMware vCenter Download

HP Support for Microsoft SQL Server


HP 3PAR StoreServ 7000 Storage for Microsoft SQL Server environments with VMware
Microsoft SQL Server solutions on ActiveAnswers

HP and Microsoft SQL Server solutions

VMware knowledge base


Microsoft Cluster Service (MSCS) support on ESXi/ESX (1004617)

To help us improve our documents, please provide feedback at hp.com/solutions/feedback.

Learn more at
hp.com/solutions/activeanswers

Sign up for updates


hp.com/go/getupdated Share with colleagues Rate this document

Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The only warranties for
HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as
constituting an additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.

Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation.


Intel and Xeon are trademarks of Intel Corporation in the U.S. and other countries. Oracle is a registered trademark of Oracle and/or its affiliates.

4AA4-7945ENW, August 2013

S-ar putea să vă placă și