+

Search Tips   |   Advanced Search

Prepare the system for multiple profile support on AIX


To configure templates that can be used for profile creation...

  1. Run enable-profiles
  2. Register template with IBM WAS
  3. Export the baseline configuration into an configuration archive file (CAR)

We can create CAR files at any time, such as immediately after the initial installation, or after the original portal is fully configured with security, database, basic application deployment, and server tuning.

Before creating new profiles, delete any existing search collections.

WAS uses the wsadmin scripting interface to support the CAR creation. WebSphere Portal provides a configuration task that creates the CAR and also captures additional portal-specific file that must be kept with the CAR. The task also places the CAR and any associated files in the correct directory.

Many portal customizations, such as new pages, blogs, and wikis, are stored in the WebSphere Portal release database, which uses the Derby database after the initial installation. Any customizations made to the Derby database prior to running enable-profiles are included in the additional profiles created later. However, if you complete a database transfer to set up the release database on an external server before running enable-profiles, then any customizations made between the transfer and when enable-profiles is run are NOT picked up by additional profiles. Therefore, complete all customizations you want included on the additional profiles before transferring the release database domain to an external database server.

Restriction: Your environment MUST be a stand-alone profile. If you have a node federated to a dmgr, remove the node from the cell. If you have a web server node, remove the node before running enable-profiles.

Restriction: Search Collections cannot be shared between multiple profiles. Before running enable-profiles, remove existing search collections from the default profile. We can re-create the search collections after running enable-profiles.


Prepare the system for multiple profile support

  1. If you installed portal as a non-root user, run...

      chmod -R u+rwx PORTAL_HOME/

  2. Create the CAR...

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

    The Portal.car file is saved to

    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 CAR file created when running enable-profiles.

  3. Restore the non-root permissions...

    chmod -R u+rx PORTAL_HOME/

After completing the initial profile template generation with the required configuration, only make further customization changes to the wp_profile directory that are intended to be included in all additional Portal profiles. This approach allows the portal profile template configuration to be immediately updated after applying maintenance, because it will already contain the required configuration to be saved with the Portal profile templates.


Parent: Create multiple profiles on AIX
Related:
Install WebSphere Portal on AIX on the primary node