Previous Contents Next AMnet documentation

AMnet documentation

Contact:
flexinet-support@ibr.cs.tu-bs.de

http://www.flexinet.de


The AMnet HOWTO


8. Running the signalling software

8.1 Choosing a topology

AMnet is currently based on a topology, that is required in order to allow communication between the AMnet participants. This topology file is being parsed by the routing component of each AMnet participant and is used to forward the packets.

The topology is described in the file topologie.cfg in the directory amnet/user/signalling. Therefore, it is up to the user to create a topology and to describe it in the topology file. The topology file consists of two sections. The first one contains a list of HOST commands describing the host names and IP addresses of all AMnet participants. E.g.,

HOST bohemian fix foxi
HOST 10.0.2.2 10.0.2.1
informs the routing component that the five hosts bohemian, fix, foxi, 10.0.2.1 and 10.0.2.2 are AMnet participants.

The second section contains an entry for every participant with information about its neighbours. E.g., a star shaped topology is created using the following configuration:

ROUTER fix      bohemian
ROUTER foxi     bohemian
ROUTER 10.0.2.1 bohemian
ROUTER 10.0.2.2 bohemian
ROUTER bohemian fix foxi 10.0.2.1 10.0.2.2
The first host name after the command ROUTER describes the AMnet participant, whose neighbours are given by the following host names.

The establishment of this topology does not imply specific roles for the AMnet participants (e.g. if the host is AMnode or receiver).

8.2 Configuring the signalling software

The directory amnet/user/signalling contains a file amnet.cfg which contains further configuration parameters for AMnet. A very important entry is the entry SMR which is used to specify the service module repository that is realized using a LDAP server in the current implementation. In order to allow an AMnet receiver to download and install modules, the host name of the installed LDAP server (6.1) has to be specified in this entry.

8.3 Creating announcements

The signalling of the AMnet approach is based on so called session announcements and service announcements. While announcements for services derived from other services are generated automatically, a provider of a basic service has to create a session announcement and a service announcement. Examples for two services (simpsons and flintstones) already exist in the directory amnet/user/signalling. The files containing session announcements use the file extension .ssa, the service announcement files use the extension .sra. For specification of new services read the appropriate chapter.

8.4 What do I need a Performance Meter for?

In order to select the node best suited to privide a service, the AMnet receiver can specify a so called performance meter. Such a meter already exists in the directory amnet/user/signalling in the file receiversPM.class. This is the default meter used.

8.5 Starting the Multicast Address Server

It is the purpose of the multicast address server to supply unique mutlicast addresses. It is contacted by the AMnodes whenever a multicast address for a session or a service is required. A multicast address server is started in the following way:

  1. log into the specific host
  2. change into the AMnet directory
  3. enter ./configure if necessary
  4. enter ./source setup
  5. enter the user/signalling directory
  6. enter start mcs

8.6 Starting AMnodes

At startup the user has to differ between those AMnodes, that provide a basic service and those that do not provide a basic service. AMnodes that provide a basic servicecan be used as a parameter for the files for the session and service announcements. Currently only one basic service can be used with one AMnode. The start works as followed:

  1. log into the specific host
  2. change into the AMnet directory
  3. enter ./configure if necessary
  4. enter ./source setup
  5. enter the user/signalling directory
  6. enter start node [service.ssa] [service.sra]
The provision of a file name for the session and service announcements is optional for the reason already explained. After a successful start, the AMnode regularly tries to send announcements. This may cause the error message ``java.net.SocketException: Connection refused'' to show up. This always happens as long as some of the neighbours are not started yet and cannot accept connections yet. The messages disappear once all neighbours are ready to receive data.

8.7 Starting receivers

An AMnet receiver is started from the same directory, the AMnode is started from. It is important to remember, that the AMnet receiver is part of the topology and has to be included into the topology file. A receiver is started as followed:

  1. log into the specific host
  2. change into the AMnet directory
  3. enter ./configure if necessary
  4. enter ./source setup
  5. enter the user/signalling directory
  6. enter start recv
After a few moments, the application should indicate an incoming session announcement. At least one of the AMnodes has to provide a basic service. The following sections form a short introduction into the usage of the receiver application.


Previous Contents Next