dbTalk Databases Forums  

MS-Access front-ends lose connection to SQL cluster after failover

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


Discuss MS-Access front-ends lose connection to SQL cluster after failover in the microsoft.public.sqlserver.clustering forum.



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

Default MS-Access front-ends lose connection to SQL cluster after failover - 06-21-2004 , 02:10 PM






Hello,
We are setting up a 2-node active/active SQL 2000 cluster on Windows 2003
ent. ed.
Our DB team writes MS Access XP front-ends for client connection to SQL
cluster.

NODE1 and NODE2 are working fine. I can fail INST1 over to NODE2 and INST2
over to NODE1, vice versa, all is good.

However, in testing, if a is client using the MS-Access front-end connecting
to INST1 on NODE1, and INST1 is failed over to NODE2, the client loses
connection and receives an error. If we close MS-Access and re-open the
front-end (while INST1 is still on NODE2 the failover node), it reconnects
and works just fine.

I am reading this article which describes the behavior of a client app
during a failover...
http://support.microsoft.com/default...273673&sd=tech

From this article, I don't understand what has to be done to ensure a client
re-establishes the connection automatically (and transparently) once the
failover occurs? Or is this not possible to get a transparent failover with
SQL cluster?

This is our second sql cluster. The other one is a document management
software and that software doesn't miss a beat when SQL is failed to node 2.

Thanks in advance.
Jeff



Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: MS-Access front-ends lose connection to SQL cluster after failover - 06-21-2004 , 07:08 PM






If the software doesn't miss abeat during failover then they did their
homework when they wrote the app. The application must be made cluster
aware, it doesn't come that way. By being cluster aware means that they
need to be able to detect a loss of connection and reconnect. And hopefully
save the current state of any transactions so it can resubmit them.

--
Andrew J. Kelly SQL MVP


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

Quote:
Hello,
We are setting up a 2-node active/active SQL 2000 cluster on Windows 2003
ent. ed.
Our DB team writes MS Access XP front-ends for client connection to SQL
cluster.

NODE1 and NODE2 are working fine. I can fail INST1 over to NODE2 and
INST2
over to NODE1, vice versa, all is good.

However, in testing, if a is client using the MS-Access front-end
connecting
to INST1 on NODE1, and INST1 is failed over to NODE2, the client loses
connection and receives an error. If we close MS-Access and re-open the
front-end (while INST1 is still on NODE2 the failover node), it reconnects
and works just fine.

I am reading this article which describes the behavior of a client app
during a failover...
http://support.microsoft.com/default...273673&sd=tech

From this article, I don't understand what has to be done to ensure a
client
re-establishes the connection automatically (and transparently) once the
failover occurs? Or is this not possible to get a transparent failover
with
SQL cluster?

This is our second sql cluster. The other one is a document management
software and that software doesn't miss a beat when SQL is failed to node
2.

Thanks in advance.
Jeff





Reply With Quote
  #3  
Old   
JJP
 
Posts: n/a

Default Re: MS-Access front-ends lose connection to SQL cluster after failover - 06-22-2004 , 11:22 AM



Thanks Andrews. Let me make sure I understand this then....you are saying
that our database admins must write their MS-Access front-ends to detect a
failover on the SQL cluster and accordingly reconnect and resubmit the
transactions?
Thanks.
Jeff



"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote

Quote:
If the software doesn't miss abeat during failover then they did their
homework when they wrote the app. The application must be made cluster
aware, it doesn't come that way. By being cluster aware means that they
need to be able to detect a loss of connection and reconnect. And
hopefully
save the current state of any transactions so it can resubmit them.

--
Andrew J. Kelly SQL MVP


"JJP" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:uS6NbM8VEHA.1656 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello,
We are setting up a 2-node active/active SQL 2000 cluster on Windows
2003
ent. ed.
Our DB team writes MS Access XP front-ends for client connection to SQL
cluster.

NODE1 and NODE2 are working fine. I can fail INST1 over to NODE2 and
INST2
over to NODE1, vice versa, all is good.

However, in testing, if a is client using the MS-Access front-end
connecting
to INST1 on NODE1, and INST1 is failed over to NODE2, the client loses
connection and receives an error. If we close MS-Access and re-open the
front-end (while INST1 is still on NODE2 the failover node), it
reconnects
and works just fine.

I am reading this article which describes the behavior of a client app
during a failover...
http://support.microsoft.com/default...273673&sd=tech

From this article, I don't understand what has to be done to ensure a
client
re-establishes the connection automatically (and transparently) once the
failover occurs? Or is this not possible to get a transparent failover
with
SQL cluster?

This is our second sql cluster. The other one is a document management
software and that software doesn't miss a beat when SQL is failed to
node
2.

Thanks in advance.
Jeff







Reply With Quote
  #4  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: MS-Access front-ends lose connection to SQL cluster after failover - 06-22-2004 , 01:22 PM



I don't know if it is the admins or not but the app must certainly be able
to detect a lost connection and be able to reconnect. Once the active node
fails you loose connection and there is nothing that can be done about that.
Since when the connection is broken SQL Server will rollback any open trans
it is up to the application to resubmit the transactions after it gets
reconnected. The app does not have to know anything about a failover per
say, just the fact they lost connection. This can happen for many reasons,
a fail over just happens to be one of them. The app won't know which node
it's on, they both appear exactly the same to it.

--
Andrew J. Kelly SQL MVP


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

Quote:
Thanks Andrews. Let me make sure I understand this then....you are saying
that our database admins must write their MS-Access front-ends to detect a
failover on the SQL cluster and accordingly reconnect and resubmit the
transactions?
Thanks.
Jeff



"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:em7Ag0%23VEHA.1144 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
If the software doesn't miss abeat during failover then they did their
homework when they wrote the app. The application must be made cluster
aware, it doesn't come that way. By being cluster aware means that they
need to be able to detect a loss of connection and reconnect. And
hopefully
save the current state of any transactions so it can resubmit them.

--
Andrew J. Kelly SQL MVP


"JJP" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:uS6NbM8VEHA.1656 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello,
We are setting up a 2-node active/active SQL 2000 cluster on Windows
2003
ent. ed.
Our DB team writes MS Access XP front-ends for client connection to
SQL
cluster.

NODE1 and NODE2 are working fine. I can fail INST1 over to NODE2 and

INST2
over to NODE1, vice versa, all is good.

However, in testing, if a is client using the MS-Access front-end
connecting
to INST1 on NODE1, and INST1 is failed over to NODE2, the client loses
connection and receives an error. If we close MS-Access and re-open
the
front-end (while INST1 is still on NODE2 the failover node), it
reconnects
and works just fine.

I am reading this article which describes the behavior of a client app
during a failover...
http://support.microsoft.com/default...273673&sd=tech

From this article, I don't understand what has to be done to ensure a
client
re-establishes the connection automatically (and transparently) once
the
failover occurs? Or is this not possible to get a transparent
failover
with
SQL cluster?

This is our second sql cluster. The other one is a document
management
software and that software doesn't miss a beat when SQL is failed to
node
2.

Thanks in advance.
Jeff









Reply With Quote
  #5  
Old   
Doug Guerena
 
Posts: n/a

Default Re: MS-Access front-ends lose connection to SQL cluster after fail - 06-23-2004 , 02:30 PM



I think an important thing to keep in mind here is the use of Access. If tables are Linked in Access then this connection checking becomes a little more combersome than if you use ADO Code to connect to SQL Server.

"Andrew J. Kelly" wrote:

Quote:
I don't know if it is the admins or not but the app must certainly be able
to detect a lost connection and be able to reconnect. Once the active node
fails you loose connection and there is nothing that can be done about that.
Since when the connection is broken SQL Server will rollback any open trans
it is up to the application to resubmit the transactions after it gets
reconnected. The app does not have to know anything about a failover per
say, just the fact they lost connection. This can happen for many reasons,
a fail over just happens to be one of them. The app won't know which node
it's on, they both appear exactly the same to it.

--
Andrew J. Kelly SQL MVP


"JJP" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:%23mocPTHWEHA.2996 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Thanks Andrews. Let me make sure I understand this then....you are saying
that our database admins must write their MS-Access front-ends to detect a
failover on the SQL cluster and accordingly reconnect and resubmit the
transactions?
Thanks.
Jeff



"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:em7Ag0%23VEHA.1144 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
If the software doesn't miss abeat during failover then they did their
homework when they wrote the app. The application must be made cluster
aware, it doesn't come that way. By being cluster aware means that they
need to be able to detect a loss of connection and reconnect. And
hopefully
save the current state of any transactions so it can resubmit them.

--
Andrew J. Kelly SQL MVP


"JJP" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:uS6NbM8VEHA.1656 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello,
We are setting up a 2-node active/active SQL 2000 cluster on Windows
2003
ent. ed.
Our DB team writes MS Access XP front-ends for client connection to
SQL
cluster.

NODE1 and NODE2 are working fine. I can fail INST1 over to NODE2 and

INST2
over to NODE1, vice versa, all is good.

However, in testing, if a is client using the MS-Access front-end
connecting
to INST1 on NODE1, and INST1 is failed over to NODE2, the client loses
connection and receives an error. If we close MS-Access and re-open
the
front-end (while INST1 is still on NODE2 the failover node), it
reconnects
and works just fine.

I am reading this article which describes the behavior of a client app
during a failover...
http://support.microsoft.com/default...273673&sd=tech

From this article, I don't understand what has to be done to ensure a
client
re-establishes the connection automatically (and transparently) once
the
failover occurs? Or is this not possible to get a transparent
failover
with
SQL cluster?

This is our second sql cluster. The other one is a document
management
software and that software doesn't miss a beat when SQL is failed to
node
2.

Thanks in advance.
Jeff










Reply With Quote
  #6  
Old   
JJP
 
Posts: n/a

Default Re: MS-Access front-ends lose connection to SQL cluster after fail - 06-24-2004 , 10:18 AM



Doug, thanks for the reply. Our tables are linked in Access. I am checking
the MSDN website and will forward that to our DB admins. If you have any
other thoughts or suggestions, let me know, otherwise thank you and thanks
everyone.



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

Quote:
I think an important thing to keep in mind here is the use of Access. If
tables are Linked in Access then this connection checking becomes a little
more combersome than if you use ADO Code to connect to SQL Server.
Quote:
"Andrew J. Kelly" wrote:

I don't know if it is the admins or not but the app must certainly be
able
to detect a lost connection and be able to reconnect. Once the active
node
fails you loose connection and there is nothing that can be done about
that.
Since when the connection is broken SQL Server will rollback any open
trans
it is up to the application to resubmit the transactions after it gets
reconnected. The app does not have to know anything about a failover
per
say, just the fact they lost connection. This can happen for many
reasons,
a fail over just happens to be one of them. The app won't know which
node
it's on, they both appear exactly the same to it.

--
Andrew J. Kelly SQL MVP


"JJP" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:%23mocPTHWEHA.2996 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
Thanks Andrews. Let me make sure I understand this then....you are
saying
that our database admins must write their MS-Access front-ends to
detect a
failover on the SQL cluster and accordingly reconnect and resubmit the
transactions?
Thanks.
Jeff



"Andrew J. Kelly" <sqlmvpnooospam (AT) shadhawk (DOT) com> wrote in message
news:em7Ag0%23VEHA.1144 (AT) TK2MSFTNGP10 (DOT) phx.gbl...
If the software doesn't miss abeat during failover then they did
their
homework when they wrote the app. The application must be made
cluster
aware, it doesn't come that way. By being cluster aware means that
they
need to be able to detect a loss of connection and reconnect. And
hopefully
save the current state of any transactions so it can resubmit them.

--
Andrew J. Kelly SQL MVP


"JJP" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:uS6NbM8VEHA.1656 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
Hello,
We are setting up a 2-node active/active SQL 2000 cluster on
Windows
2003
ent. ed.
Our DB team writes MS Access XP front-ends for client connection
to
SQL
cluster.

NODE1 and NODE2 are working fine. I can fail INST1 over to NODE2
and

INST2
over to NODE1, vice versa, all is good.

However, in testing, if a is client using the MS-Access front-end
connecting
to INST1 on NODE1, and INST1 is failed over to NODE2, the client
loses
connection and receives an error. If we close MS-Access and
re-open
the
front-end (while INST1 is still on NODE2 the failover node), it
reconnects
and works just fine.

I am reading this article which describes the behavior of a client
app
during a failover...

http://support.microsoft.com/default...273673&sd=tech

From this article, I don't understand what has to be done to
ensure a
client
re-establishes the connection automatically (and transparently)
once
the
failover occurs? Or is this not possible to get a transparent
failover
with
SQL cluster?

This is our second sql cluster. The other one is a document
management
software and that software doesn't miss a beat when SQL is failed
to
node
2.

Thanks in advance.
Jeff












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.