Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL and IIS on AZURE interfacing with on premise SQL and IIS

Posted on 2016-08-18
3
Medium Priority
?
132 Views
Last Modified: 2016-08-24
We currently have a site to AZURE vpn configured and we are getting 60ms ping times thru it.  We have integrated AD to our AZURE servers.  We have an on premise SQL server and an IIS server that host applications and databases for our internal users.  (12 db's none over 3gb).  We also have a SQL server and an IIS server hosted on AZURE that our external customers access.  The web server on AZURE gets data input and dumps it in the AZURE SQL server which replicates back into our internal SQL server.  Our internal SQL server gets input from our internal users and replicates to the AZURE SQL server.  We are having all sorts of database issues and failures.  Is this a viable way for doing this?  What other options do we have.  **Note**  The AZURE servers are our external webservers for the public.  This is not my forte.  This is actually our web/sql guys issue but he is not having any luck solving it.
0
Comment
Question by:Brian DeBolt
  • 2
3 Comments
 
LVL 5

Expert Comment

by:Zachariah Browning
ID: 41761901
My main question is why are you double replicating instead of having only the Azure SQL DB?

~Azure does not charge for data ingress- but does charge for all data egress, so every time you do a replication to on prem you have  a small little charge associated with it. From your description you want the two servers in as close to synchronized as possible.. if you are already in a VPN situation, why not just use the azure server directly and reconfigure on premises web servers to be directed to the Azure SQL DB>?
0
 

Author Comment

by:Brian DeBolt
ID: 41763008
When we try and run an app internally that queries the AZURE SQL we get about 10 rows of data every 30 seconds.  That's why we are not just using the AZURE SQL server.
I am curious if the issue is with our site to Azure VPN or using blob storage instead of premium storage?  A ping to our AZURE server over our VPN is between 60ms and 65ms.
0
 
LVL 5

Accepted Solution

by:
Zachariah Browning earned 2000 total points
ID: 41764320
Is your Azure SQL actually SQL running on an IaaS Server hosted in Azure or are you using the PaaS Azure SQL DB Service? You could be running into IOPS issues or DTU limits..

Most likely your issue is with your VPN setup/gateway device. not so much connection speed but high packet loss or bandwidth limitation somewhere. Some causes could be if azure is far away from your office like connecting to East Europe when you live in West Coast US. Issue with gateway setup/VPN device on premises. Multiple site-to-site vpn connections.

First i would check what the throughput is between on premises and Azure via VPN to test what your actual connection speed is. Since on the surface that sounds like the real issue. If you find that your throughput is very low then troubleshooting that network connection, gateway setup etc.- would be the main priority.

You could look into getting a ExpressRoute setup if your Internet Service Provider supports it. This would create a tunneled high security connection directly to azure for consistent and fast connection speeds. Just as one option. You might also want to upgrade your gateway to a Standard or high performance gateway if you are only using the basic gateway setup. Even a standard (or small)  dynamic routed gateway should have 100Mbps throughput, or 1000Mbps Expressroute throughput.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
As managed cloud service providers, we often get asked to intervene when cloud deployments go awry. Attracted by apparent ease-of-use, flexibility and low computing costs, companies quickly adopt leading public cloud platforms such as Amazon Web Ser…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

885 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