QLogic 3400, 8400, and 45000 Series Ethernet Adapters
83840-546-03 B
Page 2
User’s Guide—OpenStack Deployment with VXLAN Configuration
QLogic 3400, 8400, and 45000 Series Ethernet Adapters
This document is provided for informational purposes only and may contain errors. QLogic reserves the right, without
notice, to make changes to this document or in product design or specifications. QLogic disclaims any warranty of any
kind, expressed or implied, and does not guarantee that any results or performance described in the document will be
achieved by you. All statements regarding QLogic’s future direction and intent are subject to change or withdrawal
without notice and represent goals and objectives only.
Document Revision History
Rev 01, May 15, 2015
Rev 02, May 22, 2015
Rev 03, March 22, 2016
Rev A, April 19, 2016
Rev B, August 29, 2016
ChangesSections Affected
Added Liberty and Mitaka to the applicable OpenStack platforms.
Added a footnote associating 3400/8400/45000
Series Adapters with the 57800 Series Adapters
and QL4521x adapters.
Added Liberty and Mitaka to the applicable OpenStack platforms.
Added a NOTE indicating that support for the
45000 Series is limited to the QL4521x adapters.
In the first bullet, added a NOTE indicating that
support for the 45000 Series is limited to the
QL4521x adapters.
In the third bullet, added links to information about
OpenStack installation for Linux for Liberty and
Mitaka.
In Step 1, added qualifiers for Juno, Kilo, Liberty,
and Mitaka to the editing of the /etc/neu-
tron/plugins/ml2/ml2_conf.ini and the
/etc/neutron/plugins/ml2/openvswitch_agent.ini files.
In Step 1, added qualifiers for Juno, Kilo, Liberty,
and Mitaka to the editing of the /etc/neu-
tron/plugins/ml2/ml2_conf.ini and the
/etc/neutron/plugins/ml2/openvswitch_agent.ini files.
“Intended Audience” on page v
“Audience” on page 1
“Prerequisites” on page 3
“Network Node Configuration” on page 6
“Compute Node Configuration (Compute1 and
Compute2)” on page 7
This guide is intended for OpenStack® (Juno, Kilo, Liberty, and Mitaka) users who
want to configure virtual extensible LAN (VXLAN) with the QLogic
3400/8400/45000 Series Adapters
What Is in This Guide
This preface specifies the intended audience, explains the typographic
conventions used in this guide, lists related documents, and provides technical
support and contact information.
The remainder of this guide is organized into the following chapters:
Chapter 1 Introduction describes the audience for this guide and outlines the
OpenStack architecture.
Chapter 2 Example Architecture describes the OpenStack 4 node
architecture.
®
1
.
Chapter 3 Prerequisites describes what you need to use OpenStack with
VXLAN configuration using the QLogic 3400/8400/45000 Series Adapters.
Chapter 4 VXLAN Configuration with the QLogic 3400/8400/45000 Series
Adapters describes how to install packages, configure the system, and
configure VXLAN using the QLogic 3400/8400/45000 Series Adapters.
Chapter 5 Configuration Deployment with VXLAN describes how to deploy
OpenStack with VXLAN.
Chapter 6Te sti ng provides a sample testing procedure.
Chapter 7Known Issues describes a known issue with open virtual search
(OVS) and OpenStack.
Related Materials
For information about downloading documentation from the QLogic Web site, see
“Downloading Updates” on page viii.
1
Includes 578xx-based Adapters and FastLinQ™ QL4521x 25-gigabit Ethernet (GbE) Adapters.
v83840-546-03 B
Page 6
Preface
Documentation Conventions
Documentation Conventions
This guide uses the following documentation conventions:
Tex t i n blue font indicates a hyperlink (jump) to a figure, table, or section in
this guide, and links to Web sites are shown in underlined blue
example:
Table 9-2 lists problems related to the user interface and remote agent.
See “Installation Checklist” on page 6.
. For
For more information, visit www.qlogic.com
.
Tex t i n bold font indicates user interface elements such as a menu items,
buttons, check boxes, or column headings. For example:
Click the Start button, point to Programs, point to Accessories, and
then click Command Prompt.
Under Notification Options, select the Warning Alarms check box.
Tex t i n Courier font indicates a file name, directory path, or command line
text. For example:
To return to the root directory from anywhere in the file structure:
Type
cd /root and press ENTER.
Enter the following command: sh ./install.bin
Key names and key strokes are indicated with UPPERCASE:
Press CTRL+P.
Press the UP ARROW key.
Tex t i n italics indicates terms, emphasis, variables, or document titles. For
example:
For a complete listing of license agreements, refer to the QLogic
Software End User License Agreement.
What are shortcut keys?
To enter the date type mm/dd/yyyy (where mm is the month, dd is the
day, and yyyy is the year).
Topic titles between quotation marks identify related topics within this
manual.
vi83840-546-03 B
Page 7
Preface
License Agreements
Command line syntax conventions include the following:
Plain text indicates items that you must type as shown. For example:
qaucli -pr nic -ei
< > (angle brackets) indicate a variable whose value you must specify.
For example:
<serial_number>
[ ] (square brackets) indicate an optional parameter. For example:
[<file_name>] means specify a file name, or omit it to select
the default file name.
| (vertical bar) indicates mutually exclusive options; select one option
only. For example:
on|off
1|2|3|4
... (ellipsis) indicates that the preceding item may be repeated. For
example:
x... means one or more instances of x.
[x...] means zero or more instances of x.
( ) (parentheses) and { } (braces) are used to avoid logical ambiguity.
For example:
a|b c is ambiguous
{(a|b) c} means a or b, followed by c
{a|(b c)} means either a, or b c
License Agreements
Refer to the QLogic Software End User License Agreement for a complete listing
of all license agreements affecting the QLogic 3400/8400/45000 Series Adapters.
Technical Support
Customers should contact their authorized maintenance provider for technical
support of their QLogic products. QLogic-direct customers may contact QLogic
Technical Support; others will be redirected to their authorized maintenance
provider. Visit the QLogic support Web site listed in Contact Information for the
latest firmware and software updates.
For details about available service plans, or for information about renewing and
extending your service, visit the Service Program Web page at
www.qlogic.com/Support/Pages/ServicePrograms.aspx
.
vii83840-546-03 B
Page 8
Preface
Technical Support
Downloading Updates
The QLogic Web site provides periodic updates to product firmware, software,
and documentation.
To download firmware, software, and documentation:
1.Go to the QLogic Downloads and Documentation page:
/driverdownloads.qlogic.com
2.Type the QLogic model name in the search box.
3.In the search results list, locate and select the firmware, software, or
documentation for your product.
4.View the product details Web page to ensure that you have the correct
firmware, software, or documentation. For additional information, click
Read Me and Release Notes under Support Files.
5.Click Download Now.
6.Save the file to your computer.
.
Training
7.If you have downloaded firmware, software, drivers, or boot code, follow the
installation instructions in the Readme file.
Instead of typing a model name in the search box, you can perform a guided
search as follows:
1.Click the product type tab: Adapters, Switches, Routers, or ASICs.
2.Click the corresponding button to search by model or operating system.
3.Click an item in each selection column to define the search, and then click
Go.
4.Locate the firmware, software, or document you need, and then click the
item’s name or icon to download or open the item.
QLogic Global Training maintains a Web site at www.qlogictraining.com offering
online and instructor-led training for all QLogic products. In addition, sales and
technical professionals may obtain Associate and Specialist-level certifications to
qualify for additional benefits from QLogic.
viii83840-546-03 B
Page 9
Preface
Technical Support
Contact Information
QLogic Technical Support for products under warranty is available during local
standard working hours excluding QLogic Observed Holidays. For customers with
extended service, consult your plan for available hours. For Support phone
numbers, see the Contact Support link at support.qlogic.com
Support Headquarters
QLogic Web Site
Technical Support Web Site
.
QLogic Corporation
12701 Whitewater Drive
Minnetonka, MN 55343 USA
www.qlogic.com
support.qlogic.com
Technical Support E-mail
Technical Training E-mail
Knowledge Database
The QLogic knowledge database is an extensive collection of QLogic product
information that you can search for specific solutions. QLogic is constantly adding
to the collection of information in the database to provide answers to your most
urgent questions. Access the database from the QLogic Support Center:
support.qlogic.com.
support@qlogic.com
training@qlogic.com
ix83840-546-03 B
Page 10
1Introduction
NOTE
This chapter describes the audience for this guide and outlines the OpenStack
architecture.
Audience
This guide is intended for OpenStack (Juno, Kilo, Liberty, and Mitaka) users who
want to configure virtual extensible LAN (VXLAN) with the QLogic
3400/8400/45000 Series Adapters.
At the time of publication, support for the 45000 Series Adapters is limited to
the FastLinQ
What is OpenStack?
The OpenStack project is an open source cloud computing platform that supports
all types of cloud environments and works as infrastructure as a service (IAAS).
™ QL4521x 25GbE Adapters.
The technology consists of a series of interrelated projects that control pools of
processing, storage, and networking resources throughout a data center, which
users manage through a web-based dashboard, command line tools, or
representational state transfer (REST) APIs.
183840-546-03 B
Page 11
2Example Architecture
This chapter describes the OpenStack 4 node architecture.
OpenStack Nodes
This guide is intended for use with OpenStack 4 node architecture, which consists
of the following nodes:
Controller
Compute1
Compute2
Network
These nodes are described in the following sections.
Controller Node
In the example architecture used in this guide, the Controller node runs the
Identity service (Keystone), Image Service (Glance), management portions of the
Compute service (Nova Management) and Networking service (Neutron
Server/modular layer 2 (ML2) plug-in), networking plug-in, and the dashboard
(Horizon). The architecture also includes supporting services such as a database
(mysql), message broker (Rabbitmq), and network time protocol (NTP).
Compute Node
There are two compute nodes (Compute1 and Compute2) to check VXLAN
configuration. In this architecture, the compute nodes use a kernel-based virtual
machine (KVM) as the hypervisor (KVM is the default hypervisor). The compute
nodes run the Networking node plug-in (ML2) and layer 2 agent (OVS).
Network Node
The Network node runs the networking plug-in (ML2), layer 2 agent OVS, layer 3
agent, and DHCP agent. This node also handles external (Internet) connectivity
for tenant virtual machines (VMs) or instances of Compute nodes.
283840-546-03 B
Page 12
3Prerequisites
NOTE
This chapter describes what you need to use OpenStack with VXLAN
configuration using the QLogic 3400/8400/45000 Series Adapters.
You need the following knowledge and equipment:
One or more QLogic 3400/8400/45000 Series Adapters
At the time of publication, support for the 45000 Series Adapters is
limited to the FastLinQ QL4521x 25GbE Adapters.
An understanding of OpenStack deployment and experience with Neutron
networking with flat mode.
An understanding of OpenStack configuration on Red Hat
This chapter describes how to install packages, configure the system, and
configure VXLAN using the QLogic 3400/8400/45000 Series Adapters.
QLogic FastLinQ 3400/8400/45000 Series Adapters deliver assists and offloads
for VXLAN in OpenStack deployments that enable efficient distribution of network
transmit and receive processing for VXLAN traffic across servers with multiple
CPU cores. With QLogic VXLAN Overlay acceleration, the adapters provide the
ability to distribute workloads efficiently across all processor cores and deliver
maximum performance without burdening the host CPU.
QLogic recommends updating the 3400/8400 Series networking driver to the
latest available out-of-box driver (see “Downloading Updates” on page viii) for
maximum performance in OpenStack VXLAN deployments.
Installing Required Packages and System
Configurations
To install the required packages and configure the system:
1.Enable and start the libvirtd service on the Compute1 and Compute2
nodes by issuing the following command:
6.Make sure the correct version of the NIC drivers are loaded on the
Compute1 and Compute2 nodes:
bnx2x (3400 and 8400 Series Adapters)
qede/qed (45000 Series Adapters)
You can use the Red Hat 7 inbox driver to check the version.
7.Set the MTU size to 1600 for the VXLAN header.
This size avoids fragmentation, which can impact throughput.
VXLAN Configurations
For VXLAN configuration using OVS and the ML2 plug-in, make the configuration
changes described in the following sections for all nodes (Controller, Network,
Compute1, and Compute2).
Controller Node Configuration
To configure the Controller node:
1.In the Controller node, edit the
/etc/neutron/plugins/ml2/ml2_conf.ini file as follows:
/etc/neutron/plugins/ml2/ml2_conf.ini file as follows. For
Liberty and Mitaka, edit the
/etc/neutron/plugins/ml2/openvswitch_agent.ini file as
follows:
2.Restart the Open vSwitch service and other Neutron agents services by
issuing the following commands:
# service openvswitch-switch restart
# service neutron-plugin-openvswitch-agent restart
# service neutron-l3-agent restart
# service neutron-dhcp-agent restart
# service neutron-metadata-agent restart
Compute Node Configuration (Compute1 and Compute2)
To configure the Compute1 and Compute2 nodes:
1.In the Compute1 and Compute2 nodes, edit the following files:
For Juno, Kilo, Liberty, and Mitaka, edit the
/etc/neutron/plugins/ml2/ml2_conf.ini file as follows:
4–VXLAN Configuration with the QLogic 3400/8400/45000 Series Adapters
VXLAN Configurations
For Juno and Kilo, edit the
/etc/neutron/plugins/ml2/ml2_conf.ini file as follows. For
Liberty and Mitaka, edit the
/etc/neutron/plugins/ml2/openvswitch_agent.ini file as
follows:
2.Ensure that the Compute1 and Compute2 nodes’ tunneling bridge output
and associated VXLAN ports are configured correctly by issuing the
following command:
ovs-vsctl show
983840-546-03 B
Page 19
4–VXLAN Configuration with the QLogic 3400/8400/45000 Series Adapters
VXLAN Configurations
2.Issue the following command to view the Neutron subnet list:
# neutron subnet-list
Following is a sample output.
Creating the VM with the VXLAN Network
The following instructions create a VM with the VXLAN network on two different
Compute hosts. A VM named P1 is created on one host using the Compute1
node; a VM named P2 is created on a different host using the Compute2 node.
To create and verify the VMs:
1.Create two VMs with VXLAN by issuing the following commands:
# nova boot --flavor m1.small --image <KVM guest OS Image_ID>
--nic net-id=<demo net ID> --hint force_hosts=compute1
--security-group default P1
# nova boot --flavor m1.small --image <KVM guest OS Image_ID>
--nic net-id=<demo net ID> --hint force_hosts=compute2
--security-group default P2
1283840-546-03 B
Page 22
5–Configuration Deployment with VXLAN
Creating the VM with the VXLAN Network
Following is a sample output for the P2 VM on the Compute2 node.
2.To ensure that the VM is up and running, issue the following command:
# nova list
Following is a sample output.
1383840-546-03 B
Page 23
6Testing
This chapter contains a testing example and describes how to check the VMS on
the host and compute host levels.
Example Test
In this example, two VMs are created. A VM named P1 is created on one host
using the Compute1 node; a VM named P2 is created on a different host using the
Compute2 node.
To ensure that the VMs are up and running:
1.Log in to the system using either a floating IP address or the Horizon
dashboard Instance log in console. For the 45000 Series Adapters, ensure
that the correct version of the qede/qed driver has been loaded (see
“Installing Required Packages and System Configurations” on page 4).
2.Ping between the two VMs with an IP demo-net assigned IP address.
Following is a sample output.
1483840-546-03 B
Page 24
6–Testing
Testing VMs
Testing VMs
To test VMs on the host level, issue the following command:
ovs-ofctl dump-ports br-tun
The command output shows that packets and bytes counts increase as the ping
operations continue between the VMs.
To test VMs on the compute host level, issue the following command at the
interface level:
# tcpdump -i ens5f0 -c 1000 –w /root/vxlan.pcap
This command captures a packet trace, runs WIRESHARK®, and decodes
packets as VXLAN packets.
1583840-546-03 B
Page 25
7Known Issues
This chapter describes a known issue with OVS and OpenStack.
Sometimes OVS version 2.1.2-2 generates a segfault with the OpenStack (Kilo)
release.
QLogic has installed latest version OVS-2.3.1 from the following location: