Solved

Maintenance mirror server

Posted on 2012-03-28
3
317 Views
Last Modified: 2012-04-10
Hello,

I am using SQL server 2008. I have two servers and one instance per server.
Server1 is the principal and server2 is the mirror.
I do not use a witness server.

Now my mirror server must go down for 8 hours due to maintenance of the dataroom where the server stands.
Is there a way to put it on hold without losing my mirror or should i break the mirroring ?
Should i place my server is asynchronous mode ?
I understand either which mode i put my databases in the log at the principal just keeps growing ?

Thank you,

Robin
0
Comment
Question by:Geert Bettens
  • 2
3 Comments
 
LVL 39

Expert Comment

by:lcohan
ID: 37777624
What type of mirroring are you running?
High-performance mode (async mode) or High-safety (sync mode)
0
 
LVL 39

Expert Comment

by:lcohan
ID: 37777668
If you use async mode already you should be able to "Pausing and Resuming Database Mirroring" and see details at: http://msdn.microsoft.com/en-us/library/ms190664(v=SQL.90).aspx

If using high safety - syncronuous mode you could switch to async mode then do the above.

To switch a session to high-performance mode:

In SQL Server Management Studio: Change the Operating mode option to High performance (asynchronous) by using the Mirroring Page of the Database Properties dialog box. http://msdn.microsoft.com/en-us/library/ms183684.aspx


In Transact-SQL: Use ALTER DATABASE to set transaction safety to OFF.
0
 
LVL 10

Accepted Solution

by:
sqlservr earned 500 total points
ID: 37781377
alter endpoint mirroring state=stopped
after maintenance
alter sndpoint mirroring state= started


in the example mirroring  is the endpoint name,

best option is to pause the mirroig , on the mirroring buttopn
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

914 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

21 Experts available now in Live!

Get 1:1 Help Now