Breadcrumbs

Upgrade Guide CX4.9 to CX4.9.1

Before upgrading, ensure that the system is idle, i.e; all agents are logged out from the AgentDesk.
Make sure the system is idle for 30 minutes to sync the reporting data.
Always safe to take a backup of the current deployment directory.

  1. Clone the CX repository on the target server

    # Create CX-4.9.1 directory from root
    mkdir CX-4.9.1
    # Navigate to CX-4.9.1
    cd CX-4.9.1
    # Clone the CX-4.9.1 branch of cim-solution repository
    git clone -b CX-4.9.1 https://efcx:RecRpsuH34yqp56YRFUb@gitlab.expertflow.com/cim/cim-solution.git $HOME/CX-4.9.1
    # Navigate to root(previous) directory
    cd ..
    
    
  2. Update helm repo

    helm repo update expertflow
    
  3. Change the directory to the current deployment of CX

    change directory to following path in current deployment
    cd CX-4.9/kubernetes
    
  4. Data pipeline for campaign
    New data pipelines campaigns_data_pipeline_config.yaml activities_data_pipeline_config.yaml

    #change the directory to transflux
    cd transflux 
    # Copy the above mentioned new data pipelines and paste at following path 'root/transflux/config '
    
    #Delete configuration ConfigMaps for CX-Transflux pipelines.
    kubectl -n expertflow delete configmap ef-transflux-config-cm 
    
    #Create configuration ConfigMaps for CX-Transflux pipelines.
    kubectl -n expertflow create configmap ef-transflux-config-cm --from-file=config
    
    #Change transflux tag 
    vi helm-values/cx-transflux-custom-values.yaml
    tag: 4.9.1
    #Re-deploy CX-Transflux
    helm upgrade --install --namespace expertflow   --set global.efCxReleaseName="ef-cx"  cx-transflux --debug --values helm-values/cx-transflux-custom-values.yaml expertflow/transflux --version 4.9.1
    
  5. Update the Unified-Agent Translation ConfigMaps

    # Copy the unified agent translation directory to CX-4.9 release 
    1) Copy From CX-4.9.1/kubernetes/pre-deployment/app-translations/unified-agent/i18n To pre-deployment/app-translations/unified-agent
    2) Delete and Create the ConfigMap
       kubectl delete cm ef-app-translations-cm -n expertflow
       kubectl -n expertflow create configmap ef-app-translations-cm --from-file=pre-deployment/app-translations/unified-agent/i18n/
    
  6. Update the ActiveMQ helm chart

    # Update ActiveMQ helm chart
    Edit/update the values file helm-values/ef-activemq-custom-values.yaml with
    
    tag : 6.0.0-alpine-zulu-K8s-4.9.1
    
    helm upgrade --install=true  --namespace=ef-external --values=helm-values/ef-activemq-custom-values.yaml activemq expertflow/activemq --version 4.9.1
    
  7. Update the Agent-Desk helm chart

    # Update Agent Desk helm chart
    Edit/update the values file helm-values/cx-agent-desk-custom-values.yaml with
    
    Unified-Agent Tag : 4.9.1
    
    helm upgrade --install --namespace expertflow   --set global.efCxReleaseName="ef-cx"  cx-agent-desk  --debug --values helm-values/cx-agent-desk-custom-values.yaml expertflow/agent-desk --version 4.9.1
    
  8. Update the Campaigns helm chart

    # Update Campaigns helm chart
    Edit/update the values file helm-values/cx-campaigns-custom-values.yaml with
    
    campaign-scheduler : 4.9.1
    
    helm upgrade --install --namespace expertflow   --set global.efCxReleaseName="ef-cx"  cx-campaigns --debug --values helm-values/cx-campaigns-custom-values.yaml expertflow/campaigns --version 4.9.1
    
  9. Update the Channel helm chart

    # Update Channel helm chart
    Edit/update the values file helm-values/cx-channels-custom-values.yaml with following tags
    
    360 tag: 4.9.1
    Facebook tag: 4.9.1
    Instagram tag: 4.9.1
    Twilio tag: 4.9.1
    Twitter tag: 4.9.1
    Viber tag: 4.9.1
    Telegram tag: 4.9.1
    Smpp tag: 4.9.1
    Email tag: 4.9.1
    Exchange Email tag: 4.9.1
    YouTube tag: 4.9.1
    Whatsapp tag: 4.9.1
    LinkedIn tag: 4.9.1
    
    helm upgrade --install --namespace expertflow  --set global.efCxReleaseName="ef-cx"   --debug   cx-channels --values  helm-values/cx-channels-custom-values.yaml  expertflow/channels --version 4.9.1 
    
  10. Update the Core helm chart

    #Update Core Component helm chart
    Edit/update the values file helm-values/ef-cx-custom-values.yaml with
    
    Agent-Manager Tag: 4.9.1
    Bot Framework tag: 4.9.1
    CCM tag: 4.9.1
    Conversation Manager tag: 4.9.1
    Conversation Monitor tag: 4.9.1
    Historical Reporting tag: 4.9.1
    Realtime Reporting tag: 4.9.1
    Routing Engine tag: 4.9.1
    State Event Logger tag: 4.9.1
    
    
    helm upgrade --install --namespace expertflow --create-namespace   ef-cx  --debug --values helm-values/ef-cx-custom-values.yaml expertflow/cx --version 4.9.1