SlideShare a Scribd company logo
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
Ad

Recommended

Brk2051 sql server on linux and docker
Brk2051 sql server on linux and docker
Bob Ward
ย 
Designing enterprise drupal
Designing enterprise drupal
Jason Burnett
ย 
My First 100 days with a MySQL DBMS
My First 100 days with a MySQL DBMS
Gustavo Rene Antunez
ย 
Always on in sql server 2017
Always on in sql server 2017
Gianluca Hotz
ย 
Cool MariaDB Plugins
Cool MariaDB Plugins
Colin Charles
ย 
What's New in PostgreSQL 9.6
What's New in PostgreSQL 9.6
EDB
ย 
Python Utilities for Managing MySQL Databases
Python Utilities for Managing MySQL Databases
Mats Kindahl
ย 
Tips to drive maria db cluster performance for nextcloud
Tips to drive maria db cluster performance for nextcloud
Severalnines
ย 
MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21
Ivan Zoratti
ย 
Drupal In The Cloud
Drupal In The Cloud
Jochen Lillich
ย 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
Ashnikbiz
ย 
SQL Server on Linux
SQL Server on Linux
Fabrรญcio Catae
ย 
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
Serge Frezefond
ย 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that Matter
Morgan Tocker
ย 
Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017
EDB
ย 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
ย 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
ย 
Maxscale_๋ฉ”๋‰ด์–ผ
Maxscale_๋ฉ”๋‰ด์–ผ
NeoClova
ย 
Sharepoint Deployments
Sharepoint Deployments
Information Technology
ย 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with Memcached
Gear6
ย 
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 )
Mydbops
ย 
Get to know PostgreSQL!
Get to know PostgreSQL!
Oddbjรธrn Steffensen
ย 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5
Gianluca Hotz
ย 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Ted Wennmark
ย 
Amazon Aurora๋กœ ์•ˆ์ „ํ•˜๊ฒŒ migration ํ•˜๊ธฐ
Amazon Aurora๋กœ ์•ˆ์ „ํ•˜๊ฒŒ migration ํ•˜๊ธฐ
Jesang Yoon
ย 
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Daniel Kanchev
ย 
Experience sql server on l inux and docker
Experience sql server on l inux and docker
Bob Ward
ย 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
Travis Wright
ย 

More Related Content

What's hot (20)

MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21
Ivan Zoratti
ย 
Drupal In The Cloud
Drupal In The Cloud
Jochen Lillich
ย 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
Ashnikbiz
ย 
SQL Server on Linux
SQL Server on Linux
Fabrรญcio Catae
ย 
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
Serge Frezefond
ย 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that Matter
Morgan Tocker
ย 
Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017
EDB
ย 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
ย 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
ย 
Maxscale_๋ฉ”๋‰ด์–ผ
Maxscale_๋ฉ”๋‰ด์–ผ
NeoClova
ย 
Sharepoint Deployments
Sharepoint Deployments
Information Technology
ย 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with Memcached
Gear6
ย 
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 )
Mydbops
ย 
Get to know PostgreSQL!
Get to know PostgreSQL!
Oddbjรธrn Steffensen
ย 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5
Gianluca Hotz
ย 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Ted Wennmark
ย 
Amazon Aurora๋กœ ์•ˆ์ „ํ•˜๊ฒŒ migration ํ•˜๊ธฐ
Amazon Aurora๋กœ ์•ˆ์ „ํ•˜๊ฒŒ migration ํ•˜๊ธฐ
Jesang Yoon
ย 
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Daniel Kanchev
ย 
MaxScale for Effective MySQL Meetup NYC - 14.01.21
MaxScale for Effective MySQL Meetup NYC - 14.01.21
Ivan Zoratti
ย 
Drupal In The Cloud
Drupal In The Cloud
Jochen Lillich
ย 
Technical Introduction to PostgreSQL and PPAS
Technical Introduction to PostgreSQL and PPAS
Ashnikbiz
ย 
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
Serge Frezefond
ย 
MySQL Performance Metrics that Matter
MySQL Performance Metrics that Matter
Morgan Tocker
ย 
Product Update: EDB Postgres Platform 2017
Product Update: EDB Postgres Platform 2017
EDB
ย 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
ย 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
ย 
Maxscale_๋ฉ”๋‰ด์–ผ
Maxscale_๋ฉ”๋‰ด์–ผ
NeoClova
ย 
Implementing High Availability Caching with Memcached
Implementing High Availability Caching with Memcached
Gear6
ย 
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 )
Mydbops
ย 
SQL Server 2019 CTP 2.5
SQL Server 2019 CTP 2.5
Gianluca Hotz
ย 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Ted Wennmark
ย 
Amazon Aurora๋กœ ์•ˆ์ „ํ•˜๊ฒŒ migration ํ•˜๊ธฐ
Amazon Aurora๋กœ ์•ˆ์ „ํ•˜๊ฒŒ migration ํ•˜๊ธฐ
Jesang Yoon
ย 
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Enterprise Drupal Application & Hosting Infrastructure Level Monitoring
Daniel Kanchev
ย 

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

Experience sql server on l inux and docker
Experience sql server on l inux and docker
Bob Ward
ย 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
Travis Wright
ย 
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
SolarWinds
ย 
SQL Server vNext on Linux
SQL Server vNext on Linux
Travis Wright
ย 
SUSE Webinar - Introduction to SQL Server on Linux
SUSE Webinar - Introduction to SQL Server on Linux
Travis Wright
ย 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
Travis Wright
ย 
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
SolarWinds
ย 
Bootcamp 2017 - SQL Server on Linux
Bootcamp 2017 - SQL Server on Linux
Maximiliano Accotto
ย 
Sql on linux - ITpro
Sql on linux - ITpro
Kiki Noviandi
ย 
SQL on linux
SQL on linux
Maximiliano Accotto
ย 
Gab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARIN
AZUG FR
ย 
SQL Server: Now It's Everywhere You Want to Be
SQL Server: Now It's Everywhere You Want to Be
Ed Leighton-Dick
ย 
Red Hat Summit 2017 - Intro to SQL Server on RHEL and Open Shift
Red Hat Summit 2017 - Intro to SQL Server on RHEL and Open Shift
Travis Wright
ย 
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Travis Wright
ย 
DataDrivenMtl 20170906 - SQL Server 2017 on Linux
DataDrivenMtl 20170906 - SQL Server 2017 on Linux
Michael Albo, MSc IT, MBA
ย 
SQL Server goes Linux - Hello, my name is Tux, I would like to join the #SQLF...
SQL Server goes Linux - Hello, my name is Tux, I would like to join the #SQLF...
Andre Essing
ย 
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
ย 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
George Walters
ย 
Introduction to SQL Server on RHEL
Introduction to SQL Server on RHEL
Takayoshi Tanaka
ย 
Sql server 2019 New Features by Yevhen Nedaskivskyi
Sql server 2019 New Features by Yevhen Nedaskivskyi
Alex Tumanoff
ย 
Experience sql server on l inux and docker
Experience sql server on l inux and docker
Bob Ward
ย 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
Travis Wright
ย 
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
SolarWinds
ย 
SQL Server vNext on Linux
SQL Server vNext on Linux
Travis Wright
ย 
SUSE Webinar - Introduction to SQL Server on Linux
SUSE Webinar - Introduction to SQL Server on Linux
Travis Wright
ย 
SQL Server 2017 on Linux Introduction
SQL Server 2017 on Linux Introduction
Travis Wright
ย 
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
Hi! Ho! Hi! Ho! SQL Server on Linux We Go!
SolarWinds
ย 
Bootcamp 2017 - SQL Server on Linux
Bootcamp 2017 - SQL Server on Linux
Maximiliano Accotto
ย 
Sql on linux - ITpro
Sql on linux - ITpro
Kiki Noviandi
ย 
Gab17 lyon SQL on Linux - David BARBARIN
Gab17 lyon SQL on Linux - David BARBARIN
AZUG FR
ย 
SQL Server: Now It's Everywhere You Want to Be
SQL Server: Now It's Everywhere You Want to Be
Ed Leighton-Dick
ย 
Red Hat Summit 2017 - Intro to SQL Server on RHEL and Open Shift
Red Hat Summit 2017 - Intro to SQL Server on RHEL and Open Shift
Travis Wright
ย 
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Nordic infrastructure Conference 2017 - SQL Server on Linux Overview
Travis Wright
ย 
DataDrivenMtl 20170906 - SQL Server 2017 on Linux
DataDrivenMtl 20170906 - SQL Server 2017 on Linux
Michael Albo, MSc IT, MBA
ย 
SQL Server goes Linux - Hello, my name is Tux, I would like to join the #SQLF...
SQL Server goes Linux - Hello, my name is Tux, I would like to join the #SQLF...
Andre Essing
ย 
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
ย 
Microsoft SQL server 2017 Level 300 technical deck
Microsoft SQL server 2017 Level 300 technical deck
George Walters
ย 
Introduction to SQL Server on RHEL
Introduction to SQL Server on RHEL
Takayoshi Tanaka
ย 
Sql server 2019 New Features by Yevhen Nedaskivskyi
Sql server 2019 New Features by Yevhen Nedaskivskyi
Alex Tumanoff
ย 
Ad

Recently uploaded (20)

9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
ย 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
ย 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
ย 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
ย 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
ย 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
ย 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
ย 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
ย 
Wenn alles versagt - IBM Tape schรผtzt, was zรคhlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schรผtzt, was zรคhlt! Und besonders mit dem neust...
Josef Weingand
ย 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
ย 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
ย 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
ย 
โ€œMPU+: A Transformative Solution for Next-Gen AI at the Edge,โ€ a Presentation...
โ€œMPU+: A Transformative Solution for Next-Gen AI at the Edge,โ€ a Presentation...
Edge AI and Vision Alliance
ย 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
ย 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
ย 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
ย 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
ย 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
ย 
Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
ย 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
ย 
9-1-1 Addressing: End-to-End Automation Using FME
9-1-1 Addressing: End-to-End Automation Using FME
Safe Software
ย 
"Scaling in space and time with Temporal", Andriy Lupa.pdf
"Scaling in space and time with Temporal", Andriy Lupa.pdf
Fwdays
ย 
"Database isolation: how we deal with hundreds of direct connections to the d...
"Database isolation: how we deal with hundreds of direct connections to the d...
Fwdays
ย 
2025_06_18 - OpenMetadata Community Meeting.pdf
2025_06_18 - OpenMetadata Community Meeting.pdf
OpenMetadata
ย 
10 Key Challenges for AI within the EU Data Protection Framework.pdf
10 Key Challenges for AI within the EU Data Protection Framework.pdf
Priyanka Aash
ย 
Daily Lesson Log MATATAG ICT TEchnology 8
Daily Lesson Log MATATAG ICT TEchnology 8
LOIDAALMAZAN3
ย 
Python Conference Singapore - 19 Jun 2025
Python Conference Singapore - 19 Jun 2025
ninefyi
ย 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
ย 
Wenn alles versagt - IBM Tape schรผtzt, was zรคhlt! Und besonders mit dem neust...
Wenn alles versagt - IBM Tape schรผtzt, was zรคhlt! Und besonders mit dem neust...
Josef Weingand
ย 
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
"How to survive Black Friday: preparing e-commerce for a peak season", Yurii ...
Fwdays
ย 
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
WebdriverIO & JavaScript: The Perfect Duo for Web Automation
digitaljignect
ย 
cnc-processing-centers-centateq-p-110-en.pdf
cnc-processing-centers-centateq-p-110-en.pdf
AmirStern2
ย 
โ€œMPU+: A Transformative Solution for Next-Gen AI at the Edge,โ€ a Presentation...
โ€œMPU+: A Transformative Solution for Next-Gen AI at the Edge,โ€ a Presentation...
Edge AI and Vision Alliance
ย 
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
" How to survive with 1 billion vectors and not sell a kidney: our low-cost c...
Fwdays
ย 
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
CapCut Pro Crack For PC Latest Version {Fully Unlocked} 2025
pcprocore
ย 
The Future of Technology: 2025-2125 by Saikat Basu.pdf
The Future of Technology: 2025-2125 by Saikat Basu.pdf
Saikat Basu
ย 
Lessons Learned from Developing Secure AI Workflows.pdf
Lessons Learned from Developing Secure AI Workflows.pdf
Priyanka Aash
ย 
Cyber Defense Matrix Workshop - RSA Conference
Cyber Defense Matrix Workshop - RSA Conference
Priyanka Aash
ย 
Security Tips for Enterprise Azure Solutions
Security Tips for Enterprise Azure Solutions
Michele Leroux Bustamante
ย 
You are not excused! How to avoid security blind spots on the way to production
You are not excused! How to avoid security blind spots on the way to production
Michele Leroux Bustamante
ย 
Ad

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 [email protected] Tech Spark http://www.tech-spark.com https://www.facebook.com/techsparkmalta