2809ad9edb
Discussion at mailing list: http://lists.openstack.org/pipermail/openstack-docs/2016-May/008532.html Change-Id: Icc6761cdda2ca820447153fa7ec046e22cc98129
25 lines
572 B
ReStructuredText
25 lines
572 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"
|