Hi all,
I have recently successfully configured a Baruwa 2.0 standalone server, and
managed to make everything work fine. 
Then I wanted to configure a "frontend->backend" architecture as suggested
in the documentation so I have installed Postgresql, Memcached, RabbitMQ and
Sphinx on a separate server.

I reconfigured my old standalone server to use this new "backend" server for
all the above listed services and I have also cloned it in order to have two
Baruwa scanning nodes and a single shared backend DB/Sphinx/etc.

Almost everything worked fine (I can see status of both nodes from interface
and perform release of quarantined messages just fine), but for some reason
the search functionality does not work anymore.
On the backend, the Sphinx service seems to work and rotate indexes fine and
I successfully connected to it via mysql CLI to it to perform queries.

>From my understanding, the only thing that needs to be changed on the
frontends is the following configuration parameter in baruwa.ini:

# SphinxSQL URL
sphinx.url = mysql://root:@127.0.0.1:9306

I changed 127.0.0.1 to the IP address of the backend on which Sphinx is
listening.

One thing I noticed during troubleshooting is that if i start Sphinx on one
frontend (remember that it was previously a standalone Baruwa server so it
had all the components installed on it), the search on this Baruwa node
works again.
Seems that it is still using the local searchd.

Is there anything else I need to configure in order to use a remote Sphinx
server?

Thanks,
Enrico



--
View this message in context: 
http://baruwa-users-list.963389.n3.nabble.com/Baruwa-2-0-frontend-and-backend-question-tp4026253.html
Sent from the Baruwa users list mailing list archive at Nabble.com.

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to