Virtual portals reference


  1. Configuration tasks for administering virtual portals
  2. Administer multiple virtual portals by a single configuration task
  3. Information overview for configuring user populations for virtual portals
  4. Hints and tips
  5. Known limitations


Configuration tasks for administering virtual portals

The following sections lists and describes the configuration tasks for administering virtual portals. Before you use these configuration tasks to administer virtual portals, read the topics...

The tasks described here take the listed inputs as they must be specified in the property file wkplc.properties.

The property file must be encoded in the ISO 8859-1 character encoding format.


create-virtual-portal

Create a virtual portal.

Invoked as part of the ConfigEngine script file as follows:

The following inputs apply:

Assumptions/Prerequisites:

You pass the parameters listed above for the virtual portal to the configuration task.

To pass a description for the virtual portal to the configuration task, you have to specify this in the NLS file.

The task creates the virtual portal itself, but it does not create any default content for the virtual portal or grant any access permissions to the virtual portal administrators. You need to perform these tasks separately after creating the virtual portal, for example by using the XML configuration interface. For details about the access permissions required for virtual portal administrators refer to sub-administrators of a virtual portal and their access roles and rights. For details about how to use the XML configuration interface refer to xmlaccess.sh.


list-all-virtual-portals

List all virtual portals.

Invoked as part of the ConfigEngine script file as follows:

Inputs: None

Outputs: This tasks lists all virtual portals, together with the following information:

Assumptions/Prerequisites:

The context of a virtual portal as specified by using the configuration task create-virtual-portal with the input parameter VirtualPortalContext cannot be shown by using the configuration task list-all-virtual-portals.


modify-virtual-portal

Modify a virtual portal by using its object ID. To determine the correct object ID of the virtual portal, use the task list-all-virtual-portals .

Invoked as part of the ConfigEngine script file as follows:

The following inputs apply:

Assumptions/Prerequisites:

To modify the title or description of the virtual portal, you have to specify this in the NLS file accordingly.


delete-virtual-portal

Delete a virtual portal by using its object ID. To determine the correct object ID of the virtual portal, use the task list-all-virtual-portals .

Invoked as part of the ConfigEngine script file as follows:

Inputs: VirtualPortalObjectId

The object ID of the virtual portal. This input is mandatory.

Assumptions/Prerequisites:


Administer multiple virtual portals by a single configuration task

You can administer multiple virtual portals by running a single configuration command. The following configuration tasks support working with virtual portals: create-virtual-portal, delete-virtual-portal, and modify-virtual-portal. You specify the virtual portal property sets in the file wkplc.properties used with the configuration tasks. When you run the configuration task, you pass the list of virtual portals by using the parameter -DvirtualPortalList.

Here is an example for creating two virtual portals:

  1. Specify the two virtual portal property sets in the file wkplc.properties as follows:

      vp1.VirtualPortalTitle=vp1
      vp1.VirtualPortalRealm=vp1realm
      vp1.VirtualPortalHostName=vp1host
      vp1.VirtualPortalContext=vp1
      vp1.VirtualPortalNlsFile=
         
      vp2.VirtualPortalTitle=vp2
      vp2.VirtualPortalRealm=vp2realm
      vp2.VirtualPortalHostName=vp2host
      vp2.VirtualPortalContext=vp2
      vp2.VirtualPortalNlsFile=
      

  2. To create both virtual portals by using a single configuration command, use the parameter -DvirtualPortalList to specify the two portals vp1 and vp2:

      ConfigEngine create-virtual-portal -DvirtualPortalList=vp1,vp2


Information overview for configuring user populations for virtual portals

This section gives an overview of the information that is available in the WebSphere Portal information center about configuring user populations, realms, and user registries for virtual portals. The following links move from the general to the detailed and specific.


Hints and tips

The following hints and tips apply to virtual portals in WebSphere Portal v7.0:


Known limitations

The following sections describe known limitations with virtual portals.


Change of theme for virtual portal might not take effect

If you change the theme for a virtual portal by editing the virtual portal in the Virtual Portals portlet, the following problems might occur:

  1. The selected theme might not show the next time you go into the Edit mode for the virtual portal.

  2. The selected theme might not be applied to the virtual portal, and the virtual portal might still be displayed with the original theme.


Use a new host name for an existing virtual portal

To use a new host name for an existing virtual portal...

  1. Export the contents of the virtual portal by using the XML configuration interface.

  2. Delete the virtual portal.

  3. Clean up references to the deleted virtual portal by using the Task.xml of the XML configuration interface..

  4. Create a new empty virtual portal by using the configuration task create-virtual-portal. Use the context of the deleted virtual portal, and specify the new host name as required.

  5. Import the contents to the new virtual portal by using the XML configuration interface.


Portal supports up to 150 virtual portals

A single portal installation can support up to 150 virtual portals.


Create the portal site search collection fails

Problem: If the file path length for the location of search collections exceeds its limit, the collection cannot be created. This can occur particularly when the portal site collection is created under UNIX OSs.

Cause: The file path length for the portal search collection is limited to 118 characters. If this limit is exceeded, the default collection cannot be created. The following items contribute to the length of the file path:

Solution: Proceed as follows:

  1. Change the default directory location for the portal site search collection to a shorter path, so that the complete path and file name does not exceed a length of 118 characters. For details about how to do this refer to Configure the default location for search collections.

  2. Recreate the portal site search collection. For details about how to do this refer to Create or resetting the portal site collection.


 Some categories for the theme's customize feature may be empty in virtual portals. 

Problem:  You may see "no results" for the Administration category of portlets or other categories. Cause: The Page Builder theme and Portal 7.0.0.2 Theme use tags to create these categories but these tags are not automatically added to virtual portals. Solution: Proceed as follows:

You can add these tags to virtual portal by running one of these tasks. If you have a Portal Enable or Portal Extend run this task.

If you have Portal Server run this task:

These task may fail if installation is missing certain portlets that the scripts expect to find. In this case you will need to use PortalServer/theme/wp.mashup.cc.theme/config/templates/TagPortletDefinitionsServer.xml as an example xml access script that you can use and adapt to own installation environment.  


Parent: Multiple virtual portals

Related
Usage scenarios for virtual portals
Plan for virtual portals
Language support
xmlaccess.sh
Use WSRP services

Related tasks
Set up a virtual portal in a portal farm
Configure the default location for search collections
Create or resetting the portal site collection


Related reference
Command reference for Portal Scripting Interface

Related information
Administer virtual portals
Create custom links to portlets and pages


+

Search Tips   |   Advanced Search