Upgrading the Sterling B2B Integrator Docker container

You can use a docker container to upgrade to either a Mod Pack or a Fix Pack release.

You must complete all the prerequisite tasks specified. For more information, see Prerequisites for installing Sterling B2B Integrator Docker container.

If you are creating adapter containers, you must install IBM MQ before you create the adapter containers. You must also configure the properties for IBM MQ in the setup.cfg file. For more information, see Configuring the B2Bi container.

Ensure that the following items are saved on each node.
Note: All items must be saved in the same folder <local dir>.
  • The downloaded Sterling B2B Integrator Docker image.
  • The database driver jar file.
  • The setup.cfg file.
  • JCE Policy(Optional)
  • IBM MQ keys(Optional)
  • Liberty keys(Optional)

For information about Docker deployment parameters, see Docker deployment parameters.

Download the latest release of the Docker image from IBM Passport Advantage. For more information, see Downloading the Docker image from Passport Advantage.

You can upgrade to a Mod Pack or a Fix Pack release depending on your requirement.
Note: The steps to upgrade to a Mod Pack or to a Fix Pack remain the same, except that the upgrade to the database is not required for a Fix Pack.

You can upgrade Sterling B2B Integrator either one node at a time or bring down the entire cluster.

The system does not impact the functioning of the cluster when you install the pack one node at a time. This avoids any interruption to the transactions and trading partners. But, if you stop the complete cluster, there is a downtime during which the transactions cannot be processed. You must decide the type of update based on your requirement.

  1. Stop a single node or the Docker container in the cluster. Run the following docker command:
    docker stop -t=<value in seconds> <Container ID/Name>
  2. Remove the current docker container.
    docker rm <Container ID/Name>
  3. Create and start a new Docker container with the latest Docker image with the same node number and Docker deployment parameters.
    docker run -e LICENSE="accept" -e KEY=<key> -e TZ=<Time Zone> -d --name=<container name> --net=host 
    -v <local dir>:/ibm/resources <image-id> b2bi_run all <node number> 

    For information about Docker deployment parameters, see Docker deployment parameters.