0 ratings0% found this document useful (0 votes) 185 views18 pagesStep - by - Step MS SQL Failover Cluster
Failover Cluster MS Sql Server
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here.
Available Formats
Download as PDF or read online on Scribd
2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/HinvHis)
Europe + USA + Asia
Chathura Ariyadasa (He/Him/His)
(rater M nfasuvcwes Gbesecuty Aeiec| & loon
Step by Step MS SQL Database Cluster configuration using SQL
2019 on Server 2022
Failover Clusters provide seamless Availabilty and Uptime, On fllover clusters, we cancun different services/applications. In general, we
‘an run Hyper V VMs, VM Replicas, DHCP and also Database applications. typical fallover cluster consists of 2 nodes (servers), shared
network and shared storage systems,
‘day, we willbe looking atthe exact steps in order to create a failover cluster and how to run MS SQL server on the configured cluster,
‘There are some Prerequisites as mentioned below
1 Active Directory infrastreture
2.AD administrator account
3.A shared storage system (SCSI, FCOE 0° FC supported protocols),
4.2 or more nodes (Servers)
5.MS SQL server 50
6. Functional ONS server
7. Few free IP addresses
Lets look at my setup
Server Name dechatzocal node! hate local hode2.chatz local
Server 192.168,79.129 192.168,79.130 192.168.79.131
‘Active Directory / File Server
Installed Rotes (iSCS1) /ONS Failover Cluster Manager Feilover Cluster Manager
iSCSI shares
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits By clicking “Accept”
your consent to the use of ALL
‘Secs ©
cosine ssn
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ ae.2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/HinvHis)
‘This process consists of2 phases, Phase 01 would be the Cluster Creation and Phase 02 isthe MS SQLS Cluster setup.
Phase 01 - Windows Fallover Cluster setup
NOTE: When working withthe AD services, make sure to create an OU and place all the cluster related objects in the OU which you create,
‘As per my setup, the OU looks lke ehis
eo¢amiel|aa|Em tanrae
Fateh) te ae
B Selanne Benin ve
aaa! oe Beenice User
= Shore compar
Somarcomones | racume Cpe dete tenet
hime
‘Asthe very First step, you need to install Failover Cluster role on all the participating nodes (inthis example, we have only 2). Once you are
‘done with the role installation, apply the Windows patches. And then you may Finalize setting up the iSCSI shares. Finally, make sure to
‘add allthose nodes tothe Active Directory Domain,
Ei sevens
seve Gi reciente
Toone a) @> Or
Bos
| some le Va ethane ep ED =
a
‘Then, you need to add those iSCSI storage as volumes on the selected nodes. This can be done using the Disk Management console.
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
ea ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ 262817728, 1025.AM Step by Step MS SQL. Database Cluster configuration using SQL. 2019 on Server 2022 - Chathura Aviyadasa (He/Hin/His)
are Tee espa ae [ees [Peete] ee
Brie WIE Fesly ont Pee hie GehGunp Piney Pritind aT Tad Te
(ek puttion3) eae eat eco Prin) ime Sau os
Sausstorcs ieee ‘soe tastce ox
= cm) Sie NS some smMe ae
[Bsqsaup x62 aU (0) Simple Sie COS Hetty nay Pain) ‘ice ow oe
Syen senee ise NE Hetty Gye ave Pimoy Parten some smo 8
iris Bae NS Hey ney ution SSMe SME oT
—;_
She Isnasnes
nine Hest man Pen
fae wes
sie Suen
nine sty am Pen
fee [ausrone ce
nine Hest ry Parte
‘Once you are done with assigning the volumes, you are good to validate the cluster. You can simply access the Failover Cluster Manager
role Froma selected node
ft rtoer cue er
->is/o
——ay
‘when you select the Validate Configuration, you re supposed to select all the participating nodes.
JU sett Sorvers ora ctor
ay Toer snc cant sbiveranedbeskac red teate,
et ry
Ysera ST caer x
en
ee ra
——————
son anna einai ih
‘Seceliial ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ a82817728, 1025.AM Step by Step MS SQL Database Cluster configuration using SQL 2019 on Server 202 - Chathura Aviyadasa (He/Hin/His)
‘When you select the nodes, it willook ke below
[Gf Sete Servers ora Custer
ee asateuangcataSaenanaad cisco an
seem
aaa al
You are good to run the cluster valaidation
Gl ts omens
ee See
eet en!
a —
eee
© Finan rrr
O Ainenyemanes
=e Ges
‘Once the tests are completed, you may see the completion notification
sein anna ite ny einem ie
‘Secale ©
Sooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ ane2817728, 1025.AM
‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/HinvHis)
Wrstenescoopganton irs x
“eater nt acd
Accun.ccimmas nese
Rae =
seca Vebies
esa
Teste tannsos Sek ome we Ot Von een Se
IF you see any errors, you must Fxall those issues before attempting luster Creation. Ifyou do net see any errors, you may select the
“Create the cluster now using the validated nodes...”
|
Gp Pe von boon
SE eeetcn ges de wien sere tc rd
ot emerfae water aatrersarare sane er sae
a
ua sortase we anh cnn ty et Cort We
inact aay arn np ae ree wae cara
ene peste mon-fri yee bichon gecon
sedate ada aGefatten ce! Pao ttsransonmmsetoeccce
Mest Mae coe he ase ed nt
i toneaorseses aan
Ca [corel
During the wizard, you willbe required to assign an P for the Cluster Management interface.
‘We se cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
wena erage
Desist ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ 51182817728, 1025.AM Step by Step MS SQL. Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/Hin/His)
Creme Canteens *
ff) PoP tor Admnitering te Cntr
———
i
ae - (Osipranaly Tr eediemee bind reer eres eeeeoms su en eh
g| ean De es]
‘Once you confirm the details i wil try to create the cluster
gi comnsten
ee ee
pee romances eee
EE octet crassa
eae
Putdagieangu mean
od
Inthe above step, cluster will addallthe Fre and eligible storage tothe cluster. Yau dont have to worty about this process. You can
always assign/unassig the storage as required.
scatter anevt egA
ee
Desi ©
casting ‘50
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ ene2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 -Chathura Avyadasa (He/HinvHis)
;
rte Ge Wand x
i
1 Summary
| base You bos ‘ooh cnet soled ne Cao
= eae 7
|cumter
ovo
emt ok ey ae 2
| ‘apr ot caagage nnd aa on Terao
[AL this stage, the cluster has been created and you can see the managment console
~ ih celica
c= aera
a= ee ae
= [Seca ee
© Conigue
Poetae Bie 1 ious a
Pinos
Fesatete,
(3 Seach
fumes nea
‘Once the cluster is created we may need to verify the attached resources (Networks / Nodes/Storage)
‘cluster
3G Fale Cate Meneses
+9) oi] ie
Fa ate Cuter nage
© craze neal
Bost ory 1 1 se zeE0
Bos ou 1 1 se nerearae
Semoate erate
a ©
casteating ‘50
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ m8.2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 -Chathura Avyadasa (He/HinvHis)
G reeecitmttnge
eo 2mi8
Sydumieons
a 3 weve
Bomeoe2 owe owiwimaan at 2 sou
Boaedat Ook alone a) sa
El cucaeane
[Networks in Cluster
[8 rere trae
* | aml oi
Flew Catena
2G GurzctUsehaeet
Brae
Nodes
» Bsc
Here, you wil see 2 networks, External Networkis fr client access and Heart Beat Network has been reserved fr cluster health and
heartbeats. By doing this you ge the chance to isolate the heart beat netwark form the external client access
Bisrexvan — Que
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
you consent othe use of ALL the cookies
Donor sellmy personal information,
ee ©
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ ane2817728, 1025.AM
‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/HinvHis)
Tee oe te
IF you wil have to add aditional storage to the cluster, you can simply add those from the disk storage section. As you can see on the
screenshot, the Custer Disk 1Isnot assigned to ary cluster role and marked as “Available Storage"
WS rtner casein
9) sir gi
Tiswecueeringe
eon F
- Borers epee
—
‘When you add the Storage to the cluster group, it willbe marked as CSV
[Sse omg
Cor)
Giguere
Brae
hse
+ Gsm
Gone
Bre
cane
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
Satelit ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ one2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/HinvHis)
‘Now the clusters complete and we may need to look at creating the cluster roles. The most important thing ina cluster is the roles which
{are configured and running. In this example, we dont have any roles configured
[i aco cat ase
>| 2m Bi
)S i emzeutchc be
ro
1B Notes
-a=
ecu
Netve
BH onsets
In order to configure a cluster role, simply right click the Roles and configure the role as required
[Fone Cher Mager
le Acbon View Help
o>) 2c)
Fc Che nager
YG CanTuUspated
cotentel
BN eee
YES vmanicrin. >
cect Roe
C= '
aN
rey
We Fgh Ait Wierd *
ip aerate
eine YoubegnSakatercetnyasnattcangae ihc mat
| Secs
=~ a] One
|g reser
Econ eaten
Esme Sat
cena Seve
tier veto take
85 tau sene »
‘We are not going to configure any ofthe roles at this time as our intention Ito setup MS SQL Database Cluster. IF we are supposed to use
Semoate erate
a ©
casting ‘50
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ sone2817728, 1025.AM Step by Step MS SQL Database Cluster configuration using SQL 2019 on Server 202 - Chathura Aviyadasa (He/Hin/His)
Phase 02 -MS SQL Failover Cluster setup
‘We are going to setup the MS SQL Cluster on the configured cluster resource. We need to mount the MS SQL ISO on ll the cluster nodes.
‘Once the 150 is mounted, we can simply start the setup wizard.
Under the Installation section, select "New SQL Server failover cluster installation’
— tints then 7
= geet
ss...
Af rata mc Se ae ee
‘Acer that it wil run Few tests to verify the luster health
"Baa ene Faoer Caer — a x
Install Fallover Cluster Rules
Sez dese eotrt retons at ae ocr we ring Seip bes mst be covets Heo Sep
canconoe
Iotaver ster Rus Sperone. Poet 0, Fed. Waning 2 Sows
FestueConfguatin a: [ede] =
festa ‘Meadealetnsas
Complete Raut Rie en *
(cused Pee
(Window Mnsgenentieearerion MM zree NODE) Saad
Ocune terete seca NCE) asad
(Chater nodes rane nh efton sed
D Cunesiceveteon os
(Qmnastes nection Castner SOIC nile WOCEL)
© its tnactin Coos (HEC erie °.
Mert Cate Sevice (USCS caer vefitnerom—(P
1b Mero Caste Seniee SCS) cute vetonwaings ting f
ussite enh etree eg Ae
sentiments
Desi ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ a82817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 -Chathura Avyadasa (He/HinvHis)
Feature Selection
WremesersererFsioer tuner - 3 x
sect ean sonal
Seon Cention
ecto td
Irsaieen roe:
© soja Renita Sey? Dombi toni
el Fev ection
SCL Seve eoaton Pecguiserterseatsteses
[Dischne Leming ener andangage
te ‘ey z
Daten WadowePoweselaDovtigher __©|
Eine aks Rearend
riots ale
[Seer | Ua |
hnsurercetdecey ——_(SiProg SOL Ser ei
Settee ora tn: Progr Fle Siar OL Seve
In the next step, we are required to provide a Name to the MS SQL Clsuter
1B iat 25 Sine Floer Custer
Instance Configuration
‘psy henane a nmanei ethlnsarce SO Snes nmaes IO bese oof tenant
Inetance Coniguraton
Dieta ng Cena
Feat lal
compte
Sect eter are ene SOL Snover ct Th il ee rae eo ty
‘tire
(© Deena
Oninetinsence Mss
Insaee asa
S0LSeverdrecoy: _C\Pogmm Fido SOL ened MESQLS MESQLEERER,
Deenes SOL Seventeen on hconeuten
‘Then, we should be able to select a compatible cluster diskto store the MS SQL databases, During the cluster disk section process, 2
healthy CSV isa must.
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
you consent othe use of ALL the cookies
Donor sellmy personal information,
Sooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/
©
sane2817728, 1025.AM Step by Step MS SQL Database Cluster configuration using SQL 2019 on Server 2022 ~ Chathura Aviyadasa (He/Hin/His)
50 Serr Fale Cae - 2 x
‘Cluster Disk Selection
Sect crt ik acre fru SL Seve fleece
Intl over Chater | Sy he hard oben ine SO ever occa oun, Tet vel te
‘hea hela ne er scaes Bhan change Date ge
a cused
‘Corr ar
ter DiS
Seve Coniuation
Dineen Ceriguaon
ayo la
Complete
“Gales Dak cory
Even forthe MS SQL Cluster, an IP address is required for the management purposes. When you access the Database through SQL.
‘Management tool, ether the DNS or Pis required.
ref Severson Cee
‘Cluster Network Configuration
Seles nebo jr Seve foe ches
InsabFlove Claret speci we et etna stator csr
eae Dee OP Asien Sanat
coe ne [| wea sasae
cuca Racurce Gove
‘Cater Neswo Coniston
Seve Cenigton
Fue Conan is
ey tna
‘Once the IP addresss assigned, will have to configure the SQL service account.
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
Sista ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/
1382817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 -Chathura Avyadasa (He/HinvHis)
Bom eso seve tater enee - 3%
‘Server Configuration
Spay ese scours anaolatoncomguton.
tae Cnigson
Server onion
uate tee Cemguarn
eatin
Complete
Sh Seve DeataeEagne (CHAT iE
50 Fultet Fite Duran Lune NTS ESOL
SOL Sevetiooer NTAUTHORTALOCAL [asowste
[Pit Pom Vaume Mrtarance ak pnts Sk Sena aac gine Svs
‘hisiage eas inane yang ecng od pgs. Ths may end
‘Sisteoasen dances sawing ete canes Seseceses
Rea ea
Time to proceed the MS MSQL Cluster installation on Node 01
‘Binet 00k Sever Fover ues
Ready to Install
ety tet Seve 2018 fers
Vices Ups
Produ ptete
Predactoy
Insane ontiraton
hae Newa Coin
zat EngneCortauen
Fest Confusion ales
Reno
aint SOL Seve 2018 ante
Detemina oliver (oduct Ups
ed ti:
indo Powell 3 cigar
4 cen cotton
Dea si Secs
Cansguston eats
‘Once the installation is completed and successul, we can see the below
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
Saelseisatiani ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ sane2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/HinvHis)
a a x
eau.
SS 298 crcl zg ih pc bo |
eee “nfermation about the Setup operon er posnble net steps 1
coe |
Product Updates. ae
Ree ae eet: 1G Detobase Engine Sevices Succeeded
ae game on ‘
Fee Conlin det :
eta et ‘Sumean-nodet ero aan
So the SQL Installation on Node 01 was a success, then willproceed tothe SQL Installation on Node 02. On the SQL setup wizard, we are
‘going to select “Add node to a SQLServer failover Cluster”
Bsaisernttin cone [Eire - a x
a mre crete ee tna a
CSc See Manager Tele
SFR Launch adonniad page hat roids alink to stall SOL Server Management
Nine Site Sat Ser commann i SCC ad 8CP SOL Serer Pov
ioe, 8 fave rr and Dabs ening hdr Ania coments
Took “requeed to instal these tool
sont ee aiaa
SOL Serer Oats Teh S50.
‘Soto Ve gran ncaing pct son spp roe
Optone ‘esc bso be sal Se Oxabse tae feprihg Sera
Flees ol !
‘oat revue vein eS Sever
‘Simply, verity the settings and proceed
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
Saelseisatiani ©
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ 1582817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 -Chathura Avyadasa (He/HinvHis)
ti ftom cate Nee a5
‘luster Node Configuration
Add node to an existing SQL Server flow clase. |
Cen | Sterne ne LIE y
ee ae itoxeRaenen's | Dine TT MG ead INE wale
Added Poa
compe a
Cluster Network Configuration
a en ero
teem Spey the network seting or this flower hte:
eee Fe Cas a sa
‘ayosae
Sai
Finally, we have completed setting up the MS SQL. Cluster installation, We have 2 nodes with MS SQL server installed and configured, We
shall verify the MS SQL Cluster configuration by accessing the failover cluster manager. Fist, ill ook at the cluster role an then the
Semoate erate
a ©
casting ‘50
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/ 16182817728, 1025.AM
Biniowres
WB Neots
fe che ene
[i FteoerCumertnase
\@ >| 25 @
olen am
Step by Step MS SQL. Database Cluster configuration using SQL 2019 on Server 2022 - Chathura Aviyadasa (He/Hin/His)
Both the Role and Nodes seems tobe Fine.
SG coarser
lg Nitwote
Cte ne
Fi Force ge
9/2
Faw Cri Hinage
© gj cues eet
Yana
Bho
+ Sense
Soe
5 book
Biincoure
gree
hc ne
beslthy
"sre See Te Owsley Henao
FRsucustes — @aey Oke eat Medi
sar
ere Se a
Beat @u 1 t Se woea7s02¢
mat ou 1 ,
Not jst the resources, we need to verify the MS SQL related services as wel
Te ae vierten
1 ee SLELUSTER ome
Oem
Qotw
“S atwcar mac
ome
You can verify the Databases and functionalities by accessing the SQL Management Studio. Luckily, our configuration seems complete and
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
you consent othe use of ALL the cookies
onotsellmy personal information,
ooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/
©
ame2817728, 1025.AM ‘Step by Step MS SAL Database Cluster configuration using SQL 2019 on Server 2022 -Chathura Avyadasa (He/HinvHis)
(BE cc SO Sere Manager So
Fie dt View Tce Window Hee
+9|M-u-S Mt Ane BPSBe
comes VT OH
Sptendaabaes
1 Data tte
San,
1S seve Ones
Fey
mayen gh uahlty
1 iegon Seve Cage
BS Se Bae
Eleven Pati
Auth
7 Chathura Ariyadasa
stFchertranuate Tene Arche Cyber Seu Sabet & CHO C10 Bagger an Adrenaline ine. Vw alors by Chathurs Ayan
‘We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”,
you consent to the use of ALL the cookies
onotsellmy personal information,
cooldesettings ACCEPT
hips sw. chatnuraarvadasa.comstep-by-step-ms-sql-database-cluster-configuration-using-sq+-2019-on-server-2022/
©
168