Solved

Maintenance mirror server

Posted on 2012-03-28
3
315 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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Truncate vs Delete 63 88
using & in TSQL 18 21
Sql Stored Procedure 26 28
Service Statictic 10 7
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
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…

757 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

23 Experts available now in Live!

Get 1:1 Help Now