@@ -20,23 +20,35 @@ Deploying Octavia
2020=================
2121
2222Much like any other Kolla managed service, the method of deploying Octavia is as simple
23- as enabling ``kolla_enable_octavia: true `` within the chosen environment's ``kolla.yml ``.
24- However, before running a ``kayobe overcloud service configure ``, check
25- ``octavia_net_interface `` (often found within the ``controllers `` directory within
26- ``${KAYOBE_CONFIG_PATH}/inventory/group_vars ``) to see the network which Octavia management
27- network will be using. If it is configured to use a VLAN then ``kolla_enable_neutron_provider_networks: true ``
28- should also be set in ``kolla.yml ``.
29-
30- .. note ::
31-
32- It of course goes without saying that the network configured for ``octavia_net_interface ``
33- should also exist in ``networks.yml ``.
34-
35- By default Octavia will deploy an Amphora (a single Ubuntu VM running HAProxy) per load balancing service.
36- Consequently, if using Amphora this default behaviour should be changed to make them highly available so that
37- there are two Amphora VMs per service. Done by setting ``octavia_loadbalancer_topology: "ACTIVE_STANDBY" ``
38- in ``${KAYOBE_CONFIG_PATH}/kolla/globals.yml ``, this will ensure that if the master Amphora VM were to go down,
39- the other would be able to take over the load balancing functions.
23+ as:
24+
25+ #. Enabling ``kolla_enable_octavia: true `` within the chosen environment's ``kolla.yml ``.
26+ #. Check ``octavia_net_interface `` is configured in ``${KAYOBE_CONFIG_PATH}/inventory/group_vars/ ``
27+ (often in ``controllers/network-interfaces.yml ``).
28+ - IF NOT CONFIGURED
29+ #. Check if a ``bond_interface `` has been configured, still within ``network-interfaces.yml ``.
30+ #. Check whether other network interfaces, such as ``internal_interface ``, are configured to use ``{{ bond_interface }} ``
31+ and/or ``{{ .._vlan }} ``.
32+ #. If they are, then ``octavia_net_interface: "{{ brbond0_interface }}.{{ octavia_net `` ± ``_vlan }}" ``.
33+ - IF CONFIGURED
34+ #. Continue to step 3.
35+ #. Check that the ``{{ .._net_.. }} `` network configured for ``octavia_net_interface `` exists in ``networks.yml ``.
36+ - IF NOT CONFIGURED
37+ #. Set ``octavia_net_name: octavia_net ``.
38+ #. Configure the Octavia network IP information, making sure to set ``octavia_net_vlan `` if using a VLAN.
39+ - IF CONFIGURED
40+ #. Continue to step 4.
41+ #. Dependencies if:
42+ - USING VLAN
43+ #. Set ``kolla_enable_neutron_provider_networks: true `` in ``kolla.yml ``.
44+ - USING AMPHORA
45+ #. Set ``octavia_loadbalancer_topology: "ACTIVE_STANDBY" `` in ``${KAYOBE_CONFIG_PATH}/kolla/globals.yml ``.
46+ #. Run ``kayobe overcloud service configure ``.
47+
48+ By default Octavia will deploy an Amphora (a single Ubuntu VM running HAProxy) per load balancing service.
49+ Consequently, if using Amphora, this default behaviour should be changed to make them highly available so that
50+ there are two Amphora VMs per service. Achieved by step 4.2 above, this will ensure that if the master Amphora
51+ VM were to go down, the other would be able to take over the load balancing functions.
4052
4153Further configuration options and details on installation can be found in the
4254`Octavia documentation <https://docs.openstack.org/kolla-ansible/latest/reference/networking/octavia.html >`_.
0 commit comments