Automating WebSphere Commerce search replication configuration (with or without the repeater)
You can automate updating your replication configuration for your search index data on both your master and subordinate servers to help improve reliability, fault-tolerance, and performance. Replicating WebSphere Commerce search maintains your search index data in more than one location, and involves copying designated changes for one location to another and synchronizing the data in both locations.
The
repeater is used in the following scenarios:
- The repeater is required for replication when you make emergency fixes or when indexing inventory from the production database.
- The repeater is not required (but is recommended) for replication when managed content is indexed from the Quality Assurance or Staging database.
Important: The repeater must reside in Production,
as it relies on the production database to perform emergency updates.
Before you begin
Ensure that you
update the replication configuration XML file, or created a new one,
to match your WebSphere Commerce search server information. The default
template file is at:
solrhome/replication-config.xml.
The replication-config.xml file includes
the following usage:
- The search index server configuration is defined in the file, and then passed into the configSearchReplication utility for automatic configuration.
- The same replication configuration XML file can be used on master, subordinate, and repeater search servers.
- The information in the file includes the server name, port number, and core names. Define all search server-related information in the file according to the default template.
- The default file contains repeater configuration information. The repeater configuration includes information for the master and subordinate servers. If you do not use the repeater, remove the sample repeater configuration information that is contained in the file.
It contains sample
configurations for the following sections by default:
- Master configuration
- Contains configuration information for the master server.
- Subordinate configuration
- Contains configuration information for the subordinate servers.
- Repeater configuration
- Contains configuration information for the master and subordinate servers.