Solved

SQL server 2008 r2 mirroring

Posted on 2013-01-17
6
514 Views
Last Modified: 2013-01-17
I have three sql servers that i use for mirroring.  One sql server is the principal another the mirror and the third is the witness.  I am not sure if the behavior i am experiencing is normal or not but here is what is happening.

sql1 = principal
sql 2 = mirror
sql 3 = witness

The database on sql1 is the backend for our website and when i reboot sql 2 the website is unavailable until both sql1 and sql2 are available.  It seems as if something is wrong shouldn't i be able to reboot sql2 (the mirror) and still be able to access the database on sql1 = 1 principal?

Is this normal behavior or do i have something wrong.
0
Comment
Question by:IKtech
  • 4
  • 2
6 Comments
 
LVL 3

Author Comment

by:IKtech
ID: 38790067
it is probably worth mentioning that the mirroing is using high safety with automatic failover.
0
 
LVL 42

Accepted Solution

by:
EugeneZ earned 500 total points
ID: 38790068
it is not, did you check sql error log; mirror alerts

is sql1 = principal online during sql 2 = mirror reboot?
can you check your website application config\connection string settings?
0
 
LVL 42

Expert Comment

by:EugeneZ
ID: 38790069
<Is this normal behavior>
It is not
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 3

Author Comment

by:IKtech
ID: 38790108
SQL1 is online and so is the witness.  When i reboot the mirror (sql2) the database on the principal states (principal disconnected in recovery).  And as soon as the mirror comes back up things return to "normal".  I just had an issue where i could not get sql server service to start on the witness so i reinstalled SQL which got me back to where i could start sql server service again.  I also removed mirroring and configured it again after reinstalling.
0
 
LVL 3

Author Comment

by:IKtech
ID: 38790139
I just changed the log on credentials for the "sql server agent" service and tested.  Seems good to go.  you get the points for trying help.  Thanks!
0
 
LVL 3

Author Closing Comment

by:IKtech
ID: 38790141
Fixed it myself but i thank you anyway
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now