Deploying BusinessConnect Container Edition Component's Docker Images
Perform the following procedure to deploy BusinessConnect Container Edition Docker images.
- Download the deployment package TIB_bcce-deployment_<version>.tar.gz from the public github repository.
- Extract the content of the package to a folder.
- Navigate to <folder>/bcce-deployment_<version>/config folder.
- 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.
Specify the CMS database details under the database properties in the
deployment.propertiesfile.database_username=
<username><username>is the name of the user accessing the database.database_password= <password><password>is the password to access the database.aus_database_url=jdbc:mysql://<database_machine_ip>:3306/<aus_database_name><database_machine_ip> is the IP address of the machine where the AUS database resides.
<aus_database_name> is the name of AUS database.
aus_database_username=<database_username><database_username>is the name of the user accessing the AUS database.aus_database_password=<database_password><database_password>is the password to access the AUS database.gstoken_unzip= <gstoken_unzip><gstoken_unzip>is the directory path where you should extract the contents of GSToken.zip. - Save and close the
deployment.properties file.
Note: Before you deploy Docker images, if you are using MySQL 5.7.x or above versions, then in the my.ini file under [mysqld] section, add skip_ssl and set max_allowed_packet to 500M.
-
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. - For Kubernetes - Navigate to
<folder>/bcce-deployment-<version>/scripts and run the following command:
- Press ENTER key to read the license agreement. Press q to finish reading.
-
Enter y to accept the license agreement.
Two messages are displayed:
Do you want to deploy TIBCO Auth Server service?
(y/n)
Do you want to deploy TIBCO BCCE Server services?
1. ConfigStore Management Server
2. Admin Server
- Enter y to deploy Auth Server, ConfigStore Management Server, and Admin Server.
- Before you deploy Poller Server and Interior Server, you must set the JMS server settings by performing the following procedure:
- Log in to BusinessConnect Container Edition using the following URL:http://<host_ip>:<as_port>.
Note: Use the <host_ip> and <as_port> that you have set in the deployment.properties file.
- Navigate to System Settings tile > General, click Internal Messaging (JMS).
- Click Private Process JMS and enter all the mandatory fields and click Save.
- Click Intercomponent JMS and enter all the mandatory fields and click Save.
- Optional: To use different JMS between Gateway Server and Interior Server, 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.
- Log in to BusinessConnect Container Edition using the following URL:http://<host_ip>:<as_port>.
-
A message -
Do you want to deploy TIBCO BCCE Server services?3. Poller Server4. Interior Server(y/n)is displayed. - Enter y to deploy Poller Server and Interior Server.
- Before you deploy Gateway Server, you must perform the following procedure:
- On System Settings tile > General, click Installation Properties.
- Click Export GS configuration to download GSToken.zip, which contains intercomProps, hostKey and peerCert files that are required to deploy Gateway Server.
- Extract the contents of
GSToken.zip to
<gstoken_unzip>.
Note: Use the <gstoken_unzip> that you have set in the deployment.properties file.
- On System Settings tile > Transport Protocols, click Inbound Protocols.
- Select HTTP check box and click Save.
- 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 the deployment.properties file. To use another Gateway Service Name, set <service name> for gs_services=HTTP:<service name> in the deployment.properties file.
- Enable the http gateway service.
For more information, see TIBCO BusinessConnect™ Container Edition Administration Guide, Configuring Gateway Services (HTTP).
-
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. - Enter y to deploy Gateway Server.