AIOps - How to apply a new hotfix image?


Article ID: 214105


Updated On:


DX Operational Intelligence CA App Experience Analytics DX Application Performance Management


What are the steps to apply a new hotfix image?

Use-case 1 : dx-core-apmservices-manager 
Use-case 2 : apm-logstasth


DX Platform 11.x +


How to update dx-core-apmservices-manager image

In this example, we assume manager- fix package has been provided

1. Load a new image to the local docker registry

docker load < manager-

2. Tag the imported image, <private-registry> must be replaced by a domain name/ip address of the private registry running at the deployment environment.

docker image tag <private-registry>/dxi/dx-core-apmservices-manager:

3.  Push the image to the private registry:

docker image push <private-registry>/dxi/dx-core-apmservices-manager:

4. Edit the deployment of the manager - apmservices-manager-001  (through Openshift/Minikube), update the containers section :

The original section:

        - name: apmservices-manager-001
          image: >-

The updated version:
        - name: apmservices-manager-001
          image: >-
5. Validate that the manager pod is restarted and is using the new image


How to update apm-logstasth

In this example, we assume apm-logstasth-1.1.10.tar fix package has been provided

1. Copy “apm-logstasth-1.1.10.tar” to the machine where APM is installed

2. Run below command to load new image

docker load <  apm-logstasth-1.1.10.tar

new image will be listed in docker images as shown below

3.Tag new image by running the below command

docker tag <<new image id>> localhost:5000/ng/logstash:1.1.10

Example: docker tag c53c106fa567 localhost:5000/ng/logstash:1.1.10

4. Push new image to local repository

docker push localhost:5000/ng/logstash:1.1.10

5. Apply new logstasth image to existing pods from Kubernetes console

a) Open Console->DXI namespace ->PODs

b) Click on apm-logstash pod (apm-logstash-14) à Edit yml

c) Update “image” field under “containers” tag 

"image": "localhost:5000/ng/logstash:1.1.7" to "image": "localhost:5000/ng/logstash:1.1.10"

d) Pod will be restarted by pulling new image


6. To apply new logstasth image for all new Tenants

a) Open Console->DXI namespace ->Config Maps

b) Click on apmservices-manager -> EDIT yml

c) Update "APMMANAGER_DEPLOYMENT_LOGSTASH_IMAGEURL" property with new image path

"APMMANAGER_DEPLOYMENT_LOGSTASH_IMAGEURL": "localhost:5000/ng/logstash:1.1.10",

 d) Restart apmservices-manager-001 service

 e) Now if we create new tenant , logstasth pod will be started with new image


Additional Information

DX AIOPs - Troubleshooting, Common Issues and Best Practices