Updating the search server properties file with the location of the OpenPages storage directory

Configure the path to the openpages-storage directory in the search server properties file to enable the search server to access the directory.

About this task

When you install IBM® OpenPages® with Watson™, a pointer to the OpenPages storage location is created. The storage location is a directory where attached files and forms that are associated with OpenPages objects are stored. The search server looks in the openpages-storage directory to index file attachments, when file attachment search is enabled.

To configure the location of the directory, share the openpages-storage directory on the admin application server, and then modify the search server properties on the search server to point to the shared network location.

Note: If you are working with a test environment in which the search server is on the same physical computer as the admin application server, you do not need to do this task.
Attention: By default, file attachment search is enabled. If you enable global search without first configuring the location of the OpenPages storage directory location, files cannot be searched.

Procedure

  1. Share the openpages-storage directory on the admin application server so that it can be reached by the search server.
  2. Log on to the search server as a user with administrative privileges.
  3. Go to <SEARCH_HOME>/opsearchtools/.
  4. Open the openpages_search.properties file in a text editor.
  5. Modify the OPSearchTool.FileStorageRootPath property to specify the full path to the openpages-storage directory on the admin application server.
    • UNIX: /opt/ibm/op/openpages/openpages-storage
    • Microsoft Windows:
      Note: On Windows operating systems, escape the directory separator with a backslash (\).
      • If you share is mounted to a driver letter, use the following syntax: C:\\ibm\\op\\openpages\\openpages-storage
      • If your share is a network share, use the following syntax: \\\\op-server\\shared\\openpages-storage

    For more information about the OPSearchTool.FileStorageRootPath property, see the IBM OpenPages with Watson Administrator's Guide.

  6. Disable global search and stop the global search services.
  7. Start the global search services.