IBM Support

Upgrading profiles from IBM Business Process Manager Version 8.5.x to IBM Business Process Manager V8.6

Product Readmes


Abstract

This document provides the instructions for upgrading existing profiles for the IBM Business Process Manager (BPM) products Version 8.5.0.x, 8.5.5, 8.5.6.x, 8.5.7.0, 8.5.7 Cumulative Fix 2016.06, 8.5.7 Cumulative Fix 2016.09, 8.5.7 Cumulative Fix 2016.12, 8.5.7 Cumulative Fix 2017.03, or 8.5.7 Cumulative Fix 2017.06 to Version 8.6.

Content

These steps are needed only if you already have an IBM Business Process Manager deployment environment or stand-alone environment.


Table of Contents

Upgrading IBM Business Process Manager V8.5.x profiles to IBM Business Process Manager V8.6 profiles


To upgrade IBM Business Process Manager V8.5.x profiles to V8.6 profiles, follow the instructions for your specific edition (IBM Business Process Manager Advanced, IBM Business Process Manager Standard, or IBM Business Process Manager Express).

If you installed IBM Business Process Manager Version V8.5.x or earlier using administrator privileges, you need administrator access to complete upgrading to IBM Business Process Manager V8.6.

If you are upgrading from IBM BPM V8.5.5.0 or later, before you upgrade your production environment to V8.6, you can clone your V8.5.x environment, including both the deployment environment and database, and test the upgrade. See Testing the IBM Business Process Manager upgrade.

If you are using an unsupported operating system or database version, you must upgrade to a supported version before starting the upgrade. See IBM Business Process Manager system requirements or IBM Business Process Manager Express system requirements. If you are using an unsupported operating system type like Solaris, you must either switch to a supported operating system type before you upgrade or use artifact migration as described in Migrating artifacts to IBM Business Process Manager V8.6 instead of upgrading. For V8.5.5.0 and later, you can use hardware migration to switch the operating system type of your source version before upgrading. See Migrating IBM BPM to the same version on new hardware.
Restriction: Beginning with V8.5.5, IBM BPM does not support the z/OS operating system and does not support 32-bit operating systems. If you are upgrading from V8.5.0 on a 32-bit system or z/OS, you must use artifact migration as described in Migrating artifacts to IBM Business Process Manager V8.6 for instructions.

IBM Process Center and Process Server versions do not need to match, and Process Server V8.6 can connect offline to an earlier version of Process Center V8.5.x. You can upgrade Process Server first and test your applications to make sure that they still work normally after the upgrade. Upgrade Process Center last. For more details, see Performing a rolling upgrade.
Important: Because of APAR JR59022, Process Server V8.6 cannot be connected online to Process Center V8.5.x. You can use offline deployment while performing your rolling upgrade.

To interact with IBM BPM V8.6 Process Center, Process Designer must be at V8.5.7 CF2017.09 and IBM Integration Designer must be at V8.5.7 with interim fix JR58314. In Process Center and Process Server, do not import or deploy any content that was created in a later version of IBM BPM or IBM Integration Designer.

For Oracle and SQL Server databases, the Java Database Connectivity (JDBC) drivers are removed from their original location during the upgrade. The JDBC drivers for your database must be installed in a custom location. Make sure that IBM BPM points to a custom location containing the JDBC drivers provided by your database vendor for your particular database version. For instructions, see Configuring JDBC drivers.

Upgrading network deployment profiles for IBM Business Process Manager Advanced or IBM Business Process Manager Standard



To upgrade from IBM Business Process Manager Advanced or IBM Business Process Manager Standard V8.5.x to V8.6, follow the instructions to back up your existing installation, install the IBM BPM V8.6 upgrade onto the deployment manager and each managed node, upgrade your Process Server database, and restart the deployment manager and nodes.

Procedure
  1. Verify that your target environment - including hardware, operating systems, and database prerequisites - is a supported operating environment for IBM Business Process Manager V8.6. See IBM Business Process Manager system requirements.
    Important: The minimum DB2 level was increased to 9.7.0.5 in IBM BPM V8.5.6.0. If required, move to the new database version and make sure that IBM Business Process Manager is working correctly before you proceed with the upgrade.
     
  2. Stop all the Java™ processes associated with the IBM Business Process Manager (BPM) products that are being upgraded.
    1. Stop the single cluster or the three clusters in the following order: Support, Application, and then Messaging.
    2. Stop any other servers, the node agents, and then the deployment manager.
    3. Stop any other associated JVMs, such as the Profile Management Tool or the Quick Start console.
    4. If you have a Microsoft Windows service or another function that automatically restarts the servers when they are down, ensure that the service or function is disabled until the upgrade process is complete.
      Important: The product might not continue to run successfully if you install the fix when a Java process related to WebSphere Application Server is running.
       
  3. Back up your IBM BPM profiles. The V8.6 upgrade updates the core product files and all the existing profiles that require a maintenance update. Before you upgrade a product, run the backupConfig command to back up the configuration files of each profile. See Backing up and restoring administrative configuration files in the WebSphere Application Server product documentation.
    Important: If you need to restore a previous profile backup after running the steps to upgrade your profile, you must complete all the steps in Rolling back the IBM BPM environment. Otherwise, you will not be able to rerun the upgrade properly.
    Tip: You might also want to back up all the files that are mentioned in Backing up IBM Installation Manager agent data and shared files for recovery with IBM Business Process Manager (BPM), and your IBM BPM installation and profile directories. If you are applying patches to other products installed with Installation Manager, be sure to take backups of those as well. This data is not required for a normal rollback. However, if you have an Installation Manager failure or a problem that corrupts the file system data, you will need these files to recover from it. Having either a full file system backup or all of these directories ensures that you can roll back to a consistent state for all products that were installed with Installation Manager.
     
  4. Back up all databases associated with this IBM BPM environment.
    Important: Make a backup of your databases at the same time as you make the profile backup.
     
  5. For IBM BPM Advanced only: If you customized event sequencing, back up the install_root/properties/eventsequencing.properties file.
     
  6. During the upgrade, Process Portal content and snapshots can be updated. For information about the improved Process Portal application that was introduced in IBM BPM V8.5.7, see Process Portal: What's New in IBM Business Process Manager V8.5.7. The Process Portal application for IBM BPM V8.5.6 and earlier is now referred to as Heritage Process Portal.
    Note: If you need to use the Heritage Process Portal while training users for the new Process Portal, use the /HeritagePortal context root instead of the /ProcessPortal context root.
     
    1. Customization that you applied to the Process Portal deployed as a snapshot must be redone on the latest version after you update your environments. For example, Setting up collaboration features for business users for Heritage Process Portal.
       
    2. Customization to the Process Portal or Heritage Process Portal mentioned in Customizing and rebranding interfaces can be overwritten. Make a local copy of your changes before you upgrade or keep a record of your modifications. After the upgrade, perform any needed customization using the updated application content. If you used the BPMUpdateTheme task to apply a custom theme, you will have to run the BPMUpdateTheme task again to re-apply the custom theme after you finish the upgrade.
  7. Install the V8.6 upgrade onto the deployment manager installation interactively or silently:
  8. Install the V8.6 upgrade onto all managed node installations interactively or silently:
  9. If you installed Java 8 after you installed IBM BPM (not before, and not at the same time), you must run the following additional two commands:
    • On Windows:
      install_root\bin\managesdk.bat -setCommandDefault -sdkname 1.8_64
      install_root\bin\managesdk.bat -setNewProfileDefault -sdkname 1.8_64
    • On Linux or UNIX:
      install_root/bin/managesdk.sh -setCommandDefault -sdkname 1.8_64
      install_root/bin/managesdk.sh -setNewProfileDefault -sdkname 1.8_64
       
  10. If you have a DB2 for z/OS database, complete the following steps:
    1. To ensure that you can successfully run the SQL scripts for the DB2® for z/OS® schema upgrade, alter the following table spaces to increase the buffer pool size to 8K:
      WLPT33
      WLPT34
      WLPT52
      WLPT53
      WLPT145
      To do so, drop the table spaces and create them again with 8K buffer pools.
      Note: You should move the data to a temporary table space before dropping it. Then, copy it back when you re-create the table space.

      Example SQL to re-create table spaces:
      SET CURRENT SQLID = 'ZASIPS';

      DROP TABLESPACE ZACELLDB.WLPT33;
      DROP TABLESPACE ZACELLDB.WLPT52;

      CREATE TABLESPACE WLPT33
      IN ZACELLDB
      USING STOGROUP ZADBSTO
      SEGSIZE 32
      LOCKMAX SYSTEM
      LOCKSIZE ROW
      DEFINE YES
      CCSID UNICODE
      BUFFERPOOL BP8K1;

      CREATE TABLESPACE WLPT52
      IN ZACELLDB
      USING STOGROUP ZADBSTO
      SEGSIZE 32
      LOCKMAX SYSTEM
      LOCKSIZE ROW
      DEFINE YES
      CCSID UNICODE
      BUFFERPOOL BP8K1;
       
    2. Run one of the following commands to generate the SQL file to update your database.
      On Windows: install_root\bin\BPMGenerateUpgradeSchemaScripts.bat -profileName deployment_manager_profile [-de deployment_environment_name]
      On Linux or UNIX: install_root/bin/BPMGenerateUpgradeSchemaScripts.sh -profileName deployment_manager_profile [-de deployment_environment_name]
      You can omit the -de parameter if there is only one deployment environment.

      Tip: You are prompted to enter new values for the database specifications. If you press Enter, the default values are used.

      The SQL scripts are generated in the deployment_manager_profile/dbscripts/Upgrade directory, under the following subdirectory: cell_name.deployment_environment_name/database_type/database_name.schema_name
       
    3. Connect to the DB2 for z/OS database, and run these SQL scripts against the database using your preferred tool in this order:
      Note: If you used the saved search acceleration tools to optimize a process search, you must change createProcedure_ProcessServer.sql to drop the LSW_BPD_INSTANCE_DELETE_PIVOT procedure by commenting in the corresponding SQL statement.

      1. upgradeSchema85x_ProcessServer.sql
      2. createProcedure_ProcessServer.sql

      You can safely ignore SQL exceptions about deleting rows from an empty table. You can also ignore errors about creating duplicate indexes.
       
  11. Oracle and SQL Server database JDBC drivers that previously came with IBM BPM have been removed. You must reconfigure your drivers if you were using these default drivers or drivers located in the ${WAS_INSTALL_ROOT}/jdbcdrivers/Oracle or ${WAS_INSTALL_ROOT}/jdbcdrivers/SQLServer directories. Follow the instructions in Configuring JDBC drivers.
    Important:
    • Do not restart the deployment environment as instructed in Step 7. Ensure the environment remains stopped through this procedure.
    • For Oracle databases, during the upgrade, ensure you have included JDBC drivers for the Java 8 version in the custom directory.
    • For SQL Server databases, you must apply the IBM BPM interim fix JR59388 before you run the DBUpgrade command in the next step.

      After configuring the JDBC drivers, run the following command to switch your default profile to Java 8 before you run DBUpgrade: (If your default profile is a managed node profile, you must first make the deployment manager the default profile by running manageprofiles -setDefaultName -profileName dmgr_profile_name)

      managesdk.bat/sh -enableProfile -profileName profile_name -sdkName sdk_name -enableServers

      See the managesdk command for instructions.
       
  12. Optional: Run the DBUpgrade -validate command to make sure that your configured database user has sufficient permissions to upgrade the database.
    Important: Skip this step for AdvancedOnly deployment environments.
    • On Windows: install_root\bin\DBUpgrade.bat -validate -profileName deployment_manager_profile [-de deployment_environment_name] -bpmSchemaAdminUser bpmSchemaAdminUser -bpmSchemaAdminPassword bpmSchemaAdminPassword
    • On Linux or UNIX: install_root/bin/DBUpgrade.sh -validate -profileName deployment_manager_profile  [-de deployment_environment_name] -bpmSchemaAdminUser bpmSchemaAdminUser -bpmSchemaAdminPassword bpmSchemaAdminPassword

      where bpmSchemaAdminUser is a database user with permission to read the database catalog tables for both the Process Server and Process Data Warehouse databases. See DBUpgrade command-line utility.
       
  13. Run one of the following commands to upgrade your database.
    Notes: If you have multiple deployment environments, you must complete this step for each Advanced and Standard deployment environment. Skip this step for AdvancedOnly deployment environments. There is no database schema update for AdvancedOnly deployment environments upgraded from V8.5.x.
    • On Windows: install_root\bin\DBUpgrade.bat  -profileName deployment_manager_profile [-de deployment_environment_name]
    • On Linux or UNIX: install_root/bin/DBUpgrade.sh  -profileName deployment_manager_profile [-de deployment_environment_name]

      You can omit the -de parameter if there is only one deployment environment.

      Important: Make sure that the DBUpgrade command has finished successfully before you move to the next step. The log is saved in deployment_manager_profile_root/logs/DBUpgrade_timestamp.log. Check the log for errors or exceptions. If running DBUpgrade was unsuccessful, correct the errors and restore your databases from the backup before running the command again.

      Tip: If you are using Oracle, you might see an error similar to the following error:
      Executing upgrade step: Upgrade 8.5.0 schema to 8.6.0.0 for database ProcessServerDatabase.
      Error executing SQL statement: ORA-60019: Creating initial extent of size 14 in tablespace of extent size 8

      On Oracle, IBM Business Process Manager stores large objects (LOBs) with the SECUREFILE option. For SECUREFILE, it is recommended to use a tablespace with the AUTOALLOCATE option. If you use UNIFORM SIZE extents, ensure that the UNIFORM SIZE is big enough. Given the default block size of 8K, specify a UNIFORM SIZE of at least 120K. IBM BPM does not explicitly prescribe the tablespace options; it relies on the default Oracle settings (such as AUTOALLOCATE) to automatically manage extents. If you use tablespaces with a UNIFORM SIZE less than 120K, create new tablespaces with the AUTOALLOCATE option and make it the default tablespace for IBM BPM database schema users.

      Note: The DBUpgrade command has two parameters that you can use to make table space updates or when you are working on a problem with the help of IBM Support. You can run DBUpgrade -generateSQLOnly to generate the SQL files without running them. You can then edit the generated SQL files manually and run the DBUpgrade command again with the -omitSQLGeneration parameter to upgrade the database using the modified files.
      Important: Removing required schema changes from the upgrade scripts can corrupt the database.
       
  14. For IBM BPM Advanced only: If you customized event sequencing, restore the install_root/properties/eventsequencing.properties file from the backup you made in step 5.
     
  15. Start the deployment manager server.
    • On Windows, go to the dmgr_profile_root\bin directory and run startManager.bat.
    • On Linux or UNIX, go to the dmgr_profile_root/bin directory and run startManager.sh.
      It takes time to complete the profile upgrade and run the BPMUpdateSystemApp and bootstrapProcessServerData commands when the server starts for the first time. This time can be significantly longer than the time it takes to normally start up. You can monitor the profile_root/properties/service/productDir/logs/runConfigActions.log file to see the activity that is in progress during the profile upgrade process. The result of each activity is logged with either INSTCONFSUCCESS or INSTCONFFAILED. If an IBM BPM activity failed, see Identifying and recovering from profile upgrade or toolkit upgrade errors.
      Notes:
    • The deployment manager profile is updated automatically during the first server startup after the fix is installed. The Java version for the deployment manager is switched to Java 8.
    • The Business Process Choreographer, Business Space, CommonDB, and Messaging Engine databases are not changed when you upgrade to V8.6.
       
  16. Check for and fix errors, as described in Identifying and recovering from profile upgrade or toolkit upgrade errors, before you continue.
     
  17. Update the web server plug-in.
    Some new web modules have been added to the product applications. These modules are mapped to the web server if the existing product applications are mapped. However, the plugin-cfg.xml file for the web server must be updated with the new associations. In some cases, you might have to manually move the file to the web server after it has been generated in IBM BPM. For more information, see the Plug-ins configuration documentation.
     
  18. Optional: When you upgrade from IBM BPM V8.5.0 or IBM BPM V8.5.5, a truststore for connections to IBM Blueworks Live (one per WebSphere cell, named BlueWorksLiveTrustStore) and a keystore for IBM BPM (one per IBM BPM deployment environment, named IBMBPMKeyStore-de_name) are added to the configuration. The truststore and the keystore use the same password as the WebSphere CellDefaultKeyStore initially. If the WebSphere default keystore is not found, then the documented WebSphere default keystore password is used. You are advised to assign separate passwords to the BlueWorksLiveTrustStore truststore and to the IBMBPMKeyStore-de_name keystore.
    Tip: In the administrative console, go to Security > SSL certificate and key management > Key stores and certificates. In Keystore usages, select All.
     
  19. Switch the Java edition that is used for the node and cluster members to Java 8. Repeat this step for each managed node of the deployment manager. For more information, read the WebSphere Application Server topic managesdk command.
    1. Make sure that the deployment manager is still running. Synchronize the managed node by running the syncNode command as shown in the following example:
      install_root/bin/syncNode.sh dmgrHostName.ibm.com 8879 -profileName Node1Profile -user AdminUser -password AdminPassword
      Use the deployment manager host name and SOAP port number for your environment.
    2. Run the managesdk -listAvailable command to display a list of all SDK names in your environment, as shown in the following example:
      install_root/bin/managesdk.sh -listAvailable
      Make sure that Java 8 is installed.
    3. To switch to Java 8, run the -enableProfile command from the bin directory of the IBM BPM installation that hosts the managed node, as shown in the following example:
      install_root/bin/managesdk.sh -enableProfile -profileName Node1Profile -sdkName 1.8_64 -user AdminUser -password AdminPassword -enableServers
    4. Synchronize the managed node by running the syncNode command again, for example:
      install_root/bin/syncNode.sh dmgrHostName.ibm.com 8879 -profileName Node1Profile -user AdminUser -password AdminPassword
      Use the deployment manager host name and SOAP port number for your environment.
    5. Validate the changes by running the managesdk -listEnabledProfileAll command as shown in the following example:
      install_root/bin/managesdk.sh -listEnabledProfileAll
      CWSDK1004I: Profile DmgrProfile :
      CWSDK1006I: PROFILE_COMMAND_SDK = 1.8_64
      CWSDK1008I: Node MyCellManager01 SDK name: 1.8_64
      CWSDK1009I: Server dmgr SDK name: 1.8_64

      CWSDK1004I: Profile Node1Profile :
      CWSDK1006I: PROFILE_COMMAND_SDK = 1.8_64
      CWSDK1008I: Node my-Node01 SDK name: 1.8_64
      CWSDK1009I: Server BPMDE.SingleCluster.Node01.0 SDK name: 1.8_64
      CWSDK1009I: Server nodeagent SDK name: 1.8_64
      CWSDK1001I: Successfully performed the requested managesdk task.
  20. For each managed node in the network deployment environment, complete the following steps:
    1. Start the node agent.
      • On Windows, go to the node_profile_root\bin directory and run startNode.bat.
      • On Linux or UNIX, go to the node_profile_root/bin directory and run startNode.sh.
        Note: The managed node profile is updated automatically during the first server startup after the fix is installed.
    2. Check for and fix errors, as described in Identifying and recovering from profile upgrade or toolkit upgrade errors, before you continue.
  21. Ensure that node synchronization is completed.
    Check the administrative console under System Administration > Nodes to confirm that node synchronization was successful. If there is a problem, use the syncNode command to perform synchronization.
     
  22. Review the optional Post-upgrade tasks for additional actions you might need to take. Make the changes and perform synchronization before restarting the clusters to avoid restarting the environment again after these changes.
     
  23. Use the Ripplestart option to start the single cluster or to start your three clusters in this sequence: Messaging, Application, and then Support. See Starting and stopping a cluster.
    Note: The Process Portal index is rebuilt on server restart. In the SystemOut.log file, look for the CWLLG0764I and CWLLG0765I messages that identify the start and completion of the index rebuild.
    Important: While the index is being rebuilt, the search facility in Process Portal is unavailable.
     
  24. After the IBM Process Center environment is upgraded, existing Process Designer users must follow the instructions for Updating desktop IBM Process Designer. Integration Designer users must apply interim fix JR58314.
     
  25. Your IBM BPM environment is now upgraded to V8.6. Perform any application validation testing you require at this time.

Upgrading stand-alone profiles for IBM Business Process Manager Express



To upgrade from IBM Business Process Manager Express V8.5.x to V8.6, follow the instructions to back up your profiles and Process Server database, install the IBM BPM V8.6 upgrade, upgrade your Process Server database, and restart your server.

Procedure
  1. Verify that your target environment - including hardware, operating systems, and database prerequisites - is a supported operating environment for IBM Business Process Manager V8.6. See IBM Business Process Manager Express system requirements.
    Important: The minimum DB2 level was increased to 9.7.0.5 in IBM BPM V8.5.6.0. If required, move to the new database version and make sure that IBM Business Process Manager is working correctly before you proceed with the upgrade.
     
  2. Stop all the Java™ processes associated with the IBM Business Process Manager (BPM) products that are being upgraded.
    1. Stop the server.
    2. Stop any other associated JVMs, such as the Profile Management Tool or the Quick Start console.
    3. If you have a Microsoft Windows service or another function that automatically restarts the servers when they are down, ensure that the service or function is disabled until the upgrade process is complete.
      Important: The product might not continue to run successfully if you install the fix when a Java process related to WebSphere Application Server is running.
       
  3. Back up your IBM BPM profiles. The V8.6 upgrade updates the core product files and all the existing profiles that require a maintenance update. Before you upgrade a product, run the backupConfig command to back up the configuration files of each profile. See Backing up and restoring administrative configuration files in the WebSphere Application Server product documentation.
    Important: If you need to restore a previous profile backup after running the steps to upgrade your profile, you must complete all the steps in Rolling back the IBM BPM environment. Otherwise, you will not be able to rerun the upgrade properly.
    Tip: You might also want to back up all the files that are mentioned in Backing up IBM Installation Manager agent data and shared files for recovery with IBM Business Process Manager (BPM), and your IBM BPM installation and profile directories. If you are applying patches to other products installed with Installation Manager, be sure to take backups of those as well. This data is not required for a normal rollback. However, if you have an Installation Manager failure or a problem that corrupts the file system data, you will need these files to recover from it. Having either a full file system backup or all of these directories ensures that you can roll back to a consistent state for all products that were installed with Installation Manager.
     
  4. Back up all databases associated with this IBM BPM environment.
    Important: Make a backup of your databases at the same time as you make the profile backup.
     
  5. During the upgrade, Process Portal content and snapshots can be updated. For information about the improved Process Portal application that was introduced in IBM BPM V8.5.7, see Process Portal: What's New in IBM Business Process Manager V8.5.7. The Process Portal application for IBM BPM V8.5.6 and earlier is now referred to as Heritage Process Portal.
    Note: If you need to use the Heritage Process Portal while training users for the new Process Portal, use the /HeritagePortal context root instead of the /ProcessPortal context root.
     
    1. Customization that you applied to the Process Portal deployed as a snapshot must be redone on the latest version after you update your environments. For example, Setting up collaboration features for business users for Heritage Process Portal.
       
    2. Customization to the Process Portal or Heritage Process Portal mentioned in Customizing and rebranding interfaces can be overwritten. Make a local copy of your changes before you upgrade or keep a record of your modifications. After the upgrade, perform any needed customization using the updated application content. If you used the BPMUpdateTheme task to apply a custom theme, you will have to run the BPMUpdateTheme task again to re-apply the custom theme after you finish the upgrade.
  6. Install the V8.6 upgrade onto the stand-alone installation interactively or silently:
  7. If you installed Java 8 after you installed IBM BPM (not before, and not at the same time), you must run the following additional two commands:
    • On Windows:
      install_root\bin\managesdk.bat -setCommandDefault -sdkname 1.8_64
      install_root\bin\managesdk.bat -setNewProfileDefault -sdkname 1.8_64
    • On Linux or UNIX:
      install_root/bin/managesdk.sh -setCommandDefault -sdkname 1.8_64
      install_root/bin/managesdk.sh -setNewProfileDefault -sdkname 1.8_64
       
  8. Oracle and SQL Server database JDBC drivers that previously came with IBM BPM have been removed. You must reconfigure your drivers if you were using these default drivers or drivers located in the ${WAS_INSTALL_ROOT}/jdbcdrivers/Oracle or ${WAS_INSTALL_ROOT}/jdbcdrivers/SQLServer directories. Follow the instructions in Configuring JDBC drivers.
    Important:
    • Do not restart the deployment environment as instructed in Step 7. Ensure the environment remains stopped through this procedure.
    • For Oracle databases, during the upgrade, ensure you have included JDBC drivers for the Java 8 version in the custom directory.
    • For SQL Server databases, you must apply the IBM BPM interim fix JR59388 before you run the DBUpgrade command in the next step.

      After configuring the JDBC drivers, run the following command to switch your default profile to Java 8 before you run DBUpgrade:
      managesdk.bat/sh -enableProfile -profileName profile_name -sdkName sdk_name -enableServers
      See the managesdk command for instructions.
       
  9. Optional: Run the DBUpgrade -validate command to make sure that your configured database user has sufficient permissions to upgrade the database.
    • On Windows: install_root\bin\DBUpgrade.bat -validate -profileName stand-alone_profile -bpmSchemaAdminUser bpmSchemaAdminUser -bpmSchemaAdminPassword bpmSchemaAdminPassword
    • On Linux or UNIX: install_root/bin/DBUpgrade.sh -validate -profileName stand-alone_profile -bpmSchemaAdminUser bpmSchemaAdminUser -bpmSchemaAdminPassword bpmSchemaAdminPassword

      where bpmSchemaAdminUser is a database user with permission to read the database catalog tables for both the Process Server and Process Data Warehouse databases. See DBUpgrade command-line utility.
       
  10. Run one of the following commands to upgrade your database.
    • On Windows: install_root\bin\DBUpgrade.bat
      -profileName
      stand-alone_profile
    • On Linux or UNIX: install_root/bin/DBUpgrade.sh  -profileName stand-alone_profile

      Important: Make sure that the DBUpgrade command has finished successfully before you move to the next step. The log is saved in profile_root/logs/DBUpgrade_timestamp.log. Check the log for errors or exceptions. If running DBUpgrade was unsuccessful, correct the errors and restore your databases from the backup before running the command again.

      Tip: If you are using Oracle, you might see an error similar to the following error:
      Executing upgrade step: Upgrade 8.5.0 schema to 8.6.0.0 for database ProcessServerDatabase.
      Error executing SQL statement: ORA-60019: Creating initial extent of size 14 in tablespace of extent size 8

      On Oracle, IBM Business Process Manager stores large objects (LOBs) with the SECUREFILE option. For SECUREFILE, it is recommended to use a tablespace with the AUTOALLOCATE option. If you use UNIFORM SIZE extents, ensure that the UNIFORM SIZE is big enough. Given the default block size of 8K, specify a UNIFORM SIZE of at least 120K. IBM BPM does not explicitly prescribe the tablespace options; it relies on the default Oracle settings (such as AUTOALLOCATE) to automatically manage extents. If you use tablespaces with a UNIFORM SIZE less than 120K, create new tablespaces with the AUTOALLOCATE option and make it the default tablespace for IBM BPM database schema users.

      Note: The DBUpgrade command has two parameters that you can use to make table space updates or when you are working on a problem with the help of IBM Support. You can run DBUpgrade -generateSQLOnly to generate the SQL files without running them. You can then edit the generated SQL files manually and run the DBUpgrade command again with the -omitSQLGeneration parameter to upgrade the database using the modified files.
      Important: Removing required schema changes from the upgrade scripts can corrupt the database.
       
  11. For each stand-alone profile in the IBM BPM Express installation, start the stand-alone application server. It takes time to complete the profile upgrade and run the BPMUpdateSystemApp and bootstrapProcessServerData commands when the server starts for the first time. This time can be significantly longer than the time it takes to normally start up. You can monitor the profile_root/properties/service/productDir/logs/runConfigActions.log file to see the activity that is in progress during the profile upgrade process. The result of each activity is logged with either INSTCONFSUCCESS or INSTCONFFAILED. If an IBM BPM activity failed, see Identifying and recovering from profile upgrade or toolkit upgrade errors.
    Notes:
    • The stand-alone profile is updated automatically during the first server startup after the fix is installed. The Java version for the server is switched to Java 8.
    • The Business Space and Messaging Engine databases are not changed when you upgrade to V8.6.
    • The Process Portal index is rebuilt on server restart. In the SystemOut.log file, look for the CWLLG0764I and CWLLG0765I messages that identify the start and completion of the index rebuild.
      Important: While the index is being rebuilt, the search facility in Process Portal is unavailable.
       
  12. Check for and fix errors, as described in Identifying and recovering from profile upgrade or toolkit upgrade errors, before you continue.
     
  13. Update the web server plug-in.
    Some new web modules have been added to the product applications. These modules are mapped to the web server if the existing product applications are mapped. However, the plugin-cfg.xml file for the web server must be updated with the new associations. In some cases, you might have to manually move the file to the web server after it has been generated in IBM BPM. For more information, see the Plug-ins configuration documentation.
     
  14. Optional: When you upgrade from IBM BPM V8.5.0 or IBM BPM V8.5.5, a truststore for connections to IBM Blueworks Live (one per WebSphere cell, named BlueWorksLiveTrustStore) and a keystore for IBM BPM (one per IBM BPM deployment environment, named IBMBPMKeyStore-de_name) are added to the configuration. The truststore and the keystore use the same password as the WebSphere NodeDefaultKeyStore initially. If the WebSphere default keystore is not found, then the documented WebSphere default keystore password is used. You are advised to assign separate passwords to the BlueWorksLiveTrustStore truststore and to the IBMBPMKeyStore-de_name keystore.
    Tip: In the administrative console, go to Security > SSL certificate and key management > Key stores and certificates. In Keystore usages, select All.
     
  15. Review the optional Post-upgrade tasks for additional actions you might need to take. Make the changes and restart the stand-alone server to pick up these changes.
     
  16. After the IBM Process Center environment is upgraded, existing Process Designer users must follow the instructions for Updating desktop IBM Process Designer. Integration Designer users must apply interim fix JR58314.
     
  17. Your IBM BPM environment is now upgraded to V8.6. Perform any application validation testing you require at this time.

Identifying and recovering from profile upgrade or toolkit upgrade errors


Use the following information to check for the success of the upgrade commands. In IBM BPM Advanced or IBM BPM Standard, these commands are run during deployment manager startup and update all deployment environments at once. Profile upgrade is also run during the startup of each managed node. In IBM BPM Express, these commands are run during stand-alone server startup.
In the log locations, profile_root is the root directory of the server that is starting up, either the deployment manager profile or managed node profile (for IBM BPM Advanced or IBM BPM Standard) or the stand-alone profile (for IBM BPM Express).
  • Profile upgrade
    Log location: profile_root/logs/BPMConfig_timestamp.log
    Success message:  'The BPMConfig.bat -upgrade -profile <profilePath>' command completed successfully.
  • bootstrapProcessServerData command
    Log location: profile_root/logs/bootstrapProcessServerData.log
    Success message: The bootstrapping of data completed successfully
  • BPMUpdateSystemApp command
    Log location: profile_root/logs/BPMUpdateSystemApp_timestamp.log
    Success message: execute Cumulative BPMUpdateSystemApp completed successfully.

If not all of these log files exist, check the log files under profile_root /properties/service/productDir for error messages.

Recovering from startup errors

When you start the server for the first time after you install the upgrade, you might see an error message similar to the following message:

runConfigActions script execution failed. Exit code: 1
Exception caught while waiting for runConfigActions script to complete:
 

This error message indicates that a profile upgrade or toolkit upgrade error occurred. Take these actions:
  1. Check the profile upgrade log and confirm that the commands completed successfully.
    If the commands did not run successfully, note the errors and review them to see if they explain the failure.
  2. Check the bootstrapProcessServerData command log and confirm that the command completed successfully.
    Note: For managed nodes, the bootstrapProcessServerData command is not run during node startup.
    If the command did not run successfully, note the errors and review them to see if they explain the failure.
  3. Check the BPMUpdateSystemApp command log and confirm that the command completed successfully.
    Note: For managed nodes, the BPMUpdateSystemApp command is not run during node startup.
    If the command did not run successfully, note the errors and review them to see if they explain the failure.
  4. Search the IBM BPM support site for possible reasons for the failure. Engage IBM support if you cannot find a solution.
  5. Once the issue is resolved, restart the failing server to trigger another attempt of the upgrade step.


Known issues:
  • If the bootstrapProcessServerData command fails with a NoClassDefFoundError or a NoSuchMethodError , make sure there are no IBM BPM product JAR files in install_root/lib/ext other than these four files:
    bpm.security.tai.jar
    jcrypt.jar
    ssi4bpm-server.jar
    wp.auth.tai.jar
  • If you are using a DB2 database and the bootstrapProcessServerData command fails with the error DB2 SQL Error: SQLCODE=-1476, SQLSTATE=40506, SQLERRMC=-964, you must increase the default log file size using the following SQL statement (where @DB_NAME@ specifies the name of your Process Server database):
    UPDATE DB CFG FOR @DB_NAME@ USING LOGFILSIZ 16384 DEFERRED;
    After you have run the SQL statement, restart the deployment manager or stand-alone server.
  • If you are upgrading multiple deployment environments, you might encounter an out-of-memory error when the bootstrapProcessServerData command is run. To solve this problem, increase the maximum heap size in the script install_root/BPM/Lombardi/tools/bootstrapProcessServerData.sh. Then restart the deployment manager or run the bootstrapProcessServerData command again. Note that bootstrapProcessServerData.sh should be updated for UNIX or Linux, but bootstrapProcessServerData.bat should be updated for Windows.
  • When you run the BPMConfig.sh -upgrade -profile command while upgrading to IBM® Business Process Manager V8.6, you might see a UTLS0005W message. The warning message is similar to the following text:
    [com.ibm.ws.runtime.InstalledOptionalPackageRepository/WARNING]: UTLS0005W: The MANIFEST attributes for an Installed Optional Package in shared library IBM_BPM_Process_Server_Shared_Library conflict with and will override those within the MANIFEST attributes of shared library IBM_BPM_Process_Server_Shared_Library.
    This warning can safely be ignored.

Rolling back the IBM BPM environment


If you updated the profiles with the V8.6 upgrade, multiple steps are needed to roll back the changes. Otherwise, your environment can become out of sync and not function properly.
Note: The IBM BPM environment will return to the state it was in before the upgrade was installed. Any work done after installing the upgrade is lost and might need to be redone.

Rolling back the upgrade requires that you successfully took a backup of your profiles and IBM BPM databases before you upgraded.

Important: Unless you restore the profiles and databases from backup, profiles might not be usable after you roll back the upgrade.

Procedure

To roll back the V8.6 upgrade and restore the profiles, complete the following steps:
  1. Ensure that you have EAR files for any applications that you installed since you ran the backupConfig command. Make note of any changes you made after backing up the profiles. Also, ensure that you have .zip files for offline deployment and the .twx files for online deployment for all process applications and toolkits that you deployed since you backed up the Process Server database.
     
  2. Stop all the Java processes associated with the IBM BPM products being rolled back.
    1. Stop the single cluster or the three clusters in the following order: Support, Application, and then Messaging.
    2. Stop any other servers, the node agents, and then the deployment manager.
    3. Stop any other associated JVMs, such as the Profile Management Tool or the Quick Start console.
    4. If you have a Windows service or another function that automatically restarts the servers when they are down, ensure that the service or function is disabled until the upgrade process is complete.
       
  3. Roll back the default Java setting and uninstall IBM WebSphere SDK Java Technology Edition Version 8.0 (Java 8).
    1. Run the managesdk -listAvailable command to display a list of all SDK names in your environment.
      install_root/bin/managesdk.sh -listAvailable
    2. Switch the Java edition that is used for the command-line environment and all future profiles back to your previous version, by running the following two commands. Do not specify 1.8_64.
      install_root/bin/managesdk.sh -setCommandDefault -sdkName 1.7_64 (or 1.6_64)
      install_root/bin/managesdk.sh -setNewProfileDefault -sdkName 1.7_64 (or 1.6_64)
    3. Uninstall IBM WebSphere SDK Java Technology Edition Version 8.0 (Java 8).
       
  4. If your custom JDBC driver location is install_root/jdbcdrivers/database_product, you must remove the database_product directory before you roll back.
     
  5. Roll back the upgrade fix using the Installation Manager. See Rolling back the installation for instructions.
     
  6. Restore the backup of all your IBM BPM environment databases.
     
  7. Run the restoreConfig command for each profile.
     
  8. Run one of the following commands to clear the OSGi configuration area:
    On Windows: install_root\bin\osgiCfgInit.bat -all
    On Linux or UNIX: install_root/bin/osgiCfgInit.sh -all

    Otherwise, the OSGi cache might still refer to IBM BPM classes from the version that was installed before the rollback, which can cause problems in the rolled back (old) environment. 

    After you roll back, if you see an error when running the servicedeploy command, you can fix it by running the following script:
    install_root/serviceDeploy/clearServiceDeployCfg
    Running this script with no parameters fixes the error.
     
  9. If you rolled back to a version earlier than V8.5.6 (V8.5.0.x or V8.5.5), then, before you can start the deployment environment, you must define a JVM argument for the WebSphere server JVMs that run Business Space.
     
    • If you upgraded from IBM BPM Advanced or IBM BPM Standard, in the administrative console, go to Servers > Server Types > WebSphere application servers. For each IBM BPM application cluster member, perform the following steps:
      1. In the Name column, select the server link.
      2. In the Server Infrastructure section, expand Java and Process Management and select Process definition.
      3. In the Additional Properties section, select Java Virtual Machine.
      4. If "-Declipse.bundle.setTCCL=false" is not shown among the existing entries in the Generic JVM arguments field, add it to any existing entries and save your changes
      5. Synchronize your changes to the managed nodes,
         
    • If you are running IBM BPM Express, perform the following steps:
      1. Go to the stand-alone profile root. Run:
        wsadmin -lang jython -connType none
      2. In the wsadmin command window, run the following command to select the server that you need to update:
        wsadmin>AdminTask.listServers('[-serverType APPLICATION_SERVER ]')
      3. Substituting the correct node name and server name, run the following command to show the current JVM properties for the server that you need to update:
        wsadmin>AdminTask.showJVMProperties('[-nodeName Node1 -serverName server1]')
      4. If "-Declipse.bundle.setTCCL=false" is not shown among the existing entries in the Generic JVM arguments field, add it to any existing entries and run a command like the following, substituting the correct node name and server name:
        wsadmin>AdminTask.setJVMProperties('[-nodeName Node1 -serverName server1 -verboseModeClass false -verboseModeGarbageCollection true -verboseModeJNI false -initialHeapSize 768 -maximumHeapSize 2048 -runHProf false -hprofArguments  -debugMode false -debugArgs "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7779" -executableJarFileName  -genericJvmArguments "${IBMSCMX} ${IBMGCPOLICY_GENCON} ${IBMJITPMC} -Xss2048k -Dsun.net.http.allowRestrictedHeaders=true  -Xdisableexplicitgc -Declipse.bundle.setTCCL=false" -disableJIT false]')
      5. Save your changes.
        wsadmin>AdminConfig.save()
         
  10. Switch the Java edition that is used for existing profiles back to your previous version.
    1. Run the managesdk -listAvailable command to display a list of all SDK names in your environment.
      install_root/bin/managesdk.sh -listAvailable
    2. Switch the SDK version for the deployment manager profile or stand-alone profile by running the following command. Do not specify 1.8_64.
      install_root/bin/managesdk.sh -enableProfile -profileName DmgrProfile -sdkName 1.7_64 (or 1.6_64)  -enableServers
    3. In a network deployment environment, complete the following steps:
      1. Start the deployment manager.
      2. Synchronize the managed nodes by running the syncNode command.
      3. Run the -enableProfile command from the bin directory of the IBM BPM installation that hosts the managed node.
        managesdk.sh -enableProfile -profileName Node1Profile -sdkName 1.7_64 (or 1.6_64) user AdminUser -password AdminPassword -enableServers
      4. Synchronize the managed nodes by running the syncNode command again.
      5. Validate the changes by running the managesdk -listEnabledProfileAll command.
         
  11. Start your IBM BPM environment. For IBM BPM Express, start the IBM BPM application server.
    For IBM BPM Advanced or Standard:
    1. Start the deployment manager and each node agent.
    2. Start the single cluster or the three clusters in the following order: Messaging, Application, and then Support.

      The environment is now rolled back to its previous state.
       
  12. Reinstall needed applications or snapshots, and redo any other applicable configuration changes that you made since you ran the backupConfig command.

Additional information




You can find additional information on any of these topics in the IBM Business Process Manager product documentation.

Trademarks and service marks




For trademark attribution, visit the IBM Terms of Use Web site.


Cross reference information
Product Component Platform Version Edition
IBM Business Process Manager Advanced Installation / Configuration AIX, Linux, Solaris, Windows, z/OS 8.5.7.CF201706, 8.5.7.CF201703, 8.5.7.CF201612, 8.5.7.CF201609, 8.5.7.CF201606, 8.5.7, 8.5.6.2, 8.5.6.1, 8.5.6, 8.5.5
IBM Business Process Manager Standard Installation / Configuration AIX, Linux, Solaris, Windows 8.5.7.CF201706, 8.5.7.CF201703, 8.5.7.CF201612, 8.5.7.CF201609, 8.5.7.CF201606, 8.5.7, 8.5.6.2, 8.5.6.1, 8.5.6, 8.5.5
IBM Business Process Manager Express Installation / Configuration Linux, Windows 8.5.7.CF201706, 8.5.7.CF201703, 8.5.7.CF201612, 8.5.7.CF201609, 8.5.7.CF201606, 8.5.7, 8.5.6.2, 8.5.6.1, 8.5.6, 8.5.5

Product Alias/Synonym

BPM

Document information

More support for: IBM Business Process Manager

Component: Upgrade

Software version: 8.6.0.0

Operating system(s): Platform Independent

Software edition: IBM Business Process Manager Server, IBM Business Process Manager Server Express

Reference #: 7050085

Modified date: 28 May 2019