[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: ANTS



Hello!

I'am trying to make a remote ping with PingApplication, PingProtocol and 
PingCapsule classes but after did those modifications in config and routes files 
I didn't get success.
After digit
antsvm edu.utah.janos.nodeos.Main ants.core.ConfigurationManager teste.config IP_B
(I'm in Machine A)
 

The terminal stop (do nothing) after white 
Janos Java NodeOS v1.1.5
ANTS v2.0

What's happen ?
Must I modify anything in some class Ping* ?

thank's for advance. 


No dia Wed, 24 Oct 2001 18:39:42 -0600, Patrick Tullmann <tullmann@cs.utah.edu> escreveu: 

> > What do I change in config file to comunicate 2 machines with IP A
> > and B.  The link is Ethernet 100.
> 
> You need to change 'localhost' in the configuration files to 'A' and
> 'B' in the right places. 
> 
> Assuming this is node A:
> > node 18.31.12.1 -routes ping.routes -log 255 -consoleport 2050
> > channel 18.31.12.1 localhost:8004 -log 255
> > application 18.31.12.1 apps.ping.PingApplication -target 18.31.12.3 -iter 20 -interv 300 -lossage 1 -prime 1000
> 
> change the 'localhost' above to 'A'.
> 
> And assuming this is node B:
> > node 18.31.12.2 -routes ping.routes -log 255 -consoleport 2051
> > channel 18.31.12.2 localhost:8005 -log 255 
> 
> Change the 'localhost' to 'B'
> 
> > connect 18.31.12.1 18.31.12.2
> > " 
> 
> Either re-run 'makeroutes' to generate the new routes file, or change
> localhost there too (
> 
> > and routes file...
> > 
> > "
> > 18.31.12.1      18.31.12.2      18.31.12.2      localhost:8005
> > 18.31.12.2      18.31.12.1      18.31.12.1      localhost:8004
> > "
> 
>     18.31.12.1      18.31.12.2      18.31.12.2      B:8005
>     18.31.12.2      18.31.12.1      18.31.12.1      A:8004
> 
> 
> > The class DataCapsule is not correct to comunicate with 2
> > machines. Only in unique machine. Is it correct ?
> 
> No, DataCapsule should work between machines as well as within a
> single machine/VM.
> 
> > After that... to start my application  only...
> >  
> 
> Yes, starting your application should be the same as in the
> single-machine case, but you must of course give the right "ANTS IP"
> address on the right physical machine.  In your case 18.31.12.1 is 'A',
> and 18.31.12.2 is 'B'.
> 
> I hope I answered your question.  (And I hope I got the answer right,
> too, I'm doing it from memory.)
> 
> -Pat
> 
> ----- ----- ---- ---  ---  --   -    -      -         -               -
> Pat Tullmann                                       tullmann@cs.utah.edu
> 			  Mean people suck.
> 



[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah