+

Search Tips   |   Advanced Search

Enable managed pages after migration


After migration, manually enable support for managed pages. Without managed pages support, some features like the project menu are not available on the migrated server.

When you enable managed pages after migration, several considerations apply:

To take advantage of the features available to managed pages in the user interface, the pages must use the Portal 8.0 theme.

  1. Start the portal server.

  2. To enable support for managed pages, run the enable-managed-pages

        ./ConfigEngine.sh enable-managed-pages -DPortalAdminPwd=foo -DWasPassword=foo

    After running the enable-managed-pages task for the first time, the property managed.pages is created in the WP WPConfigService configuration service. The value of the property is set to true.

  3. Restart the portal server.

  4. To populate web content libraries with information about virtual portals in the system, run the create-virtual-portal-site-nodes For each virtual portal, this task creates a library and a site area called lost-found for resources that cannot be properly located. If the library or site area exist, the task exits. By default, the task runs on all virtual portals in the system.

      ./ConfigEngine.sh create-virtual-portal-site-nodes -DPortalAdminPwd=foo -DWasPassword=foo

  5. To populate web content libraries with information about the portal pages in the system, run the create-page-nodes

    This task can also be used when portal pages and managed pages artifacts in Web Content Manager are not synchronized. In this case, the task attempts to resynchronize the portal artifacts and web content artifacts, giving precedence to the portal artifacts.

    Performance note: Depending on the amount of information in the system, the create-page-nodes task can take a long time to run. Because of the database load of the task, it is not recommended run the task frequently. The initial run of the task requires the most time, while subsequent runs typically require less time.

      ./ConfigEngine.sh create-page-nodes -DPortalAdminPwd=foo -DWasPassword=foo

    By default, this task is performed on all pages in all virtual portals. To limit this task to a specific virtual portal, identify the virtual portal by adding one of the following parameters to the command line. Each parameter requires the prefix -D on the command line.

      VirtualPortalHost

      Specify the host name of the virtual portal.

      For example, vp.example.com.

      If the host name of the virtual portal is the same as the host name of the default virtual portal, also specify the VirtualPortalContext property. We can specify the VirtualPortalHost property by itself only if the host name is unique.

      VirtualPortalContext

      Specify the virtual portal context that identifies the virtual portal.

      For example, vp1.

    We can customize the task with the following optional parameters on the command line. Each parameter requires the prefix -D on the command line.

      RunParallel

      Indicate whether you want the task to run with multiple threads. A value of false indicates a single thread and is the default setting.

      A value of true indicates multiple threads, as specified by the work manager wpsJcrSyncWorkManager in the WAS admin console. Each thread requires a database connection. For optimal performance, ensure that the database connection pool supports at least as many connections as there are threads in the pool.

      Excluded

      Specify a list of unique names of page nodes to exclude from the creation process. Excluding a page also excludes its child pages. By default, the portal administration pages (ibm.portal.Administration) are excluded.

  6. If we used web content pages before enabling managed pages, we can transfer the content associated with those pages to the Portal Site library. For details on performing this transfer, see Transfer content associations to the Portal Site library.


Parent: Deploy new functionality in a migrated portal
Related:
Transfer content associations to the Portal Site library