Configuring connectors with gsa mirroring – Google Search Appliance Configuring GSA Mirroring version 7.2 User Manual

Page 14

Advertising
background image

Google Search Appliance: Configuring GSA Mirroring

14

Configuring Connectors with GSA Mirroring

You can use Google Search Appliance connectors with GSA mirroring. If you use a connector, Google
recommends that you use an external connector manager and connector, installed on a separate host
computer, rather than the internal connector. For information about using external connectors, see the
appropriate connector documentation. If you are using an internal connector, you encounter the
following issues.

If the master node fails and you must enable a replica as the new master node, the connector must
retraverse the repository. This is because the connector state and checkpoints are not propagated
from the master search appliance to the replicas.

In a mirroring configuration, the internal connector configuration is propagated from the master
node to the replicas. This enables the traversal process, increasing the load on your content servers.
However, the replica nodes are unable to receive feeds.

To use an external connector in a mirroring configuration:

1.

On the connector manager host, navigate to connector_directory/connector_manager_name/Tomcat/
conf.

2.

In a text editor, open the file server.xml.

3.

Locate the Valve class and add the IP address of the replica search appliance to the
RemoteAddressValve property. This enables the connector manager to respond to requests coming
from the replica node. For example:

Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.0\.0\.1|172\.25\.17\.88|172\.25\.16\.144|
pattern_for_replica_IP_address"

For more information, see the Apache Tomcat Valve documentation (

http://tomcat.apache.org/

tomcat-7.0-doc/config/valve.html#Remote_Address_Filter

).

4.

On the Admin Console of the replica node, navigate to the connector manager page. The icon for
the connector manager turns green within a few minutes, and the connector instance is displayed
shortly after.

5.

Perform a secure search from the replica node.

6.

Examine the connector manager logs, which should show that the authorization request was sent
through the connector instance.

If your master search appliance fails and you must make a replica node the master node, use these
instructions to force the external connector manager to send feeds to the new master node.

To direct feeds to the new master node:

1.

On the connector manager host, navigate to connector_directory/connector_manager_name/Tomcat/
webapps/connector-manager/WEB-INF.

2.

In a text editor, open the file applicationContext.properties.

3.

Locate the entry gsa.feed.host=.

4.

Change the value to the IP address of the new master node.

5.

Restart the connector manager service for changes to take effect.

Advertising