Omnifind Search with WebSphere Portal - Part 2

 

+

Search Tips   |   Advanced Search

 

 

Procedure for integration with clustered Portal

  1. Enable crawler setup for the Portal Pages and WCM content.

    Use the WAS ND admin console to deploy ESPACServer.ear to the portal cluster.

  2. Enable crawler setup for the Portal Document Manager which is achieved through the WebSphere Information Integrator Content Edition connector.

    Install WebSphere Information Integrator Content Edition (connectors only option) on the individual portal servers directly and deploy the services.war webapp on the portal cluster through the WAS ND admin console.

  3. Prepare the OmniFind server by executing the escvbr.vbs script on the OmniFind server.

    The actual creation of the crawlers on the OmniFind server happens later from the admin console once the preparatory work has been completed. For the PDM crawler, you should setup the WebSphere Information Integrator Content Edition connector to connect to the RMIServerBridge on the portal servers through RMI.

  4. Deploy the customized search Portlet on the portal servers

  5. Modify the search bar on the portal to use the customized search portlet rather than the default search from Portal.

The files required to integrate enterprise search with WebSphere Portal are provided in the es.wp6.install.jar file. When you unpack this file, the following files are extracted:

Because the installation script available with the OmniFind software is defined for a non-clustered Portal Server (not deployed on WAS ND) the steps that are executed by the script need to be executed manually from the Deployment Manager.

Do the following on each Portal Server node:

  1. Copy the es.wp6.install.jar file from the enterprise search server to the WebSphere Portal server, and then use the Java JAR command (or the TAR command) to unpack the file.

  2. Optional: To support integration with WebSphere Portal Document Manager (PDM), do one of the following steps:

    • Run the WebSphere Information Integrator Content Edition installation program, select the option to perform a connector-only installation, and install the PDM connector on the WebSphere Portal server.

    • Create the WebSphere Information Integrator Content Edition directory structure on the WebSphere Portal server, and copy the following files from an existing WebSphere Information Integrator Content Edition installation to the WebSphere Portal server, where CE_ROOT specifies the root WebSphere Information Integrator Content Edition installation directory:

      • CE_ROOT/lib/vbr.jar
      • CE_ROOT/ejb/vbr_pdm.jar (make sure that you download the version from the WebSphere Information Integrator Content Edition support site. The one supplied with the OmniFind software download is old and has a few bugs)
      • CE_ROOT/war/services.war
      • E_ROOT/vbr_services.properties

In the figure below, the yellow artifacts show the added packages, applications, or libraries, and the red text indicates the actions taken or verification points


Architectural detail- portal side

Perform these steps from the admin console of the Deployment Manager of the Portal cluster:

  1. Inside Enterprise Applications, select the option to install a new application. Deploy ESPACServer.ear with default options to the cluster with the two Portal nodes, by mapping the modules to the appropriate cluster. Follow the screenshots below.

  2. Inside Enterprise Applications, select the option to install a new application. Deploy ESPACServer.ear with default options to the cluster with the two Portal nodes, by mapping the modules to the appropriate cluster. Follow the screenshots below.

Ensure that the applications that have to be deployed (ESPACServer.ear) are deployed to the cluster and not to the individual portal servers.


Key architectural components and activities on the OmniFind Server

 

Portal and Workplace Web Content Management (WCM) crawler setup

  1. Login into the WAS ND admin console and deploy the ESPACServer.ear application onto the portal cluster.

  2. Browse to the location where the ESPACServer.ear is available. You should be able to find it by unjar-ing the es.wp6.install.jar file on the OmniFind server in the directory C:\WS\es\bin\es.wp6.install.jar


    Preparing for the application installation

  3. Accept all defaults until you reach the following screen:


    Installation options
    Accept defaults until you get the option to map modules to servers. Map the ESPACServer.ear to the wpsCluster01 and select Next. Proceed to the end and click Finish. When given the option to synchronize to all nodes, accept it.

  4. On the OmniFind server, login to the Search admin console and begin the process to create a Portal crawler:


    Installation options

  5. Set the crawler properties:


    Installation options

  6. Get a URL to be searched from the portal server by following these steps:

    • Ensure that WebSphere Portal Server is started, and then log in to WebSphere Portal as an administrator.

    • Click Administration in the lower left corner.

    • Click Manage Search from the navigation area on the left.

    • On the Manage Search page, click Search Collections.

    • On the Manage Search page, from the Search service options, click Default Portal Search Service.

    • In the Search Collections table, click Portal Content collection.

    • In the Content Sources table, click the Edit icon on the far right (the pencil icon) next to Portal Content Source.

    • For Content source type, click Portal Site. The site URL is displayed in the Collect documents linked from this URL field.

    • Copy the URL to the clipboard. For example, highlight the URL and then hold the Ctrl key while you press the Insert key.

    • Return to the enterprise search administration console and paste the URL that you copied into the site URL field.


    URL to be searched

  7. Test the connection by clicking Test the configuration as Figure 63 shows:


    URL to be searched

  8. ClickNext,and then select Finish.


    URL to be searched

  9. Start the process to create a Web Content Management crawler.


    Creating the WCM crawler

  10. Click Next.


    URL to be searched

  11. Accept the defaults, or modify as required and click Next:


    Configure the WCM crawler options

  12. Enter the appropriate URL based on the site name and library without any spaces. Enter multiple URLs on different lines. To enter single sign-on authentication information, select Specify the SSO authentication type.


    Specifying single sign-on authentication

  13. You can test the crawler's ability to connect to the URLs, as Figure 69 shows:


    Testing the WCM URLs

 

Portal document Management Crawler setup

  1. Login into the WAS ND admin console and deploy the services.war application onto the portal cluster.:


    Configuration screen

  2. After selecting Process definition you should arrive at this screen:


    Process definition screen

  3. Select JVM settings. Your screen should look like this:


    JVM settings

  4. Define the variable vbr.home on both the portal servers. JVMs:


    Defining vbr.home

  5. Define the shared library on both the portal server nodes.


    Define the shared library

  6. Save the above configuration and synchronize all portal nodes. Then, restart all portal servers. Once they have restarted, on each portal server, start the admin console of WebSphere Information Integrator Content Edition in direct mode. You may have to make changes as appropriate to the path variables in the admin.bat file. From the admin console, create a new Portal Document Manager connector.

    The steps below optional. They are only needed to verify that the portal server has been correctly configured to allow IICE connectors to connect to it.


    Creating a WebSphere Portal document connector

  7. Change the default URL (or add a new one in case none exists) to read 'rmi://localhost:1250/RMIServerBridge2


    Creating a WebSphere Portal document connector

  8. Test the connector, as shown below:


    Select to test connector

  9. You should then authenticate, as Figure 78 shows:


    Authenticate

  10. Then, you get a message that your connections succeeded:


    Get results of test

  11. On the OmniFind server, add a Portal Document Manager connector, as shown below:


    Select the connector

  12. Next, add the connector:


    Add the connector

  13. Test the connector by logging in as wpsadmin (or whatever user has appropriate access to the portal server).


    Authenticate

  14. You should then see a screen that gives you your test results:


    Get test results

  15. Login into the search admin console and create a new crawler of type Content Edition. Select the previously defined connector (for Portal Document Manager). For the libraries, select all. You may subsequently schedule the crawling activity.

 

Previous

 

See also

  1. OmniFind Install Guide

  2. OmniFind Admin Guide

  3. OmniFind Developerworks