+

Search Tips   |   Advanced Search

Use a single configuration task to administer multiple virtual portals

We can administer multiple virtual portals by running a single configuration command. The following ConfigEngine tasks support working with multiple virtual portals: create-virtual-portal, delete-virtual-portal, and modify-virtual-portal. Use the -DvirtualPortalList parameter with task to create, delete, or modify multiple virtual portals at the same time.

Virtual portal property sets in the file wkplc.properties used with the ConfigEngine tasks. When we run the configuration task, you pass the list of virtual portals 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=
    vp1.VirtualPortalHostName=
    vp1.VirtualPortalContext=vp1
    vp1.VirtualPortalNlsFile=
     vp2.VirtualPortalTitle=vp2
    vp2.VirtualPortalRealm=
    vp2.VirtualPortalHostName=
    vp2.VirtualPortalContext=vp2
    vp2.VirtualPortalNlsFile=
    Specify the realms and host names only if the portal has multiple realms.

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

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

    • For IBM i: ConfigEngine.sh create-virtual-portal -DvirtualPortalList=vp1,vp2

    • For Linux: ConfigEngine.sh create-virtual-portal -DvirtualPortalList=vp1,vp2

    • For Windows: ConfigEngine.bat create-virtual-portal -DvirtualPortalList=vp1,vp2


Parent Portal ConfigEngine tasks for administering virtual portals


Related information


Technotes for virtual portals