InstallWebScanner - cws-khuntly/WebSphere GitHub Wiki
date: 2025-05-08 14:46:12 created: 2025-05-08 14:46:07 categories:
- WebSphere / Server Build / Portal Server / Remote Search Services
Login to the Portal host via SSH
Export the WAS_INSTALL_ROOT variable:
declare -x WAS_INSTALL_ROOT="/opt/IBM/WebSphere/AppServer"
Export the deployment manager hostname:
declare -x SEARCH_HOSTNAME=XXX
Export the profile name:
declare -x PROFILE_NAME=XXX
Export the server name:
declare -x TARGET_SERVER=XXX
Copy the PSElibs.zip file from the Portal server installation to the search server:
scp /opt/IBM/WebSphere/PortalServer/search/wp.search.libs/installableApps/PseLibs.zip ${LOGNAME}@${SEARCH_HOSTNAME}:/var/tmp
Copy the WebScannerEjbEar.ear file from the Portal server installation to the search server:
scp /opt/IBM/WebSphere/PortalServer/prereq/prereq.webscanner/installableApps/WebScannerEjbEar.ear ${LOGNAME}@${SEARCH_HOSTNAME}:/var/tmp
Login to the Search host via SSH
Create Portal Search Engine libraries directory on the search server:
mkdir -pv /opt/IBM/WebSphere/profiles/${PROFILE_NAME}/PSELibs
Unzip the Portal Search Engine libraries:
unzip -d /opt/IBM/WebSphere/profiles/${PROFILE_NAME}/PSELibs -j /var/tmp/PseLibs.zip
Remove PseLibs.zip from /var/tmp:
rm /var/tmp/PseLibs.zip
Move WebScannerEjbEar.ear to /opt/IBM/WebSphere/AppServer/installableApps:
mv /var/tmp/WebScannerEjbEar.ear /opt/IBM/WebSphere/AppServer/installableApps/WebScannerEjbEar.ear
Login to the ISC
Navigate to Environment -> WebSphere variables
Select the search service cluster
Click "New"
- Name: PSELibsDir
- Value: ${USER_INSTALL_ROOT}/PSELibs
Save changes
Navigate to Environment -> Shared libraries
Select the search service cluster
Click "New…"
- Name: PSE
- Classpath: ${PSELibsDir}
- Check "Use an isolated classloader for this shared library"
Save changes
Navigate to Resources -> Concurrency -> Work managers
Select the search service cluster in the Scope drop-down menu
Click "New…"
- Name: PSEWorkManager
- JNDI name: wps/searchIndexWM
- Service names:
- Check "Internationalization"
- Check "Security"
- Check "WorkArea"
- Check "Application Profiling Service (deprecated)"
- Thread pool properties:
- Minimum number of threads: 20
- Maximum number of threads: 60
- Check "Growable"
- Click "OK"
Save changes
Navigate to Applications -> Application types -> WebSphere enterprise applications
Click "Install"
Select "Remote file system" and click "Browse"
Navigate to dmgrNode -> AppServer -> installableApps
Select WebScannerEjbEar.ear
Click "OK"
Click "Next"
Click "Detailed"
Click "Continue"
Click "Next" on Step 1
In Step 2:
- In "Clusters and servers", select the search service cluster
- Select the checkbox for both PSEStandaloneEJB and PseServlet
- Click "Apply"
Click "Next" on Step 2
Click "Next" on Step 3
In Step 4:
- Select the checkbox for PSEStandalone
- Click "Reference shared libraries"
- Select "PSE" in the "Available" box and click the left arrow to add it to the "Selected" box
- Click "OK"
Click "Next"
Click "Next" on Step 6
Click "Next" on Step 7
Click "Next" on Step 8
In Step 9:
- Click the checkbox next to "SearchUser" and click "Map Users…"
- If desired, provide a username or wildcard in the "Search string" text box and Click "Search"
- In the "Available" box, select the desired search user and click the left arrow to add it to the "Selected" box
- Click "OK"
Click "Next"
Click "Next" on Step 10
Click "Next" on Step 11
Click "Next" on Step 12
Click "Next" on Step 13
Click "Finish"
Save changes