September 13, 2010 at 1:50 am
In database Mirroring can I have a virtual IP...
Please tell fast..
Actually we were trying to install the sql server cluster but thats not possible bcoz it is in production of Domino Server.My confusion is "If one database goes down in database mirroring then other will come up but because there is no Virtual IP type of thing in this then how my application will connect to another without manual interruption of IP change..."
Thanks
September 13, 2010 at 1:55 am
cluster configuration is for server and mirroring is database specific. So failover will be only for a perticular database if you configure mirroring.
have a look of this article
http://www.mssqltips.com/tip.asp?tip=1564
----------
Ashish
September 13, 2010 at 2:12 am
Thanx Ashish
I have also the single database but I want automatic connectivity of application to database if primary server fails..Guide me for this...
Thanks
September 13, 2010 at 2:16 am
i dont have much idea on coding so just tried to search for this issue and found this article
http://www.go4answers.com/Example/database-mirroring-asp-application-13913.aspx
hope it will answer your question.
----------
Ashish
September 13, 2010 at 3:00 am
forsqlserver (9/13/2010)
I have also the single database but I want automatic connectivity of application to database if primary server fails..Guide me for this...
http://www.google.com/search?q=%22transparent+client+redirect%22+mirroring
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 13, 2010 at 5:15 am
I have configured the witness server also in Mirror Server. But can you please tell how the application will connect to another database...
Thanks
September 13, 2010 at 6:54 am
Did you read the articles that search returns? Have you read up on client redirection in books online? (hint, a witness is not involved in transparent client redirection)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 13, 2010 at 7:03 am
Dear Gila,
Thanks,Some sites are blocked and not opening like google books, etc. and internet is slow today also.
Thanks
September 13, 2010 at 7:11 am
And Books online? Should be installed locally if you have any portion of SQL installed.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 13, 2010 at 7:33 am
you need the witness for automatic failover.
Setting up the witness on the same instance as the mirror sets up a single point of failure. You must have a quorum of the Witness + the instance that is currently hosting the mirror in order for automatic failover.
Do what Gail said and read up on Transparent Client Redirect there is a property in your code (it is dependent upon the driver and code type, but multiple platforms support it, but you must be on the correct version). Bottom line this will require research on your part to determine if your application can support it.
It is possible to set up DNS Aliasing using the same name, but this is not something that I have done, i've only read about the scenerio in a white paper about the combination of HA solutions, and it was referencing 2 clusters. The link to the white paper is below.
Twitter: @SQLBalls
Blog: http://www.SQLBalls.com
Channel: https://www.youtube.com/@Tales-from-the-Field
September 13, 2010 at 3:52 pm
You should set the FailoverPartner = MirrorServerName in the conection string for the automatic failover to happen.
Data Source=PrincipalServer;Failover Partner=MirrorServer;Initial Catalog=MyDb;Integrated Security=SSPI
Thank You,
Best regards
SQLBuddy
September 13, 2010 at 11:41 pm
Can I do one thing that I will install the default instance on both the machine and one extra instance on mirror server ,the I will create the ODBC System DSN for primary server ,but how will it connect to other sql server.My apps will connect through odbc but it wants automatic failover so in ODBC connectivity how it is possible??
Thanks
September 14, 2010 at 1:41 am
Thanks to all,Yet something below:
I have found that there is a "mirror Server" option in System DSN Sql Native Client configuration but one confusion is here that :
Should I have to create the same ODBC configuration with Mirror server database on Mirror Server without giving "mirror Server" name in this case??
Thanks
September 14, 2010 at 4:04 am
in your connection string in your application, use this Data Source="PrimaryServer";Failover Partner="MirrorServer";Initial Catalog="Database";Integrated Security=True
Viewing 14 posts - 1 through 13 (of 13 total)
You must be logged in to reply to this topic. Login to reply