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

Re: Re[2]: Starting ANTS apps over Linux on different PCs



> >> I was wondering if there is a way
> >> to start up single nodes by hand without 
> >> using createnetworks... 
> 
> TS> Just start them up with the antsvm script.
> 
> If I have started up a single node on a host, how can I run apps on
> this node? What I mean is I don't use the script to start up nodeos
> using application as argument.
>
> For example,
> I use the following command to start up an active node.
> java edu.utah.janos.nodeos.Main ants.core.NodeConfigure 12.12.12.1
> 10.10.10.7:9000
> 
> Then how can I run apps on the nodes(12.12.12.1)?

Use the ConfigurationManager instead:

 java edu.utah.janos.nodeos.Main ants.core.ConfigurationManager <config
file> <node name>

The config file can then set everything up and start applications.  See
ants/scripts/*.config for examples of config files.

If you want to start an application while a node is running, well, thats a
bit harder.  You need to edit PrimordialNode.java and uncomment
`startConsole(node, consolePort)'.  Then start the node with the
`-consoleport' argument which is a port number.  You can then telnet into
that port and type `app <class name>' to start it up.  Although, we
haven't done this in a while so it might not work.

> Thanks.
> 
>  avivi

tim stack




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