Solved

Maintenance mirror server

Posted on 2012-03-28
3
330 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
[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
  • 2
3 Comments
 
LVL 40

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 40

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:
Ramesh Babu Vavilla 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

SQL Server engine let you use a Windows account or a SQL Server account to connect to a SQL Server instance. This can be configured immediatly during the SQL Server installation or after in the Server Authentication section in the Server properties …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

627 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