dbTalk Databases Forums  

Using SQL Server Database mirroring between Primary and DR cluster

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss Using SQL Server Database mirroring between Primary and DR cluster in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
xyberdobs
 
Posts: n/a

Default Using SQL Server Database mirroring between Primary and DR cluster - 05-21-2009 , 02:40 PM






Hi all.

Any assistance regarding this would be greatly appreciated.

We have configured two sql server 2005 clustered environments - one will be
hosted at our local datacenter and the other at our DR site. These two
clusters are geographically dispersed.

The clusters will be configured as active/passive and I would like to
incorporate sql server 2005 database mirroring between the two clusters for
redundancy. Both clusters have the same domain names

My questions are:
can I configure both sql clustered instances to have the same sql virtual
server and instance name, so that in the event that the datacenter goes down,
we can initiate a manual failover between principal and mirror and the
front-end applications would still be able to connect using the same server
and instance name at the DR site?
If we cant have the same server and instance names, how can I configure the
cluster at DR site assume the identity of the primary virtual sql server and
instance name so that no code changes are required to point to the databases?

Many thanks.

Reply With Quote
  #2  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Using SQL Server Database mirroring between Primary and DR cluster - 05-21-2009 , 02:48 PM






You can't have identical server and instance names. You can set up the
connect string to include the mirror. This way, when a client attempts to
connect to the primary and it is offline, then they connect to the mirror.

Other things to consider would include the speed of your WAN link and how
much traffic you get when you defrag indexes, for example. In SQL 2005,
mirror traffic is not compressed. You may want to consider log shipping but
with a 3rd-party compression tool, such as Red Gate's SQL Backup.

Also, in a DR situation, you would likely want to have redundancy of your
middle-tier servers - not just your DB servers.

--
Tom

----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCITP, MCTS
SQL Server MVP
Toronto, ON Canada
https://mvp.support.microsoft.com/profile/Tom.Moreau


"xyberdobs" <xyberdobs (AT) discussions (DOT) microsoft.com> wrote

Hi all.

Any assistance regarding this would be greatly appreciated.

We have configured two sql server 2005 clustered environments - one will be
hosted at our local datacenter and the other at our DR site. These two
clusters are geographically dispersed.

The clusters will be configured as active/passive and I would like to
incorporate sql server 2005 database mirroring between the two clusters for
redundancy. Both clusters have the same domain names

My questions are:
can I configure both sql clustered instances to have the same sql virtual
server and instance name, so that in the event that the datacenter goes
down,
we can initiate a manual failover between principal and mirror and the
front-end applications would still be able to connect using the same server
and instance name at the DR site?
If we cant have the same server and instance names, how can I configure the
cluster at DR site assume the identity of the primary virtual sql server and
instance name so that no code changes are required to point to the
databases?

Many thanks.


Reply With Quote
  #3  
Old   
Geoff N. Hiten
 
Posts: n/a

Default Re: Using SQL Server Database mirroring between Primary and DR cluster - 05-21-2009 , 02:57 PM



I am implementing such a configuration now, except that DR is a stand-alone
server.

Use a DNS alias to abstract your Primary cluster. When you implement a
mirror failover, change the DNS record to point to the alternate server.

--
Geoff N. Hiten
Principal SQL Infrastructure Consultant
Microsoft SQL Server MVP


"xyberdobs" <xyberdobs (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi all.

Any assistance regarding this would be greatly appreciated.

We have configured two sql server 2005 clustered environments - one will
be
hosted at our local datacenter and the other at our DR site. These two
clusters are geographically dispersed.

The clusters will be configured as active/passive and I would like to
incorporate sql server 2005 database mirroring between the two clusters
for
redundancy. Both clusters have the same domain names

My questions are:
can I configure both sql clustered instances to have the same sql virtual
server and instance name, so that in the event that the datacenter goes
down,
we can initiate a manual failover between principal and mirror and the
front-end applications would still be able to connect using the same
server
and instance name at the DR site?
If we cant have the same server and instance names, how can I configure
the
cluster at DR site assume the identity of the primary virtual sql server
and
instance name so that no code changes are required to point to the
databases?

Many thanks.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.