Node:Sending remote requests, Next:, Previous:Beginning to use Mingle, Up:Top



Sending remote requests

You can send a request from any Mingle host to any remote Mingle server using the -r option followed by a remote host list:

mingle command -r host-list

where the host-list is of the following format:

host1:port1  host2:port2 ...

For example,

mingle search bovik -r area51 grassyknoll:3000

will forward the request of searching keyword bovik to the host area51 at the default Mingle port 7018 and the host grassyknoll at port 3000.

As another example,

mingle index /home/bovik/test -r area51

will request the remote host area51 to index the directory /home/bovik/test (Note: the /home/bovik/test directory should be a valid directory at area51 before indexing).

If the host-list is specified as all, then the local Mingle server forwards the corresponding request to all the Mingle servers inside the Mingle cluster. For example,

mingle search bovik -r all