Link to home
Start Free TrialLog in
Avatar of IKtech
IKtech

asked on

SQL server 2008 r2 mirroring

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.
Avatar of IKtech
IKtech

ASKER

it is probably worth mentioning that the mirroing is using high safety with automatic failover.
ASKER CERTIFIED SOLUTION
Avatar of EugeneZ
EugeneZ
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
<Is this normal behavior>
It is not
Avatar of IKtech

ASKER

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.
Avatar of IKtech

ASKER

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!
Avatar of IKtech

ASKER

Fixed it myself but i thank you anyway