Solved

Maintenance mirror server

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

752 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