SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL 2005 Mirroring Power Loss (No Witness)


SQL 2005 Mirroring Power Loss (No Witness)

Author
Message
Bristolred
Bristolred
Valued Member
Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)Valued Member (50 reputation)

Group: General Forum Members
Points: 50 Visits: 91
Hi

We have a basic SQL Mirroring setup with 2 servers with No Witness or Automatic Failover.

I have some questions about when either of these 2 servers loses power.

EXAMPLE 1
Sever A (Principle)
Server B (Mirror)

Server A loses power = What happens to the mirroring on Server B i.e. what state do the databases go into?

When the power comes back on Server A will Server B start mirroring again i.e. re-sync on it's own? or will something manual have to be done on 1 or both servers and in what order?

If it's a planned power down should we manually break the mirroring before we take Server A down?

EXAMPLE 2
Server B (Mirror)
Server A (Principle)

Server B loses power = What happens to the databases on Server A i.e. what state do the databases go into?

When the power comes back on Server B what needs to be done on Server A and what needs to be done on Server B i.e. does anything happen automatically and what will need to be done manually, and in any particular order?

If it's a planned power down should we manually break the mirroring before we take Server B down?

Hope this make sense and thanks in advance for anyone who can help with the answers :-)
DNA_DBA
DNA_DBA
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3749 Visits: 2822
In example 1, The principle server goes down and you have no witness so the mirrored databases remain in a restoring state. They can be put online if you need to access them but if you do that you would have to recreate the mirroring when the principle server comes back up. If the principle server comes up and you haven't put the databases online then mirroring will resync and carry on.


In example 2, The mirror server goes down. The principle server carries on but the transaction log will start to fill. If the mirror server comes up then mirroring will resume and carry on.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search