Distributed - Upgrade to V5.4
Notes:
Kindly upgrade to versions ranging from V5.3.1 initially, and subsequently upgrade to version V5.4.
All the following Linux commands must be executed in the same working path, which is assumed to be /opt/cloud_cx in this example.
Should perform all Linux commands by the root user, please su root First.
Before upgrading, please back up your system service first. CloudCX System Data Backup Guide
In the distributed deployment model, the application server and database server are deployed on the different machines. And we need to update both the middleware service and the application service.
1. Stop CloudCX Application Services & Midware Services
Perform the following commands as root to stop & rm the current CX Docker instance:
cd /opt/cloud_cx && /bin/sh cloud_cx_ctl.sh stop
cd /opt/cloud_cx && /bin/sh cloud_cx_ctl.sh rm
2. Upgrade Midware service
List and Delete the docker images
Perform the following command to list the Midware Docker images:
docker images
Use the first 4 digits of the IMAGE ID to delete all of the listed Docker images:
docker image rm 52d2
Delete the old Scripts
Download new installation scripts
Install Midware Services
Please go to /opt/cloud_cx/.env to get the es_port and es_password, it will be used for next step.
3. Upgrade Application service
List of the CX Docker Images
Perform the following command to list the CX Docker images:
You will get the result shown in the below screenshot.
Delete the CX Docker Images
Use the first 4 digits of the IMAGE ID to delete all of the listed Docker image:
Delete the CX Scripts
Download new installation scripts
Install CX Services
From V5.3.1 upgrade to V5.4 or higher version
From V5.4 upgrade to higher version