background image

6–Testing
Testing VMs

15

83840-546-03  B

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.

Содержание 3400 Series

Страница 1: ...83840 546 03 B User s Guide OpenStack Deployment with VXLAN Configuration QLogic 3400 8400 and 45000 Series Ethernet Adapters...

Страница 2: ...pen Stack platforms Added a footnote associating 3400 8400 45000 Series Adapters with the 57800 Series Adapters and QL4521x adapters Intended Audience on page v Added Liberty and Mitaka to the applica...

Страница 3: ...x 1 Introduction Audience 1 What is OpenStack 1 2 Example Architecture OpenStack Nodes 2 Controller Node 2 Compute Node 2 Network Node 2 3 Prerequisites 4 VXLAN Configuration with the QLogic 3400 8400...

Страница 4: ...3400 8400 and 45000 Series Ethernet Adapters iv 83840 546 03 B 5 Configuration Deployment with VXLAN Creating a Tenant Network 11 Creating the vxlan_subnet Subnet 12 Creating the VM with the VXLAN Ne...

Страница 5: ...s the OpenStack 4 node architecture Chapter 3 Prerequisites describes what you need to use OpenStack with VXLAN configuration using the QLogic 3400 8400 45000 Series Adapters Chapter 4 VXLAN Configura...

Страница 6: ...to Accessories and then click Command Prompt Under Notification Options select the Warning Alarms check box Text in Courier font indicates a file name directory path or command line text For example...

Страница 7: ...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...

Страница 8: ...o your computer 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...

Страница 9: ...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 databa...

Страница 10: ...ack project is an open source cloud computing platform that supports all types of cloud environments and works as infrastructure as a service IAAS The technology consists of a series of interrelated p...

Страница 11: ...on 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...

Страница 12: ...tall yum content OpenStack Kilo http docs openstack org kilo install guide install yum content Open Stack Liberty http docs openstack org liberty install guide rdo Open Stack Mitaka http docs openstac...

Страница 13: ...rovide 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 network...

Страница 14: ...es 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 t...

Страница 15: ...on To configure the Network node 1 In the Network node edit the following files For Juno Kilo Liberty and Mitaka edit the etc neutron plugins ml2 ml2_conf ini file as follows ml2 tenant_network_types...

Страница 16: ...witch 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 s...

Страница 17: ...llDriver enable_ipset True ovs local_ip INSTANCE_TUNNEL_INTERFACE_IP_ADDRESS different ip for compute node1 and computenode2 tunnel_type vxlan tunnel_bridge br tun integration_bridge br int tunnel_id_...

Страница 18: ...ple output Bridge br tun Port br tun Interface br tun type internal Port patch int Interface patch int type patch options peer patch tun Port vxlan 0a00015c Interface vxlan 0a00015c type vxlan options...

Страница 19: ...an 0a00015c type vxlan options df_default true in_key flow local_ip 10 0 1 91 out_key flow remote_ip 10 0 1 92 Port vxlan 0a000151 Interface vxlan 0a000151 type vxlan options df_default true in_key fl...

Страница 20: ...1 Create a tenant network with the VXLAN network type by issuing the following command neutron net create demo net provider network_type vxlan 2 Issue the following command to view the Neutron net li...

Страница 21: ...eating 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 name...

Страница 22: ...LAN Creating the VM with the VXLAN Network 13 83840 546 03 B 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...

Страница 23: ...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...

Страница 24: ...un 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 le...

Страница 25: ...le OVS on Red Hat 7 9 1 Copy the distribution tar ball Openvswitch 2 3 1 tar gz to the rpm source directory root rpmbuild SOURCES 2 Install the following build prerequisites before compiling Open vSwi...

Страница 26: ...e following command rpmbuild bb root rpmbuild SPECS openvswitch spec This command creates an Open vSwitch 64 bit rpm in the root rpmbuild RPMS x86_64 location 6 Issue the following command to install...

Страница 27: ......

Страница 28: ...Inc Specifications are subject to change without notice All rights reserved worldwide QLogic the QLogic logo and FastLinQ are trademarks or registered trademarks of QLogic Corporation OpenStack is a r...

Отзывы: