Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

sql server 2005 failover Expand / Collapse
Author
Message
Posted Tuesday, April 14, 2009 8:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 15, 2009 6:26 AM
Points: 2, Visits: 13
Hi guys,

I have an issue here which you can probably assist me with.
Here's the scenario, I support an application that is written in vb and connects to
sql server database. It usually reads from a config file the server name and/or the ip address
of the server where the db is hosted. Based on this the only sql server 2005 failover option that
I have used is sql server clustering and it works perfectly since I have the virtual server IP address/name to specify at the config file coupled with the many other advantages of clustering.
However not everyone can afford to buy storage facilities. So i'd like some advice on the other
failover options as im not well conversant with mirroring and logshipping.
Specifically i'd want to know with mirroring and logshippin how redirection takes place from the primary server to the secondary server and in my case how does it happen without having to change the servername specified in the config file of each client connecting to the server.

Post #696607
Posted Tuesday, April 14, 2009 9:03 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Friday, May 30, 2014 6:27 PM
Points: 2,808, Visits: 7,175
In database mirroring you need to specify the fail over partner in the connection string that is in the config file of the application. The code is usualy FAILOVER PARTNER =, or something similar depending on what sort of connection you are using.


The application will then try to connect to the primary server but if i can not it will attempt to the failover partner (mirror)
Post #696642
Posted Wednesday, April 15, 2009 2:12 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, April 15, 2009 6:26 AM
Points: 2, Visits: 13
Thanks steveb, I guess we'll just have to re-write the app to support mirroring.
Post #697307
Posted Friday, June 12, 2009 7:56 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, June 2, 2014 2:18 PM
Points: 20, Visits: 173
Wrong posting my bad
Post #733858
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse