Info |
---|
This Document will guide you how to upgrade Cloud CXCloudCX |
Notes:
All of the following Linux commands must be executed in the same working path, which is assumed to be /root/cloud_cx in this example.
Must perform all Linux commands by the root user, please su root First.
1. Stop cloud-cx Services
Perform the following commands as root to stop & rm the current CX Docker instance:
Code Block |
---|
cd /root/cloud_cx && /bin/sh cloud_cx_ctl.sh stop
cd /root/cloud_cx && /bin/sh cloud_cx_ctl.sh rm |
2. List the CX Docker Images
Perform the following command to list the CX Docker images:
Code Block |
---|
docker images |
You will get the result shown in the below screenshot.
...
3. Delete the CX Docker Images
Use the first 4 digits of the IMAGE ID to delete the Docker image:
Code Block |
---|
docker image rm cb79 |
4. Delete the CX Scripts
Code Block |
---|
rm cloud_cx_ctl.sh |
5. Download new install scripts
Code Block |
---|
curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.2.x/cloudfon_cx_ctl.sh -o cloud_cx_ctl.sh |
6. Install Mysql and CX Services
Code Block |
---|
/bin/sh cloud_cx_ctl.sh run -i puteyun/cloud_cx:${tag} |
Note: ${tag} is the release version of cloud CX, for example: 3.2.2.3, Please MUST replace the ${tag} in the above command with the latest tag.Starting from version 3.2.3, we recommend customers to separate the application server and the database server for deployment. Separating the deployment will improve overall load capacity, while single-machine deployment is currently only recommended for testing purposes.
If you have currently deployed the v3.2.2 version sequence
If you want to upgrade to v3.2.2.x
Please reference to https://cloudfon.atlassian.net/wiki/spaces/CCSD/pages/edit-v2/107806755?draftShareId=5c484253-32cd-491e-a7da-7c7866fc1a56
If you want to upgrade to v3.2.3
Please reference to https://cloudfon.atlassian.net/wiki/spaces/CCSD/pages/edit-v2/108265489?draftShareId=da2cd379-a5d5-4cb5-b24b-7139e833641b
If you have currently deployed the V3.2.3 version sequence
If you want to upgrade to higher version
Please reference to https://cloudfon.atlassian.net/wiki/spaces/CCSD/pages/edit-v2/107315295?draftShareId=c8abc433-3f55-490a-ade6-308025340a7c