...
Easy heading | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Separate deployment of application servers:
In this deployment model, the application server and database server are deployed on separate machines. And we don't need to update the middleware service, only the application service needs to be updated.
1. Stop CloudCX Application Services
Perform the following commands as root to stop & rm the current CX Docker instance:
Code Block |
---|
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:
...
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 52d2 |
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.3.x/cloud_cx_ctl.sh -o cloud_cx_ctl.sh |
6. Install CX Services and Midware
Code Block |
---|
/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.3.B1, 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:
Code Block |
---|
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:
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 52d2 |
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.3.x/cloud_cx_ctl.sh -o cloud_cx_ctl.sh |
6. Install CX Services and Midware
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.3.2, Please MUST replace the ${tag} in the above command with the latest tag.