Futures Laboratory
Version 2.1 of the Access Grid Toolkit included a bridge server to integrate multicast/unicast bridging with virtual venues.
This document describes how to run a bridge server.
Given a venue or list of venues, the bridge server will:
The BridgeServer listens for the addition of new multicast addresses to a venue, and will create new bridges for them.
If a venue becomes unreachable, the associated QuickBridge processes will be terminated. The BridgeServer will continue to try to contact the venue; if it succeeds, it will reconnect and start the QuickBridge processes again.
Further details of the BridgeServer are available in the BridgeServer design document [1].
The BridgeServer must be pointed at a venue or venues at startup. To this end, the BridgeServer includes options for specifying the venue or venues to bridge.
The BridgeServer also includes options for specifying the name and location of the provider of the bridge; this allows users to select the site to which they wish to bridge on a name/location basis.
Options are specified in a configuration file; the format of the configuration file is as follows (note that the configuration file format differs by release):
![Text Box: [BridgeServer]
# the “id” field is assigned by the system; users can omit this line
id = <unique id of this bridge server>
name = <name of your institution, without spaces >
location = <location of your institution, without spaces >
qbexec = /usr/bin/QuickBridge
# ONE of the following mutually exclusive options can be specified
venue = <URL of venue to bridge>
venueFile = <file containing URLs of venues to bridge>
venueServer = <URL of venue server to bridge>
venueServerFile = <file containing URLs of venue servers to bridge>](BridgeServer-HOWT1_files/image001.gif)
Format
of BridgeServer configuration file (AGTk 2.1)
![Text Box: [BridgeServer]
# the “id” field is assigned by the system; users can omit this line
id = <unique id of this bridge server, without spaces>
name = <name of your institution>
location = <location of your institution, without spaces>
qbexec = /usr/bin/QuickBridge
# optional specification of port range for all bridges
portMin = 30000
portMax = 40000
# any number of Venue and/or VenueServer entries in the following format
[https://myvenueserver:myport/Venues/000000f5569d4ffc008c00dd000b00377de]
type = Venue
# optional specification of port range for bridges in this venue
portMin = 30000
portMax = 30010
[https://myvenueserver:myport/VenueServer]
type = VenueServer](BridgeServer-HOWT1_files/image002.gif)
Format
of BridgeServer configuration file (AGTk 2.2, 2.3)
To run the bridge server, execute the following command:
BridgeServer.py –c <configFile>
The BridgeServer will display gobs of text to the window, including BridgeServer output:
Bridging venue: https://localhost:8000/Venues/default
and output from the running QuickBridge processes:
max_unicast_mem is 32
myhostname=
myhostipaddress=127.0.0.1
using multicast
ucport[data]=50694 ucport[rtcp]=50695
mcport[data]=2002 mcport[rtcp]=2003
making multicast port[0]
making multicast port[1]
No bridge.acl file found,
no ACL set
This output is (currently) not captured anywhere. The BridgeServer does, however, generate a log file in UserConfigDir/BridgeServer.log. This log includes information about which venues are being bridged and the ports being used.
From within the venue client, on the Preferences menu, select the “Use Unicast” option. The dialog below will be displayed, from which a bridge can be selected. Press OK, and the media tools will be restarted to point at the bridged addresses.

To stop the BridgeServer, press
Ctrl-C in the window where it was started.
The BridgeServer will shut down its running QuickBridge
processes. The associated bridge entries
will be removed from the Venue automatically (internally by the Venue).
http://fl-cvs.mcs.anl.gov/viewcvs/viewcvs.cgi/AccessGrid/doc/BridgeServerDesign.doc