Atom feed of this document
  
 

 Adding OpenStack Networking Server 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-server
chmod a+rx *

You may now proceed with adding the Pacemaker configuration for OpenStack Networking Server resource. Connect to the Pacemaker cluster with crm configure, and add the following cluster resources:

primitive p_neutron-server ocf:openstack:neutron-server \
    params os_password="secrete" os_username="admin" os_tenant_name="admin" \
    keystone_get_token_url="http://192.168.42.103:5000/v2.0/tokens" \
    op monitor interval="30s" timeout="30s"

This configuration creates p_neutron-server, a resource for manage OpenStack Networking Server 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. For example, you may enter edit p_neutron-server from the crm configure menu and edit the resource to match your preferred virtual IP address.

Once completed, commit your configuration changes by entering commit from the crm configure menu. Pacemaker will then start the OpenStack Networking API 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...