Ask Your Question

Revision history [back]

Hi,

In Kolla we use port 8780 for placement-api. To make placemenent-api HA under HAproxy just need to bind the VIP for whatever port are you using for placement endpoint (This port may vary from deployments method).

An example config for placement-api in HAproxy:

listen placement_api
  bind 192.168.100.10:8780
  http-request del-header X-Forwarded-Proto
  server controller 192.168.100.244:8780 check inter 2000 rise 2 fall 5
  server controller2 192.168.100.186:8780 check inter 2000 rise 2 fall 5

Regards

Hi,

In Kolla we use port 8780 for placement-api. placement-api, OSA also use same port and TripleO 8778. To make placemenent-api HA under HAproxy just need to bind the VIP for whatever port are you using for placement endpoint (This port may vary from deployments method).

An example config for placement-api in HAproxy:

listen placement_api
  bind 192.168.100.10:8780
  http-request del-header X-Forwarded-Proto
  server controller 192.168.100.244:8780 check inter 2000 rise 2 fall 5
  server controller2 192.168.100.186:8780 check inter 2000 rise 2 fall 5

Regards