Neutron prerequisites for Red Hat Enterprise Linux
This OpenStack tutorial describes prerequisites to prepare your servers to leverage OpenStack Neutron with Red Hat Enterprise Linux (RHEL).
For a general description of Neutron networking concepts, refer to the tutorial Networking with OpenStack Neutron Basic Concepts.
Refer to Platform9 Managed OpenStack prerequisites for Linux/KVM for hardware requirements for Platform9 Managed OpenStack.
Prepare Your Linux/KVM Physical Servers for Neutron
To run OpenStack Neutron, each of your physical servers (hypervisors) that run RHEL, as well as the Neutron network node must be prepared with following steps.
Step 1: Register the RHEL server and Subscribe to Red Hat Customer Portal
Platform9 Managed OpenStack supports RHEL versions 7.x and above. Run the following commands to register and attach the RHEL server to the Red Hat Customer Portal for updates, and enable the "server-optional" RPM repository.
Step 2: Install, Enable, & Start the NTP Daemon.
This is required for all components to have their time synchronized.
Step 3: Set SELinux to permissive
This is required for Open vSwitch (OVS) to be able to manage networking
Step 4: Disable Firewalld and NetworkManager
This is required for KVM and OVS to be able to create iptables rules directly without Firewalld getting in the way.
Step 5: Enable Network
Step 6: Load the modules needed for Neutron
Step 7: Add sysctl options
Step 8: Add the Platform9 YUM Repo
Step 9: Install Open vSwitch
Step 10: Enable and start Open vSwitch
Step 11: Configure physical interfaces
We are assuming eth0 and eth1.
Please substitute your correct interface names
We are assuming an MTU of 9000 (VXLAN requires an MTU of at least 1600)
Make sure all physical switches are configured to handle this MTU or you will have problems.
Step 12: Setup the Bond interface
We are assuming bonding type=4 (LACP) refer to Bonding Types to learn more.
Step 13: Setup the VLAN trunk Bridge
Step 14: Setup the Management interface
We are assuming VLAN 101 for the Management network. Please use your correct VLAN ID for your environment.
We are assuming subnet 192.0.2.0/24 for Management. Please use your correct subnet
Step 15: Setup the VXLAN/GRE tunneling interface (Optional)
We are assuming VLAN 102 for VXLAN/GRE tunneling. Please use your correct VLAN
We are assuming subnet 198.51.100.0/24 for VXLAN/GRE tunneling. Please use your correct subnet.
Step 16: Setup the External Interface and External Bridge
We are assuming VLAN 103 for the external network. Please use your correct VLAN.
Step 17: Setup the Storage interface (Optional)
We are assuming VLAN 104 for the storage network. Please use your correct VLAN.
We are assuming subnet 203.0.113.0/24 for the storage network. Please use your correct subnet.
Step 18: Restart Networking
Step 19: Add tag to external bridge (to enable bridge monitoring)
March 25, 2017