Solved

Passive Cluster Drops Linked Server Connection

Posted on 2009-07-07
3
460 Views
Last Modified: 2012-05-07
I have a passive cluster with SQL 2005, running on 2003 Enterprise Server, I am attempting to connect a linked server which is also running SQL 2005, on 2003 Enterprise Server. I can successfully connect using the SA username and password, but within an hour I permanently lose connection to the linked server from the clusterd environment. I have verified that both servers in the cluster have the link server set up.

In recap - Server A is a single instance server running SQL 2005 on 2003 Ent, I am attempting to connect to it from a passive clustered SQL 2005 on 2003 Ent environment. I lose connection within an hour, and have to completely rebuild the linked server connection.
0
Comment
Question by:concretesailors
  • 2
3 Comments
 
LVL 15

Expert Comment

by:mcmonap
Comment Utility
Hi concretesailors,
This does not sound right at all, is there some kind of server level trigger or task that has been configured to remove things like this for maintenance purposes or the like?  I can think of nothing that would do this automatically.
The code below queries the servers view in the master database, when you are setup you should see it appearing in here.  Does anyone else have access who might want to remove these?  Have you tried adding the linked server details to another server to confirm the same does not happen there?

SELECT * FROM master.sys.servers order by name

Open in new window

0
 
LVL 7

Accepted Solution

by:
concretesailors earned 0 total points
Comment Utility
Once I have made a connection through the linked server with SA, the other SQL user can access the linked server. (Again, the linked server is a stand alone server and single instance, but the connection is originating from the cluster; active-passive).

So for now, I have created a small job that queries the linked server every minute under SA to keep the connection open. This is a weird work around, but seems to be keeping the connection open.

I did run your query, and the linked server does appear from the cluster's master database.
I have included the result set from the query, but to me it appears to be correct.



SQL-Server-2005-Q-24549742.txt
0
 
LVL 15

Expert Comment

by:mcmonap
Comment Utility
If the connection remains stable try increasing the time period of your job doing the query - I would be interested to know when/if it disappears...
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now