Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This Document will guide you how to upgrade CloudCX from the version3.2.2 release sequence to 3.2.3

Notes:

  • All of 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.

Separate deployment of application servers:

In this deployment model, the application server and database server are deployed on separate machines.

1. Stop CloudCX Application 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. List the CX Docker Images

Perform the following command to list the CX Docker images:

docker images

You will get the result shown in the below screenshot.

图片-20240205-115808.png

3. Delete the CX Docker Images

Use the first 4 digits of the IMAGE ID to delete the Docker image:

docker image rm 52d2

4. Delete the CX Scripts

rm cloud_cx_ctl.sh

5. Download new install scripts

curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.3.x/cloud_cx_ctl.sh -o cloud_cx_ctl.sh

6. Install CX Services and Midware

/bin/sh cloud_cx_ctl.sh run -i puteyun/cloud_cx:${tag} -t api

Note: ${tag} is the release version of cloud CX, for example: 3.2.3.1, Please MUST replace the ${tag} in the above command with the latest tag.

Mixed deployment of application servers (on a single machine):

In this deployment model, both the application server and database server are deployed on the same machine.

1. Stop CloudCX 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. List the CX Docker Images

Perform the following command to list the CX Docker images:

docker images

You will get the result shown in the below screenshot.

图片-20240205-115808.png

3. Delete the CX Docker Images

Please delete all of images include MariaDB and Redis, Use the first 4 digits of the IMAGE ID to delete the Docker image:

docker image rm 52d2

4. Delete the CX Scripts

rm cloud_cx_ctl.sh

5. Download new install scripts

curl https://raw.githubusercontent.com/cloud-cx/cloudfon-cx-install/main/v3.3.x/cloud_cx_ctl.sh -o cloud_cx_ctl.sh

6. Install CX Services and Midware

/bin/sh cloud_cx_ctl.sh run -i puteyun/cloud_cx:${tag} -m ${db_passwd}

Note: Please MUST replace the Variables in the above command with the correctly value

  • ${tag} is the release version of CloudCX, for example: 3.2.3

  • ${db_passwd} is the password of the database. 3.2.2 version has a default DB password, please contact us to obtain it.

  • No labels