35
park the future. May 4 – 8, 2015 Chicago, IL

w/ Service Provider Foundation & Service Management Automation VMs, Networks, Automation Service Bus Database SQL Sever MySQL Web Sites Services Plans

Embed Size (px)

Citation preview

Spark the future.

May 4 – 8, 2015Chicago, IL

Provisioning SQL Database-as-a-Service in the Azure PackRupi Sureshkumar

BRK3501

Agenda1) Overview of DBaaS and the Azure Pack2) Tenant database creation3) Required steps in Azure Pack4) AlwaysOn and Resource Governor5) Common Questions

What is the Azure Pack?

w/ Service Provider Foundation& Service Management Automation

VMs,Networks

,

Automation

Service Bus

DatabaseSQL

SeverMySQL

WebSites

Service Management API

ServicesPlansUsersAutomation

Admin Site

Tenant Site

Web SitesAppsDatabaseVMs

CustomResourceProviders

Self-service based on Microsoft Azure

Multi-tenant IaaS and PaaS

Usage tracking

Automation

Offer management

Portal integration and branding

Cloud-based rapid provisioning of databases in the context of a database cloud rather than in the context of individual servers

What is Database-as-a-Service?

Who wants this?

Database consumerOn-demandQuick access to a database allows for greater agility and innovation

SimpleNo need to manage a full server Abstracted from management of HA, performance

Cost-efficientPay for what you use, when you use it

Database providerAutomatedPlacement algorithm determines best placement for database

ExtensibleCan combine WAP with existing integrations or your own customization to provide unique experience for tenants

BillableUsage data reported for each tenant subscriptionCan bill for different types of databases created and amount of space consumed

DBaaS Options

Public Cloud

PrivateCloud

SQL Server in

a VM

Multi-tenant DBaaS

WAP SQL Resource Provider

Demo

Let’s set this all up.

1. Set up SQL fabric

2. Create Server Groups in WAP

3. Create Plans and include Editions

4. Tenant subscribes to Plan and creates databases

PlanPlanPlan

Tenant Subscription

Demo

Integrating advanced SQL capabilities

SQL Server AlwaysOn Availability Group is

container for multiple server instances

Primary replica is read-write while secondary replicas are read-only

Manual or automatic failover possible when primary goes down

Dependency on Windows Server Failover Clusters

Demo

Performance Isolation using Resource Governor Specify resource consumption limits on incoming

requests across CPU, Memory, IOPs Avoid noisy neighbor syndrome where one tenant

can consume all server resources at detriment of others

Databases are managed in context of the resource pool they are in, instead of the whole server

Constraints of the Resource Pool are mapped to editions in WAP

Demo

Common questions

For advanced capabilities, System Center is what provides automation, monitoring, IaaS etc.

However, for simple DBaaS, all you need is WAP + SQL Server

So…does this require System Center?

What versions of SQL are supported?Support for SQL Server 2008 SP3 SQL Server 2008 R2 SP2 SQL Server 2012 SP1 (min. req. for HA) SQL Server 2014 (min. req. for Resource

Governor)

Should have SQL authentication enabled

What is the allocation algorithm?Database is placed on a server that supports the requested edition and has enough capacity.

Will fill a server before allocating to a new server

Resource Governor databases spread more evenly as all databases in same subscription will be kept on the same server

How can I monitor my environment? Operations Manager can be used to

monitor your DBaaS solution Alerts created when issues arise in

environment Windows Azure Pack Management Pack SQL Server Management Pack

How can I automate my environment? Service Management Automation: installed

with Azure Pack to automate management tasks

Administrator creates runbooks using PowerShell Workflow to complete routine and common tasks

Out-of-box sample: Sample-Managing-SQLServers

Out of the box, Azure Pack comes with SQL and MySQL Resource Providers

If using SQL-in-a-VM approach, Oracle is available as a template

Custom resource providers are possible for other providers

Can I use other database providers too?

Azure Pack continuously supported and enhanced thru 2017

What about Azure Stack?!

Summary• Azure Pack can be used to provide

Database-as-a-Service with SQL Server• Administrator creates different options via

editions• Integrate with other products for better

administrative experience• Support for:• Windows Authentication• Contained Database creation• AlwaysOn (HA)• Resource Governor• … and more!

More about Windows Azure Pack

WAP Product Overview http://aka.ms/WAPoverview

WAP Customer Feedback http://aka.ms/WAPfeedback

WAP Partner Links http://aka.ms/WAPpartners

WAP Jump Start Session http://aka.ms/WAPjumpstart

Community Links on TechNet Wiki http://aka.ms/WAPwiki

Related Content: Breakout Sessions

Day Timeslot Title

Wednesday 5/6 10:45 – 12:00

Windows Azure Pack Roadmap

9:00 – 10:15 Overview of the Microsoft Cloud Platform System

1:30 – 2:45 Expanding the Microsoft Cloud Platform with the Windows Azure Pack and Partners

Thursday 5/7 10:45 – 12:00

Windows Azure Pack and Microsoft System Center: Monitoring and Requests for Service Providers

1:30 – 2:45 Azure IaaS for Azure Pack (Azure Stack)

1:30 – 2:45 Managing Linux Workloads in Windows Server, System Center and the Azure Pack

3:15 – 4:30 Troubleshooting Windows Azure Pack Providers

Friday 5/8 9:00 – 10:15 Extending Virtual Machines in the Windows Azure Pack

10:45 – 12:00

Taking advantage of Identity capabilities in the Azure Pack

Related Content: Labs

Title

Introducing the Windows Azure Pack

Installing and Configuring the Windows Azure Pack

Managing Infrastructure-as-a-Service with the Windows Azure Pack

Using Service Management Automation in the Windows Azure Pack

Using Virtual Machine Roles in the Windows Azure Pack

Day Timeslot

Title

Thursday 5/7

3:15-4:30

Introducing the Windows Azure Pack

Instructor-led Labs

Hands-on Labs

Learn more with FREE IT Pro Resources

Free technical training resources: On-demand online training: http://aka.ms/moderninfrastructure

Expand your Modern Infrastructure Knowledge

Free ebooks:Deploying Hyper-V with Software-Defined Storage & Networking: http://aka.ms/deployinghyperv

Microsoft System Center: Integrated Cloud Platform: http://aka.ms/cloud-platform-ebook

Join the IT Pro community: Twitter @MS_ITPro

Get hands-on: Free virtual labs: Microsoft Virtualization with Windows Server and System Center: http://aka.ms/virtualization-lab

Windows Azure Pack: Install and Configure: http://aka.ms/wap-lab

Ignite Azure Challenge Sweepstakes

Attend Azure sessions and activities, track your progress online, win raffle tickets for great prizes!

Aka.ms/MyAzureChallenge

Enter this session code online: BRK3501

NO PURCHASE NECESSARY. Open only to event attendees. Winners must be present to win. Game ends May 9th, 2015. For Official Rules, see The Cloud and Enterprise Lounge or myignite.com/challenge

Visit Myignite at http://myignite.microsoft.com or download and use the Ignite Mobile App with the QR code above.

Please evaluate this sessionYour feedback is important to us!

© 2015 Microsoft Corporation. All rights reserved.