• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

SQL 2012 Enterprise Peer to Peer over VPN

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
jonmenefee
Asked:
jonmenefee
  • 4
1 Solution
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
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
 
jonmenefeeAuthor Commented:
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
 
cheers4beersCommented:
I agree with Guy, additional info is needed.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jonmenefeeAuthor Commented:
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
 
jonmenefeeAuthor Commented:
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
 
jonmenefeeAuthor Commented:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now