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
 SQL Server 2005 Forums
 High Availability (2005)
 logshipping clarification

Author  Topic 

sunsanvin
Master Smack Fu Yak Hacker

1274 Posts

Posted - 2008-07-21 : 05:50:52
Dear Experts,
i've an application, running with the backend sql server 2005.

1) i've selected the option in the logshipping configuration
"Allow database to assume primary role option". and finished the configuration
now dev005(mydb) is the primary server, and dev007 is the secondary server.

now my doubt is if dev005 is crashed, then automatically the application uses the dev007(mydb) server as backend? or we need to manually change the setting in configuration file of the application?

will the database mirroring is advantageous than logshipping in this regard?
please expaln me





Arnav
Even you learn 1%, Learn it with 100% confidence.

spirit1
Cybernetic Yak Master

11752 Posts

Posted - 2008-07-21 : 05:53:30
moved from yak corral.

_______________________________________________
Causing trouble since 1980
Blog: http://weblogs.sqlteam.com/mladenp
Speed up SSMS development: www.ssmstoolspack.com <- version 1.0 out!
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-07-21 : 08:09:34
Always remember Log-shipping and Transactional replication are warm-standby solution and not High availability solution. While Database Mirroring and clustering are HA solution.

To answer to question:
You have to manually change it to secondary server if your primary server is down using (sp_change_primaryrole-- I guess check Bol)

You can use database mirroring with automatic failover,so if your primary server is down ,secondary server will resume primary role and apps as well.
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-07-21 : 22:15:13
>> if dev005 is crashed, then automatically the application uses the dev007(mydb) server as backend? or we need to manually change the setting in configuration file of the application?

Yes, you have to repoint app to secondary server manually.
Go to Top of Page

shafi.spl
Starting Member

10 Posts

Posted - 2008-07-24 : 06:25:31
log shipping is manual and replication is automatic.
so,we have to make secondury server to primary server manually.
ok?
thank you and bye
Go to Top of Page

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-07-24 : 09:12:31
quote:
Originally posted by shafi.spl

log shipping is manual and replication is automatic.
so,we have to make secondury server to primary server manually.
ok?
thank you and bye



Who said Replication is automatic for failover?
Go to Top of Page
   

- Advertisement -