仮想 IP の設定

仮想 IP の設定

クラスターノード間で自由に移動できる仮想 IP アドレス (VIP) を選択して割り当てる必要があります。

この設定は、API ノード (10.0.0.11) により使用される仮想 IP アドレス vip を作成します。

crmsh の場合:

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

pcs の場合:

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

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.