Atom feed of this document
  
 

 Adding Neutron L3 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/neutron-agent-l3
chmod a+rx neutron-l3-agent

You may now proceed with adding the Pacemaker configuration for Neutron L3 Agent resource. Connect to the Pacemaker cluster with crm configure, and add the following cluster resources:

primitive p_neutron-l3-agent ocf:openstack:neutron-agent-l3 \
    params config="/etc/neutron/neutron.conf" \
    plugin_config="/etc/neutron/l3_agent.ini" \
    op monitor interval="30s" timeout="30s"

This configuration creates

  • p_neutron-l3-agent, a resource for manage Neutron L3 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 Neutron L3 Agent service, and its dependent resources, on one of your nodes.

[Note]Note

This method does not ensure a zero downtime since it has to recreate all the namespaces and virtual routers on the node.

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

loading table of contents...