Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4532

Upgrade using Db mirroring

$
0
0
Hi Everyone,

I came to know that using SQL Server database mirroring, we can perform the upgrades with minimal downtime.
How that is possible? Can anyone elaborate ?

I have done some homework reading about this and wanted to confirm on this.

Assume I have old server is SQL Server 2005 Enterprise Edition and new server is SQL Server 2008 Enterprise Edition.
Now, I am going to Setup High Safety mode without witness. I dont want witness because, we have risk Automatic failover and I don't want that happen in middle of upgrade.
Also make sure logins , orphan users are fixed, jobs ,linked servers are created on the new server.
once everything is sync , initiate a manual failover.

use master
go
alter database <dbname> set partner failover;
go

Is this the way we can perform upgrades with minimal downtime ?
Again, once the upgrade is done and verified from error log, do we remove db mirroring and point the applications to the new server?

Please correct me if I am wrong and am I missing anything here?

Thanks in Advance.

Viewing all articles
Browse latest Browse all 4532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>