Download SQL Server on a Cluster - Fitzsimon IT Consulting

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
SQL Server on a
Cluster
Experiences
MikeFITZSIMON
FITZSIMON IT
SYSTEMSARCHITECT
CONSULTING PTY LTD
Why use SQL Server on a Cluster?
 High Availability
 Fault Tolerance (?)
 Failback
 Manageability
 Scalability (?)
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Hardware Architecture –
Single Tier

Web Server
 Business Logic
COM Components
 SQL Server
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Hardware Architecture –
Two Tier
Web Server
Business
Logic COM
Components
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
SQL Server
Database
Server
Hardware Architecture –
Three Tier
Web
Server
Fitzsimon IT CONSULTING PTY LTD
Business
Logic COM
Components
www.fitzsimon.com.au
SQL Server
Database
Server
Hardware Architecture –
Scalable Three Tier
Web
Server
Farm
Fitzsimon IT CONSULTING PTY LTD
Application
Server Farm
www.fitzsimon.com.au
SQL Server
Database
Server
H/w Architecture -
OzEvents.com
Router
Web Server 1
IIS, MTS
Production &
Test


Router distributes http
requests
2-Server Web Farm
(Test site on one server)

SQL Server
(Production & Test databases)

Web Server 2
IIS, MTS
Production
SQL Server
SQL7
databases,
OzEvents1,
OzTest1
Exchange Server
Images
Exchange
Exchange
5.5
Mailboxes
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Hardware Architecture –
Scalable Three Tier
Web
Server
Farm
Fitzsimon IT CONSULTING PTY LTD
Application
Server Farm
www.fitzsimon.com.au
SQL Server
Database
Server
Single point
of failure?
Hardware Architecture -
Cluster Server
LAN
Server A
Server B
SCSI
SCSI
Private LAN



Shared SCSI

RAID Applications & Data
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Two or more Servers
Private LAN
(heartbeat, <500ms ping)
Shared SCSI bus
(separate to System
SCSI bus)
Applications & Data on
RAID
IMS Locations
Brisbane
!
!
Sydney
!
!
!
!
$
! !
Melbourne
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au

Cluster Servers in
each State Office
 Frame Relay
Service
High Availability
Cluster Servers
 IBM Netfinity 5500
Servers
 Physical machines
named
\\Heaven and \\Hell
 Virtual machines
named
\\BneSQL and \\BneIIS
 Required 4 IP
addresses !
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
High Availability
Cluster Servers
 RAID-1 Mirrored
internal disk drives
 Can be used as an
emergency backup
during a system
upgrade
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
High Availability
Cluster Servers
 External RAID array
 StorageTek
 Raid-1 9Gb Quorum
Disk
(persistent arbitration)
 Raid-5 18 Gb Data
disks
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
High Availability
Cluster Servers
 External RAID array:
Dual Network
adaptors
Dual Power
supplies
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Hardware Architecture -
Cluster Server
LAN
Server A
Server B
SCSI
SCSI
Private LAN
Shared SCSI




RAID Applications & Data
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Normal Active/Active
configuration
Server A: IIS & MTS
Resource Groups
Server B: SQL Resource
Group
Web pages and SQL
MDF files on RAID
Multi-Node Clusters
 Still need only two NICs per machine
(one for public network, one for private
network)
 Need a Hub
 To support at least 4-nodes, need
Windows Server 2003 Enterprise Edition or
Windows Server 2003 Datacenter Edition
 Windows Clustering is installed by default;
configure a cluster by starting
Cluster Administrator or Cluster.exe
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Writing your own
Cluster-Aware Application
LooksAlive
(By default, SQL calls this every 5 seconds)
 IsAlive
(By default, SQL calls this every 60
seconds)

Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Clustering Resources
 Quorum Drive Configuration Information
http://support.microsoft.com/?id=280345
 Available Features in Windows Server 2003
Clusters
http://support.microsoft.com/?id=278007
 Step by step guide to install a 2000 Cluster:
http://www.microsoft.com/windows2000/techi
nfo/planning/server/clustersteps.asp
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Questions
 Mike Fitzsimon
Mike@Fitzsimon.com.au
 This ppt available from
www.fitzsimon.com.au/qmsdnug
Fitzsimon IT CONSULTING PTY LTD
www.fitzsimon.com.au
Related documents