Solved

Passive Cluster Drops Linked Server Connection

Posted on 2009-07-07
3
474 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Expert Comment

by:mcmonap
ID: 24796621
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
ID: 24797203
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
ID: 24798599
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

622 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