This documentation is for WSO2 Enterprise Integrator version 6.5.0 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc
||
Skip to end of metadata
Go to start of metadata

This page walks you through the process of upgrading to WSO2 Enterprise Integrator (WSO2 EI) 6.5.0 from WSO2 Data Services Server (WSO2 DSS) 3.5.1.

Before you begin, note the following:

  • If you are upgrading from a version older than WSO2 DSS 3.5.1, you should first upgrade to WSO2 DSS 3.5.1 and then upgrade to WSO2 EI 6.5.0.
  • For information on what is new in this release and why you should upgrade, see About this Release.
  • See Default ports of WSO2 Products for more information on ports. The default ports in WSO2 EI are listed under Enterprise Integrator.
  • The distribution folder structure has changed from WSO2 DSS 3.5.1 to WSO2 EI 6.5.0.

     Comparing Folder Structures: WSO2 DSS 3.5.1 and WSO2 EI 6.5.0
    Data Service Server 3.5.1Enterprise Integrator 6.5.0
    <DSS_HOME>/repository/conf<EI_HOME>/conf
    <DSS_HOME>/repository/conf/axis2<EI_HOME>/conf/axis2
    <DSS_HOME>/repository/conf/datasources<EI_HOME>/conf/datasources
    <DSS_HOME>/repository/components/dropins<EI_HOME>/dropins
    <DSS_HOME>/repository/components/extensions<EI_HOME>/extensions
    <DSS_HOME>/repository/components/lib<EI_HOME>/lib

See the following topics for instructions:

Preparing to upgrade

The following prerequisites must be completed before upgrading:

  • Create a backup of the databases in your WSO2 DSS 3.5.1 instance.
  • Copy the <DSS_HOME> directory to back up the product configurations.
  • Download the product installer from here, and install WSO2 EI 6.5.0.
    Let's call the installation location of your product the <EI_HOME> directory.

    If you installed the product using the installer, this is located in a place specific to your OS as shown below:

    OSHome directory
    Mac OS/Library/WSO2/EnterpriseIntegrator/6.5.0
    WindowsC:\Program Files\WSO2\EnterpriseIntegrator\6.5.0\
    Ubuntu/usr/lib/wso2/EnterpriseIntegrator/6.5.0
    CentOS/usr/lib64/EnterpriseIntegrator/6.5.0

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

Upgrading the database

In WSO2 EI 6.5.0, you can use the same database that you used for WSO2 DSS 3.5.1. Therefore, you can simply restore the backup of the existing databases to use with WSO2 EI 6.5.0.

Migrating configurations

 Do not copy configuration files directly between servers. Instead, update the files manually.

To migrate all the required folders, files, libraries, etc. from WSO2 DSS 3.5.1 to WSO2 EI 6.5.0:

  1. Copy the database connector JAR files stored in the <DSS_HOME>/repository/components/lib directory to the <EI_HOME>/lib directory.
  2. Copy the keystores and truststores from the <DSS_HOME>/repository/resources/security directory to the <EI_HOME>/repository/resources/security directory in WSO2 EI 6.5.0.
  3. If you have secondary user stores created for WSO2 DSS 3.5.1, you need to copy the 'userstore' folder in the <DSS_HOME>/repository/deployment/server/ directory to the same directory in WSO2 EI 6.5.0.
  4. If there are any third-party libraries used with WSO2 DSS 3.5.1 that you want to migrate, copy the relevant libraries to WSO2 EI 6.5.0: 
    • If you have used JMS libraries, JDBC libraries, etc., copy the files from <DSS_HOME>/repository/components/lib directory to the <EI_HOME>/lib directory.
    • If you have used OSGi bundles such as SVN kit etc., copy the contents of <DSS_HOME>/repository/components/dropins directory to the <EI_HOME>/dropins directory.

To migrate the configuration files from WSO2 DSS 3.5.1 to WSO2 EI 6.5.0:

  1. Update the configuration files with information of the migrated keystores and truststores. See Configuring Keystores in WSO2 products for more information.
  2. Go to the <EI_HOME>/conf/datasources directory and update the Carbon datasource configuration in the master-datasources.xml file with the details of the Carbon database. For instructions, see Changing the Carbon Database and select your database type.
  3. Go to the <EI_HOME>/conf directory and update the datasource references in the user-mgt.xml and registry.xml files to match the updated configurations in the master-datasources.xml file. The instructions are available in Changing the Carbon Database.

  4. Check for any configurations that were done for WSO2 DSS 3.5.1 based on your solution. For example, update the following configurations in WSO2 EI 6.5.0 accordingly:

    1. axis2.xml

    2. axis2_client.xml

    3. carbon.xml

    4. Check the configurations related to external user stores, caching, mounting, transports, etc.

Migrating artifacts

  • To migrate the data service artifacts, copy the <DSS_HOME>/repository/deployment/server/dataservices directory of WSO2 DSS 3.5.1 to WSO2 EI 6.5.0.
  • If you have custom artifacts created in the <DSS_HOME>/repository/deployment/server/ directory, copy them to the same directory in WSO2 EI 6.5.0.
  • If multitenancy is used, copy the tenant directory packages from the <DSS_HOME>/repository/tenants directory to the same directory in WSO2 EI 6.5.0

Starting the server

Once you have completed the migration, you can start the ESB profile of WSO2 EI. For details see Running the Product.

  • No labels