+

Search Tips   |   Advanced Search

Portal V7.0 cluster: Web content post migration steps


Context root settings for secondary nodes

If we are migrating a cluster, update the context root for WCM on any secondary nodes to ensure that web content is displayed properly.

To update the context root...

  1. On the primary node, view...

      WP_PROFILE/ConfigEngine/properties/wkplc.properties

    ...and note the value of the WpsContextRoot property.

  2. On each secondary node, edit wkplc.properties, and set the value of the WpsContextRoot property to match the value on the primary node.

  3. On each secondary node, run the action-update-wcm-cluster-variable-map

    ./ConfigEngine.sh action-update-wcm-cluster-variable-map \
                      -DWasUserId=username \
                      -DWasPassword=foo \
                      -DPortalAdminId=username \
                      -DPortalAdminPwd=foo 
    


JSP files and Web content plug-ins


Search Indexes

Before you migrated the search components, you exported the search collections as XML files and deleted the search collections from the Manage Search portlet. After migrating to the current version of WebSphere Portal, we can rebuild your search indexes.

  1. Create the new search collections.

  2. Import the backed up configuration information for each of the search collections.

  3. Check if the URLs for the crawlers are still valid.

  4. Stop the WebSphere Portal server.

  5. If the schedules have not been set, start the crawlers manually.

    Ignore this step if schedules have been set. When schedules are set, the crawlers update the search collections.


Syndication

Automatic syndication is disabled during migration. If we use automatic syndication enable it after migration. To do this, from the WAS admin console, in the the WCM WCMConfigService service, set...

If the migrated server is to be a syndicator, also set...


Local rendering portlets based on the IBM Portlet API

The traditional rendering portlets that are provided for earlier versions of WCM are based on the IBM Portlet API. If you migrate any traditional local rendering portlets, update the permissions on the portlets by running the following configuration

The IBM Portlet API web content viewer is deprecated and no longer available with the default installation. Wherever possible IBM recommends that you adapt the web content environment to use the JSR 286 web content viewer to ensure future compatibility.


Remote rendering portlets based on the IBM Portlet API

The traditional rendering portlets that are provided for earlier versions of WCM are based on the IBM Portlet API. If you migrate any traditional remote rendering portlets, update these portlets to v8.0.

If you fail to update the migrated remote rendering portlets as described here, some basic features, such as previewing, are not functional in WCM.

  1. Update the portlet WAR file.

    1. Log in to the migrated server as an administrator.

    2. Go to the Administration view and then Portlet Management.

    3. Select Web Modules.

    4. Click Update.

    5. Click Browse.

    6. Select the file called ilwwcm-remoterendering-portlet.war from the PORTAL_HOME/pzn.ext/portlet.remoterendering/remoterendering.war/installableApps directory of the v8.0 server. This must be a content server installation as this file is not installed on an administration server installation.

    7. Click Open.

    8. Click Next.

    9. Click Finish.

  2. Remove the ilwwcm-wcmimport application.

    1. Log in to the WAS admin console as an administrator.

    2. Click Applications > WebSphere enterprise applications.

    3. Select the ilwwcm-wcmimport application, and click Uninstall.

    4. Save the changes.

  3. Register the remote rendering portlet again.

    1. On the migrated server, delete the PORTAL_HOME/temp/node_name/WebSphere_Portal/_extensionregistry directory.

    2. Delete the PORTAL_HOME/configuration directory.

    3. Run the osgiCfgInit command from the PORTAL_HOME/bin directory:

        ./osgiCfgInit.sh

    4. Restart the portal server.

The configuration settings of the remote rendering portlets on remote servers will be unchanged after you have migrated the servers. If the migrated servers use the same naming conventions as the old servers, then you will not have to re-configure the remote rendering portlets. If you have changed the naming conventions of the migrated server, such as giving the migrated cluster a different name than your old server cluster, then you will have to re-configure the remote rendering portlets.

If you have a small number of remote rendering portlets, we can edit the configuration settings of the remote rendering portlets manually. If you have a large number of remote rendering portlets, then we can use xmlaccess.sh to re-configure the remote rendering portlets. To do this you will have to export the pages containing the remote rendering portlets:

Once exported, change the value of the WCM_REMOTE_HOST_BASE_PATH variable for all the portlets to v8.0 servers. This updated XML file can then be imported using the xmlaccess command or the Import XML portlet.

The IBM Portlet API web content viewer is deprecated and no longer available with the default installation. Wherever possible IBM recommends that you adapt the web content environment to use the JSR 286 web content viewer to ensure future compatibility.


Parent: Portal V7.0 clustered environment
Related:
Set up search collections
Search and crawl portal and other sites
Related:
Portal V7.0: Migrating search components
Start and stop servers, dmgrs, and node agents