Before proceeding with the upgrade, ensure that the system is in an idle state, with all agents logged out from the agent desk.
-
Clone the CX repository on the target server
# Clone the CX-4.4.8 branch of cim-solution repository git clone -b CX-4.4.8 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git -
Stop Reporting Connector and Historical Reports Manager
# Stop reporting connector running in your current release i-e CX-4.4.7 kubectl delete -f cim-solution/kubernetes/pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml -n expertflow # delete configmap for reporting connector kubectl -n expertflow delete configmap ef-reporting-connector-conf # delete the present deployment of historical-reports-manager kubectl delete -f cim-solution/kubernetes/cim/Deployments/ef-historical-reports-deployment.yaml -
Copy and Run the MYSQL Update Script
# Copy the following script from CX-4.4.8 to your current release i-e CX-4.4.7/cim-solution/kubernetes/pre-deployment/reportingConnector/dbScripts/dbupdate/ CX4.4.8/cim-solution/kubernetes/pre-deployment/reportingConnector/dbScripts/dbupdate/historical_reports_db_update_script_MYSQL.sql.sql # Run the following MySQL update script on top of current historical database. CX4.4.7/cim-solution/kubernetes/pre-deployment/reportingConnector/dbScripts/dbupdate/historical_reports_db_update_script_MYSQL.sql.sql -
Replace Historical Reports Manager and Reporting Connector Tag
# Open cim-solution/kubernetes/cim/Deployments/ef-historical-reports-deployment.yaml file in CX-4.4.7 gitimages.expertflow.com/cim/historical-reports-manager:4.4.8 # Apply the deployment of historical reports manager kubectl apply -f cim-solution/kubernetes/cim/Deployments/ef-historical-reports-deployment.yaml # Open cim-solution/kubernetes/pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml file in CX-4.4.7 gitimages.expertflow.com/cim/reporting-connector:4.4.8 # Create configmap kubectl -n expertflow create configmap ef-reporting-connector-conf --from-file=cim-solution/kubernetes/pre-deployment/reportingConnector/reporting-connector.conf # Apply the reporting-connector deployment kubectl apply -f cim-solution/kubernetes/pre-deployment/reportingConnector/ef-reporting-connector-cron.yaml -n expertflow -
Update Routing Engine Tag
# Delete Routing Engine’s Deployment k delete -f cim-solution/kubernetes/cim/Deployments/ef-routing-engine-deployment.yaml # Update Routing Engine’s Deployment Tag gitimages.expertflow.com/cim/media-routing-engine:4.4.8.1 # Apply Routing Engine’s Deployment k apply -f cim-solution/kubernetes/cim/Deployments/ef-routing-engine-deployment.yaml