Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.53 KB

upgrade-ceilometer-ha.md

File metadata and controls

37 lines (26 loc) · 1.53 KB

Upgrade Ceilometer

  1. Stop all Ceilometer resources in Pacemaker:

     pcs resource disable openstack-ceilometer-central
     pcs resource disable openstack-ceilometer-api-clone
     pcs resource disable openstack-ceilometer-alarm-evaluator-clone
     pcs resource disable openstack-ceilometer-collector-clone
     pcs resource disable openstack-ceilometer-notification-clone
     pcs resource disable openstack-ceilometer-alarm-notifier-clone
     pcs resource disable ceilometer-delay-clone
    
  2. Wait until the output of pcs status shows that the above services have stopped running.

  3. Upgrade the relevant packages:

     yum upgrade 'openstack-ceilometer*' 'python-ceilometer*'
    
  4. Reload systemd to account for updated unit files:

     systemctl daemon-reload
    
  5. If you are using the MySQL backend for Ceilometer, update the Ceilometer database schema. This step is not necessary of you are using the MongoDB backend.

  6. Restart all Ceilometer resources in Pacemaker:

     pcs resource enable ceilometer-delay-clone
     pcs resource enable openstack-ceilometer-alarm-notifier-clone
     pcs resource enable openstack-ceilometer-notification-clone
     pcs resource enable openstack-ceilometer-collector-clone
     pcs resource enable openstack-ceilometer-alarm-evaluator-clone
     pcs resource enable openstack-ceilometer-api-clone
     pcs resource enable openstack-ceilometer-central
    
  7. Wait until the output of pcs status shows that the above resources are running.