[AG-TECH] Registry Peers

Andrew A Rowley Andrew.Rowley at manchester.ac.uk
Thu Sep 7 03:38:46 CDT 2006


Hi,

I have now managed to successfully run my own bridge registry and registry peer under Linux and Windows.

To do this:
1) Create a text file that contains the IP address and port of the registry peer.  Put this text file on a web server so that it can be accessed by venue clients.  This web server is your bridge registry.

2) Locate the file RegistryPeer.py on your computer.  This is not usually in your AG bin directory, but is usually in your Python installation directory in site-packages/AccessGrid/Registry/RegistryPeer.py.

3) Windows Only: Add the following lines to the file before the line that reads "from AccessGrid.AGXMLRPCServer import AsyncAGXMLRPCServer"
    import agversion
    agversion.select(3)

4) Run:
       RegistryPeer.py -u <your-registry-url>
   where <your-registry-url> is the url set up in step 1.

5) Run your bridge(s) with the same -u option as above

6) Edit the AG client preferences file 
(Windows: c:\documents and settings\<username>\Application Data\AccessGrid3\Config\preferences; 
Linux: <home-dir>\.AccessGrid3\Config\preferences)
and change the line starting:
    bridgeServer = http://www.accessgrid.org/registry/peers.txt
to point to your registry url set up in step 1.

Now when you start the venue client, you should be using only your own bridge registry.

I am now working to add an option to the GUI preferences of the client to allow you to change the bridge registry url.  Hopefully, this change will appear in the next release of the AG toolkit.

Andrew G D Rowley :)

============================================
Access Grid Support Centre,
RSS Group,
Manchester Computing,
Kilburn Building,
University of Manchester,
Oxford Road,
Manchester, 
M13 9PL, 
UK
Tel: +44(0)161-275 0685
Email: Andrew.Rowley at manchester.ac.uk 

> -----Original Message-----
> From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
> Behalf Of Jason Bell
> Sent: 07 September 2006 00:40
> To: ag-tech at mcs.anl.gov
> Subject: RE: [AG-TECH] Unable to connect or load bridge information.
> 
> G'day Richard and all
> 
> The problem with having the Venue Client hang is related to people
> running Unicast bridges behind firewalls.
> 
> My understanding is that when the Venue Client first starts, it tries to
> contact the entire known list of bridges that have been listed with the
> bridge registry.  If a unicast bridge is running behind a firewall, when
> someone starts their Venue Client, it tries to contact all of the
> bridges and in turn practically sits there and waits for a response from
> a "unreachable" bridge, in which waits for a "time out" before
> proceeding.
> 
> Therefore, I would kindly suggest that if you are trying to run a AG 3
> Unicast bridge and you are aware it is behind a firewall, to stop
> running it, as it affecting the start up of everyone's Venue Client.
> 
> This is a know bug and we are currently investigating ways on how to fix
> it.
> 
> Cheers,
> Jason.
> 
> P.S. If your system appears to hang, which mine is currently doing, wait
> a while (5 - 10 minutes) and the Venue Client will start.
> 
> 
> -----Original Message-----
> From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov] On
> Behalf Of Richard Lindstrom
> Sent: Thursday, 7 September 2006 6:57 AM
> Cc: ag-tech at mcs.anl.gov
> Subject: RE: [AG-TECH] Unable to connect or load bridge information.
> 
> And I thought it was just me! Also, gets as far as the "loading bridges"
> then hangs. Worked Friday, then "Poof!"
> 
> 
> Richard W. Lindstrom, MA
> Director of Academic Computing
> Charles R. Drew University of Medicine and Science
> 1731 E. 120th St.
> Los Angeles, CA  90059
> Tel: (323) 563-5832
> Fax: (323) 357-3650
> rilindst at cdrewu.edu
> 
> "I give the devil benefit of law for my own safety's sake"
> 
> -----Original Message-----
> From: owner-ag-tech at mcs.anl.gov [mailto:owner-ag-tech at mcs.anl.gov]On
> Behalf Of gurcharan khanna
> Sent: Wednesday, September 06, 2006 12:32 PM
> To: Jimmy Miklavcic
> Cc: ag-tech at mcs.anl.gov
> Subject: Re: [AG-TECH] Unable to connect or load bridge information.
> 
> 
> Hi,
> 
> I just installed AG 3.0.2 on a new XP machine and when i try to start
> the
> venue client, it hangs at the first popup box, saying "loading bridges".
> is that related to jimmy's problem below?
> 
> -gurcharan
> 
> Jimmy Miklavcic wrote:
> > At startup of AGTK-3.0.2 in Windows XP, I am uanble to load and
> connect
> > to the bridges. It worked last friday. Any ideas?
> > Right now in the Bridges drop down menu, there is nothing listed.
> >
> > Jimmy
> >
> > --
> > Jimmy Miklavcic
> > Multimedia Specialist
> > jimmy.miklavcic at utah.edu
> >
> > UNIVERSITY OF UTAH
> > CTR FOR HIGH PERFORM COMPUTING
> > 155 SOUTH 1452 EAST RM 405
> > SALT LAKE CITY, UT 84112-0190
> >
> > Office: 801.585.9335
> >    Fax: 801.585.5366
> >
> > http://www.anotherlanguage.org
> >
> >
> 
> --
> ---
> Gurcharan S. Khanna, Ph.D.
> Director of Research Computing
> Rochester Institute of Technology
> 1 Lomb Memorial Drive
> Rochester, New York 14623-5603
> Phone: 585-475-7504~Cell: 585-355-1603~Fax: 585-475-6886
> Email: gurcharan.khanna at rit.edu
> Http:  www.rit.edu/~rc
> Http:  www.rit.edu/~gskpop
> 




More information about the ag-tech mailing list