After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 253 of 317

Chapter 11 243 sudo cp keystone glance-api glance-registry /usr/lib/ocf/resource.d/openstack sudo chmod 755 /usr/lib/ocf/resource.d/openstack/* 3. We should now be able to query these new OCF agents, which will return these three OCF agents: sudo crm ra list ocf openstack 4. We can now configure Pacemaker to use these agents to control our Keystone service. To do this, we run the following set of commands: sudo crm cib new conf-keystone sudo crm configure property stonith-enabled=false sudo crm configure property no-quorum-policy=ignore sudo crm configure primitive p_keystone ocf:openstack:keystone \ params config="/etc/keystone/keystone.conf" \ os_auth_url="http://localhost:5000/v2.0/" \ os_password="openstack" \ os_tenant_name="cookbook" \ os_username="admin" \ user="keystone" \ client_binary="/usr/bin/keystone" \ op monitor interval="30s" timeout="30s" sudo crm cib use live sudo crm cib commit conf-keystone 5. We then issue a similar set of commands for the two Glance services, as follows: sudo crm cib new conf-glance-api sudo crm configure property stonith-enabled=false sudo crm configure property no-quorum-policy=ignore sudo crm configure primitive p_glance_api ocf:openstack:glance-api \ params config="/etc/glance/glance-api.conf" \ os_auth_url="http://localhost:5000/v2.0/" \ os_password="openstack" \ os_tenant_name="cookbook" \ os_username="admin" \ user="glance" \ client_binary="/usr/bin/glance" \ op monitor interval="30s" timeout="30s" sudo crm cib use live sudo crm cib commit conf-glance-api www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook