Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page walks you through the process of upgrading to BRS 2.2.0 from a previous BRS versionBRS 2.1.0. Go to the required tab for step by step instructions based on the upgrade you need to perform. For more information on release versions, see the Release Matrix.

Note

You cannot roll back the upgrade process. However, it is possible to restore a backup of the previous database so that you can restart the upgrade progress.

Preparing to upgrade

The following prerequisites need to be completed before upgrading.

...

Info

The downtime is limited to the time taken for switching databases in the production environment.

Upgrading the database

The instructions in this section describe how you can perform a data migration to upgrade the 2.1.0 database for use in BRS 2.2.0.

...

Once you run the migration scripts on the new database, it becomes the upgraded database for BRS 2.2.0.

Migrating the configurations

Follow the procedure below to migrate configurations from BRS 2.1.0 to BRS 2.2.0.

  1. Check the configurations in the following files in BRS 2.1.0, and apply same configurations in BRS 2.2.0 manually. 

    Note

    Configurations should not be copied directly from BRS 2.1.0 to BRS 2.2.0 because the configuration files have new properties added to them as well as obsolete properties removed from them between the two releases.

    Configuration FileLocation
    axis2.xml<BRS_HOME>/repository/conf/axis2
    axis2_client.xml<BRS_HOME>/repository/conf/axis2
    carbon.xml<BRS_HOME>/repository/conf
    master-datasources.xml<BRS_HOME>/repository/conf/datasources
    identity.xml<BRS_HOME>/repository/conf
    log4j.properties<BRS_HOME>/repository/conf
    registry.xml<BRS_HOME>/repository/conf
    cipher-text.propertiescatalina-server.xml<BRS_HOME>/repository/conf/tomcat
    web.xml<BRS_HOME>/repository/conf/securitytomcat
  2. If the Cipher tool was configured for BRS 2.1.0, check the configurations in the following files and apply the same changes in BRS 2.2.0 manually.

    toolcatalinaserverxmltomcat<BRS
    Configuration FileLocation
    cipher-text.properties<BRS_HOME>/repository/conf/security
    cipher-tool.properties<BRS_HOME>/repository/conf/web.xmlsecurity
  3. Check the configurations in the other files located in the <BRS 2.1.0_HOME>/repository/conf/tomcat directory and apply the same changes to BRS 2.2.0 manually.
  4. If there are any third party libraries used with BRS 2.1.0 that you want to migrate, copy the following directories as applicable from BRS 2.1.0 to BRS 2.2.0: 
    • If you have used JMS libraries, JDBC libraries etc, copy <BRS_HOME>/repository/components/lib.
    • If you have used OSGi bundles such as SVN kit etc, copy <BRS_HOME>/repository/components/dropins.
  5. Start the BRS 2.2.0 server. For more information, see Running the Product.

Migrating artifacts

You should manually deploy Composite Application Archive (CAR) files that you have in BRS 2.1.0 to BRS 2.2.0. For more information, see Creating and Deploying Carbon Applications.

Info
titleNote

 To migrate deployment artifacts:

  • Copy the <BRS_HOME>/repository/deployment/server directory from BRS 2.1.0 to BRS 2.2.0.
  • If multi-tenancy is used, copy the <BRS_HOME>/repository/tenants directory from BRS 2.1.0 to BRS 2.2.0.

Testing the upgrade

  1. When the database upgrade scripts are executed, the following are some of the new tables that will be created in the database:
    • UM_DOMAIN
    • UM_SYSTEM_USER
    • UM_SYSTEM_ROLE
    • UM_SYSTEM_USER_ROLE
  2. Verify that all the required scenarios are working as expected. This confirms that the upgrade is successful.