AppNeta - Docker Container (C50) - Upgrading Legacy versions 14.0 and older
search cancel

AppNeta - Docker Container (C50) - Upgrading Legacy versions 14.0 and older

book

Article ID: 266146

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

How do I upgrade or update my AppNeta docker container?  I have a deployed container and it is running older software versions, and I want to upgrade it to the final 14.x release.

 

Cause

Once a AppNeta Container Monitoring Point (CMP) is successfully deployed it can be updated via Docker commands. 

Resolution

In order to use the latest C50 container versions, you need to re-create the container.  Please see Additional Information for steps on that process.


Upgrading to the Final 14.x version:

The following commands will work with Docker Compose V2 to shut down the CMP and Upgrade it to the latest available image:

ubuntu@ip-10-0-0-14:~/support-lab-cmp-01$ sudo docker-compose -f mp-compose.yaml down
Stopping support-lab-cmp-01_sequencer_1 ... done
Stopping support-lab-cmp-01_talos-001_1 ... done
Removing support-lab-cmp-01_sequencer_1 ... done
Removing support-lab-cmp-01_talos-001_1 ... done
Removing network support-lab-cmp-01_default

ubuntu@ip-10-0-0-14:~/support-lab-cmp-01$ sudo docker-compose -f mp-compose.yaml pull && sudo docker-compose -f mp-compose.yaml up -d
Pulling sequencer ... done
Pulling talos-001 ... done
Creating network "support-lab-cmp-01_default" with the default driver
Creating support-lab-cmp-01_talos-001_1 ... done
Creating support-lab-cmp-01_sequencer_1 ... done
ubuntu@ip-10-0-0-14:~/support-lab-cmp-01$

 

***NOTE***: Depending on which version of Docker-Compose you have installed, you may need to make changes to the docker compose command syntax.

The following will work with Docker Compose V1:

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

 

Docker Compose V2 will use a slightly different command without the hyphen ( - ) 

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

Additional Information

As of CMP version 15.x, the Upgrade procedure has changed.  When upgrading from an ealier version (14.x and older) to a newer versions (15.x and newer) you will need to use the Re-Create option:

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

 

Additional details and documentation can be found here: