Solved

SQL 2012 Enterprise Peer to Peer over VPN

Posted on 2014-02-16
6
199 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]
Comment Utility
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
Comment Utility
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
Comment Utility
I agree with Guy, additional info is needed.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:jonmenefee
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
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.

744 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