You can initially set up WebSphere Commerce search
in the managed configuration. Or, you can switch an existing search
cluster that is managed by a deployment manager from the advanced
configuration to the managed configuration.
About this task
The following list shows the high-level steps that are associated
with setting up a search cluster to use the managed configuration:
- Update the WebSphere Application Server system JVM properties
for all search server nodes. This step uses the deployment manager
to update each Solr cluster member to include Solr home and data directories.
- Update the cluster member templates so that newly added nodes
contain the proper system properties. This step uses the deployment
manager to update the cluster member templates to also include the
Solr home and data directories.
Procedure
- Update the WebSphere Application Server system JVM properties
for all search server nodes.
- In the deployment manager, go to the search cluster
members. .
- For each of the Solr cluster members, go to the custom
properties. .
- Click the solr.solr.home property
and modify it to the following value: ./installedApps/demo_search_cell/Search_demo.ear/managed-solr/slave/solr/home
- The demo_search_cell and Search_demo.ear values
might be different on your system, depending on the names that were
given when the search application was installed.
- The value starts with a dot to indicate that it is a relative
path to the server location on the file system. If the server you
are updating is a managed repeater, use the following value instead: ./installedApps/demo_search_cell/Search_demo.ear/managed-solr/repeater/solr/home
- Save the property into the configuration.
- Click New to create a new property.
Enter the following name: solr.data.dir and
enter a value that is a location in the file system. For example: /opt/WebSphere/solr/Data
- Save the property into the configuration.
- Update the cluster member templates so that newly added
nodes contain the proper system properties.
- In the deployment manager, go to the search cluster
member templates. .
- Go to the custom properties. .
- Click the solr.solr.home property
and modify it to the following value: ./installedApps/demo_search_cell/Search_demo.ear/managed-solr/slave/solr/home
Note: The slave path is used because
when new nodes are added, they will typically be used as subordinate
nodes.
- Save the property into the configuration.
- Click New to create a new property.
Enter the following name: solr.data.dir and
enter a value that is a location in the file system. For example: /opt/WebSphere/solr/Data
- Save the property into the configuration.