Docker CMP - Recreate Instructions (Upgrading from Version older than EMP 15.2.0)
search cancel

Docker CMP - Recreate Instructions (Upgrading from Version older than EMP 15.2.0)

book

Article ID: 367668

calendar_today

Updated On:

Products

AppNeta DX NetOps

Issue/Introduction

Required Recreation of Docker CMP when upgrading to latest release from version older than EMP 15.2.0

Environment

CMP running version older than EMP 15.2.0.

Resolution

Recreate Docker Instance with the following steps:

1. Select Recreate from the Gear Icon on the Monitoring Points Page:

2. This will generate a curl command to download a fresh cmp package, example:

curl -X POST --header "Authorization: Token <token>" --header "Content-Type: application/json" --header "Accept: application/gzip" "https://<server>.pm.appneta.com/api/v3/appliance/configuration/18366/DOCKER_COMPOSE/<hostname>?uuid=<uuid>" -o compose.<hostname>.tar.gz

3. Paste into Linux instance currently hosting your docker cmp to download image.

4. Unzip docker image with the below command:

tar -xf compose.<hostname>.tar.gz

5. Cd into newly created directory

cd <hostname> 

6. Run the container setup script:

sudo ./setup.sh install

**Optional** - If a proxy is required, it should be added using the below syntax:

sudo ./setup.sh install -x http://<user>:<pass>@<proxy_host>:<proxy_port>

**Note - If you are prompted "Would you like to use host networking?" enter y.**

7. Start the CMP

sudo docker compose -f mp-compose.yaml pull
sudo docker compose -f mp-compose.yaml up -d

8. Verify CMP is back online on the AppNeta Portal, this may take a few minutes

Additional Information

Links to Documentation: 

Recreate Documentation: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta/GA/appliance-overview/azure-mp-intro/azure-management/azure-mp-recreate-a-cmp-docker-compose.html#recreate-a-cmp---docker-compose-_recreate-in-docker

CMP Install Documentation: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta/GA/appliance-overview/azure-mp-intro/azure-setup/azure-mp-setup-cmp.html#mp-setup-cmp_install-using-UI-docker-v-15-2

Web Proxy Documentation: https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta/GA/appliance-overview/azure-mp-intro/azure-configurahttps://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/appneta/GA/appliance-overview/azure-mp-intro/azure-configuration/azure-mp-web-proxy.html#web-proxy_configure-setup-docker-compose