dbTalk Databases Forums  

Log shipping with clustering

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


Discuss Log shipping with clustering in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Tom Moreau
 
Posts: n/a

Default Re: Log shipping with clustering - 09-10-2004 , 01:32 PM






This goes beyond a SQL Server problem. For disaster recovery scenarios,
this could also apply to web servers, too. Check out BigIP 3-DNS at
http://www.bigip.com/f5products/products/bigip/gtm/.

--
Tom

---------------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql


"barbara" <barbara_2003 (AT) hotmail (DOT) com> wrote

Does microsoft know this problem? In enterprise environment, it is
very hard to push the DNS change to all clients. When they offer log
shipping, there should be an easy way for client redirection. I feel
this is is the biggest
drawback with sql server. How do you push XML or registry to all
clients? Do we need to have list of all clinet machine IPs?

Any other ideas in this subject is well appreciated.

Thanks



"Geoff N. Hiten" <SRDBA (AT) Careerbuilder (DOT) com> wrote

Quote:
Currently there is no automagic client redirection. You can handle this
in
a variety of ways. You can put the server portion of the conneciotn
string
in a registry entry or an XML document and push changes otu to all the
clients. You can do a DNS alias redirect, but as you noted, there is the
client caching issue. This is one reason clustering is so useful. The
clients reconnect using the same connection string after a failover.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

"barbara" <barbara_2003 (AT) hotmail (DOT) com> wrote in message
news:5cd01256.0409100354.23e1b6a4 (AT) posting (DOT) google.com...
Thanks for the good explanation. How do we change the client
configuration to point clients from SQLCLUSTER to node1? Oracle uses
LDAP/ONAMES for name resolution which is easier to change. Do we have
any for sql server? Is DNS name change is only option available? How
does it take care of caching at client level?


"Luca Bianchi" <rightjoinREMOVE_THIS (AT) hotmail (DOT) com> wrote in message
news:<2qd1hrFueik4U1 (AT) uni-berlin (DOT) de>...
barbara wrote:
Luca,

Thanks for the info. I've looked at all these articles before. If I
create standby on same server as cluser node (business doesn't want
to
spend on another server), how do I failover to this? How does the
client connects to
standby? What name does it uses because the cluster node also exists
on the same server.

I agree completely with Geoff and Greg about their consideration. High
Availability has a cost. If you don't consider it, probably you don't
need a
cluster solution.
By the way you have to refer to the clustered instance with its
VIRTUAL
SERVER NAME that is different by the name of two node machine. The
stand
alone instance could be referred by the traditional host name.
Imagine that you have a clustered node called NODE1 and the other node
called NODE2 (either with its own IP address). When you setup a
clustered
(at operating system level) you have to assign, for the clustered, one
VIRTUAL SERVER NAME and one VIRTUAL IP ADDRESS (of the same class of
both
node). When you install the virtual server instance of SQL Server you
have
to provide another VIRTUAL SERVER NAME and another VIRTUAL IP ADDRESS
for
SQL Server.
For example

The machine that form the cluster are:
NODE1 (10.0.0.1)
NODE2 (10.0.0.2)

When you create a clustered at Windows 2000/2003 level you can assign
the
following name and ip address to the virtual server
W2KCLUSTER (10.0.0.3)

And then you setup SQL Server in a clustered instance creating a new
virtual
server name with its virtual ip address
SQLCLUSTER (10.0.0.4)

If you install a stand-alone instance on NODE1 you can refer to the
clustered instance with the clustered instance name (that could be run
on
NODE1 or NODE2) using its name or ip address (SQLCLUSTER or 10.0.0.4).
If
you would connect to the stand alone instance you can connect to it
without
considering the virtual server name but using NODE1.

Bye


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

Default Re: Log shipping with clustering - 09-10-2004 , 03:04 PM






This is a well-known issue with log shipping. How you failover depends on
the nature of the client applications. The more you control them, the more
options you have. Log shipping is generally only used to create a warm
standby at a remote location in case the primary data center takes a meteor
strike. Clustering is the first technology step in high availability since
it does not require any client-side changes. Just a reconnect and you are
off and running.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

"barbara" <barbara_2003 (AT) hotmail (DOT) com> wrote

Quote:
Does microsoft know this problem? In enterprise environment, it is
very hard to push the DNS change to all clients. When they offer log
shipping, there should be an easy way for client redirection. I feel
this is is the biggest
drawback with sql server. How do you push XML or registry to all
clients? Do we need to have list of all clinet machine IPs?

Any other ideas in this subject is well appreciated.

Thanks



"Geoff N. Hiten" <SRDBA (AT) Careerbuilder (DOT) com> wrote

Currently there is no automagic client redirection. You can handle this
in
a variety of ways. You can put the server portion of the conneciotn
string
in a registry entry or an XML document and push changes otu to all the
clients. You can do a DNS alias redirect, but as you noted, there is
the
client caching issue. This is one reason clustering is so useful. The
clients reconnect using the same connection string after a failover.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

"barbara" <barbara_2003 (AT) hotmail (DOT) com> wrote in message
news:5cd01256.0409100354.23e1b6a4 (AT) posting (DOT) google.com...
Thanks for the good explanation. How do we change the client
configuration to point clients from SQLCLUSTER to node1? Oracle uses
LDAP/ONAMES for name resolution which is easier to change. Do we have
any for sql server? Is DNS name change is only option available? How
does it take care of caching at client level?


"Luca Bianchi" <rightjoinREMOVE_THIS (AT) hotmail (DOT) com> wrote in message
news:<2qd1hrFueik4U1 (AT) uni-berlin (DOT) de>...
barbara wrote:
Luca,

Thanks for the info. I've looked at all these articles before. If
I
create standby on same server as cluser node (business doesn't
want to
spend on another server), how do I failover to this? How does the
client connects to
standby? What name does it uses because the cluster node also
exists
on the same server.

I agree completely with Geoff and Greg about their consideration.
High
Availability has a cost. If you don't consider it, probably you
don't
need a
cluster solution.
By the way you have to refer to the clustered instance with its
VIRTUAL
SERVER NAME that is different by the name of two node machine. The
stand
alone instance could be referred by the traditional host name.
Imagine that you have a clustered node called NODE1 and the other
node
called NODE2 (either with its own IP address). When you setup a
clustered
(at operating system level) you have to assign, for the clustered,
one
VIRTUAL SERVER NAME and one VIRTUAL IP ADDRESS (of the same class of
both
node). When you install the virtual server instance of SQL Server
you
have
to provide another VIRTUAL SERVER NAME and another VIRTUAL IP
ADDRESS
for
SQL Server.
For example

The machine that form the cluster are:
NODE1 (10.0.0.1)
NODE2 (10.0.0.2)

When you create a clustered at Windows 2000/2003 level you can
assign
the
following name and ip address to the virtual server
W2KCLUSTER (10.0.0.3)

And then you setup SQL Server in a clustered instance creating a new
virtual
server name with its virtual ip address
SQLCLUSTER (10.0.0.4)

If you install a stand-alone instance on NODE1 you can refer to the
clustered instance with the clustered instance name (that could be
run
on
NODE1 or NODE2) using its name or ip address (SQLCLUSTER or
10.0.0.4).
If
you would connect to the stand alone instance you can connect to it
without
considering the virtual server name but using NODE1.

Bye



Reply With Quote
  #13  
Old   
Greg D. Moore \(Strider\)
 
Posts: n/a

Default Re: Log shipping with clustering - 09-10-2004 , 08:41 PM




"barbara" <barbara_2003 (AT) hotmail (DOT) com> wrote

Quote:
Does microsoft know this problem? In enterprise environment, it is
very hard to push the DNS change to all clients. When they offer log
shipping, there should be an easy way for client redirection. I feel
this is is the biggest
drawback with sql server. How do you push XML or registry to all
clients? Do we need to have list of all clinet machine IPs?
We script it.





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.