Open topic with navigation

TIBCO ActiveMatrix® Service Grid - Container Edition 1.0.0

# Setting Up Application Monitoring by Using TIBCO Enterprise Administrator

You can monitor ActiveMatrix Service Grid - Container Edition applications by using TIBCO Enterprise Administrator Agent.

Before you begin

- See Preparing for Containerization.
- Ensure that you have created Docker image of TIBCO Enterprise Administrator Server. For instructions, see readme.md at TEA_HOME/docker in the TIBCO Enterprise Administrator installation.
- Ensure that you have created Docker image of ActiveMatrix Service Grid - Container Edition Application. For instructions, see Containerizing ActiveMatrix Service Grid Applications.

Procedure

1. Create a network bridge for internal communication among Docker images by using the following command.

       docker network create <NETWORK_BRIDGE_NAME>

   Example:

       docker network create amxce-net

   For more information about Docker networking, see Docker Documentation.

2. Build the ActiveMatrix Service Grid - Container Edition TEA Agent Docker image by using the script provided. See Building Application Monitor Agent Docker Image.

3. Run ActiveMatrix Service Grid - Container Edition application Docker image.

       docker run --net=<NETWORK_BRIDGE_NAME> -p <CONTAINER_PORT>:<HOST_PORT> -e <ENVIRONMENT_VARIABLES> <APPLICATION_IMAGE_NAME>:<IMAGE_VERSION>

   Example:

       docker run -d -p 7777:7777 --name bookstore --network  amxce-net bookstore

4. Run TIBCO Enterprise Administrator Server Docker image in the same network.

       docker run -d -p 8777:8777  --name teaserver -h teaserver  --network amxce-net my.local.docker.registry.url:5000/tea:2.3.0-HF7

5. Run TIBCO Enterprise Administrator Agent Docker image in the same network.

       docker run -d   --name teaagent -h teaagent  --network amxce-net -e tea_server_url=http://teaserver:8777/tea -e amxce_containers_list=bookstore amxceteaagent:1.0

6. You can access the TEA dashboard by navigating to the following URL in browser: http://<HOSTNAME>:8777/tea.

What to do nextFor more information about monitoring ActiveMatrix Service Grid - Container Edition applications, see ActiveMatrix Service Grid - Container Edition Monitoring Guide.

Copyright © 2020-2021. TIBCO Software Inc. All Rights Reserved.