+

Search Tips   |   Advanced Search

Prepare the primary node on Linux


Install WebSphere Portal on Linux on the primary node

Review the System requirements and ensure that all hardware and software matches the minimum product level before installing WebSphere Portal.

Choose one of the following installation methods to install IBM WebSphere Portal:

  1. Install with GUI on Linux
  2. Install with response file on Linux


Clustered environment: Perform post-installation tasks on Linux

  1. Enable the sample WCM content, such as internet and intranet sample sites...

      ./ConfigEngine.sh configure-express -DPortalAdminPwd=foo -DWasPassword=foo

    Run configure-express before configuring the database, user registry, context root, security, etc. If you ran any tasks other than the install task, do not run this task.

    The sample content...

    • Creates a group called contentAuthors; members of this group are given privileges to create content in the sample Internet and intranet sites. Navigate to...

        Administration | Access | Users and Groups

    • Creates two new Web Content Manager Libraries: "Internet Web Content 8.0.0" and "Intranet Web Content 8.0.0". Navigate to...

        Administration | Portal Content | Web Content Libraries

    • Adds a portlet filter and applies the filter to various portlets in the sample Internet and intranet sites. We can see the definition of the filter in the WAS admin console and examining the custom resources under the Environment area.

    • Creates two new theme policies: InternetStyle and IntranetStyle. These styles are applied to sample Internet and intranet sites. Navigate to Theme Customizer and then select the style.

    • Creates several portlet clones of the Web Content Manager rendering portlet. These portlet clones are used on sample Internet and intranet sites.

    • Creates two virtual portals with context roots of...

      • wps/portal/intranet
      • wps/portal/internet

      To access...

      • http://myserver:myport/wps/portal/internet
      • http://myserver:myport/wps/portal/intranet

    • Creates several sample credential slots, including "Default slot for Email", "Default slot for Feeds", "Default slot for Miscellaneous", "Default slot for Web Clipping", and "Default slot for Web Content Management". Navigate to...

        Administration | Access | Credential Vault

  2. If you ran configure-express, the owner of the items in the Web content libraries containing the Internet and Intranet Site Template content will be listed as...

      uid=wpsadmin,o=defaultWIMFileBasedRealm

    To update the owner information for these items to correspond to the portal admin ID:

    1. Edit...

        WP_PROFILE/PortalServer/wcm/shared/app/config/wcmservices/MemberFixerModule.properties

    2. Add the following lines to the file:
      uid=wpsadmin,o=defaultWIMFileBasedRealm -> portal_admin_DN 
      cn=contentauthors,o=defaultWIMFileBasedRealm -> content_authors_group_DN

    3. Save the changes and close the file.

    4. Run...

        ./ConfigEngine.sh express-memberfixer -DPortalAdminPwd=foo -DWasPassword=foo


Linux clustered server: Configure the portal to use a database

  • Set up a remote DB2 database
  • Set up IBM DB2 for i
  • Set up a remote DB2 for z/OS database
  • Set up a remote Oracle or Oracle RAC database
  • Set up a SQL Server database
  • Verify the database configuration


    Remove search collections on Linux

    To use search in a cluster, configure a remote search server; If you created any search collections, re-create them on the remote search server. If the search collection has data, export the collection before deleting it and then import the data on the remote server.

    1. To prevent search collection creations:

      1. Edit...

          WP_PROFILE/PortalServer/jcr/lib/com/ibm/icm/icm.properties

        ...and set...

          jcr.textsearch.enabled = false

      2. Restart the WebSphere_Portal server.


    2. After submitting all customized jobs for this task to delete all existing search collections from the primary node:

      To use search in a cluster, configure a remote search server; see Configure Portal Search in a cluster on z/OS for information. If you created any search collections, you need to re-create them on the remote search server. If the search collection has data, export the collection before deleting it and then import the data on the remote server.

      1. Log on to WebSphere Portal.

      2. Navigate to...

      3. Click the Delete Collection icon for each search collection and then click OK until they are all deleted.

      4. Restart the WebSphere_Portal server.

        and then navigate back to the Search Collections page to verify that all search collections have been deleted.


    Create the WebSphere Portal profile template

    After installing the primary node and configuring the remote database, we can create the configuration archive (CAR) file used to create additional portal profiles.

    1. If you installed portal as a non-root user, modify permissions for the Portal Server directory...

        chmod -R u+rwx PORTAL_HOME/

    2. On the primary node of the cluster, run...

        ./ConfigEngine.sh enable-profiles -DWasPassword=foo

      ...to create configuration archive file...

      PORTAL_HOME/profileTemplates/default.portal/configArchives/Portal.car

      If we configured a remote database with Type 4 drivers under...

      WP_PROFILE/PortalServer

      ...they are included in the file created when running enable-profiles.

    3. Create...

        PORTAL_HOME/profileTemplates/profileTemplates.zip

      ...by running

        ./ConfigEngine.sh package-profiles -DWasPassword=foo

    4. Restore the non-root permissions...

      chmod -R u+rx PORTAL_HOME/


    Related:
    Data collection and symptom analysis
    Related:
    Create a Portal custom profile on Linux
    Prepare the system for multiple profile support on Linux
    Create multiple profiles on Linux
    Delete passwords from properties files