Atom feed of this document
  
 

 Adding the Ceilometer Central Agent resource to Pacemaker

First of all, you need to download the resource agent to your system:

cd /usr/lib/ocf/resource.d/openstack
wget https://raw.github.com/madkiss/openstack-resource-agents/master/ocf/ceilometer-agent-central
chmod a+rx *

You may then proceed with adding the Pacemaker configuration for the Ceilometer Central Agent resource. Connect to the Pacemaker cluster with crm configure, and add the following cluster resources:

primitive p_ceilometer-agent-central ocf:openstack:ceilometer-agent-central \
    params config="/etc/ceilometer/ceilometer.conf" \
    op monitor interval="30s" timeout="30s"

This configuration creates

  • p_ceilometer-agent-central, a resource for manage Ceilometer Central Agent service

crm configure supports batch input, so you may copy and paste the above into your live pacemaker configuration, and then make changes as required.

Once completed, commit your configuration changes by entering commit from the crm configure menu. Pacemaker will then start the Ceilometer Central Agent service, and its dependent resources, on one of your nodes.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...