Configure JCR search in a cluster on Windows
To enable search in a cluster for content stored in the JCR database, configure each server in the cluster to access a shared directory. JCR-based content includes content created with Web Content Manager or Personalization.Created a shared directory called jcr\search on a server in the network and ensure that each node in the cluster and the dmgr has network access to the directory.
Set up the remote search service on the primary node of the cluster; refer to Configuring a remote search service for information.
- Prerequisites
- Configure a remote search service
Perform the following steps on each server in the cluster to configure Search in a clustered environment:
- Edit...
WP_PROFILE/PortalServer/jcr/lib/com/ibm/icm/icm.properties
- Change the value of the property...
jcr.textsearch.indexdirectory
...to the shared directory; for example...
jcr.textsearch.indexdirectory=\\\\your_server\\your_share\\jcr\\search. We can specify the shared directory value in one of the following formats:
Format Shared directory UNC \\\\your_server\\your_share\\jcr\\search Example: \\\\hostname.example.com\\share\\jcr\\search
Mounted resource /your_share/jcr/search For example: Y:/share/jcr/search
This format requires that you mount the shared directory to the local server (for example, through a mapped network drive or a mounted directory). When using the mounted resource format, always use forward slashes instead of back slashes, regardless of the native operating system path format.
- Based on the configuration of the remote search service, change the property...
jcr.textsearch.PSE.type
...to either EJB or SOAP; then choose the appropriate additional steps:
Value Additional steps EJB
- Change property...
jcr.textsearch.EJB.IIOP.URL
...to the URL of the naming service used to access the WebScanner EJB; for example...
iiop://localhost:2811
- Change property...
jcr.textsearch.EJB.EJBName
...to the name of the WebScanner EJB; for example...
ejb/com/ibm/hrl/portlets/WsPse/WebScannerLiteEJBHome
SOAP Change the property... jcr.textsearch.SOAP.url
...to the SOAP URL of the WebScanner for the search service.
- Change the jcr.textsearch.enabled value in the icm.properties file to true.
- Required: To delete the default search collections from the Manage Search portlet:
- Log on to WebSphere Portal as an administrator.
- Click Administration > Search Administration > Manage Search.
- Click Search Collections.
- Click the Delete Collection icon for the Portal Content search collection.
- Click OK.
- Restart the WebSphere_Portal server.
- Go to the Manage Search portlet and confirm that the Portal Content search collection was deleted.
- Manually create a JCR Collection called JCRCollection1; refer to Setting up JCR Search Collection for information.
Parent: Configure search in a cluster on Windows
Related:
Set up a JCR search collection