Setup machines network in Windows Azure The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Come Celebrate our 10 Year Anniversary!Networking problem cannot reach 192.168.1.x network from a single machine on the 192.168.3 networkMysql Server Windows XP Firewall portsSlow performance between two Windows Azure Hosted servicesUnsure of how to setup two Virtual Machines on Windows Azure to match my desired architectureIt is possible to establish a VM-to-VM connection between Azure virtual machines?Unable to connect to mysql on Windows Azure Virtual MachineAzure virtual machines in the same network can't see each otherMySql on Azure Throwing Pool Connection Timeout ErrorsAzure Virtual Machine (classic) Ubuntu connection to Azure hosted MySQL databaseHow to setup Azure VM to run a public service

High Q peak in frequency response means what in time domain?

What information about me do stores get via my credit card?

How can I define good in a religion that claims no moral authority?

Simulation of a banking system with an Account class in C++

system() function string length limit

Are my PIs rude or am I just being too sensitive?

How do you keep chess fun when your opponent constantly beats you?

Simulating Exploding Dice

Did God make two great lights or did He make the great light two?

Take groceries in checked luggage

How do I add random spotting to the same face in cycles?

Is there a writing software that you can sort scenes like slides in PowerPoint?

How are presidential pardons supposed to be used?

What is this lever in Argentinian toilets?

Change bounding box of math glyphs in LuaTeX

How to delete random line from file using Unix command?

The variadic template constructor of my class cannot modify my class members, why is that so?

How should I replace vector<uint8_t>::const_iterator in an API?

First use of “packing” as in carrying a gun

I could not break this equation. Please help me

Can a novice safely splice in wire to lengthen 5V charging cable?

How to split my screen on my Macbook Air?

Keeping a retro style to sci-fi spaceships?

Why did all the guest students take carriages to the Yule Ball?



Setup machines network in Windows Azure



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Networking problem cannot reach 192.168.1.x network from a single machine on the 192.168.3 networkMysql Server Windows XP Firewall portsSlow performance between two Windows Azure Hosted servicesUnsure of how to setup two Virtual Machines on Windows Azure to match my desired architectureIt is possible to establish a VM-to-VM connection between Azure virtual machines?Unable to connect to mysql on Windows Azure Virtual MachineAzure virtual machines in the same network can't see each otherMySql on Azure Throwing Pool Connection Timeout ErrorsAzure Virtual Machine (classic) Ubuntu connection to Azure hosted MySQL databaseHow to setup Azure VM to run a public service



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm building a web application and I've decided to host it on Windows Azure.



My application has three components:



  • A front-end created with Play Framework (machine A)

  • A back-end core written in Java that executes my business logic (machine B)

  • A database (machine C)

Since I have a free Bizspark account I created 3 free Azure users: for each one I created a medium Ubuntu 12.04 LTS machine and I installed one component on each machine.



Each of the component is running on its own machine to boost performance. The connections I'm interested in is the connection from machines A and B to machine C.



I successfully connect to the database machines, I created all of the needed endpoints and the corrects access rights have been given



BUT



the problems I'm getting are the following:



SEVERE: FATAL: DataSourcePool [mysql] is down!!!
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,197,486 milliseconds ago.
Caused by: java.net.SocketException: Connection timed out


Or:



WARNING: DataSourcePool closing leaked connection?
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.DataSourcePool validateConnection
WARNING: heartbeatsql test failed on connection[mysql.31]
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.PooledConnection closeConnectionFully
INFO: Closing Connection[mysql.31] psReuse[19] psCreate[19] psSize[19]


Or:



javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited
[1000] millis for a connection to be returned. No connections are free. You need to
Increase the max connections of [100] or look for a connection pool leak using
datasource.xxx.capturestacktrace=true


Since my application on another web server was running fine I think there's something wrong in the configuration of my network. I think that the 1000ms run out before eBean can get a connection from the pool.
I tried to execute some basic connectivity tests like Ping or Traceroute from my core machine to the db machine but Azure blocks ICMP messages.
I then tried TCPPING and the output is the following:



tcpping xxx.cloudapp.net 3306
TCP Ping 1:0,808ms
TCP Ping 2:0,934ms
TCP Ping 3:1,036ms
TCP Ping 4:0,860ms
TCP Ping 5:0,927ms
TCP Ping 6:0,905ms
TCP Ping 7:0,949ms
TCP Ping 8:1,079ms
TCP Ping 9:1,274ms
TCP Ping 10:0,983ms


TCPTraceroute is not working, it only shows asterisks...



I don't know if these results are believable or not but I don't know how Azure works. I think that 1 second on average is an enormity.



I then tried to connect remotely to the database machine: I installed a MySQL 5.5 client on the core machine and connected like this:



mysql -u [username] -h [db machine hostname].cloudapp.net --port=3306 -p[password]


All's fine and it seems also pretty fast, I can't see any sort of lag from the console view.



Some details about the machines:



  • all are in the same region (West Europe)


  • they are created from different accounts (like email1@hotmail.com owns db machine, email2@hotmail.com owns core machine, etc.)


  • they all run the same Ubuntu version


Can you please tell me what can I do to decrease this delay?










share|improve this question






















  • Why do you have different users owning each virtual machine?

    – Michael Hampton
    Nov 28 '13 at 17:35












  • Because I have a credit limit on each account. 115€ per month per account, and I can create up to 8 free accounts, so I put a medium sized machine in three accounts

    – Andrea
    Nov 28 '13 at 17:47

















0















I'm building a web application and I've decided to host it on Windows Azure.



My application has three components:



  • A front-end created with Play Framework (machine A)

  • A back-end core written in Java that executes my business logic (machine B)

  • A database (machine C)

Since I have a free Bizspark account I created 3 free Azure users: for each one I created a medium Ubuntu 12.04 LTS machine and I installed one component on each machine.



Each of the component is running on its own machine to boost performance. The connections I'm interested in is the connection from machines A and B to machine C.



I successfully connect to the database machines, I created all of the needed endpoints and the corrects access rights have been given



BUT



the problems I'm getting are the following:



SEVERE: FATAL: DataSourcePool [mysql] is down!!!
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,197,486 milliseconds ago.
Caused by: java.net.SocketException: Connection timed out


Or:



WARNING: DataSourcePool closing leaked connection?
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.DataSourcePool validateConnection
WARNING: heartbeatsql test failed on connection[mysql.31]
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.PooledConnection closeConnectionFully
INFO: Closing Connection[mysql.31] psReuse[19] psCreate[19] psSize[19]


Or:



javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited
[1000] millis for a connection to be returned. No connections are free. You need to
Increase the max connections of [100] or look for a connection pool leak using
datasource.xxx.capturestacktrace=true


Since my application on another web server was running fine I think there's something wrong in the configuration of my network. I think that the 1000ms run out before eBean can get a connection from the pool.
I tried to execute some basic connectivity tests like Ping or Traceroute from my core machine to the db machine but Azure blocks ICMP messages.
I then tried TCPPING and the output is the following:



tcpping xxx.cloudapp.net 3306
TCP Ping 1:0,808ms
TCP Ping 2:0,934ms
TCP Ping 3:1,036ms
TCP Ping 4:0,860ms
TCP Ping 5:0,927ms
TCP Ping 6:0,905ms
TCP Ping 7:0,949ms
TCP Ping 8:1,079ms
TCP Ping 9:1,274ms
TCP Ping 10:0,983ms


TCPTraceroute is not working, it only shows asterisks...



I don't know if these results are believable or not but I don't know how Azure works. I think that 1 second on average is an enormity.



I then tried to connect remotely to the database machine: I installed a MySQL 5.5 client on the core machine and connected like this:



mysql -u [username] -h [db machine hostname].cloudapp.net --port=3306 -p[password]


All's fine and it seems also pretty fast, I can't see any sort of lag from the console view.



Some details about the machines:



  • all are in the same region (West Europe)


  • they are created from different accounts (like email1@hotmail.com owns db machine, email2@hotmail.com owns core machine, etc.)


  • they all run the same Ubuntu version


Can you please tell me what can I do to decrease this delay?










share|improve this question






















  • Why do you have different users owning each virtual machine?

    – Michael Hampton
    Nov 28 '13 at 17:35












  • Because I have a credit limit on each account. 115€ per month per account, and I can create up to 8 free accounts, so I put a medium sized machine in three accounts

    – Andrea
    Nov 28 '13 at 17:47













0












0








0








I'm building a web application and I've decided to host it on Windows Azure.



My application has three components:



  • A front-end created with Play Framework (machine A)

  • A back-end core written in Java that executes my business logic (machine B)

  • A database (machine C)

Since I have a free Bizspark account I created 3 free Azure users: for each one I created a medium Ubuntu 12.04 LTS machine and I installed one component on each machine.



Each of the component is running on its own machine to boost performance. The connections I'm interested in is the connection from machines A and B to machine C.



I successfully connect to the database machines, I created all of the needed endpoints and the corrects access rights have been given



BUT



the problems I'm getting are the following:



SEVERE: FATAL: DataSourcePool [mysql] is down!!!
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,197,486 milliseconds ago.
Caused by: java.net.SocketException: Connection timed out


Or:



WARNING: DataSourcePool closing leaked connection?
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.DataSourcePool validateConnection
WARNING: heartbeatsql test failed on connection[mysql.31]
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.PooledConnection closeConnectionFully
INFO: Closing Connection[mysql.31] psReuse[19] psCreate[19] psSize[19]


Or:



javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited
[1000] millis for a connection to be returned. No connections are free. You need to
Increase the max connections of [100] or look for a connection pool leak using
datasource.xxx.capturestacktrace=true


Since my application on another web server was running fine I think there's something wrong in the configuration of my network. I think that the 1000ms run out before eBean can get a connection from the pool.
I tried to execute some basic connectivity tests like Ping or Traceroute from my core machine to the db machine but Azure blocks ICMP messages.
I then tried TCPPING and the output is the following:



tcpping xxx.cloudapp.net 3306
TCP Ping 1:0,808ms
TCP Ping 2:0,934ms
TCP Ping 3:1,036ms
TCP Ping 4:0,860ms
TCP Ping 5:0,927ms
TCP Ping 6:0,905ms
TCP Ping 7:0,949ms
TCP Ping 8:1,079ms
TCP Ping 9:1,274ms
TCP Ping 10:0,983ms


TCPTraceroute is not working, it only shows asterisks...



I don't know if these results are believable or not but I don't know how Azure works. I think that 1 second on average is an enormity.



I then tried to connect remotely to the database machine: I installed a MySQL 5.5 client on the core machine and connected like this:



mysql -u [username] -h [db machine hostname].cloudapp.net --port=3306 -p[password]


All's fine and it seems also pretty fast, I can't see any sort of lag from the console view.



Some details about the machines:



  • all are in the same region (West Europe)


  • they are created from different accounts (like email1@hotmail.com owns db machine, email2@hotmail.com owns core machine, etc.)


  • they all run the same Ubuntu version


Can you please tell me what can I do to decrease this delay?










share|improve this question














I'm building a web application and I've decided to host it on Windows Azure.



My application has three components:



  • A front-end created with Play Framework (machine A)

  • A back-end core written in Java that executes my business logic (machine B)

  • A database (machine C)

Since I have a free Bizspark account I created 3 free Azure users: for each one I created a medium Ubuntu 12.04 LTS machine and I installed one component on each machine.



Each of the component is running on its own machine to boost performance. The connections I'm interested in is the connection from machines A and B to machine C.



I successfully connect to the database machines, I created all of the needed endpoints and the corrects access rights have been given



BUT



the problems I'm getting are the following:



SEVERE: FATAL: DataSourcePool [mysql] is down!!!
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
The last packet successfully received from the server was 1,197,486 milliseconds ago.
Caused by: java.net.SocketException: Connection timed out


Or:



WARNING: DataSourcePool closing leaked connection?
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.DataSourcePool validateConnection
WARNING: heartbeatsql test failed on connection[mysql.31]
Nov 27, 2013 8:55:46 PM com.avaje.ebeaninternal.server.lib.sql.PooledConnection closeConnectionFully
INFO: Closing Connection[mysql.31] psReuse[19] psCreate[19] psSize[19]


Or:



javax.persistence.PersistenceException: java.sql.SQLException: Unsuccessfully waited
[1000] millis for a connection to be returned. No connections are free. You need to
Increase the max connections of [100] or look for a connection pool leak using
datasource.xxx.capturestacktrace=true


Since my application on another web server was running fine I think there's something wrong in the configuration of my network. I think that the 1000ms run out before eBean can get a connection from the pool.
I tried to execute some basic connectivity tests like Ping or Traceroute from my core machine to the db machine but Azure blocks ICMP messages.
I then tried TCPPING and the output is the following:



tcpping xxx.cloudapp.net 3306
TCP Ping 1:0,808ms
TCP Ping 2:0,934ms
TCP Ping 3:1,036ms
TCP Ping 4:0,860ms
TCP Ping 5:0,927ms
TCP Ping 6:0,905ms
TCP Ping 7:0,949ms
TCP Ping 8:1,079ms
TCP Ping 9:1,274ms
TCP Ping 10:0,983ms


TCPTraceroute is not working, it only shows asterisks...



I don't know if these results are believable or not but I don't know how Azure works. I think that 1 second on average is an enormity.



I then tried to connect remotely to the database machine: I installed a MySQL 5.5 client on the core machine and connected like this:



mysql -u [username] -h [db machine hostname].cloudapp.net --port=3306 -p[password]


All's fine and it seems also pretty fast, I can't see any sort of lag from the console view.



Some details about the machines:



  • all are in the same region (West Europe)


  • they are created from different accounts (like email1@hotmail.com owns db machine, email2@hotmail.com owns core machine, etc.)


  • they all run the same Ubuntu version


Can you please tell me what can I do to decrease this delay?







ubuntu networking mysql ping azure






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 28 '13 at 16:24









AndreaAndrea

685




685












  • Why do you have different users owning each virtual machine?

    – Michael Hampton
    Nov 28 '13 at 17:35












  • Because I have a credit limit on each account. 115€ per month per account, and I can create up to 8 free accounts, so I put a medium sized machine in three accounts

    – Andrea
    Nov 28 '13 at 17:47

















  • Why do you have different users owning each virtual machine?

    – Michael Hampton
    Nov 28 '13 at 17:35












  • Because I have a credit limit on each account. 115€ per month per account, and I can create up to 8 free accounts, so I put a medium sized machine in three accounts

    – Andrea
    Nov 28 '13 at 17:47
















Why do you have different users owning each virtual machine?

– Michael Hampton
Nov 28 '13 at 17:35






Why do you have different users owning each virtual machine?

– Michael Hampton
Nov 28 '13 at 17:35














Because I have a credit limit on each account. 115€ per month per account, and I can create up to 8 free accounts, so I put a medium sized machine in three accounts

– Andrea
Nov 28 '13 at 17:47





Because I have a credit limit on each account. 115€ per month per account, and I can create up to 8 free accounts, so I put a medium sized machine in three accounts

– Andrea
Nov 28 '13 at 17:47










1 Answer
1






active

oldest

votes


















0














Well, apart from the fact that you are exploiting the platform benefits, here are my thoughts.



I would say the best way to interconnect VMs is to utilize the Azure Virtual Network.
However, as of today (Dec. 5, 2013) you cannot span a Virtual Network across multiple accounts. Your only option is to access the machines via the VIP (public IP Address), which you do now. I would say that what you observe is about 1 ms (millisecond) and not 1 s (second) as you second! And I would say that 1 ms is somehow neglectable. Also, you have to rewind your Match classes. The error message you quote:




last packet successfully received from the server was 1,197,486
milliseconds ago




Refers to 1,197,486 milliseconds. There are just 1000 milliseconds in 1 second. This means that 1,197,486 milliseconds are approx. 1,198 seconds, or roughly 20 minutes. Well, 20 minutes of timeout is definitely not related to network latency.



If you want the things right, or correct - just put all within same account, single Virtual Network and use internal IP Addresses for communication - this way you will skip the Azure Load Balancer, which you cannot avoid when doing cross-deployment communication over public IP Addresses.



More or less, again as of today, every Azure Deployment (including your VMs) runs under the picture described in this blog post. Just consider that you have 3 such diagrams, every single one of them with just one VM, instead of 5 as shown on the diagram.






share|improve this answer























  • I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

    – Andrea
    Dec 9 '13 at 14:27












  • Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

    – astaykov
    Dec 9 '13 at 15:35











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f558081%2fsetup-machines-network-in-windows-azure%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Well, apart from the fact that you are exploiting the platform benefits, here are my thoughts.



I would say the best way to interconnect VMs is to utilize the Azure Virtual Network.
However, as of today (Dec. 5, 2013) you cannot span a Virtual Network across multiple accounts. Your only option is to access the machines via the VIP (public IP Address), which you do now. I would say that what you observe is about 1 ms (millisecond) and not 1 s (second) as you second! And I would say that 1 ms is somehow neglectable. Also, you have to rewind your Match classes. The error message you quote:




last packet successfully received from the server was 1,197,486
milliseconds ago




Refers to 1,197,486 milliseconds. There are just 1000 milliseconds in 1 second. This means that 1,197,486 milliseconds are approx. 1,198 seconds, or roughly 20 minutes. Well, 20 minutes of timeout is definitely not related to network latency.



If you want the things right, or correct - just put all within same account, single Virtual Network and use internal IP Addresses for communication - this way you will skip the Azure Load Balancer, which you cannot avoid when doing cross-deployment communication over public IP Addresses.



More or less, again as of today, every Azure Deployment (including your VMs) runs under the picture described in this blog post. Just consider that you have 3 such diagrams, every single one of them with just one VM, instead of 5 as shown on the diagram.






share|improve this answer























  • I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

    – Andrea
    Dec 9 '13 at 14:27












  • Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

    – astaykov
    Dec 9 '13 at 15:35















0














Well, apart from the fact that you are exploiting the platform benefits, here are my thoughts.



I would say the best way to interconnect VMs is to utilize the Azure Virtual Network.
However, as of today (Dec. 5, 2013) you cannot span a Virtual Network across multiple accounts. Your only option is to access the machines via the VIP (public IP Address), which you do now. I would say that what you observe is about 1 ms (millisecond) and not 1 s (second) as you second! And I would say that 1 ms is somehow neglectable. Also, you have to rewind your Match classes. The error message you quote:




last packet successfully received from the server was 1,197,486
milliseconds ago




Refers to 1,197,486 milliseconds. There are just 1000 milliseconds in 1 second. This means that 1,197,486 milliseconds are approx. 1,198 seconds, or roughly 20 minutes. Well, 20 minutes of timeout is definitely not related to network latency.



If you want the things right, or correct - just put all within same account, single Virtual Network and use internal IP Addresses for communication - this way you will skip the Azure Load Balancer, which you cannot avoid when doing cross-deployment communication over public IP Addresses.



More or less, again as of today, every Azure Deployment (including your VMs) runs under the picture described in this blog post. Just consider that you have 3 such diagrams, every single one of them with just one VM, instead of 5 as shown on the diagram.






share|improve this answer























  • I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

    – Andrea
    Dec 9 '13 at 14:27












  • Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

    – astaykov
    Dec 9 '13 at 15:35













0












0








0







Well, apart from the fact that you are exploiting the platform benefits, here are my thoughts.



I would say the best way to interconnect VMs is to utilize the Azure Virtual Network.
However, as of today (Dec. 5, 2013) you cannot span a Virtual Network across multiple accounts. Your only option is to access the machines via the VIP (public IP Address), which you do now. I would say that what you observe is about 1 ms (millisecond) and not 1 s (second) as you second! And I would say that 1 ms is somehow neglectable. Also, you have to rewind your Match classes. The error message you quote:




last packet successfully received from the server was 1,197,486
milliseconds ago




Refers to 1,197,486 milliseconds. There are just 1000 milliseconds in 1 second. This means that 1,197,486 milliseconds are approx. 1,198 seconds, or roughly 20 minutes. Well, 20 minutes of timeout is definitely not related to network latency.



If you want the things right, or correct - just put all within same account, single Virtual Network and use internal IP Addresses for communication - this way you will skip the Azure Load Balancer, which you cannot avoid when doing cross-deployment communication over public IP Addresses.



More or less, again as of today, every Azure Deployment (including your VMs) runs under the picture described in this blog post. Just consider that you have 3 such diagrams, every single one of them with just one VM, instead of 5 as shown on the diagram.






share|improve this answer













Well, apart from the fact that you are exploiting the platform benefits, here are my thoughts.



I would say the best way to interconnect VMs is to utilize the Azure Virtual Network.
However, as of today (Dec. 5, 2013) you cannot span a Virtual Network across multiple accounts. Your only option is to access the machines via the VIP (public IP Address), which you do now. I would say that what you observe is about 1 ms (millisecond) and not 1 s (second) as you second! And I would say that 1 ms is somehow neglectable. Also, you have to rewind your Match classes. The error message you quote:




last packet successfully received from the server was 1,197,486
milliseconds ago




Refers to 1,197,486 milliseconds. There are just 1000 milliseconds in 1 second. This means that 1,197,486 milliseconds are approx. 1,198 seconds, or roughly 20 minutes. Well, 20 minutes of timeout is definitely not related to network latency.



If you want the things right, or correct - just put all within same account, single Virtual Network and use internal IP Addresses for communication - this way you will skip the Azure Load Balancer, which you cannot avoid when doing cross-deployment communication over public IP Addresses.



More or less, again as of today, every Azure Deployment (including your VMs) runs under the picture described in this blog post. Just consider that you have 3 such diagrams, every single one of them with just one VM, instead of 5 as shown on the diagram.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 5 '13 at 13:33









astaykovastaykov

21618




21618












  • I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

    – Andrea
    Dec 9 '13 at 14:27












  • Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

    – astaykov
    Dec 9 '13 at 15:35

















  • I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

    – Andrea
    Dec 9 '13 at 14:27












  • Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

    – astaykov
    Dec 9 '13 at 15:35
















I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

– Andrea
Dec 9 '13 at 14:27






I don't know about MySQL standards, but in my math classes I've learned to differentiate thousands separator from decimal separator. I see two commas and I interpret 1 million 197 thousands 4 hundreds 86 milliseconds. I would have read 1 thousand 1 hundred 97 milliseconds if it was printed like this: 1.197,486 ms... Since the two separators are the same it's obvious to assume they are the same kind of separator, so in this case thousands separator.

– Andrea
Dec 9 '13 at 14:27














Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

– astaykov
Dec 9 '13 at 15:35





Where is the confusion? Indeed you have ~ 1M milliseconds, which is ~1k seconds, which is roughly 20 minutes. I would time-out if there was 20 minutes of nothing... Not to mention that if you go through the public IP Address (and not direct via VPN) I don't expect a connection to be kept at Windows Azure Load Balancer for even 5 minutes without any activity. Now the globalization comes into place. For the tcpping, I would have accepted "," for thausand separator if there wasn't 0,926ms. I have never seen result like this, it it wasn't a decimal.

– astaykov
Dec 9 '13 at 15:35

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f558081%2fsetup-machines-network-in-windows-azure%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020