Solved

SQL 2012 Enterprise Peer to Peer over VPN

Posted on 2014-02-16
6
201 Views
Last Modified: 2014-02-26
Hey guys

I know the title looks familiar but the problem is different now.

I have 2 SQL 2012 servers on Server 2012 R2.  One in Houston and one in Dallas.  One Domain Controller in Houston.  The servers are connected via hardware VPN.  Both servers DNS entries point ONLY to the Houston DC.  The servers, when working properly, are setup as Peer to Peer and the subscriptions and the distributions are working great.  I can make a change in Houston or Dallas and by the time I switch to look at the other one the change has already been pushed or pulled (I am not the SQL programmer so I don't know the proper term to use)

Now, here is the problem.  Every couple days I have to restart the servers because they lose connection to the other.  So far I am restarting both of them (haven't tried restarting only one yet to see if the problem gets resolved).  Upon restart they connect with zero issues and this lasts for about 24 hours or so.  I haven't timed it yet... I probably should.

Anyways, since the VPN is hardware and I am not touching that then I have to assume that the problem is with the servers themselves.  Now, they are virtual machines (in case that makes a difference) and the Domain Controller in Houston is also a Virtual Machine (using Hyper-V in both Houston and Dallas).

Any ideas why or what would cause this?
0
Comment
Question by:jonmenefee
  • 4
6 Comments
 
LVL 142

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 39863151
without seeing the sql server's errorlog and eventually some relevant windows eventlog, it won't be easy to troubleshoot such kind of issues.
0
 

Author Comment

by:jonmenefee
ID: 39863173
True.  I will start monitoring the logs and the connection.  When I see it go down again I will look at those logs and post what I think the error is.
0
 
LVL 5

Expert Comment

by:cheers4beers
ID: 39863287
I agree with Guy, additional info is needed.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:jonmenefee
ID: 39863304
today I have restarted both servers several times and right after the restart I can connect but the connection only last a few minutes and then any time I do an expansion of the other server within the MSSMS it will time out and say the connection is no longer there.  For example.  When I am logged into the Houston server and open MSSMS and connect to the Houston SQL server its fine, but when I go to Open Database connection to the Dallas SQL server it connects just fine and expands all the directories.  Within a few minutes though when I try to go back into the Dallas SQL server and expand the folders (Management for example) and if it expands and I try to view a log file it times out and says the Server name is no longer available.  
Very strange eh?
0
 

Accepted Solution

by:
jonmenefee earned 0 total points
ID: 39877518
Ok, turns out the problem was all DNS and Keberos.  The server in Dallas was messed up and wouldn't allow authentication.  I forced it to be demoted and all my problems went away.
0
 

Author Closing Comment

by:jonmenefee
ID: 39888281
Not a great answer but unfortunately no one else offered much.  It wasn't their fault... nothing in my problem suggested DNS
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

816 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

11 Experts available now in Live!

Get 1:1 Help Now