f6451c96b1
Cleaning up the ha-guide for minor errors and restructure of content. Some bugs have been filed to draw attention to the TODOs inline. Change-Id: Id6cdff494db905826ae87be3e38d587e9829d6da
24 lines
571 B
ReStructuredText
24 lines
571 B
ReStructuredText
=================
|
|
Configure the VIP
|
|
=================
|
|
|
|
You must select and assign a virtual IP address (VIP) that can freely float
|
|
between cluster nodes.
|
|
|
|
This configuration creates ``vip``, a virtual IP address for use by the
|
|
API node (``10.0.0.11``).
|
|
|
|
For ``crmsh``:
|
|
|
|
.. code-block:: console
|
|
|
|
primitive vip ocf:heartbeat:IPaddr2 \
|
|
params ip="10.0.0.11" cidr_netmask="24" op monitor interval="30s"
|
|
|
|
For ``pcs``:
|
|
|
|
.. code-block:: console
|
|
|
|
# pcs resource create vip ocf:heartbeat:IPaddr2 \
|
|
params ip="10.0.0.11" cidr_netmask="24" op monitor interval="30s"
|