Merge "Changed name to neutron-agent-dhcp in the command chmod and crm"
This commit is contained in:
commit
0045a89049
@ -19,20 +19,19 @@ Pacemaker.</para>
|
|||||||
<para>First of all, you need to download the resource agent to your system:</para>
|
<para>First of all, you need to download the resource agent to your system:</para>
|
||||||
<screen><prompt>#</prompt> <userinput>cd /usr/lib/ocf/resource.d/openstack</userinput>
|
<screen><prompt>#</prompt> <userinput>cd /usr/lib/ocf/resource.d/openstack</userinput>
|
||||||
<prompt>#</prompt> <userinput>wget https://raw.github.com/madkiss/openstack-resource-agents/master/ocf/neutron-agent-dhcp</userinput>
|
<prompt>#</prompt> <userinput>wget https://raw.github.com/madkiss/openstack-resource-agents/master/ocf/neutron-agent-dhcp</userinput>
|
||||||
<prompt>#</prompt> <userinput>chmod a+rx neutron-dhcp-agent</userinput></screen>
|
<prompt>#</prompt> <userinput>chmod a+rx neutron-agent-dhcp</userinput></screen>
|
||||||
<para>You may now proceed with adding the Pacemaker configuration for
|
<para>You may now proceed with adding the Pacemaker configuration for
|
||||||
neutron DHCP agent resource. Connect to the Pacemaker cluster with <literal>crm
|
neutron DHCP agent resource. Connect to the Pacemaker cluster with <literal>crm
|
||||||
configure</literal>, and add the following cluster resources:</para>
|
configure</literal>, and add the following cluster resources:</para>
|
||||||
<programlisting>primitive p_neutron-dhcp-agent ocf:openstack:neutron-dhcp-agent \
|
<programlisting>primitive p_neutron-dhcp-agent ocf:openstack:neutron-agent-dhcp \
|
||||||
params config="/etc/neutron/neutron.conf" \
|
params config="/etc/neutron/neutron.conf" \
|
||||||
plugin_config="/etc/neutron/dhcp_agent.ini" \
|
plugin_config="/etc/neutron/dhcp_agent.ini" \
|
||||||
op monitor interval="30s" timeout="30s"</programlisting>
|
op monitor interval="30s" timeout="30s"</programlisting>
|
||||||
<para>This configuration creates</para>
|
<para>This configuration creates:</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para><literal>p_neutron-dhcp-agent</literal>, a resource for manage Neutron DHCP Agent
|
<para><literal>p_neutron-agent-dhcp</literal>, a
|
||||||
service
|
resource for manage Neutron DHCP Agent service.</para>
|
||||||
</para>
|
|
||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
<para><literal>crm configure</literal> supports batch input, so you may copy and paste the
|
<para><literal>crm configure</literal> supports batch input, so you may copy and paste the
|
||||||
|
Loading…
Reference in New Issue
Block a user