Upgrade Freya to Gaia

In this section are listed the manual steps to do when migrating from Freya to Gaia.

Before Upgrade

On XiVO PBX

Note

In IPBX ‣ General ‣ SIP Protocol, the field XiVO Edge FQDN will be emptied.

On XiVO CC

  • Reporting: During upgrade all Kibana configuration (including the dashboard) will be lost (it is stored in elasticsearch container). You MUST backup Kibana configuration before the upgrade.

After Upgrade

On XiVO PBX

On XiVO CC/UC

  • Docker: you MUST upgrade docker-ce.

    • Check that you correctly have upgraded xivo-dist:
    # Update APT sources
    apt-get update
    # Install xivo-dist (to prepare docker installation)
    apt-get install xivo-dist
    
    • Update docker-ce:

    Warning

    This step (upgrading docker) will restart the containers

    apt-get install docker-ce
    

On XiVO CC only

  • Reporting:
    • Restore Kibana configuration.
    • The last 7 days of data will be re-replicated to Elasticsearch, see Data flow. It may take some time if you have a huge amount of calls per week (more than 1 hour if you have 2 million of queue_log per week).

On MDS

  • File synchronization: after having initialized the file synchronization on Main (see above), execute the following commands on each MDS to get the public ssh key setup for rsync access from XiVO Main:

    XIVO_HOST=$(grep XIVO_HOST /etc/docker/mds/custom.env | awk -F "=" '/1/ {print $2}')
    mkdir -p /root/.ssh
    wget https://$XIVO_HOST/ssh-key --no-check-certificate -O /root/.ssh/rsync_xds.pub
    cat /root/.ssh/rsync_xds.pub >> /root/.ssh/authorized_keys
    apt install -y rsync