The containerized developer toolkit in IBM® Sterling™ Order Management System provides a common shared
directory, /var/oms/ for all the containers. You can use this directory as the
base directory for catalog search index.
Procedure
-
Specify a sub-directory inside the /var/oms/ directory and update the
property
yfs.searchIndex.rootDirectory
. It can be done in one of the following
ways:
- Create and configure the catalog search index agent server from the application console
and start the agent from the runtime container.
- Enter the runtime container by running the following
command:
docker exec -it om-runtime bash
- Go to the runtime/bin directory by running the following
command:
cd /opt/SSFS_9.5/runtime/bin
- Start the catalog search index agent by running the following
command:
sudo ./agentserver.sh <name of the catalog search index agent
server> Search indices are created inside the specified root directory. For
example, /var/oms/catalog
- Restart the appserver for the search index to reflect in your
applications.
./om-compose.sh restart appserver You
must wait for 2-3 minutes before accessing the applications.