Updating templates and spaces after installing or updating widgets

Manual steps are required for updating templates and spaces after running the installBusinessSpaceWidgets or updateBusinessSpaceWidgets commands in a clustered environment.

Before you begin

You must complete the following additional steps if you have previously used the installBusinessSpaceWidgets command or the updateBusinessSpaceWidgets command.

Procedure

  1. If IBM® Business Monitor is configured in a cluster, perform the following steps:
    1. Identify the custom profile for oobLoadedStatus properties file:
      1. In deployment manager profile, open the deployment_manager_profile_root\BusinessSpace\cluster_name\mm.runtime.prof\config\ConfigService.properties file.
      2. Look for the name of cell, node and server in the com.ibm.mashups.directory.templates or com.ibm.mashups.directory.spaces properties.

        For example, in com.ibm.mashups.directory.templates = config/cells/Cell01/nodes/Node01/servers/Server1/mm/templates, you can locate the custom profile by the Cell01 cell name and the Node01 node name.

      3. Use the name of cell, node and server to locate the custom profile.
    2. In the custom profile, open the custom_profile_root\BusinessSpace\cluster_name\mm.runtime.prof\public\oobLoadedStatus.properties file and update the importTemplates.txt or importSpaces.txt properties:
      importTemplates.txt=true
      importSpaces.txt=true
      If you have created the Business Space database after it was deleted, or if you need to reload the theme for any other reason, also update the following property:
      importThemes.txt=true
    3. Resynchronize the custom profile.
      1. Open the administrative console and click System administration > Nodes.
      2. Click Full Resynchronize.
    4. Restart the cluster.
  2. If IBM Business Monitor is configured in a managed server, perform the following steps:
    1. In the custom profile where the managed server is located, open the custom_profile_root\BusinessSpace\node_name\server_name\mm.runtime.prof\public\oobLoadedStatus.properties file and update the importTemplates.txt or importSpaces.txt properties:
      importTemplates.txt=true
      importSpaces.txt=true
      If you have created the Business Space database after it was deleted, or if you need to reload the theme for any other reason, also update the following property:
      importThemes.txt=true
    2. Resynchronize the custom profile.
      1. Open the administrative console and click System administration > Nodes.
      2. Click Full Resynchronize.
    3. Restart the server.