Upgrade with high availability

Upgrading a highly available Cloud Management Platform configuration

Prerequisites

Web server and job engine processes must be stopped before upgrading.

Web server instances

Perform the following on each web server instance.

  1. Stop web server processes.

    systemctl stop httpd
    

Job engine instances

Perform the following on each job engine instance.

  1. Check for active job engine jobs.

    # Navigate to /opt/cloudbolt/
    cd /opt/cloudbolt/
    
    # Start shell_plus
    ./manage.py shell_plus
    
    # List active jobs
    Job.objects.filter(status__in=Job.ACTIVE_STATUSES)
    
  2. Cancel active job engine jobs.

    Job.objects.filter(status__in=Job.ACTIVE_STATUSES).update(status="CANCELED")
    
  3. Stop job engine processes.

    supervisorctl stop jobengine:*
    

Upgrade

Run the upgrader on each web server and job engine instance individually.

Upgrading Cloud Management Platform does not upgrade the PostgreSQL database. To upgrade the database on the primary and standby servers from PostgreSQL 14 to PostgreSQL 18, see Upgrade a distributed or high-availability deployment.