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;
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
add a comment |
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
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
add a comment |
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
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
ubuntu networking mysql ping azure
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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.
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't0,926ms
. I have never seen result like this, it it wasn't a decimal.
– astaykov
Dec 9 '13 at 15:35
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
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't0,926ms
. I have never seen result like this, it it wasn't a decimal.
– astaykov
Dec 9 '13 at 15:35
add a comment |
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.
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't0,926ms
. I have never seen result like this, it it wasn't a decimal.
– astaykov
Dec 9 '13 at 15:35
add a comment |
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.
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.
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't0,926ms
. I have never seen result like this, it it wasn't a decimal.
– astaykov
Dec 9 '13 at 15:35
add a comment |
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't0,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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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