0% found this document useful (0 votes)
5 views

Module 2 Plan for SQL Server Installation

The document outlines the planning and deployment of SQL Server on Azure VMs or on-premises, emphasizing the need for appropriate sizing, storage planning, and performance evaluation. It details the migration process to Azure SQL DB, including the use of the Data Migration Assistant and considerations for availability and scalability. Additionally, it provides recommendations for VM sizes and storage options based on performance requirements and expected concurrency.

Uploaded by

Stephen Efange
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Module 2 Plan for SQL Server Installation

The document outlines the planning and deployment of SQL Server on Azure VMs or on-premises, emphasizing the need for appropriate sizing, storage planning, and performance evaluation. It details the migration process to Azure SQL DB, including the use of the Data Migration Assistant and considerations for availability and scalability. Additionally, it provides recommendations for VM sizes and storage options based on performance requirements and expected concurrency.

Uploaded by

Stephen Efange
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 29

• Plan for an llaaS or On-Premises Deployment 0

• se,lect the Ap,propriate Size,for a Virtual


Plan for Machine
• Plan Storage,Pools Based on Performance
SQL Requirements
Server • Evaluat,e Best Practiiices for lnst,allation
• Desiiign a Storage !Layout for a SQL Server
Installation Virtual! Machine

Plan for an laaS or On­


Premises Deployment
2005 and above in an azure VM. You cannot run a sql 2000 database in an azure VM.
0

• Cheaper than Rent by the Mo,nth


• Req1uir,e.s,:
• Enterpriise Custo1m1er .Agre,ement
• SQll .2012 SP3.
• S,Qll .2014 SPl
• SQll .2016
• Choo,se fro1m BY.Oil Virtua1IIMlachine tem11pl:ates
• You ca1rnno,t swit ch between the pay-as-y,o,u-g,o and
1

IBYOL

Mlii,grating
IExisting:A.pps
• Eva1llu1,ate,periorm,anc,e,of ,e,xisting s.ystem first
·• Use ID.at.a Colllllector .5,ets t,o look tor any bottlle,neclks
• ,cpu
• RAMI
• Disk 1/0
• Network Interface
• SQL specific counters
·• Pe,rformance Analysis. of Lo,g:s (PAL}1Tool
• Selects and ;i1nt,erprets performance log counters
• Analyzes your performa1nce captures against known thresholds
• https://pal.codeplex.com/
Developer edition of sql server 2016 can run on windows 8 or 10
Migrate On-Premises to Azure SQL DB
0

• Data migration
• Steps:
• Create an empty SQL database in Azure
• Create a server-level firewall in the Azure portal
• Use the Data Migration Assistant (DMA) to import the database into Azure
• Download at https://www.microsoft.com/en-us/download/details.aspx?id=53595
• Use SSMS to change database properties such as service tier

ALTER DATABASE mySampleDatabase MODIFY ( EDITION= 'Standard', MAXS!


IZE
= 250 GB, SERVICE_OBJECTIVE = 'S1' );

https://docs.microsoft.com/en-us/azure/sgl-database/sgl-database-migrate­your-
sgl-server-database

Availability Needs

Do you need:
• Failover dustering
• Always On Availability Groups/ Basic Availability Groups
• Geo-replication
• Resources that automatically scaile (elastic)
• Usiin,gthe doud to host yo ur VMI or DB requires y,ou to,have good
1

cllient connectivity to that cloud


, . , You can configure a1larger i1nfrastructure in the clloud, with
connectivity between cloud networks
, . SQILs,ervices not aocessibl/ dir,ectllly via the Internet
, . You stilll need to make management connections via the !Internet

• .Azur,e SQL is m ostlly ma1n,a;ged fair you


1

• S QLSe rve,r 01n


1 1
A,zur,e,Vii:rtu,all M,a,chine,s:
, . Mlicrosoft manages the viirtualiization pllatf0ir1m
, . , ¥au ha:v e to ,set up, patch, and manage,th e VIM and
1 1

s,Qt
• S Q,LSe,rveir Qn..lPiremi,ses:
1

, , , You hav e to set up and 1m1anage everything,


1
• Wh,at ar,e your storage needs?
, . Total storag:e
, . Storage per tabl,e
, . Storage throughput (1/0)
, . Hliigh amounts of thro,ughput usuallly be,nefiit from1clloud
s,c,all,ability 0

, . Bas,ic and standard servk,e levels use HDD storage


, . Pre,miiu1m s,ervice 11,ev,els us,e SSD storage
, . Azure SQL ,or Azure VMs ar,e, easy to m1oniitor and s,cal,e u1p

H,ow Many Concurrent Sessions are Expected


0

• On,e login can have! multiplle,sessiions


• Consider if your on-prem1is,e5,hardware a1nd network link can
ma1n,age, the,concurrency
• Azure SQL and Azure VMls are easy to 5,calle,up iin terms
of concurre,ncy
A cache is an allocated part of memory.
VM Sizes for
SQL
• D Series
• Attach HOD disks
• DS Series
• Attach SSD disks
• G Series
• Memory optimized

Microsoft is continuously updating its offerings

https://docs.microsoft.com/en-us/azure/virtua1-machines/wi ndows/sizes­
memory#g-series

.. ps For

In t is
article
B-se ies

Dsv3-series 1
Ds3 is a good starting point for prod setups and you can upgrade.
Micros oft IRecommendati ons for SQL VMls
1 1

'in
Azure D

• SQILSe1rver Ente,1rpri,se,Ediitiion: DS3 or hii,g:her


• SQIL.Se1rver Standard and Web EdiUons: DS,2 or
hi1gher

Plan Storage Pools


Ba:,s,,ed on
Pe1r,f:orma1nce
1

Requirements
Add a data disk or a disk to store your databases.
A storage account is a collection of storage all under one login.
Premium Storage
• For ''S 11
se:ries
VMs:
• OS-series
• D5v2-series
• GS-serie3
• Ls-series
• Fs-series
IOPS input output operations per second.
A blob is usually one file. Page blob means stored in allocations of 8KB pages.
For performance you disable geo-redundant storage.
If your backups is big page blob is no good because its limited to 1TB

IOPS requests can be r/w, random or sequential.


Throughput is related to IOPS

Throughput is like asking how much actual data is going to the drive.
Throughput is in MB

latency is the delay time.

You might also like