Upgrading CCC
You have the option to upgrade to CCC 4.2 from the following CCC versions:
-
CCC 4.1
-
CCC 4.0
-
CCC 3.9
-
CCC 3.8.1
-
CCC 3.8
-
CCC 3.7.2
-
CCC 3.7.1
-
CCC 3.7
Note
If you are planning to upgrade to the latest version of CCC, you must back up and restore your current database using the instructions provided in the Migrating Database section. Failure to do so will result in the irreversible loss of your existing database after the upgrade.
Note
After the upgrade process, it has been observed that there may be instances where outdated data is displayed due to caching. To address this, we recommend clearing your browser cache after the upgrade. This proactive step ensures the retrieval of the most up-to-date version of the application.
Upgrading from CCC 4.1 to CCC 4.2
To upgrade CCC from version 4.1 to 4.2, follow these steps based on your environment:
For Podman Users:
1Navigate to the podman directory and execute the following command:
podman-compose down
2Check if the CCC container is removed using the following command:
podman ps -a
3If a container named ccc
appears, execute the command below to remove it:
podman rm -f ccc
4Remove the ccc:4.1.0
image from the local repository:
podman rmi -f ccc:4.1.0
5Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
Note
The sudo
command may be required to gain the necessary permissions to delete the directory.
6Follow the installation instructions for CCC 4.2.
For Kubernetes Users:
1On the master node, stop the previous CCC container and related resources using the following commands:
kubectl delete -f deployment.yaml
kubectl delete -f service.yaml
kubectl delete -f config-map.yaml
kubectl delete -f lunalogs-volume.yaml
kubectl delete -f postgres-data.yaml
kubectl delete -f packages-volume.yaml
kubectl delete -f serverlogs-volume.yaml
kubectl delete secrets ccc-password
2Remove the ccc-4.1.0
image from worker nodes using the following command:
crictl rmi ccc:4.1.0
3Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
Note
The sudo
command may be required to gain the necessary permissions to delete the directory.
4Follow the installation instructions for CCC 4.2.
Upgrading from CCC 4.0 to CCC 4.2
To upgrade CCC from version 4.0 to 4.2, follow these steps based on your environment:
For Podman Users:
1Navigate to the podman directory and execute the following command:
podman-compose down
2Check if the CCC container is removed using the following command:
podman ps -a
3If a container named ccc
appears, execute the command below to remove it:
podman rm -f ccc
4Remove the ccc:4.0.0
image from the local repository:
podman rmi -f ccc:4.0.0
5Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
Note
The sudo
command may be required to gain the necessary permissions to delete the directory.
6Follow the installation instructions for CCC 4.2.
For Kubernetes Users:
1On the master node, stop the previous CCC container and related resources using the following commands:
kubectl delete -f deployment.yaml
kubectl delete -f service.yaml
kubectl delete -f config-map.yaml
kubectl delete -f lunalogs-volume.yaml
kubectl delete -f postgres-data.yaml
kubectl delete -f packages-volume.yaml
kubectl delete -f serverlogs-volume.yaml
kubectl delete secrets ccc-password
2Remove the ccc-4.0.0
image from worker nodes using the following command:
crictl rmi ccc:4.0.0
3Delete the pgdata
directory to ensure that no residual data from the CCC container is left on your system. This directory may contain important data, so make sure you have backed up any necessary files before proceeding. Execute the following command to remove the directory:
sudo rm -rf /home/ccc/pgdata
Note
The sudo
command may be required to gain the necessary permissions to delete the directory.
4Follow the installation instructions for CCC 4.2.
Upgrading from CCC 3.9 to CCC 4.2:
To upgrade CCC from version 3.9 to 4.2, follow these steps:
1Uninstall CCC 3.9 by executing the uninstall.sh
bash file located in the folder /usr/safenet/ccc
:
sh /usr/safenet/ccc/uninstall.sh
2Follow the installation instructions for CCC 4.2.
Upgrading CCC from CCC version 3.8 or below to CCC 4.2:
To upgrade CCC from version 3.8 or below to 4.2, follow these steps:
1Obtain the distribution package of CCC version 3.9.
2Upgrade the current version of CCC to CCC 3.9 by executing the install.sh
bash file from the CCC 3.9 distribution package.
3Verify successful installation of CCC 3.9 through the CCC GUI.
4Uninstall CCC 3.9 using the uninstall.sh
bash file located in the folder /usr/safenet/ccc
:
sh /usr/safenet/ccc/uninstall.sh
5Follow the installation instructions for CCC 4.2.