Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou.

Slides:



Advertisements
Similar presentations
Modular Layer 2 In OpenStack Neutron
Advertisements

Using OpenStack With OpenDaylight
© 2012 IBM Corporation Architecture of Quantum Folsom Release Yong Sheng Gong ( 龚永生 ) gongysh #openstack-dev Quantum Core developer.
Bringing Together Linux-based Switches and Neutron
CloudWatcher: Network Security Monitoring Using OpenFlow in Dynamic Cloud Networks or: How to Provide Security Monitoring as a Service in Clouds? Seungwon.
CIS 193A – Lesson9 Network Infrastructure. CIS 193A – Lesson9 Focus Question What are three high level subnets a corporate intranet will want to support?
A 5 minutes intro to Openstack (and a few more minutes on Openstack Networking) Salvatore Orlando 3 rd OSUG Italy Meetup Rome, May 9 th 2013.
10/04/12 Under the Hood: Network Virtualization with OpenStack Neutron and VMware NSX Somik Behera – NSX Product Manager Dimitri Desmidt - NSX Senior Technical.
SDN in Openstack - A real-life implementation Leo Wong.
7th OpenSTACK USER group nordics
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
1 Week #1 Objectives Review clients, servers, and Windows network models Differentiate among the editions of Server 2008 Discuss the new Windows Server.
OpenContrail Quickstart
OpenStack High Availability
LISP, SDN, and OpenDaylight
Name Title Microsoft Windows Azure: Migrating Web Applications.
Migrating Applications to Windows Azure Virtual Machines Michael Washam Senior Technical Evangelist Microsoft Corporation.
System Center 2012 Setup The components of system center App Controller Data Protection Manager Operations Manager Orchestrator Service.
Data Center Network Redesign using SDN
Subtitle Speaker’s Name / Month day, 2015
CON Software-Defined Networking in a Hybrid, Open Data Center Krishna Srinivasan Senior Principal Product Strategy Manager Oracle Virtual Networking.
Using OpenStack In A Traditional Hosting Environment Jun Park (Ph.D.), Sr. Systems Architect Mike Wilson, Sr. Systems Architect EIG/Bluehost OpenStack.
Windows Azure Migrating Applications and Workloads Speaker Title Organization.
Networking Lab Life of a packet Nicolas Prost Septembre
Ph No: Mob: ,plot No-27,NGGO's Colony, Pattabhi reddy gardens,Visakhapatnam-07 Open.
EXperimental Infrastructures for the Future Internet Training Session “Service Integration” Álvaro Alonso Joaquín Salvachúa UPM-DIT.
OpenStack cloud at Oxford Kashif Mohammad University of Oxford.
EXPOSING OVS STATISTICS FOR Q UANTUM USERS Tomer Shani Advanced Topics in Storage Systems Spring 2013.
OrangeMesh Dashboard Shaddi Hasan Mac Mollsion Will Vogler.
Extending OVN Forwarding Pipeline Topology-based Service Injection
CoprHD and OpenStack Ideas for future.
SOFTWARE DEFINED NETWORKING/OPENFLOW: A PATH TO PROGRAMMABLE NETWORKS April 23, 2012 © Brocade Communications Systems, Inc.
Introduction to Mininet, Open vSwitch, and POX
Software Defined Networking and OpenFlow Geddings Barrineau Ryan Izard.
KVM tutorial #2 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Co-ordination & Harmonisation of Advanced e-Infrastructures for Research and Education Data Sharing Grant.
Failure Inspection in Doctor utilizing Vitrage and Congress
Towards Self Adaptable Security Monitoring in IaaS clouds Anna Giannakou Advisors: Christine Morin, Jean-Louis Pazat, Louis Rilling.
Ganeti Instance Creation
Home Networking CCCC Linux Desktop SIG August 20, 2007.
Mininet and Openflow Labs
OpenStack.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Flash Test By Nikolas Hermanns.
Option 1 – IP specified with ports
Network Configuration
Programmable Overlays with VPP
ONAP Installation Eric Debeau, Orange
ODL SFC, Implementing IETF SFC November 14, 2016
S3P Scalability Testing: Status update
Virtual Network Management Center 2
Interoperability in Modern Clouds using DevOps
OpenStack Ani Bicaku 18/04/ © (SG)² Konsortium.
Virtualized Services Platform
Cloud Technology Group
Bin Hu, AT&T IPv6 Project Lead, OPNFV
OPNFV Arno Installation & Validation Walk-Through
OpenStack Cloud DR PoC NEC India.
Network Virtualization
Dynamic SFC from Tacker to incept specific traffic of VM
Adaptive Flow Control using OpenFlow
OpenStack-alapú privát felhő üzemeltetés
Dovetail & CVP Tutorial/Demo
Attilla de Groot | Sr. Systems Engineer, HCIE #3494 | Cumulus Networks
Future Internet: Infrastructures and Services
Future Internet: Infrastructures and Services
How To Configure Hotspot in Virtual Mikrotik on VMware
Flow Processing for Fast Path & Inline Acceleration
Bending Ironic for Big Iron
Presentation transcript:

Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou

Agenda Overview of eBay Cloud Environment Nova-network to Neutron Migration –Control Plane Migration –Data Plane Migration –Post-migration. Demo Presentation Title Goes Here 2

Folsom Nova-network Presentation Title Goes Here 3

Havana Neutron + SDN Controller Presentation Title Goes Here 4

Control Plane Migration Setup Havana Openstack nodes –Openstack Controllers. (Keystone, Nova, Glance, Neutron) –Rabbitmq Servers. –MySQL Servers. Setup NSX Nodes –NSX Controllers –NSX Manager Transport zone creation in NSX controller. All Hypervisors registration to NSX controller. Presentation Title Goes Here 5 Folsom Nova-compute VM Compute Node Folsom OS Controller Nodes Havana OS Controller Nodes NSX Nodes

Control Plane Migration Keystone, Nova, Glance DB migration. Neutron net/subnet creation according to the information in folsom nova.networks and nova.fixed_ips tables. Presentation Title Goes Here 6 Glance DB Keystone DB Nova DB Neutron DB Glance DB Keystone DB Nova DB export, import, db_sync folsom havana nova.networks nova.fixed_ips net-create subnet-create

Control Plane Migration Enable fake driver in nova-compute, and register to Controller. Create port in Neutron and Attach port to VM Presentation Title Goes Here 7 new_port = { "port": { "network_id": network_id, "mac_address": mac, "fixed_ips": [ { "subnet_id": subnet_id, "ip_address": ip, } ], "tenant_id": tenant } neutron.create_port(new_port) nova.interface_attach(port_id, "", "") Nova-compute with fake driver Nova DB Neutron DB VM vnet Havana Openstack Controller NSX Controller

Control Plane Migration Security Group Presentation Title Goes Here 8 {“remote_group_id”: “ ”, "direction": "ingress", "ethertype": "IPv4"}, {“remote_group_id”: “ ”, "direction": "ingress", "ethertype": "IPv6"}, {"direction": "egress", "ethertype": "IPv4"}, {"direction": "egress", "ethertype": "IPv6"} {"direction": "ingress", "ethertype": "IPv4"}, {"direction": "ingress", "ethertype": "IPv6"}, {"direction": "egress", "ethertype": "IPv4"}, {"direction": "egress", "ethertype": "IPv6"} Default Security Group Updated Security Group

Data Plane Migration Presentation Title Goes Here 9 VM br0 vnetx eth0 Host IP Linux bridge Open vSwitch VM Install Open vSwitch

Data Plane Migration Presentation Title Goes Here 10 VM br0 vnetx eth0 Host IP Linux bridge Open vSwitch VM Remove VM interfaces from Linux bridge Rename to tapxxxxx (Havana convention) Remove physical interface from Linux bridge Remove Linux bridge tapxxxx Host IP

Data Plane Migration Presentation Title Goes Here 11 VM eth0 Open vSwitch VM Start OVS service Create integration bridge: br-int Create external bridge: br0, set external-id Add eth0 to br0 Add host IP to br0, add host route br-int br0 Host IP tapxxxx

Data Plane Migration Presentation Title Goes Here 12 VM eth0 Open vSwitch VM br-int br0 Host IP Add VM interfaces to br-int # ovs-vsctl add-port br-int vnetx -- \ set Interface tapxxxx external-ids:iface-id= -- \ set Interface tapxxxx external-ids:attached-mac= -- \ set Interface tapxxxx external-ids:iface-status=active Set SDN controller # ovs-vsctl set-manager OVSDB OpenFlow NSX Controller tapxxxx

Post-migration Prepare for next host reboot –Update /etc/sysconfig/network-scripts/ifcfg-xxx –For Ubuntu: update /etc/network/interface Prepare for next VM reboot –Libvirt configuration update # virsh define Problem: Runtime information is not updated: VM reset will fail! Hack: –Update libvirt runtime configuration under: /var/run/libvirt/qemu/.xml –Restart libvirtd service Presentation Title Goes Here 13

Rollback You never know … Support rollback –Revert the steps Automation Presentation Title Goes Here 14

All in One Presentation Title Goes Here 15 VM (DHCP) vnet eth0 Nova-compute Nova-network dnsmasq Nova-compute (fake driver) folsom havana HV IP OVSDB Linux bridge neutron.create_port(new_port) nova.interface_attach(port_id, "", "") Havana Openstack Controller create port in NSX controller /etc/sysconfig/network-scripts/ifcfg- ethx /var/run/libvirt/qemu/.xml br0 br-int br0 Open vSwitch To NSX Controller openflow From NSX Controller

Demo