Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

SQL server 2008 r2 mirroring

Posted on 2013-01-17
6
Medium Priority
?
521 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 43

Accepted Solution

by:
Eugene Z earned 1000 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 43

Expert Comment

by:Eugene Z
ID: 38790069
<Is this normal behavior>
It is not
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
What we learned in Webroot's webinar on multi-vector protection.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

610 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