SlideShare una empresa de Scribd logo
1 de 70
Descargar para leer sin conexión
Ralph Attard – MCT & MCSE: Data Management and Analytics
Agenda
• Supported features & Linux differences
• Installing SQL Server on a Linux Container
• Accessing SMB 3.0 shared storage using Samba
• Setting up a Failover Cluster using Pacemaker
• Setting up Availability Groups using Pacemaker
• Authenticating to SQL Server using AD Authentication
• Setting up Read-Scale Cross-Platform Availability Groups
SQL Server on the platform of your choice
• Windows Server / Windows 10
• Docker: Windows and Linux
containers
• Linux distributions: Red Hat
Enterprise Linux (RHEL), Ubuntu, and
SUSE Linux Enterprise Server (SLES)
Linux
Docker Container
Windows
1TB TPC-H non-clustered world record
benchmark
Great performance
Great value
$0.64
$0.47
SQL Server 2016
on Windows
SQL Server 2017 on SUSE
Linux Enterprise Server
678,492
1,009,065
SQL Server 2016
on Windows
SQL Server 2017 on SUSE
Linux Enterprise Server
Read the performance brief at hpe.com/servers/benchmarks.
Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Red Hat, Red Hat Enterprise Linux, and the Shadowman logo are registered trademarks of Red Hat, Inc. Linux is a registered trademark of
Linus Torvalds. Intel and Xeon are trademarks of Intel Corporation in the U.S. and other countries. TPC and TPC-H are trademarks of the Transaction Processing Performance Council. TPC-H results show the HPE
ProLiant DL380 Gen10 with a result of 1,009,065 QphH @ 1000GB and $0.47/QphH USD with system availability as of 02-28-18 (results published 11-17-2017; see www.tpc.org/3331); the HPE ProLiant DL380 Gen9 with a
result of 678,492 QphH @1000GB and $0.64/QphH @ 1000GB with system availability as of 07-31-2016 (results published 03-24-2016; see tpc.org/3320). The TPC believes that comparisons of TPC-H results published
with different scale factors are misleading and discourages such comparisons. Please see tpc.org for up-to-date information. Competitive claims valid as of 04-19-2017.
$/Query per hour ($/QPHH)
Query per hour (QPHH)
Linux-native User Experience
Making SQL Server run on Linux
Introducing SQL PAL - Platform Abstraction Layer
SQLOS + Drawbridge = SQLPAL
• Drawbridge a research prototype kicked off in 2011 intended to reduce
virtualization resource overhead of hosting multiple Virtual Machines.
• Library OS implemented host Application Binary Interface (ABI) for
address space & memory management, host synchronization, and IO.
• Capable of hosting other Windows components such as CLR & MSXML.
https://cloudblogs.microsoft.com/sqlserver/2016/12/16/sql-server-on-linux-how-introduction/
• SQLOS introduced in SQL Server 2005 as a layer between the SQL
Server and Windows.
• Handled user mode thread scheduling, memory management,
synchronization.
• Provided: Dynamic Management Views & Extended Events.
SQL Platform Abstraction Layer (SQLPAL)
a Cross-platform architecture
https://www.slideshare.net/TravisWright4/sql-server-2017-overview-and-partner-opportunities
What is it about?
Supported Platforms
Un/Supported Features
System Requirements
Supported platforms
Unofficially: CentOS 7, Debian 8+, Fedora 24+ and possibly others.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup?view=sql-server-2017
Platform Supported versions Supported file systems
Red Hat Enterprise Linux 7.3 or 7.4 XFS or Ext4
SUSE Linux Enterprise Server v12 SP2 Ext4
Ubuntu 16.04 Ext4
Docker Engine (on Windows, Mac,
or Linux)
1.8+ N/A
Supported Features on Linux
Unsupported Features on Linux
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes?view=sql-server-2017#Unsupported
• AD Authentication for Linked Servers
• AD Authentication for AGs
SQL Server on Linux investment roadmap
• SQL Server Agent transaction replication*
• Machine Learning Services in R & Python*
• PolyBase on Linux
• HA on Containers and Kubernetes*
• AD authentication for Linked Servers
• AD authentication for AGs
• Distributed Transactions (DTC)​*
• 3rd party AD tools like Centrify*
* Supported in SQL Server 2019 Preview
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-container-ha-overview?view=sql-server-ver15
System minimum requirements
• Memory 2 GB
• File System XFS or EXT4
• Disk space 6 GB
• Processor speed 2 GHz
• Processor cores 2 cores
• Processor type x64-compatible only
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup?view=sql-server-2017
Installing SQL Server
Installing SQL Server in Containers and Linux machines
Install SQL Server in a Docker Container
# Download Image
docker pull mcr.microsoft.com/mssql/server:2017-latest
# Run Container
docker run --name sql1 `
-e "ACCEPT_EULA=Y" `
-e "SA_PASSWORD=Pa55.wrd" `
-e "MSSQL_PID=Developer" `
-p 1433:1433 `
-d mcr.microsoft.com/mssql/server:2017-latest
NB: SQL Server on Linux container images are based on Ubuntu 16.04 LTS and SQL Server for Linux.
https://hub.docker.com/r/microsoft/mssql-server/
Install SQL Server in a Docker Container
Linux Package Managers
• SQL Server installation uses Linux Package Management Systems.
• However Package Management Systems differ per Linux distro.
• Also, Enterprise-level distros require a HA add-on.
# Ubuntu
sudo apt-get install -y mssql-server
#RHEL (Red Hat Linux)
sudo yum install -y mssql-server
# SLES (SUSE Linux Enterprise Server)
sudo zypper install mssql-server
Install SQL Server on Linux
# Download
curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo
# Install
yum install -y mssql-server
# Configure
/opt/mssql/bin/mssql-conf setup
https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-2017
Install SQL Server on Linux
Memory requirements & Usage
• My lab runs on 2210 MB of RAM.
• SQL Server uses 1532 MB of RAM.
Installation folders & basic commands
• SQL Server runtime and associated
libraries:
• /opt/mssql/bin/
• /opt/mssql/lib/
• Data files SQL Server databases:
• /var/opt/mssql/data/
• Log files
• /var/opt/mssql/log/
• systemctl is used to manage services:
• status
• start
• stop
• restart
• mssql-conf is a configuration script
that installs with SQL Server 2017.
systemctl
mssql-conf
# Change default directories
/opt/mssql/bin/mssql-conf set filelocation.defaultdatadir /var/opt/mssql/userdata
/opt/mssql/bin/mssql-conf set filelocation.defaultlogdir /var/opt/mssql/userdata
# Enable Availability Groups
/opt/mssql/bin/mssql-conf set hadr.hadrenabled 1
# Reset SA password
/opt/mssql/bin/mssql-conf set-sa-password
# Change Server Collation – It also rebuild system database objects!
/opt/mssql/bin/mssql-conf set-collation
NB: Some settings can only be set whilst the service is switched off
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-2017
Install SQL Server Agent
• For Versions 2017 CU3 and below – Install Package
• yum install –y mssql-server-agent
• For Versions 2017 CU4 and above – Enable Setting
• /opt/mssql/bin/mssql-conf set sqlagent.enabled true
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-sql-agent?view=sql-server-2017
Install Command-line Tools
• Available tools:
• sqlcmd
• bcp
• Pre-requisites
• unixODBC-devel
# Download
curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo
# Install
yum install -y mssql-tools unixODBC-devel
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-sql-agent?view=sql-server-2017
Firewall Ports
• 111 TCP/UDP NFS - rpcbind/sunrpc
• 135 TCP Samba - End Point Mapper
• 137 UDP Samba - NetBIOS Name Service
• 138 UDP Samba - NetBIOS Datagram
• 139 TCP Samba - NetBIOS Session
• 445 TCP Samba - SMB over TCP
• 1433 TCP SQL Server
• 2049 TCP, UDP NFS
• 2224 TCP Pacemaker - Pacemaker Configuration System
• 3121 TCP Pacemaker - Pacemaker Remote
• 3260 TCP iSCSI Initiator
• 5022 TCP SQL Server - Standard HADR Endpoint
• 5403 TCP Pacemaker
• 5404 UDP Pacemaker - Corosync Multicast UDP
• 5405 UDP Pacemaker - Corosync
• 21064 TCP Pacemaker - Distributed Lock Manager (Used in FCI)
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017#configure-the-firewall
High Availability (HA) Options
Failover Cluster Instance
Availability Groups
AG & FCI Configurations : Linux vs Windows
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017
HA Differences – Clustering Layer
• WSFC – Windows Server Failover Cluster
• Highly integrated with SQL Server – Separate SQL Installation Option.
• SQL FCI created as a clustered resource.
• SQL Server knows WSFC state information.
• SQL AG Failover done from SQL.
• External – Pacemaker
• Not coupled as WSFC.
• SQL installed per node, FCI managed as a single instance.
• SQL Server not aware about clustering layer.
• SQL AG Failover done from PCS.
HA Requirements - Pacemaker
• All of the currently supported distributions ship a high availability add-
on/extension, which is based on the Pacemaker clustering stack.
• This stack incorporates two key components: Pacemaker and Corosync. All the
components of the stack are:
• Pacemaker – A cluster resource manager that coordinates cluster resources and services.
• Corosync – A set of APIs that provides cluster membership and messaging capabilities.
• pcs – The Pacemaker Configuration System.
• libQB – A library that provides high performance logging, tracing, ipc, and poll.
• Resource agent – Support application integration through Open Cluster Framework.
• Fence agent – Assist in isolating nodes and deal with them if they are having issues.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017#ha-add-onextension-basics
HA Requirements - Resource Agents
https://github.com/Microsoft/mssql-server-ha
HA Requirements - STONITH
• Pacemaker requires STONITH (Shoot The Other Node In The Head) to
automatically power down a node that is not working correctly.
• Hyper-V does not have a solution for STONITH. This also impacts Azure-based
Pacemaker deployments using certain distributions such as RHEL.
• Thus, might be forced to disable it.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017#quorum-fence-agents-and-stonith
Pacemaker Configuration
• migration-threshold=N
• resource will be banned from the original node after N failures.
• failure-timeout=Xs
• resource can move back after X seconds.
• start-failure-is-fatal=true
• Default is true. A START failure sets fail count to INFINITY and forces a move.
• Set to false to retry a start on the same node.
• stonith-enabled=true
• When true, a STOP error will fence the node to bring it down.
• When false, a STOP command fails, a STOP will be retired on failure-timeout.
https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_failure_response.html
Pacemaker Commands
• pcs cluster auth Authenticate nodes
• pcs cluster setup Link nodes together
• pcs cluster start/stop Control nodes
• pcs property set Configure pcs settings
• pcs resource show Show configured resources
• pcs resource create Add new resources to pcs
• pcs status Show cluster status
• pcs resource move Failover resources between nodes
• pcs cluster destroy Remove cluster
HA Differences – AG Listener
• The listener is an optional functionality for an AG. It provides a single point of entry for all connections:
• read/write to the primary replica.
• read-only to secondary replicas.
• In a WSFC, this is the combination of a network name resource and an IP resource:
• Creates a Computer object in AD DS.
• Registers DNS record automatically.
• The listener under Linux is configured differently, but its functionality is the same:
• Pacemaker has no concept of a “network name resource”.
• No object is created in AD DS.
• DNS needs to be registered manually.
• Based on AG cluster type the listener’s IP should
• External – match the IP assigned to the pacemaker resource.
• None – be that assigned to the primary replica.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#the-listener-under-linux
Failover Cluster Instance
FCI & Shared Storage
• A Failover Cluster Instance requires storage
that can be accessed by all cluster nodes.
• You can use:
• iSCSI – configurable using iscsiadm
• NFS – mount using nfs4
• SMB 3.0 – mount using smbclient
• Configuring shared storage:
1. Install and configure a stand-alone SQL Server
2. Mount shared storage
3. Move system databases to shared storage
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-shared-disk-cluster-configure?view=sql-server-2017
Smbclient & Scale-Out File Server
• Force SMB3.0 by specifying client minimum protocol.
• Use Scale-Out File Server (SOFS) Shared Folders with a minimum of 2-Node Windows
Server 2016 Cluster with shared storage mounted in an Active-Active manner as Cluster
Shared Volume (CSV) to benefit from RDMA, Multichannel, and Transparent Failover.
https://www.petri.com/windows-server-2012-smb-3-scale-out-file-server/sofs
Configuring Failover Clusters on Linux
• Linux prerequisites
• Create a pacemaker SQL login
• Create shared storage
• Configure Linux
• Configure samba client
• Mount shared storage
• Move system databases
• Copy machine key
• Create pacemaker password file
• Install pacemaker & dependencies
• Set hacluster password
• Install MSSQL HA
• Configure Firewall
• Configure Pacemaker
• Authenticate Cluster Nodes
• Create Cluster
• Disable STONITH
• Enable Services
• Create storage resource
• Create ip resource
• Create cluster resource
Configuring Failover Clusters on Linux
Errors: Offline/Unclean nodes
Errors: Different local server name
PCS Status – Showing healthy FCI
# restart services in case of error
pcs cluster stop
pcs cluster start
# failover
pcs resource move sqlfci centos1
Availability Groups
Configuring Availability Groups on Linux
Network subnet Network subnet
Storage
Node NodeNodeNodeNode
SQL Server
instance
SQL Server
instance
SQL Server
instance
Always On SQL Server
failover cluster instance
Always On availability group
Instance
network name
Pacemaker
configuration
Pacemaker
configuration
Pacemaker
configuration
Pacemaker
configuration
Pacemaker
configuration
Instance
network name
Instance
network name
Instance
network name
Pacemaker cluster virtual IP
Storage Storage Shared storage
Secondary
replica
DNS name (manual registration)
Secondary
replica
Secondary
replica
Primary
replica
New Cluster Types
New to SQL Server 2017 (14.x) is
the introduction of a cluster type
for AGs:
• WSFC – Windows Server Failover
Cluster.
• External – Pacemaker will be used
underneath the AG on Linux.
• None – No cluster manager:
• Only supports manual failover.
• Used for the read-scale scenarios.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#cluster-type-and-failover-mode
Configuration-only replica and quorum
• A two-node setup is not enough for Availability Groups.
• For an FCI, the quorum mechanisms provided by Pacemaker can be fine because all FCI failover arbitration
happens at the cluster layer.
• For an AG, arbitration under Linux happens in SQL Server, where all the metadata is stored.
• External Availability Groups can maintain quorum and enable automatic failovers by using:
• Three synchronous replicas (SQL Server Enterprise only); or
• Two replicas (primary and secondary) + a configuration only replica.
• A configuration-only replica
• Stores the AG configuration in the master database, same as the other replicas in the AG.
• Does not have the user databases participating in the AG.
• Configuration data is sent synchronously from the primary.
• Can be SQL Server Express to minimize licensing costs and support AGs on 2-node Standard Edition.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#configuration-only-replica-and-quorum
required_synchronized_secondaries_to_commit
• New to SQL Server 2017 (14.x), this tells the AG the number of secondary replicas
that must be in lockstep with the primary.
• Enables automatic failover when integrated with Pacemaker and a cluster type of
External.
• The behaviour is as follows under Linux:
• 0 - No automatic failover is possible since no synchronized secondary replica is required.
• 1 - One secondary replica must be in a synchronized state; automatic failover is possible. The
primary database is unavailable until a secondary synchronous replica is available.
• 2 - Both secondary replicas in a three or more node AG configuration must be synchronized
with the primary; automatic failover is possible.
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#configuration-only-replica-and-quorum
required_synchronized_secondaries_to_commit
# [centos4]
pcs resource update sqlag required_synchronized_secondaries_to_commit=1
# [centos3]
shutdown now
# [centos4]
Msg 988, Level 14, State 1, Line 11
Unable to access database 'testdb' because it lacks a quorum of nodes for high availability. Try the operation again later.
# [centos4]
pcs resource update sqlag required_synchronized_secondaries_to_commit=0
# [centos4]
Works!
Configuring Availability Groups on Linux
• Linux prerequisites
• Configure hosts file
• Enable MSSQL
• Enable MSSQL HA
• Configure Firewall
• Configure SQL Server
• Create Master Key
• Create Login & User per node
• Create, Copy, Restore Certificates
• Create HADR endpoint
• Create & Backup database
• Enable Event Sessions
• Create Availability Group
• Create pacemaker login
• Configure Linux
• Create pacemaker password file
• Install pacemaker & dependencies
• Set hacluster password
• Install MSSQL HA
• Configure Firewall
• Configure Pacemaker
• Authenticate Cluster Nodes
• Create Cluster
• Disable STONITH
• Enable Services
• Create ag resource
• Create ip resource
• Set resource dependencies
Configuring Availability Groups on Linux
PCS Status – Healthy AG
Active Directory Authentication
Setting Active Directory Authentication
• Linux prerequisites
• Install realmd, kerberos, &
dependencies
• Confirm AD is set as DNS Server
• Set hosts file with FQDN
• Configure AD
• Create AD user
• Set Service Principal Name (SPN)
• Add DNS records
• Configure Linux
• Join the AD Domain
• Test user info retrieval from AD
• Get Kerberos ticket for the AD account
• Check Key Version Number (kvno) for
SPN
• Configure SQL Server keytab
• Create keytab file for SPNs
• Add machine account
• Secure keytab file
• Set SQL Server for kerberos
authentication with keytab file
• Optimise AD connectivity
• Disable Kerberos UDP connections
• Disable SSSD calls to use LDAP directly
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-active-directory-authentication?view=sql-server-2017
Setting Active Directory Authentication
FQDN Required for DNS Update
Register Service Principal Names (SPN)
# AES256-CTS-HMAC-SHA1-96
256-bit AES key with ciphertext stealing and an SHA-1 HMAC truncated at 96 bits.
#RC4-HMAC
RC4 encryption with an MD5 HMAC.
Read-scale
Availability Group without Cluster
Distributed Availability Group
Cross-Platform Availability Groups
• Usually used for read-scale scenarios. It is not a high
availability setup and only manual failover are allowed!
• Up to 17 readable secondary replicas
• Only an AG with a cluster type of NONE can have its replicas
cross OS boundaries.
• E.g. a Windows-based primary replica and Linux-based
secondary.
• A Distributed AG can also cross OS boundaries and provide
geographic read-scale. Each AG must obey it’s platform rules:
• WSFC – Windows only
• External – Linux only
• Drive and folder structure for user databases in an AG should
be identical; However cross-platform paths are different:
• X:MSSQLDATAtestdb.mdf – Windows
• /var/opt/mssql/data/testdb.mdf – Linux
https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-cross-platform?view=sql-server-2017
Cross-Platform without Automatic Seeding
• Set SEEDING_MODE = MANUAL
• Restore databases WITH MOVE option
Configuring Cross-Platform AGs
• Linux prerequisites
• Enable MSSQL HA
• Configure Firewall
• Configure SQL Server
• Create Master Key
• Create Login & User per node
• Create, Copy, Restore Certificates
• Create HADR endpoint
• Create and Backup database
• Copy and Restore database
• Enable Event Sessions
• Create Availability Group
• Join Secondary Replicas to AG
Configuring Cross-Platform AGs
Logs
• /var/log/messages
• /var/log/pacemaker.log
• /var/log/cluster/corosync.log
• /var/log/pcsd/pcsd.log
• /var/opt/mssql/log/errorlog
Glossary
• STONITH (Shoot The Other Node In The Head) maintains the integrity of a high-availability
clusters by shutting down malfunctioning nodes.
• REALM is a command line tool that can be used to manage enrolment in kerberos realms, like
Active Directory domains or IPA domains.
• SSSD (System Security Services Daemon) provides a set of daemons to manage access to remote
directories and authentication mechanisms.
• SPN (Service Principal Name) is the name by which a Kerberos client uniquely identifies an
instance of a service for a given Kerberos server.
• kinit command obtains and caches an initial ticket-granting ticket for principal.
• kvno command acquires a service ticket for the specified Kerberos principals and prints out the
key version numbers of each.
• keytab files allow server applications to accept authentications from clients, but can also be used
to obtain initial credentials for client applications.
• ktutil command invokes a command interface from which an administrator can read, write, or
edit entries in a keytab or Kerberos srvtab file.
Online Guides
• Microsoft Quickstarts & Tutorials
• https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql-
server-2017
• Stand-alone
• https://www.mssqltips.com/sqlservertip/4620/installing-sql-server-vnext-ctp1-on-
red-hat-linux-72/
• Failover Cluster Instance
• http://www.someplasticbag.com/2017/10/first-foray-into-sql-server-on-linux.html
• Availability Group
• https://www.mssqltips.com/sqlservertip/5161/install-and-configure-sql-server-2017-
availability-groups-on-linux--part-1/
Sponsors
We would like to thank today’s sponsors:
Also happening this month
SQL Server 2019: More intelligent than ever
by Malta Microsoft Data Platform User Group
A webcast on December 20th at 7PM.
More info: https://malta.pass.org
Registration: https://www.eventbrite.com/e/sql-server-2019-more-
intelligent-than-ever-tickets-53216519041
Call for speakers
• We are working on our 2019 calendar of events and thus looking for speakers on
a variety of subjects, including:
o AI & Machine Learning
o Azure & Cloud Computing *
o Containerisation and Orchestration
o IOT
o Micro Services & Event Sourcing
o Real-time Data warehousing
• The Global Azure Bootcamp 2019 happening on April 27! *
• http://tech-spark.com/become-a-speaker/
• http://tech-spark.com/sponsorships/
Contact Us
Ralph Attard
raland@raland.net
Tech Spark
http://www.tech-spark.com
https://www.facebook.com/techsparkmalta

Más contenido relacionado

La actualidad más candente

MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21Ivan Zoratti
 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASTechnical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASAshnikbiz
 
Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...
Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...
Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...MariaDB Corporation
 
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
 MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013   MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013 Serge Frezefond
 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMorgan Tocker
 
Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017EDB
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesTarique Saleem
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼NeoClova
 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with MemcachedImplementing High Availability Caching with Memcached
Implementing High Availability Caching with MemcachedGear6
 
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Bob Ward
 
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Mydbops
 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5Gianluca Hotz
 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Ted Wennmark
 
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기Jesang Yoon
 
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level MonitoringEnterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level MonitoringDaniel Kanchev
 

La actualidad más candente (20)

MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21
 
Drupal In The Cloud
Drupal In The CloudDrupal In The Cloud
Drupal In The Cloud
 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPASTechnical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
 
SQL Server on Linux
SQL Server on LinuxSQL Server on Linux
SQL Server on Linux
 
Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...
Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...
Skalierbarkeit mit MariaDB und MaxScale - MariaDB Roadshow Summer 2014 Hambur...
 
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
 MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013   MySQL PHP native driver  : Advanced Functions / PHP forum Paris 2013
MySQL PHP native driver : Advanced Functions / PHP forum Paris 2013
 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that MatterMySQL Performance Metrics that Matter
MySQL Performance Metrics that Matter
 
Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼
 
Sharepoint Deployments
Sharepoint DeploymentsSharepoint Deployments
Sharepoint Deployments
 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with MemcachedImplementing High Availability Caching with Memcached
Implementing High Availability Caching with Memcached
 
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
Brk2045 upgrade sql server 2017 (on prem, iaa-s and paas)
 
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera ) Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
Wars of MySQL Cluster ( InnoDB Cluster VS Galera )
 
Get to know PostgreSQL!
Get to know PostgreSQL!Get to know PostgreSQL!
Get to know PostgreSQL!
 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5
 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
 
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기
 
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level MonitoringEnterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
 

Similar a Tech-Spark: SQL Server on Linux

Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!SolarWinds
 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux IntroductionSQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux IntroductionTravis Wright
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and dockerBob Ward
 
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Nordic infrastructure Conference 2017 - SQL Server on Linux OverviewNordic infrastructure Conference 2017 - SQL Server on Linux Overview
Nordic infrastructure Conference 2017 - SQL Server on Linux OverviewTravis Wright
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckGeorge Walters
 
SQL Server vNext on Linux
SQL Server vNext on LinuxSQL Server vNext on Linux
SQL Server vNext on LinuxTravis Wright
 
The roadmap for sql server 2019
The roadmap for sql server 2019The roadmap for sql server 2019
The roadmap for sql server 2019Javier Villegas
 
Brk3288 sql server v.next with support on linux, windows and containers was...
Brk3288 sql server v.next with support on linux, windows and containers   was...Brk3288 sql server v.next with support on linux, windows and containers   was...
Brk3288 sql server v.next with support on linux, windows and containers was...Bob Ward
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4Gianluca Hotz
 
Bootcamp 2017 - SQL Server on Linux
Bootcamp 2017 - SQL Server on LinuxBootcamp 2017 - SQL Server on Linux
Bootcamp 2017 - SQL Server on LinuxMaximiliano Accotto
 
Sql on linux - ITpro
Sql on linux - ITproSql on linux - ITpro
Sql on linux - ITproKiki Noviandi
 
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!SolarWinds
 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux IntroductionSQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux IntroductionTravis Wright
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld
 
Introduction to SQL Server on RHEL
Introduction to SQL Server on RHELIntroduction to SQL Server on RHEL
Introduction to SQL Server on RHELTakayoshi Tanaka
 
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld
 

Similar a Tech-Spark: SQL Server on Linux (20)

Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux IntroductionSQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
 
Experience sql server on l inux and docker
Experience sql server on l inux and dockerExperience sql server on l inux and docker
Experience sql server on l inux and docker
 
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Nordic infrastructure Conference 2017 - SQL Server on Linux OverviewNordic infrastructure Conference 2017 - SQL Server on Linux Overview
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deckMicrosoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
 
SQL Server vNext on Linux
SQL Server vNext on LinuxSQL Server vNext on Linux
SQL Server vNext on Linux
 
The roadmap for sql server 2019
The roadmap for sql server 2019The roadmap for sql server 2019
The roadmap for sql server 2019
 
Brk3288 sql server v.next with support on linux, windows and containers was...
Brk3288 sql server v.next with support on linux, windows and containers   was...Brk3288 sql server v.next with support on linux, windows and containers   was...
Brk3288 sql server v.next with support on linux, windows and containers was...
 
SQL on linux
SQL on linuxSQL on linux
SQL on linux
 
Server 2016 sneak peek
Server 2016 sneak peekServer 2016 sneak peek
Server 2016 sneak peek
 
SQL Server Clustering Part1
SQL Server Clustering Part1SQL Server Clustering Part1
SQL Server Clustering Part1
 
SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4SQL Server 2019 CTP2.4
SQL Server 2019 CTP2.4
 
Bootcamp 2017 - SQL Server on Linux
Bootcamp 2017 - SQL Server on LinuxBootcamp 2017 - SQL Server on Linux
Bootcamp 2017 - SQL Server on Linux
 
Sql on linux - ITpro
Sql on linux - ITproSql on linux - ITpro
Sql on linux - ITpro
 
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
 
Sum209
Sum209Sum209
Sum209
 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux IntroductionSQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
 
VMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphereVMworld 2015: Advanced SQL Server on vSphere
VMworld 2015: Advanced SQL Server on vSphere
 
Introduction to SQL Server on RHEL
Introduction to SQL Server on RHELIntroduction to SQL Server on RHEL
Introduction to SQL Server on RHEL
 
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
VMworld Europe 2014: Advanced SQL Server on vSphere Techniques and Best Pract...
 

Último

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Tech-Spark: SQL Server on Linux

  • 1. Ralph Attard – MCT & MCSE: Data Management and Analytics
  • 2. Agenda • Supported features & Linux differences • Installing SQL Server on a Linux Container • Accessing SMB 3.0 shared storage using Samba • Setting up a Failover Cluster using Pacemaker • Setting up Availability Groups using Pacemaker • Authenticating to SQL Server using AD Authentication • Setting up Read-Scale Cross-Platform Availability Groups
  • 3. SQL Server on the platform of your choice • Windows Server / Windows 10 • Docker: Windows and Linux containers • Linux distributions: Red Hat Enterprise Linux (RHEL), Ubuntu, and SUSE Linux Enterprise Server (SLES) Linux Docker Container Windows
  • 4. 1TB TPC-H non-clustered world record benchmark Great performance Great value $0.64 $0.47 SQL Server 2016 on Windows SQL Server 2017 on SUSE Linux Enterprise Server 678,492 1,009,065 SQL Server 2016 on Windows SQL Server 2017 on SUSE Linux Enterprise Server Read the performance brief at hpe.com/servers/benchmarks. Microsoft and Windows are U.S. registered trademarks of Microsoft Corporation. Red Hat, Red Hat Enterprise Linux, and the Shadowman logo are registered trademarks of Red Hat, Inc. Linux is a registered trademark of Linus Torvalds. Intel and Xeon are trademarks of Intel Corporation in the U.S. and other countries. TPC and TPC-H are trademarks of the Transaction Processing Performance Council. TPC-H results show the HPE ProLiant DL380 Gen10 with a result of 1,009,065 QphH @ 1000GB and $0.47/QphH USD with system availability as of 02-28-18 (results published 11-17-2017; see www.tpc.org/3331); the HPE ProLiant DL380 Gen9 with a result of 678,492 QphH @1000GB and $0.64/QphH @ 1000GB with system availability as of 07-31-2016 (results published 03-24-2016; see tpc.org/3320). The TPC believes that comparisons of TPC-H results published with different scale factors are misleading and discourages such comparisons. Please see tpc.org for up-to-date information. Competitive claims valid as of 04-19-2017. $/Query per hour ($/QPHH) Query per hour (QPHH)
  • 6. Making SQL Server run on Linux Introducing SQL PAL - Platform Abstraction Layer
  • 7. SQLOS + Drawbridge = SQLPAL • Drawbridge a research prototype kicked off in 2011 intended to reduce virtualization resource overhead of hosting multiple Virtual Machines. • Library OS implemented host Application Binary Interface (ABI) for address space & memory management, host synchronization, and IO. • Capable of hosting other Windows components such as CLR & MSXML. https://cloudblogs.microsoft.com/sqlserver/2016/12/16/sql-server-on-linux-how-introduction/ • SQLOS introduced in SQL Server 2005 as a layer between the SQL Server and Windows. • Handled user mode thread scheduling, memory management, synchronization. • Provided: Dynamic Management Views & Extended Events.
  • 8. SQL Platform Abstraction Layer (SQLPAL) a Cross-platform architecture https://www.slideshare.net/TravisWright4/sql-server-2017-overview-and-partner-opportunities
  • 9. What is it about? Supported Platforms Un/Supported Features System Requirements
  • 10. Supported platforms Unofficially: CentOS 7, Debian 8+, Fedora 24+ and possibly others. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup?view=sql-server-2017 Platform Supported versions Supported file systems Red Hat Enterprise Linux 7.3 or 7.4 XFS or Ext4 SUSE Linux Enterprise Server v12 SP2 Ext4 Ubuntu 16.04 Ext4 Docker Engine (on Windows, Mac, or Linux) 1.8+ N/A
  • 12. Unsupported Features on Linux https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-release-notes?view=sql-server-2017#Unsupported • AD Authentication for Linked Servers • AD Authentication for AGs
  • 13. SQL Server on Linux investment roadmap • SQL Server Agent transaction replication* • Machine Learning Services in R & Python* • PolyBase on Linux • HA on Containers and Kubernetes* • AD authentication for Linked Servers • AD authentication for AGs • Distributed Transactions (DTC)​* • 3rd party AD tools like Centrify* * Supported in SQL Server 2019 Preview https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-container-ha-overview?view=sql-server-ver15
  • 14. System minimum requirements • Memory 2 GB • File System XFS or EXT4 • Disk space 6 GB • Processor speed 2 GHz • Processor cores 2 cores • Processor type x64-compatible only https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup?view=sql-server-2017
  • 15. Installing SQL Server Installing SQL Server in Containers and Linux machines
  • 16. Install SQL Server in a Docker Container # Download Image docker pull mcr.microsoft.com/mssql/server:2017-latest # Run Container docker run --name sql1 ` -e "ACCEPT_EULA=Y" ` -e "SA_PASSWORD=Pa55.wrd" ` -e "MSSQL_PID=Developer" ` -p 1433:1433 ` -d mcr.microsoft.com/mssql/server:2017-latest NB: SQL Server on Linux container images are based on Ubuntu 16.04 LTS and SQL Server for Linux. https://hub.docker.com/r/microsoft/mssql-server/
  • 17. Install SQL Server in a Docker Container
  • 18. Linux Package Managers • SQL Server installation uses Linux Package Management Systems. • However Package Management Systems differ per Linux distro. • Also, Enterprise-level distros require a HA add-on. # Ubuntu sudo apt-get install -y mssql-server #RHEL (Red Hat Linux) sudo yum install -y mssql-server # SLES (SUSE Linux Enterprise Server) sudo zypper install mssql-server
  • 19. Install SQL Server on Linux # Download curl -o /etc/yum.repos.d/mssql-server.repo https://packages.microsoft.com/config/rhel/7/mssql-server-2017.repo # Install yum install -y mssql-server # Configure /opt/mssql/bin/mssql-conf setup https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-red-hat?view=sql-server-2017
  • 20. Install SQL Server on Linux
  • 21. Memory requirements & Usage • My lab runs on 2210 MB of RAM. • SQL Server uses 1532 MB of RAM.
  • 22. Installation folders & basic commands • SQL Server runtime and associated libraries: • /opt/mssql/bin/ • /opt/mssql/lib/ • Data files SQL Server databases: • /var/opt/mssql/data/ • Log files • /var/opt/mssql/log/ • systemctl is used to manage services: • status • start • stop • restart • mssql-conf is a configuration script that installs with SQL Server 2017.
  • 24. mssql-conf # Change default directories /opt/mssql/bin/mssql-conf set filelocation.defaultdatadir /var/opt/mssql/userdata /opt/mssql/bin/mssql-conf set filelocation.defaultlogdir /var/opt/mssql/userdata # Enable Availability Groups /opt/mssql/bin/mssql-conf set hadr.hadrenabled 1 # Reset SA password /opt/mssql/bin/mssql-conf set-sa-password # Change Server Collation – It also rebuild system database objects! /opt/mssql/bin/mssql-conf set-collation NB: Some settings can only be set whilst the service is switched off https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-configure-mssql-conf?view=sql-server-2017
  • 25. Install SQL Server Agent • For Versions 2017 CU3 and below – Install Package • yum install –y mssql-server-agent • For Versions 2017 CU4 and above – Enable Setting • /opt/mssql/bin/mssql-conf set sqlagent.enabled true https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-sql-agent?view=sql-server-2017
  • 26. Install Command-line Tools • Available tools: • sqlcmd • bcp • Pre-requisites • unixODBC-devel # Download curl -o /etc/yum.repos.d/msprod.repo https://packages.microsoft.com/config/rhel/7/prod.repo # Install yum install -y mssql-tools unixODBC-devel https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-setup-sql-agent?view=sql-server-2017
  • 27. Firewall Ports • 111 TCP/UDP NFS - rpcbind/sunrpc • 135 TCP Samba - End Point Mapper • 137 UDP Samba - NetBIOS Name Service • 138 UDP Samba - NetBIOS Datagram • 139 TCP Samba - NetBIOS Session • 445 TCP Samba - SMB over TCP • 1433 TCP SQL Server • 2049 TCP, UDP NFS • 2224 TCP Pacemaker - Pacemaker Configuration System • 3121 TCP Pacemaker - Pacemaker Remote • 3260 TCP iSCSI Initiator • 5022 TCP SQL Server - Standard HADR Endpoint • 5403 TCP Pacemaker • 5404 UDP Pacemaker - Corosync Multicast UDP • 5405 UDP Pacemaker - Corosync • 21064 TCP Pacemaker - Distributed Lock Manager (Used in FCI) https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017#configure-the-firewall
  • 28. High Availability (HA) Options Failover Cluster Instance Availability Groups
  • 29. AG & FCI Configurations : Linux vs Windows https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017
  • 30. HA Differences – Clustering Layer • WSFC – Windows Server Failover Cluster • Highly integrated with SQL Server – Separate SQL Installation Option. • SQL FCI created as a clustered resource. • SQL Server knows WSFC state information. • SQL AG Failover done from SQL. • External – Pacemaker • Not coupled as WSFC. • SQL installed per node, FCI managed as a single instance. • SQL Server not aware about clustering layer. • SQL AG Failover done from PCS.
  • 31. HA Requirements - Pacemaker • All of the currently supported distributions ship a high availability add- on/extension, which is based on the Pacemaker clustering stack. • This stack incorporates two key components: Pacemaker and Corosync. All the components of the stack are: • Pacemaker – A cluster resource manager that coordinates cluster resources and services. • Corosync – A set of APIs that provides cluster membership and messaging capabilities. • pcs – The Pacemaker Configuration System. • libQB – A library that provides high performance logging, tracing, ipc, and poll. • Resource agent – Support application integration through Open Cluster Framework. • Fence agent – Assist in isolating nodes and deal with them if they are having issues. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017#ha-add-onextension-basics
  • 32. HA Requirements - Resource Agents https://github.com/Microsoft/mssql-server-ha
  • 33. HA Requirements - STONITH • Pacemaker requires STONITH (Shoot The Other Node In The Head) to automatically power down a node that is not working correctly. • Hyper-V does not have a solution for STONITH. This also impacts Azure-based Pacemaker deployments using certain distributions such as RHEL. • Thus, might be forced to disable it. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-ha-basics?view=sql-server-2017#quorum-fence-agents-and-stonith
  • 34. Pacemaker Configuration • migration-threshold=N • resource will be banned from the original node after N failures. • failure-timeout=Xs • resource can move back after X seconds. • start-failure-is-fatal=true • Default is true. A START failure sets fail count to INFINITY and forces a move. • Set to false to retry a start on the same node. • stonith-enabled=true • When true, a STOP error will fence the node to bring it down. • When false, a STOP command fails, a STOP will be retired on failure-timeout. https://clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/_failure_response.html
  • 35. Pacemaker Commands • pcs cluster auth Authenticate nodes • pcs cluster setup Link nodes together • pcs cluster start/stop Control nodes • pcs property set Configure pcs settings • pcs resource show Show configured resources • pcs resource create Add new resources to pcs • pcs status Show cluster status • pcs resource move Failover resources between nodes • pcs cluster destroy Remove cluster
  • 36. HA Differences – AG Listener • The listener is an optional functionality for an AG. It provides a single point of entry for all connections: • read/write to the primary replica. • read-only to secondary replicas. • In a WSFC, this is the combination of a network name resource and an IP resource: • Creates a Computer object in AD DS. • Registers DNS record automatically. • The listener under Linux is configured differently, but its functionality is the same: • Pacemaker has no concept of a “network name resource”. • No object is created in AD DS. • DNS needs to be registered manually. • Based on AG cluster type the listener’s IP should • External – match the IP assigned to the pacemaker resource. • None – be that assigned to the primary replica. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#the-listener-under-linux
  • 38. FCI & Shared Storage • A Failover Cluster Instance requires storage that can be accessed by all cluster nodes. • You can use: • iSCSI – configurable using iscsiadm • NFS – mount using nfs4 • SMB 3.0 – mount using smbclient • Configuring shared storage: 1. Install and configure a stand-alone SQL Server 2. Mount shared storage 3. Move system databases to shared storage https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-shared-disk-cluster-configure?view=sql-server-2017
  • 39. Smbclient & Scale-Out File Server • Force SMB3.0 by specifying client minimum protocol. • Use Scale-Out File Server (SOFS) Shared Folders with a minimum of 2-Node Windows Server 2016 Cluster with shared storage mounted in an Active-Active manner as Cluster Shared Volume (CSV) to benefit from RDMA, Multichannel, and Transparent Failover. https://www.petri.com/windows-server-2012-smb-3-scale-out-file-server/sofs
  • 40. Configuring Failover Clusters on Linux • Linux prerequisites • Create a pacemaker SQL login • Create shared storage • Configure Linux • Configure samba client • Mount shared storage • Move system databases • Copy machine key • Create pacemaker password file • Install pacemaker & dependencies • Set hacluster password • Install MSSQL HA • Configure Firewall • Configure Pacemaker • Authenticate Cluster Nodes • Create Cluster • Disable STONITH • Enable Services • Create storage resource • Create ip resource • Create cluster resource
  • 43. Errors: Different local server name
  • 44. PCS Status – Showing healthy FCI # restart services in case of error pcs cluster stop pcs cluster start # failover pcs resource move sqlfci centos1
  • 46. Configuring Availability Groups on Linux Network subnet Network subnet Storage Node NodeNodeNodeNode SQL Server instance SQL Server instance SQL Server instance Always On SQL Server failover cluster instance Always On availability group Instance network name Pacemaker configuration Pacemaker configuration Pacemaker configuration Pacemaker configuration Pacemaker configuration Instance network name Instance network name Instance network name Pacemaker cluster virtual IP Storage Storage Shared storage Secondary replica DNS name (manual registration) Secondary replica Secondary replica Primary replica
  • 47. New Cluster Types New to SQL Server 2017 (14.x) is the introduction of a cluster type for AGs: • WSFC – Windows Server Failover Cluster. • External – Pacemaker will be used underneath the AG on Linux. • None – No cluster manager: • Only supports manual failover. • Used for the read-scale scenarios. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#cluster-type-and-failover-mode
  • 48. Configuration-only replica and quorum • A two-node setup is not enough for Availability Groups. • For an FCI, the quorum mechanisms provided by Pacemaker can be fine because all FCI failover arbitration happens at the cluster layer. • For an AG, arbitration under Linux happens in SQL Server, where all the metadata is stored. • External Availability Groups can maintain quorum and enable automatic failovers by using: • Three synchronous replicas (SQL Server Enterprise only); or • Two replicas (primary and secondary) + a configuration only replica. • A configuration-only replica • Stores the AG configuration in the master database, same as the other replicas in the AG. • Does not have the user databases participating in the AG. • Configuration data is sent synchronously from the primary. • Can be SQL Server Express to minimize licensing costs and support AGs on 2-node Standard Edition. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#configuration-only-replica-and-quorum
  • 49. required_synchronized_secondaries_to_commit • New to SQL Server 2017 (14.x), this tells the AG the number of secondary replicas that must be in lockstep with the primary. • Enables automatic failover when integrated with Pacemaker and a cluster type of External. • The behaviour is as follows under Linux: • 0 - No automatic failover is possible since no synchronized secondary replica is required. • 1 - One secondary replica must be in a synchronized state; automatic failover is possible. The primary database is unavailable until a secondary synchronous replica is available. • 2 - Both secondary replicas in a three or more node AG configuration must be synchronized with the primary; automatic failover is possible. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-overview?view=sql-server-2017#configuration-only-replica-and-quorum
  • 50. required_synchronized_secondaries_to_commit # [centos4] pcs resource update sqlag required_synchronized_secondaries_to_commit=1 # [centos3] shutdown now # [centos4] Msg 988, Level 14, State 1, Line 11 Unable to access database 'testdb' because it lacks a quorum of nodes for high availability. Try the operation again later. # [centos4] pcs resource update sqlag required_synchronized_secondaries_to_commit=0 # [centos4] Works!
  • 51. Configuring Availability Groups on Linux • Linux prerequisites • Configure hosts file • Enable MSSQL • Enable MSSQL HA • Configure Firewall • Configure SQL Server • Create Master Key • Create Login & User per node • Create, Copy, Restore Certificates • Create HADR endpoint • Create & Backup database • Enable Event Sessions • Create Availability Group • Create pacemaker login • Configure Linux • Create pacemaker password file • Install pacemaker & dependencies • Set hacluster password • Install MSSQL HA • Configure Firewall • Configure Pacemaker • Authenticate Cluster Nodes • Create Cluster • Disable STONITH • Enable Services • Create ag resource • Create ip resource • Set resource dependencies
  • 53. PCS Status – Healthy AG
  • 55. Setting Active Directory Authentication • Linux prerequisites • Install realmd, kerberos, & dependencies • Confirm AD is set as DNS Server • Set hosts file with FQDN • Configure AD • Create AD user • Set Service Principal Name (SPN) • Add DNS records • Configure Linux • Join the AD Domain • Test user info retrieval from AD • Get Kerberos ticket for the AD account • Check Key Version Number (kvno) for SPN • Configure SQL Server keytab • Create keytab file for SPNs • Add machine account • Secure keytab file • Set SQL Server for kerberos authentication with keytab file • Optimise AD connectivity • Disable Kerberos UDP connections • Disable SSSD calls to use LDAP directly https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-active-directory-authentication?view=sql-server-2017
  • 56. Setting Active Directory Authentication
  • 57. FQDN Required for DNS Update
  • 58. Register Service Principal Names (SPN) # AES256-CTS-HMAC-SHA1-96 256-bit AES key with ciphertext stealing and an SHA-1 HMAC truncated at 96 bits. #RC4-HMAC RC4 encryption with an MD5 HMAC.
  • 59. Read-scale Availability Group without Cluster Distributed Availability Group
  • 60. Cross-Platform Availability Groups • Usually used for read-scale scenarios. It is not a high availability setup and only manual failover are allowed! • Up to 17 readable secondary replicas • Only an AG with a cluster type of NONE can have its replicas cross OS boundaries. • E.g. a Windows-based primary replica and Linux-based secondary. • A Distributed AG can also cross OS boundaries and provide geographic read-scale. Each AG must obey it’s platform rules: • WSFC – Windows only • External – Linux only • Drive and folder structure for user databases in an AG should be identical; However cross-platform paths are different: • X:MSSQLDATAtestdb.mdf – Windows • /var/opt/mssql/data/testdb.mdf – Linux https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-availability-group-cross-platform?view=sql-server-2017
  • 61. Cross-Platform without Automatic Seeding • Set SEEDING_MODE = MANUAL • Restore databases WITH MOVE option
  • 62. Configuring Cross-Platform AGs • Linux prerequisites • Enable MSSQL HA • Configure Firewall • Configure SQL Server • Create Master Key • Create Login & User per node • Create, Copy, Restore Certificates • Create HADR endpoint • Create and Backup database • Copy and Restore database • Enable Event Sessions • Create Availability Group • Join Secondary Replicas to AG
  • 64. Logs • /var/log/messages • /var/log/pacemaker.log • /var/log/cluster/corosync.log • /var/log/pcsd/pcsd.log • /var/opt/mssql/log/errorlog
  • 65. Glossary • STONITH (Shoot The Other Node In The Head) maintains the integrity of a high-availability clusters by shutting down malfunctioning nodes. • REALM is a command line tool that can be used to manage enrolment in kerberos realms, like Active Directory domains or IPA domains. • SSSD (System Security Services Daemon) provides a set of daemons to manage access to remote directories and authentication mechanisms. • SPN (Service Principal Name) is the name by which a Kerberos client uniquely identifies an instance of a service for a given Kerberos server. • kinit command obtains and caches an initial ticket-granting ticket for principal. • kvno command acquires a service ticket for the specified Kerberos principals and prints out the key version numbers of each. • keytab files allow server applications to accept authentications from clients, but can also be used to obtain initial credentials for client applications. • ktutil command invokes a command interface from which an administrator can read, write, or edit entries in a keytab or Kerberos srvtab file.
  • 66. Online Guides • Microsoft Quickstarts & Tutorials • https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-overview?view=sql- server-2017 • Stand-alone • https://www.mssqltips.com/sqlservertip/4620/installing-sql-server-vnext-ctp1-on- red-hat-linux-72/ • Failover Cluster Instance • http://www.someplasticbag.com/2017/10/first-foray-into-sql-server-on-linux.html • Availability Group • https://www.mssqltips.com/sqlservertip/5161/install-and-configure-sql-server-2017- availability-groups-on-linux--part-1/
  • 67. Sponsors We would like to thank today’s sponsors:
  • 68. Also happening this month SQL Server 2019: More intelligent than ever by Malta Microsoft Data Platform User Group A webcast on December 20th at 7PM. More info: https://malta.pass.org Registration: https://www.eventbrite.com/e/sql-server-2019-more- intelligent-than-ever-tickets-53216519041
  • 69. Call for speakers • We are working on our 2019 calendar of events and thus looking for speakers on a variety of subjects, including: o AI & Machine Learning o Azure & Cloud Computing * o Containerisation and Orchestration o IOT o Micro Services & Event Sourcing o Real-time Data warehousing • The Global Azure Bootcamp 2019 happening on April 27! * • http://tech-spark.com/become-a-speaker/ • http://tech-spark.com/sponsorships/
  • 70. Contact Us Ralph Attard raland@raland.net Tech Spark http://www.tech-spark.com https://www.facebook.com/techsparkmalta