openstack-manuals/doc/high-availability-guide/api/section_api_vip.xml
Christian Berendt c71296175f Unified the syntax of the XML root element (high-availability-guide)
The XML root element of Docbook XML files should match the following
format:

<ELEMENT xmlns="http://docbook.org/ns/docbook"
  xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  version="5.0"
  xml:id="THE_XML_ID_OF_THE_ELEMENT">

Change-Id: I47786e5f70b64e1b14d1015ec5613a538ef8fc52
2014-07-09 21:28:04 +02:00

15 lines
658 B
XML

<section xmlns="http://docbook.org/ns/docbook"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="5.0"
xml:id="s-api-vip">
<title>Configure the VIP</title>
<para>First, you must select and assign a virtual IP address (VIP) that can freely float between cluster nodes.</para>
<para>This configuration creates <literal>p_ip_api</literal>, a virtual IP address for use by the API node (192.168.42.103):</para>
<screen>primitive p_api-ip ocf:heartbeat:IPaddr2 \
params ip="192.168.42.103" cidr_netmask="24" \
op monitor interval="30s"</screen>
</section>