Promoting a replica node to master – Google Search Appliance Configuring GSA Mirroring version 7.0 User Manual
Page 14

Google Search Appliance: Configuring GSA Mirroring
14
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_a
ddress"
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.
Promoting a Replica Node to Master
Promote a replica node to the master node in a GSA mirroring configuration only when the master node
fails and is not accessible. After promotion, the new master node begins crawling where the old master
node stopped its crawl. In addition, port 19900 on the master begins to accept feeds.
If your installation includes connectors, see “Configuring Connectors with GSA Mirroring” on page 13 for
information on sending content from connectors to the new master node.
The process of promoting a search appliance from replica to master in a mirroring configuration
depends on how many nodes are in the configuration.
•
When the master node in a two-node configuration fails, you disable mirroring and the replica
becomes an individual search appliance with no mirror node.
•
When the master node in a three-or-more-node configuration fails, any replica can be promoted to
master. You can then re-enable mirroring with the remaining nodes.