Prepare for remote search service
- Prepare security for remote search service in a single-signon domain (SSO).
- Add the signer certificate of the search service server into the portal server...
- Access the WAS console of the portal server and click...
Security | SSL certificate and key management | Key stores and certificates | NodeDefaultTrustStore | Signer certificates | Retrieve from port
In a clustered environment, the path is...
Security | SSL certificate and key management | Key stores and certificates | CellDefaultTrustStore | Signer certificates | Retrieve from port
- Enter the remote search service server host, its SOAP port, and an alias.
- Click OK.
- On the computer on which to install the remote search service, copy WebScannerEjbEar.ear and PseLibs.zip to...
APPSERVER_ROOT/installableApps
You find these files in the following locations...
- WebScannerEjbEar.ear is located in the directory...
PORTAL_HOME/search/prereq.webscanner/installableApps
- The file PseLibs.zip is located under directory...
PORTAL_HOME/search/wp.search.libs/installableApps
- Install WebScannerEJbEar.ear on a remote server. For example, this can be server1...
- Access the WAS console and click...
Applications | WebSphere Enterprise Application | Install | WebScannerEjbEar.ear | Next
- On the following panels, accept the default settings.
- A message confirms the application PSEStandalone was installed successfully.
- Click Save to Master Configuration.
- Click Save.
- If we use Document Conversion Services...
- Install remote document conversion services on the remote server.
We do not need to delegate all conversion tasks from the WebSphere Portal to the remote server. You only must install the remote conversion services.
- Invoke the WAS console and select...
Environment | Shared Libraries
Create a new shared library named PSE with a class path as follows:
$(APP_INSTALL_ROOT)/cell/dcs_war.ear/dcs.war/WEB-INF/lib/convertors.jar
$(APP_INSTALL_ROOT)/cell/dcs_war.ear/dcs.war/WEB-INF/lib/Export.jar
...where cell is the WAS cell name where DCS is installed.
- Save changes...
Apply | Save | Save
- Extract the Portal Search libraries to the remote server, and add them to the class path on the remote server...
- Create directory...
installableApps/extract
- Locate PseLibs.zip in installableApps and extract its content into the directory extract created in the previous step.
- Open the WAS console and click....
Environment | Shared Libraries
- Create or modify the new shared library names PSE.
When creating the library, check the option...
Use an isolated class loader for this shared library
- Add the libraries extract/lib to the class path by adding a new line to the class path and giving the full path:
APPSERVER_ROOT/installableApps/extract/lib
APPSERVER_ROOT is the profile directory of the WAS installation. For example, this path can be:
/usr/WebSphere/AppServer/profiles/profile_name
- Save changes to the configuration...
Apply | Save
- Add a reference from the application WebScannerEJbEar.ear to the shared library...
- Access the WAS console of the remote server and navigate to...
Websphere enterprise applications | PSEStandalone | Shared library references
- On the window that opens up click the check box for PSEStandalone, then click the button...
Reference shared library
- From the Available list, select PSE.
- Click the appropriate arrow so that PSE displays in the Selected list.
- Click OK | OK.
- Save the configuration.
- Restart the application PSEStandalone.
- On the WAS console, determine the required values for configuring the portlet parameters...
Servers | Server Types | WebSphere application servers | YourAppServer1 | Communications | Ports | BOOTSTRAP_ADDRESS
- In the WAS console, under...
Resources | Asynchronous beans | Work managers
...create a new Work manager named PSEWorkManager with the following attributes:
Name: PSEWorkManager JNDI Name: wps/searchIndexWM Minimum Number of Threads: 20 Maximum number of Threads: 60 Growable = True (Verify the Growable check box is selected.) Service Names: Application Profiling Service, WorkArea, Security, Internationalization
- To save the changes to the configuration...
Apply | Save
- Start the application:
- Open the WAS console and click...
Applications | Application Types | WebSphere enterprise applications
- Scroll to PSEStandalone or WebScannerEar.
- Click the check box and click Start. A message confirms the application started successfully.
- If we work with EJB on a secure server: Set the search user ID.
- If you disabled security or set the search user ID by one of the optional previous steps: Restart the WAS.
- In the portal server enable CSIv2 identity assertion. In a clustered environment, complete these steps on the dmgr WAS console.
- Enable CSIv2 Identity Assertion on the outbound connection:
- Access the WAS console of the portal server and check...
Security | Global Security | RMI/IIOP security | CSIv2 outbound communications | Use identity assertion
- When we are done, restart the portal server.
- Enable CSIv2 Identity Assertion on the inbound connection:
- Access the WAS console of the remote server and check...
Security | Global Security | RMI/IIOP security | CSIv2 inbound communications | Use identity assertion
- Under Trusted identities, enter either an asterisk (*) or the identity of the portal server.
- When we are done, restart the remote server.
- On the portal server, configure HTTPs for the Seedlist servlet.
The Seedlist servlet requires HTTPs by default. Therefore, when you access the servlet through HTTP, then WebSphere Application Server redirects us to HTTPs
- Edit:
PortalServer_root/search/wp.search.servlets/seedlist/servletEAR/installableApps/wp.search.seedlist.ear/wp.search.servlets.seedlist.war/WEB-INF/web.xml
In a clustered environment, complete this step on the primary node and all secondary nodes.
- Update the following code:
In a clustered environment, complete this step on the primary node and all secondary nodes.
<user-data-constraint> <transport-guarantee>CONFIDENTIAL</transport-guarantee> </user-data-constraint>Replace it by the following code:<user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint>
- Save the file.
In a clustered environment, complete this step on the primary node and all secondary nodes.
- Run the following portal ConfigEngine script:
In a clustered environment, complete this step on the primary node only.
./ConfigEngine.sh action-update-ear-wp.search.servlets/seedlist/servletEAR
- Restart all servers in the configuration for the updates to take effect.
- Back on the portal, configure Portal Search for remote search service.
In a clustered environment, complete this step on the primary node only.
Related tasks:
Configure a remote Document Conversion Service
Set the search user ID
Configure a remote search service