Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


DB mirroring between SQL 2005 and SQL 2008 R2


DB mirroring between SQL 2005 and SQL 2008 R2

Author
Message
Simha24
Simha24
SSC-Enthusiastic
SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)SSC-Enthusiastic (106 reputation)

Group: General Forum Members
Points: 106 Visits: 319
Is it possible to setup DB mirroring between SQL 2005 as primary and SQL 2008 R2 as Mirror.
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47198 Visits: 44367
Yes, but it's an exceedingly bad idea and it's only supported as part of a rolling upgrade process.

The mirroring will work, however if that ever fails over then the new principal is 2008 R2 and the mirroring will go suspended and you won't be able to resume without upgrading the 2005 server.
Essentially it's a failover implementation that you can never ever fail over, kinda pointless.


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Neeraj Dwivedi
Neeraj Dwivedi
SSC Eights!
SSC Eights! (887 reputation)SSC Eights! (887 reputation)SSC Eights! (887 reputation)SSC Eights! (887 reputation)SSC Eights! (887 reputation)SSC Eights! (887 reputation)SSC Eights! (887 reputation)SSC Eights! (887 reputation)

Group: General Forum Members
Points: 887 Visits: 1319
I have never tried that but first prerequisite for that as per MS :-

"For a mirroring session to be established, the partners and the witness, if any, must be running on the same version of SQL Server."

http://msdn.microsoft.com/en-us/library/ms366349.aspx#Prerequisites
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47198 Visits: 44367
It is possible to have the mirror a higher version, but as I said it's a stupid thing to do and iirc it takes extra work to even set up that way, you can't use the GUI to set it up.


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Matthew Darwin
Matthew Darwin
SSC-Enthusiastic
SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)SSC-Enthusiastic (197 reputation)

Group: General Forum Members
Points: 197 Visits: 875
GilaMonster (5/14/2013)
It is possible to have the mirror a higher version, but as I said it's a stupid thing to do and iirc it takes extra work to even set up that way, you can't use the GUI to set it up.


The only practical use I can see is to setup a database for upgrade prior to actually implementing the upgrade; saves a bit of time in your maintenance window for the upgrade by not having to perform a full restore?

Follow me on twitter @EvoDBA

Check out my blog Natural Selection DBA
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47198 Visits: 44367
About the only use is as part of a rolling upgrade, so install a second SQL instance (same version), configure mirroring, make sure everything works and the app redirects properly, upgrade the mirror (now running higher version mirror than principal), fail the mirroring over, upgrade the principal, fail the mirroring back (or, if you're migrating hardware as well, leave the 'mirror' as the new principal).

Version upgrade with minimal downtime (one or two failovers).

In a rolling upgrade though you wouldn't install the mirroring with mismatched versions, it would just be that way for a brief time during the upgrade.


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


sql-lover
sql-lover
SSChasing Mays
SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)SSChasing Mays (651 reputation)

Group: General Forum Members
Points: 651 Visits: 1930
GilaMonster (5/14/2013)
It is possible to have the mirror a higher version, but as I said it's a stupid thing to do and iirc it takes extra work to even set up that way, you can't use the GUI to set it up.


Gail,

I don't think it's so stupid, I think it depends.

I "migrated" a huge, very big database, from SQL 2005 to SQL 2008 using mirroring. It took just few seconds of downtime, literally speaking and was just changing the code. It went very well.

Backup and restore was not an option to me, too much downtime.

Of course, I knew going back was not an option, but that was actually part of the initial plan.
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