openstack-manuals/doc/ha-guide/source/controller-ha-vip.rst
msidana ed83b32146 Removing the invalid params option from pcs CLI.
pcs CLI doesn't have the params option and gives error with it.

Change-Id: I78a44a534f295887b366644e2e881936ec8d7c8a
Closes-Bug: #1778229
2018-06-24 10:53:16 +05:30

580 B

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:

# crm configure primitive vip ocf:heartbeat:IPaddr2 \
  params ip="10.0.0.11" cidr_netmask="24" op monitor interval="30s"

For pcs:

# pcs resource create vip ocf:heartbeat:IPaddr2 \
  ip="10.0.0.11" cidr_netmask="24" op monitor interval="30s"