Configuring deployed MDM client applications on Docker
deployed-clientapps Docker image includes Kafka Server, Kafka
Processor, Jetty Server, Elastic Search, the MDM Batch Processor, Java (from WebSphere Application
Server), and a number of sample applications. Use the steps documented in this topic to configure
the MDM client applications to point to an external MDM database, MDM application server, or Kafka
Before you begin
- Ensure all of the prerequisites are in place.
- Download the InfoSphere MDM Docker image packages.
- Consider whether your deployment needs to be configured for high availability. If so, see Configuring and deploying InfoSphere MDM images on a Kubernetes cluster for more information.
hostnameparameter is populated in the
deployed-clientappsimage. If not, then provide the full host name of the host on which
deployed-clientappsis running. For example:
About this task
deployed-clientapps image can be used with other InfoSphere MDM Docker images
in Docker Compose YAML files, or it can be run in its own Docker container.
deployed-clientappsimage in its own Docker container, run the following command:
docker run --hostname=CLIENTAPPSHOST -- name=clientapps_container deployed-clientapps
deployed-clientappsimage to point to external instances of:
- MDM database
- MDM application server
- Kafka Server
ClientAppscontainer using the following command:
docker run --hostname=CLIENTAPPSHOST --name=clientapps_container deployed-clientapps
- Log into the container:
docker exec -it clientapps_container /bin/bash
- Go to the /tmp folder and run the following command:
This script prompts you for details about the external MDM database, application server, and Kafka Server instances and then configures the Kafka Processor and MDM Batch Processor accordingly.
- After deployment completes, use the
docker commitcommand to commit your changes to all of the containers in your deployment.Committing a Docker container ensures that your deployment choices are not lost if the container is later removed. For more information about committing a Docker container, see the Docker command line documentation.
What to do next
deployed-clientappscan be deployed:
- As a Docker container
- In a Kubernetes cluster
- On Red Hat OpenShift EE