Add WebSphere Portal to a WAS instance

 

+
Search Tips   |   Advanced Search

 

Overview

After you create a WAS instance for use with WebSphere Portal, add WebSphere Portal to that instance in order to begin configuration.

If you used the Web Administration for iSeries, or chose the Install and Configure option when installing WebSphere Portal, WebSphere Portal was added to a WAS instance for you. However, you can also manually add WebSphere Portal to a WAS instance.

Refer to Installation scenarios to determine whether this step is necessary.

Adding WebSphere Portal to a WAS instance means copying select files from the Product directory...

/qibm/ProdData/portalserver5
...to the User directory

/qibm/UserData/webas5/base/<was_instance_name>/portalserver5

Once the files have been copied over, all subsequent configuration only updates files in the User directory. Thus it is possible to add WebSphere Portal to multiple WAS instances and maintain a separate configuration for each.

This topic also includes instructions for removing WebSphere Portal from a WAS instance. This may be necessary when uninstalling WebSphere Portal, as WebSphere Portal's uninstall script does not automatically remove WebSphere Portal files from the WAS instances

These instructions assume that you have installed WebSphere Portal and have created a new WAS instance. The WAS instance must contain the additional functionality provided by WAS V5.0 Enterprise Enablement, which is included with WebSphere Portal.

If you are removing WebSphere Portal from a WAS instance in preparation for uninstalling WebSphere Portal, you can also simply remove the WAS instance itself.

 

To add WebSphere Portal to a WAS instance:

  1. Open an OS/400 command prompt and start the Qshell Interpreter by entering the following:

    STRQSH

  2. Change to the directory
    /qibm/proddata/portalserver5/config

  3. Add portal to the WAS instance by entering the following command:

    addwpsinst.sh -instance <was_instance_name>

 

To remove WebSphere Portal from a WAS instance:

  1. Open an OS/400 command prompt and start the Qshell Interpreter by entering the following:

      STRQSH

  2. Change to the directory /qibm/proddata/portalserver5/config

  3. De-configure the WAS instance by entering the following command:

      wpsconfig.sh -instance <was_instance_name> remove-was-cfg

  4. Remove WebSphere Portal from the WAS instance by entering the following command:

      rmvwpsinst.sh -instance <was_instance_name>

 

See also