c71296175f
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
15 lines
658 B
XML
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>
|