Updated: 2/12/2004; 16:55:49.
Hannes 'Shorty' Decorte's Radio Weblog
Learning .Net and the Experiences doing so


woensdag 17 november 2004

Mirror Mirror on ...

Database mirroring in SQL Server 2005. Great stuff, easy to setup, easy to maintain... .
For all that are intrested in setting up failover in SQL Server have a look here or here.

Or better yet download the Beta 2 and search the BOL.

One minor problem I came accross:
After shutting down the Principal SQL Server instance "YUKON" (to simulate an automatic failover), I was no longer able to bring up the database properties
of the new Principal database (previously mirror copy - SQL Server instance "MIRROR").
Just kept getting the error message:

 

After checking out the SYS.SYSFILES system view, it revield to me that the log and datafile were located on instance "YUKON", where I would have expected the "MIRROR"
instance...

One workaround I found (by accident) was setting up a new Mirror Database. After which I could access the properties again.
Checking the SYS.SYSFILES system view again, the location had "changed" to the "MIRROR" instance.

Simulating another failover though brings the error back.

Maybe the cause is setting up all three instances (Principal, Mirror, Witness) on the same machine (which is not the general idea, but just for testing...).

I'll revive my desktop pc and give it a try on two machines (wireless :-)))


 


3:08:03 PM    comment []

© Copyright 2004 Hannes 'Shorty' Decorte.
 

November 2004
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
Oct   Dec


RSS Feed

Other .Net Bloggers

Bart De Smet
Jan Tielens
Patrick Verbruggen
Patrick Tisseghem
Tom van de Kerkhof's Bloggings
Tom's Corner
Yves Hanoulle

Aggregated Feeds

Belgian .NET Bloggers