Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 High Availability - SQL and application

Author  Topic 

trans
Starting Member

3 Posts

Posted - 2011-05-19 : 10:33:40
We have a .NET application running with SQL Server and need high availability without a huge budget. They can run on the same server. We do have access to Win2008 Enterprise and were considering clustering.

Question is: will clustering the whole server (application and DB) provide us with fail over on both the app and db? Or will we need to cluster the application to a 2nd system and mirror the db to a 2nd system, requiring 4 total systems? thanks.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-19 : 12:47:58
Does the application support clusters? You can cluster multiple components on one cluster, however the components must be cluster aware.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

Jahanzaib
Posting Yak Master

115 Posts

Posted - 2011-05-20 : 02:11:31
that is not a good practice both application and database server on the same server,

yes as Tkizer mentioned about cluster aware,if application does nt support cluster then you can create an script with the help of PING command like

SAMPLE
IF ping not then
start application service

this will be schedule on both Server on every 5 mins or as you want or policy

If you will go for this solution then you will have a problem of same IP if you are accessing the application with IP otherwise DNS issue

you can check NLB(Network Load Balancing) solution for this,this will create a single IP from these 2 different IP,user will access the NLB IP with out any intruption but you have to create this script of PING for the application Services only

Second Sample is
You will create the cluster for SQL Server,if one node fail then second node will be start automatically .

then you can schedule an script of

SAMPLE
IF SQL Server service is running then
Start application services

According to my knowledge IIS service is not cluster aware


Regards,

Syed Jahanzaib Bin Hassan
MCTS,MCITP,OCA,OCP,OCE,SCJP,IBMCDBA

My Blog
www.aureus-salah.com
Go to Top of Page

trans
Starting Member

3 Posts

Posted - 2011-05-20 : 07:01:49
quote:
Originally posted by tkizer

Does the application support clusters? You can cluster multiple components on one cluster, however the components must be cluster aware.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

Yes, the application supports clustering. We need auto failover for application and DB. Is it standard practice to use the same server for both, or split the DB from the app, creating 4 servers to achieve this? Thanks.
Go to Top of Page

trans
Starting Member

3 Posts

Posted - 2011-05-20 : 07:02:53
Would using a cluster for the DB be better than a mirror to achieve HA / failover?
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-05-20 : 09:57:32
It is not standard practice to use one cluster for both. 4 servers is the best practice here.

Whether clustering is better than mirroring is up to you guys. We use both. We cluster at our primary site and mirror to our DR site. We achieve higher HA by doing this.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -