question

Sharma avatar image
Sharma asked

SQL Database Mirroring?

Hi What are the possibilities for manual failover mirror database? How to force manual failover to mirror server?
mirroring
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image
Kev Riley answered
Have you looked at the documentation on MSDN/BOL - [How to: Manually Fail Over a Database Mirroring Session][1] [1]: http://msdn.microsoft.com/en-us/library/ms179481.aspx
6 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sharma avatar image Sharma commented ·
This link do not provide information about Mirroring provide - This link related to -Using the SQL Server Service Startup Options.
0 Likes 0 ·
Kev Riley avatar image Kev Riley ♦♦ commented ·
sorry - cut-n-paste fail from another question
0 Likes 0 ·
Sharma avatar image Sharma commented ·
Do you have proper link for How to: Manually Fail Over a Database Mirroring Session?
0 Likes 0 ·
Kev Riley avatar image Kev Riley ♦♦ commented ·
I have edited the link in the question
0 Likes 0 ·
Sharma avatar image Sharma commented ·
Hi Kev, My apologies I did not clear the situation in mine situation Principal Server is Crushed and mine mirrored database configuration is not synchronized so How I can online mirror server and what are the possibilities of data loss?
0 Likes 0 ·
Show more comments
Tim avatar image
Tim answered
You can [manually]( http://msdn.microsoft.com/en-us/library/ms186348.aspx) fail over by right clicking on the database, choosing mirror, then click failover. You can also use an alter database command. ALTER DATABASE DB_NAME SET PARTNER FAILOVER If you are using asynchronous you need to change the safety as well. Check out this [link]( http://weblogs.sqlteam.com/tarad/archive/2008/05/04/60585.aspx)
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sharma avatar image Sharma commented ·
I am not able to run any command on Principal server, so how i can run this command on mirror server?
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.