dynamic routing for sql server

hi all. We have a sql server currently support 100+ sites/web services  and i am thinking of creating dynamic routing for this sql server. which means whenever the first sql server reaches its limits. it will automatically redirect all the request to second web server with another sql server installed. (load balancing ?)
can I ask how can we achieve it?

thanks
emeraldpiggyAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
Instead of doing like this, have a load balancer with two database servers sharing the same ip so that load is shared across these two servers..
Check this out:

http://www.sql-server-performance.com/articles/clustering/clustering_basics_2005_p1.aspx
http://social.msdn.microsoft.com/forums/en-US/sqldatabasemirroring/thread/b6787cbc-e165-4730-9fba-7898af1716a6/
0
emeraldpiggyAuthor Commented:
Thanks but the situation we are having now is 2 SQL sever on 2 sever with 2 ip address and one is SQL server 2005 and another is SQL server 2008
plz advice
0
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
>> one is SQL server 2005 and another is SQL server 2008

Is it possible to install one another instance of SQL server 2005 in SQL Server 2008 machine so that you can do network load balancing as mentioned above..
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

emeraldpiggyAuthor Commented:
thanks rrj
but the issue we having now is we already have 2 web server that running on 2 different server with different ip address. i am just thinking of utilizing the resources

thanks
0
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
In order to share the load, you have to do load balancing so that resources will be utilized better.
And to configure this load balancing, you need to configure it out from the beginning and that would require disturbing your existing setup..
Would that be fine for you..
0
emeraldpiggyAuthor Commented:
ohh thats a huge job
is there any easier way

such as first server is main server with sql server
and when anything happened to the first server
it automatically redirect everything to 2nd server till first server back up online again?
is it easier to do ?
thanks
0
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
>> it automatically redirect everything to 2nd server till first server back up online again?
is it easier to do ?

no other easier way.
Unless otherwise you deploy this Load balancing architecture or Clustering for your application, you can't switch over the databases support.
If you have two database servers, then you need to make your application point to the second database server so that it would work..
0
emeraldpiggyAuthor Commented:
hi rrj
thanks for the help
>>If you have two database servers, then you need to make your application point to the second database server so that it would work..

my question is is there way to do it at server level. otherwise we have to redepoly those 100 pcs with newer applications
0
Raja Jegan RSQL Server DBA & Architect, EE Solution GuideCommented:
>> my question is is there way to do it at server level

Yes, these kind of load balancing or network balancing needs to be done at the server level and have to be configured at the application level..

>> otherwise we have to redepoly those 100 pcs with newer applications

Yes, that would be the approach required for your scenario..
No other go..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
emeraldpiggyAuthor Commented:
hi thanks for the answer
it wasnt the answer i expected though
but guess there is no other ways to do so
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.