openstack-ansible/doc/source/install-guide/targethosts-networkconfig.rst
Alexandra 55de3ed877 [DOCS] Update to installation guide
Adds new appendix for role docs

Implements: blueprint osa-install-guide-overhaul

Change-Id: Ideebdf6ecd4c843116ee229c07d13f97a680fd7f
Closes-bug: 1624242
Closes-bug: 1620234
2016-09-19 15:25:11 +01:00

4.9 KiB

Network configuration

Production environment

This example allows you to use your own parameters for the deployment.

If you followed the previously proposed design, the following table shows bridges that are to be configured on hosts.

Bridge name Best configured on With a static IP
br-mgmt On every node Always
On every storage node When component is deployed on metal

+ br-storage +-----------------------+-------------------------------------+ | | On every compute node | Always | +-------------+-----------------------+-------------------------------------+ | | On every network node | When component is deployed on metal | + br-vxlan +-----------------------+-------------------------------------+ | | On every compute node | Always | +-------------+-----------------------+-------------------------------------+ | | On every network node | Never | + br-vlan +-----------------------+-------------------------------------+ | | On every compute node | Never | +-------------+-----------------------+-------------------------------------+

Example for 3 controller nodes and 2 compute nodes

  • VLANs:
    • Host management: Untagged/Native
    • Container management: 10
    • Tunnels: 30
    • Storage: 20
  • Networks:
    • Host management: 10.240.0.0/22
    • Container management: 172.29.236.0/22
    • Tunnel: 172.29.240.0/22
    • Storage: 172.29.244.0/22
  • Addresses for the controller nodes:
    • Host management: 10.240.0.11 - 10.240.0.13
    • Host management gateway: 10.240.0.1
    • DNS servers: 69.20.0.164 69.20.0.196
    • Container management: 172.29.236.11 - 172.29.236.13
    • Tunnel: no IP (because IP exist in the containers, when the components are not deployed directly on metal)
    • Storage: no IP (because IP exist in the containers, when the components are not deployed directly on metal)
  • Addresses for the compute nodes:
    • Host management: 10.240.0.21 - 10.240.0.22
    • Host management gateway: 10.240.0.1
    • DNS servers: 69.20.0.164 69.20.0.196
    • Container management: 172.29.236.21 - 172.29.236.22
    • Tunnel: 172.29.240.21 - 172.29.240.22
    • Storage: 172.29.244.21 - 172.29.244.22

Modifying the network interfaces file

After establishing initial host management network connectivity using the bond0 interface, modify the /etc/network/interfaces file. An example is provided on this Link to Production Environment based on the production environment described in host layout for production environment.

Reboot your servers after modifying the network interfaces file.

Test environment

This example uses the following parameters to configure networking on a single target host. See Figure 3.2 for a visual representation of these parameters in the architecture.

  • VLANs:

    • Host management: Untagged/Native
    • Container management: 10
    • Tunnels: 30
    • Storage: 20
  • Networks:

    • Host management: 10.240.0.0/22
    • Container management: 172.29.236.0/22
    • Tunnel: 172.29.240.0/22
    • Storage: 172.29.244.0/22
  • Addresses:

    • Host management: 10.240.0.11
    • Host management gateway: 10.240.0.1
    • DNS servers: 69.20.0.164 69.20.0.196
    • Container management: 172.29.236.11
    • Tunnel: 172.29.240.11
    • Storage: 172.29.244.11

Figure 3.2. Target host for infrastructure, networking, compute, and storage services

image

Modifying the network interfaces file

After establishing initial host management network connectivity using the bond0 interface, modify the /etc/network/interfaces file. An example is provided below on this link to Test Environment based on the test environment described in host layout for testing environment.