marek-sezemsky / coreemu

Automatically exported from code.google.com/p/coreemu
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Missing Linkage of Ports/Sessions between Peers in Distributed Emulation #248

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM
When you deploy an scenario with distributed emulation (more than 1 computer), 
each computer has a different "session ID". However, there is not any possible 
way to correlate the "master session id" (master value available in the file 
"servers" (/tmp/py...) and the IDs created in the other servers.  

PROPOSAL
TO include the ID of the remote servers as well in the "servers" files in order 
to easyly know the corretaion between IDs across all the servers. 

CONSEQUENCE
If you do not have such correclation, then if you run 2 "sessions" there is NOT 
POSSIBLE WAY to identify which folder is associated to which sessions in the 
"slave nodes". Thus, the "multi-session" feature is not really usable for 
"distributed scenarios". 

Original issue reported on code.google.com by jmalca...@gmail.com on 18 Jun 2014 at 12:58

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r539.

Original comment by ahrenh...@gmail.com on 28 Jul 2014 at 5:49

GoogleCodeExporter commented 9 years ago
fixed in r539

servers file now includes local host, port used in socket

the local port number is used by the slave server as its session number

Original comment by ahrenh...@gmail.com on 28 Jul 2014 at 5:51