Deploying BusinessConnect Container Edition Component's Docker Images

Perform the following steps to deploy BusinessConnect Container Edition docker images.

  1. Download the deployment package TIB_bcce-deployment_<version>.tar.gz from TIBCO Community site.
  2. Extract the content of the package to a folder.
  3. Navigate to <folder>/bcce-deployment_<version>/config folder.
  4. Open the deployment.properties file and configure the following properties:
    Deployment Properties
    Property Description
    docker_repository=<docker_registry_ip>:<docker_registry_port> <docker_registry_ip> is the IP address and <docker_registry_port> is the port of the machine in which you want to push the docker images.
    docker_username Specify the user name of the docker login.
    host_ip=<host_ip> <host_ip> is the IP address of the host machine.
    database_url=jdbc:mysql://<database_machine_ip>:3306/<database_name> <database_machine_ip> is the IP address of the machine where the database resides.

    <database_name> is the name of database.

    database_username=<username> <username> is the name of the user accessing the database.
    database_password=<password> <password> is the password to access the database.
    gstoken_unzip=<gstoken_unzip> <gstoken_unzip> is the directory path where you should extract the contents of GSToken.zip.
  5. Save and close the deployment.properties file.
    Note: Before you deploy docker images, if you are using MySQL 5.7.x and above versions, then add skip_ssl and set max_allowed_packet to 500M in the my.ini file under [mysqld] section .
  6. Do one of the following:
    • For Kubernetes - Navigate to <folder>/bcce-deployment-<version>/scripts and run the following command:

      ./deploy-bcce.sh

    • For Docker - Navigate to <folder>/bcce-deployment-<version>/samples/docker-scripts and run the following command:

      ./docker-run-bcce-all.sh

    A message - You must accept the License agreement before proceeding. Press ENTER key to read the License. Press q to finish reading. is displayed.

  7. Press ENTER key to read the license agreement. Press q to finish reading.
  8. Enter y to accept the license agreement.

    A message - Do you want to deploy TIBCO BCCE Server services?

    1. ConfigStore Management Server

    2. Admin Server

    (y/n) is displayed.
  9. Enter y to deploy ConfigStore Management Server and Admin Server.
  10. Before you deploy Poller Server and Interior Server, you must set the JMS server settings by performing the following steps:
    1. Login to BusinessConnect Container Edition with URL http://<host_ip>:<as_port>.
      Note: <host_ip> and <as_port> that you have set in deployment.properties file.
    2. Navigate to System Settings tile > General, click Internal Messaging (JMS).
    3. Click Private Process JMS and enter all the mandatory fields and click Save.
    4. Click Intercomponent JMS and enter all the mandatory fields and click Save.
    5. Optional: If you want to use different JMS between Gateway Server and Interior Server.
      1. Click Intercomponent DMZ-JMS (Optional) and enter all the mandatory fields and click Save.

      For more information, see TIBCO BusinessConnect™ Container Edition Administration Guide, Configuring JMS Settings.

  11. A message - Do you want to deploy TIBCO BCCE Server services?

    3. Poller Server

    4. Interior Server

    (y/n) is displayed.
  12. Enter y to deploy Poller Server and Interior Server.
  13. Before you deploy Gateway Server, you must perform the following steps:
    1. On System Settings tile > General, click Installation Properties.
    2. Click Export GS configuration to download GSToken.zip, which contains intercomProps, hostKey and peerCert files that are required to deploy Gateway Server.
    3. Extract the contents of GSToken.zip to <gstoken_unzip>.
      Note: <gstoken_unzip> that you have set in deployment.properties file.
    4. On System Settings tile > Transport Protocols, click Inbound Protocols.
    5. Select HTTP check box and click Save.
    6. Click Configure Service of HTTP, click add icon and enter all the mandatory fields then click Save.
      Note: Default Gateway Service Name is set as http in deployment.properties file. If you want to use any other Gateway Service Name then you must set <service name> for gs_services=HTTP:<service name> in deployment.properties file.
    7. Enable the http gateway service.

    For more information, see TIBCO BusinessConnect™ Container Edition Administration Guide, Configuring Gateway Services (HTTP).

  14. A message - Do you want to deploy TIBCO BCCE Gateway Server services?

    Please make sure that you have downloaded the GSToken.zip from Admin UI, extracted it in a folder and set the property gstoken_unzip in the deployment.properties file.

    Otherwise, the Gateway Server won't work.

    (y/n) is displayed.
  15. Enter y to deploy Gateway Server.