SlideShare a Scribd company logo
Infrastructure for the DBA:
An Introduction
Peter Shore
SQL Saturday Pittsburgh
About Me
▪ SQL Server Database
Administrator – ThirtyOne Gifts
▪ Intentionally Accidental DBA
▪ Over 25 years IT experience
– Server Engineer
– Desktop Engineer
– Network Infrastructure
– Desk side support
▪ President CBusPASS
▪ Co-Organizer SQL Saturday
Columbus
▪ How to find me
– Twitter: @pshore73
– E-mail: pshore73@outlook.com
What do these have in common?
Motherboard
NUMA
▪ Non-Uniform Memory Access (NUMA)
Local Storage
▪ Controller in server
▪ Disk in server
▪ Configured at server level
▪ Typically in Redundant Array of Inexpensive Disks (RAID)
– RAID 0 – striping no parity
– RAID 1 – mirror
– RAID 5 – striping with parity
– RAID 10 – mirror of stripes
Attached Server Storage
▪ External to physical server
▪ Used to augment local storage
▪ Direct attached storage
– Chassis
– Physical connection
– Typically used with traditional servers
(tower or rackmount)
▪ Network Attached Storage (NAS)
– Connection to NAS Server (aka NAS
head)
– Server connects to disk array
– Used with blade or traditional servers
▪ Storage Attached Network (SAN)
– Connection to storage via Host Bus
Adapter
– Fibre channel dedicated hardware
– iSCSI over LAN
– Behaves more like on-board attached
storage
– Used with blade or traditional servers
▪ Latency is a critical metric
Local Storage Interface
▪ SATA (Serial ATA or Serial AT Attachment)
– HDD or SSD
– Up to 6.0 Gbit/s
▪ NVMe (non-volatile memory express)
– Controller interface (PCIe)
– Developed for SSD
▪ NVRAM (non-volatile RAM)
– Originally like a flash drive
– NVDIMM
▪ Storage on RAM
▪ Order of magnitude faster than NVMe
▪ Capacity still small
Virtualization
▪ Almost all SQL Server work loads can be virtualized
– Biggest factor is hardware
– Must be properly configured
▪ Creates abstraction layer between Windows Server and hardware
– Virtualization layer controls access to physical hardware
▪ Host level memory pressure may require minimum memory setting
▪ Viable part of High Availability solution, but not the whole solution
▪ Backup approach can be an issue
Virtual Machine vs. Containers
https://www.backblaze.com/blog/vm-vs-containers/
Cloud
▪ Infrastructure as a Service (IaaS)
– “Instant infrastructure provisioned and managed via internet”
– Virtualized servers
– Can replace most or all infrastructure
▪ Platform as a Service (PaaS)
– Backend systems
– Minimize complexity of managing infrastructure
– Does not replace on-site infrastructure
▪ Software as a Service (SaaS)
– Productivity software
Infrastructure for DBAs
As A Service
Network Terms
▪ LAN
– Local Area Network
▪ Computer network connecting
computers in a limited area
– House
– School
– Office
▪ WAN
– Wide Area Network
▪ Communication network extended over
a wide area
– Multiple data centers
– Internet
▪ VPN
– Virtual Private Network
– Tunnel through WAN
▪ VLAN
– Virtual Local Area Network
▪ Not limited to hypervisor environments
▪ Partition traffic
▪ Partition security
▪ Allows for Quality of Service (QoS)
▪ Does not expand bandwidth
▪ Bandwidth vs. Latency
– Bandwidth – maximum throughput
– Latency – delay from input to
outcome
Network Devices
▪ Switch
– “Switches build networks” – Cisco
– LAN centric
– Connect devices at a site to other devices at that site
▪ PC to servers and internet
▪ WiFi access points to servers and internet
▪ Servers to servers, storage, and internet
▪ Firewall
– Device to block unauthorized access while facilitating outward communication
– Several different types (packet filtering, stateful inspection, next-gen firewall)
▪ Routers
– “Routers connect networks” – Cisco
– LAN orWAN
– Discovers neighbors
– Forwards packets
Infrastructure for DBAs
Infrastructure for DBAs
TCP/IP
▪ Born in the Department of Defense
– Defense Advanced Research Projects Agency (DARPA)
– Late 1960’s
▪ IPV4
– Production in ARPANET 1983
– 32-bit, 4,294,967,296 (232) addresses
– 4 8-bit octets, usually written in dotted decimal notation
▪ IPV6
– 128-bit, approximately 3.4×1038 addresses
– Not interoperable with IPV4
– 8 groups of 4 hexadecimal digits
Network Models
https://techdifferences.com/difference-between-tcp-ip-and-osi-model.html
Network Communication
Network Applications
▪ Dynamic Host Configuration
Protocol (DHCP)
– Delivers TCP/IP configuration
▪ Automatic assignment of address
to end-points
▪ TCP/IP Address
▪ Subnet Mask
▪ Default Gateway
– Allocated by time, known as a
lease
▪ Domain Name Services
(DNS)
– “Phonebook” of Names to
TCP/IP addresses
– Address Records (A Records)
▪ Record linking address to name
– Canonical Name (C Name)
▪ Reference or redirection
– Mail Exchanger (MX Record)
▪ Identifies a mail server
Wires vs. Radios
• Wired
▪ Pros
– Tier by tier higher speed
– More secure
– Better for data centers
▪ Cons
– Lacks flexibility
– Installation cost
• Wireless
▪ Pros
– Flexible
– Enables BYOD
– Relatively lower installation
cost
▪ Cons
– Tier by tier speeds lower
– Security weaknesses
– Susceptible to interference
Windows Server
▪ TCP Chimney Offload
– Transfers workload from CPU to NIC during data transmission
– Disable it
– Can cause connectivity problems
– Designed for short lived connections
▪ Local Policies
– Lock pages in memory
– Perform Volume Maintenance
▪ Group Policies in affect
– GPResult /r
Active Directory
▪ Microsoft implementation of Lightweight Directory Access Protocol
(LDAP)
▪ Hierarchical database
▪ Objects organized by Organization Units
– SQL Servers separated out
– Service accounts separated out & grouped
▪ Group Policy
– “Group Policy is an infrastructure that allows you to implement specific
configurations for users and computers. Group Policy settings are contained
in Group Policy objects (GPOs), which are linked to the following Active
Directory service containers: sites, domains, or organizational units (OUs).”
(http://tinyurl.com/k368u74)
Active Directory
▪ Managed Service Accounts
– Complex passwords known only to account and Active Directory
– Maintain Kerberos Service Principal Names (registering SPN
http://tinyurl.com/zepmxpd)
– Computer specific
– Server 2008r2 with Active Directory Functional Level 2008r2 or higher
▪ Group Managed Service Accounts
– Used on multiple hosts
– Now supported in SQL 2016+
Active Directory & The Cloud
▪ Active Directory can be extended to the cloud
– Azure
– Amazon Web Service
▪ Active Directory Federation Services (AD FS)
– Provides Single Sign On access across organizational boundaries
▪ Azure Active Directory
▪ Azure IaaS, PaaS and SaaS
– PaaS means Azure SQL DB, Azure Managed Instance
– Active Directory Groups you are used to
Anti-Virus
▪ Valid arguments to both sides
▪ If implemented use Microsoft recommendations for exceptions
▪ http://social.technet.microsoft.com/wiki/contents/articles/953.mi
crosoft-anti-virus-exclusion-list.aspx
Questions?

More Related Content

PPT
LAN Fundamentals
PDF
When is Myrocks good? 2020 Webinar Series
PDF
Cool MariaDB Plugins
PDF
Mysql User Camp : 20th June - Mysql New Features
PDF
Modern MySQL Monitoring and Dashboards.
PDF
Better encryption & security with MariaDB 10.1 & MySQL 5.7
PDF
Databases in the hosted cloud
PPTX
cyfuture-dc-services
LAN Fundamentals
When is Myrocks good? 2020 Webinar Series
Cool MariaDB Plugins
Mysql User Camp : 20th June - Mysql New Features
Modern MySQL Monitoring and Dashboards.
Better encryption & security with MariaDB 10.1 & MySQL 5.7
Databases in the hosted cloud
cyfuture-dc-services

What's hot (20)

PPTX
Spark streaming with apache kafka
PPTX
Fontys Lecture - The Evolution of the Oracle Database 2016
PDF
Mysql User Camp : 20-June-14 : Mysql Fabric
PPTX
Writing powerful stored procedures in PL/SQL
PDF
MySQL HA
PDF
MySQL Performance - Best practices
PPTX
Mysql 8 vs Mariadb 10.4 Highload++ 2019
PDF
Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster
PDF
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
PPTX
Ansible for large scale deployment
PDF
Meet MariaDB Server 10.1 London MySQL meetup December 2015
PDF
How to upgrade like a boss to MySQL 8.0 - PLE19
PDF
Migración desde BBDD propietarias a MariaDB
PPTX
Introducing Node.js in an Oracle technology environment (including hands-on)
PDF
Tuning Linux for your database FLOSSUK 2016
PDF
Securing your MySQL / MariaDB Server data
PPTX
Designing enterprise drupal
PPTX
MySQL Backup Best Practices and Case Study- .ie Continuous Restore Process
PDF
Meet MariaDB 10.1 at the Bulgaria Web Summit
PPTX
Myrocks in the wild wild west! FOSDEM 2020
Spark streaming with apache kafka
Fontys Lecture - The Evolution of the Oracle Database 2016
Mysql User Camp : 20-June-14 : Mysql Fabric
Writing powerful stored procedures in PL/SQL
MySQL HA
MySQL Performance - Best practices
Mysql 8 vs Mariadb 10.4 Highload++ 2019
Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
Ansible for large scale deployment
Meet MariaDB Server 10.1 London MySQL meetup December 2015
How to upgrade like a boss to MySQL 8.0 - PLE19
Migración desde BBDD propietarias a MariaDB
Introducing Node.js in an Oracle technology environment (including hands-on)
Tuning Linux for your database FLOSSUK 2016
Securing your MySQL / MariaDB Server data
Designing enterprise drupal
MySQL Backup Best Practices and Case Study- .ie Continuous Restore Process
Meet MariaDB 10.1 at the Bulgaria Web Summit
Myrocks in the wild wild west! FOSDEM 2020
Ad

Similar to Infrastructure for DBAs (20)

PPTX
Geek Sync | Infrastructure for the Data Professional: An Introduction
PPTX
What's New in Windows Server 2012 R2
PPT
Synapse india reviews abot Networking Concept
PPTX
Fundamentals of Servers, server storage and server security.
PPTX
Networking & Servers
PPTX
BITM3730 11-22.pptx
PPTX
Lecture 12 monitoring the network
PPT
IOT on health waste management and its use on rat poison and bomb making
PPTX
windows server installation procedure or
PDF
Windows training-decribe very well in the presentation
DOCX
cloud service management.Details of classic data center
PPT
lec3_10.ppt
PPT
Introduction computer networking
PPT
Introduction Computer Networking2 for basics
PPT
PowerPoint Presentation
PPT
Introduction computer networking
PDF
Advanced DB chapter 2.pdf
PPTX
Network Operating System (Linux and Windows Server)
PPT
this is the slide design for chapter 4 of reource monitoring and mamangemnt
PDF
Unit+nine+ +additional+topics+and+resources
Geek Sync | Infrastructure for the Data Professional: An Introduction
What's New in Windows Server 2012 R2
Synapse india reviews abot Networking Concept
Fundamentals of Servers, server storage and server security.
Networking & Servers
BITM3730 11-22.pptx
Lecture 12 monitoring the network
IOT on health waste management and its use on rat poison and bomb making
windows server installation procedure or
Windows training-decribe very well in the presentation
cloud service management.Details of classic data center
lec3_10.ppt
Introduction computer networking
Introduction Computer Networking2 for basics
PowerPoint Presentation
Introduction computer networking
Advanced DB chapter 2.pdf
Network Operating System (Linux and Windows Server)
this is the slide design for chapter 4 of reource monitoring and mamangemnt
Unit+nine+ +additional+topics+and+resources
Ad

Recently uploaded (20)

PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
Introduction-to-Cloud-ComputingFinal.pptx
PPTX
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
IB Computer Science - Internal Assessment.pptx
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PDF
annual-report-2024-2025 original latest.
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PDF
Lecture1 pattern recognition............
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
STUDY DESIGN details- Lt Col Maksud (21).pptx
PPTX
Computer network topology notes for revision
PDF
Fluorescence-microscope_Botany_detailed content
PDF
Mega Projects Data Mega Projects Data
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPT
Quality review (1)_presentation of this 21
IBA_Chapter_11_Slides_Final_Accessible.pptx
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
Introduction-to-Cloud-ComputingFinal.pptx
ALIMENTARY AND BILIARY CONDITIONS 3-1.pptx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
ISS -ESG Data flows What is ESG and HowHow
IB Computer Science - Internal Assessment.pptx
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
annual-report-2024-2025 original latest.
Database Infoormation System (DBIS).pptx
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
Lecture1 pattern recognition............
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
STUDY DESIGN details- Lt Col Maksud (21).pptx
Computer network topology notes for revision
Fluorescence-microscope_Botany_detailed content
Mega Projects Data Mega Projects Data
Acceptance and paychological effects of mandatory extra coach I classes.pptx
Quality review (1)_presentation of this 21

Infrastructure for DBAs

  • 1. Infrastructure for the DBA: An Introduction Peter Shore SQL Saturday Pittsburgh
  • 2. About Me ▪ SQL Server Database Administrator – ThirtyOne Gifts ▪ Intentionally Accidental DBA ▪ Over 25 years IT experience – Server Engineer – Desktop Engineer – Network Infrastructure – Desk side support ▪ President CBusPASS ▪ Co-Organizer SQL Saturday Columbus ▪ How to find me – Twitter: @pshore73 – E-mail: pshore73@outlook.com
  • 3. What do these have in common?
  • 6. Local Storage ▪ Controller in server ▪ Disk in server ▪ Configured at server level ▪ Typically in Redundant Array of Inexpensive Disks (RAID) – RAID 0 – striping no parity – RAID 1 – mirror – RAID 5 – striping with parity – RAID 10 – mirror of stripes
  • 7. Attached Server Storage ▪ External to physical server ▪ Used to augment local storage ▪ Direct attached storage – Chassis – Physical connection – Typically used with traditional servers (tower or rackmount) ▪ Network Attached Storage (NAS) – Connection to NAS Server (aka NAS head) – Server connects to disk array – Used with blade or traditional servers ▪ Storage Attached Network (SAN) – Connection to storage via Host Bus Adapter – Fibre channel dedicated hardware – iSCSI over LAN – Behaves more like on-board attached storage – Used with blade or traditional servers ▪ Latency is a critical metric
  • 8. Local Storage Interface ▪ SATA (Serial ATA or Serial AT Attachment) – HDD or SSD – Up to 6.0 Gbit/s ▪ NVMe (non-volatile memory express) – Controller interface (PCIe) – Developed for SSD ▪ NVRAM (non-volatile RAM) – Originally like a flash drive – NVDIMM ▪ Storage on RAM ▪ Order of magnitude faster than NVMe ▪ Capacity still small
  • 9. Virtualization ▪ Almost all SQL Server work loads can be virtualized – Biggest factor is hardware – Must be properly configured ▪ Creates abstraction layer between Windows Server and hardware – Virtualization layer controls access to physical hardware ▪ Host level memory pressure may require minimum memory setting ▪ Viable part of High Availability solution, but not the whole solution ▪ Backup approach can be an issue
  • 10. Virtual Machine vs. Containers https://www.backblaze.com/blog/vm-vs-containers/
  • 11. Cloud ▪ Infrastructure as a Service (IaaS) – “Instant infrastructure provisioned and managed via internet” – Virtualized servers – Can replace most or all infrastructure ▪ Platform as a Service (PaaS) – Backend systems – Minimize complexity of managing infrastructure – Does not replace on-site infrastructure ▪ Software as a Service (SaaS) – Productivity software
  • 14. Network Terms ▪ LAN – Local Area Network ▪ Computer network connecting computers in a limited area – House – School – Office ▪ WAN – Wide Area Network ▪ Communication network extended over a wide area – Multiple data centers – Internet ▪ VPN – Virtual Private Network – Tunnel through WAN ▪ VLAN – Virtual Local Area Network ▪ Not limited to hypervisor environments ▪ Partition traffic ▪ Partition security ▪ Allows for Quality of Service (QoS) ▪ Does not expand bandwidth ▪ Bandwidth vs. Latency – Bandwidth – maximum throughput – Latency – delay from input to outcome
  • 15. Network Devices ▪ Switch – “Switches build networks” – Cisco – LAN centric – Connect devices at a site to other devices at that site ▪ PC to servers and internet ▪ WiFi access points to servers and internet ▪ Servers to servers, storage, and internet ▪ Firewall – Device to block unauthorized access while facilitating outward communication – Several different types (packet filtering, stateful inspection, next-gen firewall) ▪ Routers – “Routers connect networks” – Cisco – LAN orWAN – Discovers neighbors – Forwards packets
  • 18. TCP/IP ▪ Born in the Department of Defense – Defense Advanced Research Projects Agency (DARPA) – Late 1960’s ▪ IPV4 – Production in ARPANET 1983 – 32-bit, 4,294,967,296 (232) addresses – 4 8-bit octets, usually written in dotted decimal notation ▪ IPV6 – 128-bit, approximately 3.4×1038 addresses – Not interoperable with IPV4 – 8 groups of 4 hexadecimal digits
  • 21. Network Applications ▪ Dynamic Host Configuration Protocol (DHCP) – Delivers TCP/IP configuration ▪ Automatic assignment of address to end-points ▪ TCP/IP Address ▪ Subnet Mask ▪ Default Gateway – Allocated by time, known as a lease ▪ Domain Name Services (DNS) – “Phonebook” of Names to TCP/IP addresses – Address Records (A Records) ▪ Record linking address to name – Canonical Name (C Name) ▪ Reference or redirection – Mail Exchanger (MX Record) ▪ Identifies a mail server
  • 22. Wires vs. Radios • Wired ▪ Pros – Tier by tier higher speed – More secure – Better for data centers ▪ Cons – Lacks flexibility – Installation cost • Wireless ▪ Pros – Flexible – Enables BYOD – Relatively lower installation cost ▪ Cons – Tier by tier speeds lower – Security weaknesses – Susceptible to interference
  • 23. Windows Server ▪ TCP Chimney Offload – Transfers workload from CPU to NIC during data transmission – Disable it – Can cause connectivity problems – Designed for short lived connections ▪ Local Policies – Lock pages in memory – Perform Volume Maintenance ▪ Group Policies in affect – GPResult /r
  • 24. Active Directory ▪ Microsoft implementation of Lightweight Directory Access Protocol (LDAP) ▪ Hierarchical database ▪ Objects organized by Organization Units – SQL Servers separated out – Service accounts separated out & grouped ▪ Group Policy – “Group Policy is an infrastructure that allows you to implement specific configurations for users and computers. Group Policy settings are contained in Group Policy objects (GPOs), which are linked to the following Active Directory service containers: sites, domains, or organizational units (OUs).” (http://tinyurl.com/k368u74)
  • 25. Active Directory ▪ Managed Service Accounts – Complex passwords known only to account and Active Directory – Maintain Kerberos Service Principal Names (registering SPN http://tinyurl.com/zepmxpd) – Computer specific – Server 2008r2 with Active Directory Functional Level 2008r2 or higher ▪ Group Managed Service Accounts – Used on multiple hosts – Now supported in SQL 2016+
  • 26. Active Directory & The Cloud ▪ Active Directory can be extended to the cloud – Azure – Amazon Web Service ▪ Active Directory Federation Services (AD FS) – Provides Single Sign On access across organizational boundaries ▪ Azure Active Directory ▪ Azure IaaS, PaaS and SaaS – PaaS means Azure SQL DB, Azure Managed Instance – Active Directory Groups you are used to
  • 27. Anti-Virus ▪ Valid arguments to both sides ▪ If implemented use Microsoft recommendations for exceptions ▪ http://social.technet.microsoft.com/wiki/contents/articles/953.mi crosoft-anti-virus-exclusion-list.aspx

Editor's Notes

  • #6: Buffer Manager/Buffer Pool
  • #14: https://azure.microsoft.com/en-us/overview/what-is-iaas/ https://azure.microsoft.com/en-us/overview/what-is-paas/ https://azure.microsoft.com/en-us/overview/what-is-saas/