SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 Two instances with same name
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aivlis
Starting Member

5 Posts

Posted - 06/18/2014 :  14:42:12  Show Profile  Reply with Quote
Hi there.

I need help! My issue is that: here have to datamirror servers, and when the first fail, mirror needs to assume with the same name.

I'll try explain: SD01 - Primary, SD02 - mirror. If SD01 fails, SD02 assumes called SD01. By the way, the instances are in same domain, but not in same computer.

Any feedback is grateful.

Be brave.

Edited by - Aivlis on 06/18/2014 14:58:59

tkizer
Almighty SQL Goddess

USA
36832 Posts

Posted - 06/18/2014 :  15:03:29  Show Profile  Visit tkizer's Homepage  Reply with Quote
You can use a DNS alias that the connection strings would use, but I would advise using Availability Groups instead where you would use an AG Listener.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

Aivlis
Starting Member

5 Posts

Posted - 06/18/2014 :  15:08:21  Show Profile  Reply with Quote
I'll try.
Thanks a lot.

Be brave.
Go to Top of Page

Bustaz Kool
Flowing Fount of Yak Knowledge

USA
1673 Posts

Posted - 06/18/2014 :  19:28:34  Show Profile  Reply with Quote
You could also consider changing the connection string to define a "Failover Partner". This defines a second server to use if the primry becomes unavailable. This link would have specifics depending on how you connect to your server: http://www.connectionstrings.com/



Too often we enjoy the comfort of opinion without the discomfort of thought. - John F. Kennedy
Go to Top of Page

Aivlis
Starting Member

5 Posts

Posted - 06/20/2014 :  07:56:11  Show Profile  Reply with Quote
Are you saying I can configure the "same" connection on two instances? I'm already using failover datamirror.

Be brave.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000