Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Learning OpenStack Networking (Neutron), Second Edition

You're reading from   Learning OpenStack Networking (Neutron), Second Edition Wield the power of OpenStack Neutron networking to bring network infrastructure and capabilities to your cloud

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher Packt
ISBN-13 9781785287725
Length 462 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
James Denton James Denton
Author Profile Icon James Denton
James Denton
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Learning OpenStack Networking (Neutron) Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Preparing the Network for OpenStack FREE CHAPTER 2. Installing OpenStack 3. Installing Neutron 4. Building a Virtual Switching Infrastructure 5. Creating Networks with Neutron 6. Managing Security Groups 7. Creating Standalone Routers with Neutron 8. Router Redundancy Using VRRP 9. Distributed Virtual Routers 10. Load Balancing Traffic to Instances 11. Firewall as a Service 12. Virtual Private Network as a Service Additional Neutron Commands Virtualizing the Environment Index

Changes to the OpenStack installation


OpenStack can run in a virtualized environment, but various components must be tuned accordingly. The configuration is not optimal but should provide an experience that is acceptable for demonstration purposes.

Changes to the Nova configuration

After the OpenStack installation is complete, a change must be made to the Nova configuration on the virtual machines running the nova-compute service before instances can be booted. Software-based virtualization must be enabled in place of the faster, hardware-based KVM hypervisor.

On the compute node virtual machines, edit the auxiliary Nova configuration file at /etc/nova/nova-compute.conf and set virt_type to qemu from kvm:

[libvirt]
...
virt_type=qemu

Restart the nova-compute service on both the compute nodes with the following command:

# service nova-compute restart

Changes to the Neutron configuration

Due to the lack of flexibility in configuring tagged networks with VirtualBox, the external GATEWAY_NET provider network that was configured in Chapter 7, Creating Standalone Routers with Neutron, must be configured as a flat network. To enable the use of flat networks, the flat_networks configuration option in the ML2 configuration file must be updated.

Using a text editor, update the flat_networks configuration option within the [ml2_type_flat] section of the ML2 configuration file on all hosts with the following:

[ml2_type_flat]
...
flat_networks = physnet2

For reference, the ML2 plugin configuration file can be found at /etc/neutron/plugins/ml2/ml2_conf.ini.

Restart the neutron-server service on the controller node for the changes to take effect.

# service neutron-server restart

Note

When creating the GATEWAY_NET network, be sure to use the --provider:network_type=flat and --provider:physical_network=physnet2 options rather than vlan. Your workstation should be able to access floating IPs thanks to the VirtualBox host-only network configuration implemented earlier in this appendix.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £13.99/month. Cancel anytime
Visually different images