Upgrade Guide CX5.1.0 to CX5.2.0

Before upgrading, ensure that the system is idle, i.e, all agents are logged out from the AgentDesk.

Custom Configuration Strategy

For detailed guidelines on applying environment-specific configurations using custom values.yaml layering,

Refer to the CX Helm Chart Custom Configuration Strategy guide.

In this release, ActiveMQ Classic is being replaced by ActiveMQ Artemis

  1. Update Helm repo

    helm repo update expertflow
    
  2. Clone the CX repository on the target server

    # Create CX-5.2.0 directory from root
      mkdir CX-5.2.0
    # Navigate to CX-5.2.0
      cd CX-5.2.0
    # Clone the CX-5.2.0 branch of the cim-solution repository
      git clone -b CX-4.10.x_MergedInto-CX-5.0 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-5.2.0
    # Navigate to root(previous) directory
      cd ../
    
  3. Uninstall the ActiveMQ

    # Uninstall the ActiveMQ chart
      helm uninstall -n ef-external activemq
    # Remove the ActiveMQ PVC
      kubectl delete pvc -n ef-external activemq-activemq-0 
    
  4. Deploy the Artemis using the following guide .

  5. Optional. Configure Artemis with your own certs

  6. Deploy the Core helm chart

# Update the following variables in the helm-values/ef-cx-custom-values.yaml 
  efConnectionVars:
      ACTIVEMQ_PRIMARY_URL: "<10.192.11.18>" → #Not using svc name anymore, use the respective IP Address
      ACTIVEMQ_SECONDARY_URL: "<10.192.11.18>" → #Not using svc name anymore, use the respective IP Address

# Deploy the new chart version using the helm-values/ef-cx-custom-values.yaml 
  helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 5.2.0-rc.1
  1. Deploy the Channels helm chart

    # Deploy the new chart version using the helm-values/cx-channels-custom-values.yaml
      helm upgrade --install --namespace expertflow --set global.efCxReleaseName="ef-cx" --debug cx-channels --values helm-values/cx-channels-custom-values.yaml  expertflow/channels --version 5.2.0-rc.1
    
  2. Deploy the Campaigns helm chart

    # Deploy the new chart version using the helm-values/cx-campaigns-custom-values.yaml
    helm upgrade --install --namespace expertflow   --set global.efCxReleaseName="ef-cx"  cx-campaigns --debug --values helm-values/cx-campaigns-custom-values.yaml expertflow/campaigns --version 5.2.0-rc.1
    
  3. Deploy the QM helm chart

    # Deploy the new chart version using the helm-values/cx-qm-custom-values.yaml
      helm upgrade --install --namespace=expertflow --set global.efCxReleaseName="ef-cx" qm  --debug --values=helm-values/cx-qm-custom-values.yaml expertflow/qm --version 5.2.0-rc.1