Skip to main content
Skip table of contents

Grafana Upgrade Guide from 4.5.1 to 4.5.2

  1. Navigate to the current release cim-solution/kubernetes folder

    CODE
    cd cim-solution/kubernetes

For the following step, only run the commands for your specific reporting database type. (MYSQL / MSSQL)

  1. Upgrade the Grafana Configs

    1. If you have MySQL

      1. Copy the Supervisor_Dashboard_CIM-mysql.json and Agent_Dashboard_CIM-mysql.json file from 4.5.2 folder to the current cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards folder

        CODE
        cp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mysql.json post-deployment/config/grafana/supervisor-dashboards/
        cp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mysql.json post-deployment/config/grafana/supervisor-dashboards/
      2. Delete dashboard ConfigMap

        CODE
        kubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mysql
        kubectl -n ef-external delete configmap ef-grafana-agent-dashboard-mysql
      3. Create dashboard ConfigMap

        CODE
        kubectl create configmap ef-grafana-supervisor-dashboard-mysql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mysql.json
        kubectl create configmap ef-grafana-agent-dashboard-mysql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mysql.json
    2. If you have MSSQL

      1. Copy the Supervisor_Dashboard_CIM-mssql.json and Agent_Dashboard_CIM-mssql.json file from 4.5.2 folder to the current cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards folder

        CODE
        cp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mssql.json post-deployment/config/grafana/supervisor-dashboards/
        cp ../../CX-4.5.2/cim-solution/kubernetes/post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mssql.json post-deployment/config/grafana/supervisor-dashboards/
      2. Delete dashboard ConfigMap

        CODE
        kubectl -n ef-external delete configmap ef-grafana-supervisor-dashboard-mssql
        kubectl -n ef-external delete configmap ef-grafana-agent-dashboard-mssql
      3. Create dashboard ConfigMap

        CODE
        kubectl create configmap ef-grafana-supervisor-dashboard-mssql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Supervisor_Dashboard_CIM-mssql.json
        kubectl create configmap ef-grafana-agent-dashboard-mssql -n ef-external --from-file=post-deployment/config/grafana/supervisor-dashboards/Agent_Dashboard_CIM-mssql.json
  2. Reinstall Grafana

    1. Uninstall Grafana

      CODE
      helm uninstall grafana -n ef-external
    2. Install Grafana

      CODE
      helm upgrade --install=true --wait=true --timeout=10m0s --debug --namespace=ef-external --values=external/bitnami/grafana/values.yaml grafana external/bitnami/grafana
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.