Network Backend

Two network search related projects (Avahi Integration, Beagle over the Network) were completed as part of Google Summer of Code 2006. They were released with beagle 0.3.0 and can be used to search remote beagle daemons over HTTP.

Warning: This feature is considered experimental. Use carefully. And do not forget to report bugs.

The first thing to do is to ask the server beagled (henceforth referred to as the machine A) to respond to queries over the network. You can do this on A by using beagle-settings (Networking tab : allow external access) or by using beagle-config

 $ beagle-config Networking ServiceEnabled true

Note that this will allow anyone in the network to access A.

Next you can either use the Beagle Webinterface or beagle-search from a remote machine.

To perform remote queries from machine B, you have to also run beagled on B and tell it to use the beagled on A. First add the details of A by using beagle-config

 $ beagle-config Networking NetworkServices <name> <IP_or_hostname_of_A> 4000 ""

or by using beagle-settings (Networking tab; the password field is currently ignored).

(Optional) If beagled was compiled with Avahi support and the beagled on A was asked to publish its search service using Avahi, then beagle-settings on B will automatically find A. Otherwise, you have to manually add the information for A as a static host.

Next, you have to tell the beagled on B to search over the network. You can do this by adding a parameter "--backend NetworkServices" to beagled every time you start beagled. Or you can permanently enable the NetworkSerices backend using beagle-settings or beagle-config.

Now beagle-search on B will be able to search using the beagled on A.


This page was last modified 19:59, 17 March 2008. This page has been accessed 1,581 times.

  
MediaWiki

Copyright © 2004-2007