SlideShare ist ein Scribd-Unternehmen logo
1 von 16
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 
VM 
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. 
Glance 
DB 
Presentation Title Goes Here 6 
Keystone 
DB 
Nova 
DB 
Neutron 
DB 
export, import, db_sync 
Glance 
DB 
Keystone 
DB 
Nova 
DB 
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 
Neutron 
DB 
NSX 
Controller 
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 
VM 
vnet 
Havana 
Openstack 
Controller
Control Plane Migration 
• Security Group 
Presentation Title Goes Here 8 
{“remote_group_id”: “<self security group 
uuid>”, "direction": "ingress", "ethertype": 
"IPv4"}, 
{“remote_group_id”: “<self security group 
uuid>”, "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 
VM 
• Install Open vSwitch
Data Plane Migration 
Presentation Title Goes Here 10 
• Remove VM interfaces from Linux bridge 
• Rename to tapxxxxx (Havana convention) 
• Remove physical interface from Linux bridge 
• Remove Linux bridge 
VM 
br0 
vnetx 
eth0 
Host IP 
Linux bridge 
Open vSwitch 
VM 
VM 
tapxxxx 
Host IP
Data Plane Migration 
Presentation Title Goes Here 11 
• 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 
VM 
eth0 
Open vSwitch 
VM 
VM 
br-int 
br0 
Host IP 
tapxxxx
Data Plane Migration 
Presentation Title Goes Here 12 
VM 
eth0 
Open vSwitch 
VM 
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=<neutron port id> --  
set Interface tapxxxx external-ids:attached-mac=<mac> --  
set Interface tapxxxx external-ids:iface-status=active 
• Set SDN controller 
# ovs-vsctl set-manager <NSX controller IP> 
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 <new xml> 
• Problem: 
Runtime information is not updated: VM reset will fail! 
• Hack: 
– Update libvirt runtime configuration under: /var/run/libvirt/qemu/<instance>.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 
neutron.create_port(new_port) 
nova.interface_attach(port_id, "", "") 
folsom havana 
Presentation Title Goes Here 15 
VM 
(DHCP) 
vnet 
eth0 
Nova-compute 
Nova-network 
dnsmasq 
Nova-compute 
(fake driver) 
br0 
HV IP 
HV IP 
OVSDB 
Linux bridge 
Havana 
Openstack 
Controller 
create port in 
NSX controller 
/etc/sysconfig/network-scripts/ifcfg-ethx 
/var/run/libvirt/qemu/<instance>.xml 
br-int 
br0 
Open 
vSwitch To NSX Controller 
openflow 
From NSX Controller
Demo

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz StackiFest16: What's Next in Stacki - Mason Katz
StackiFest16: What's Next in Stacki - Mason Katz
 
CoreOS @Codetalks Hamburg
CoreOS @Codetalks HamburgCoreOS @Codetalks Hamburg
CoreOS @Codetalks Hamburg
 
High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...
High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...
High Performance Linux Virtual Machine on Microsoft Azure: SR-IOV Networking ...
 
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean WinnCouch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
Couch to OpenStack: Neutron (Quantum) - August 13, 2013 Featuring Sean Winn
 
111214 node conf
111214 node conf111214 node conf
111214 node conf
 
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg BrunoStackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
StackiFest16: How PayPal got a 300 Nodes up in 14 minutes - Greg Bruno
 
青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes 青云CoreOS虚拟机部署kubernetes
青云CoreOS虚拟机部署kubernetes
 
Deploying Percona XtraDB Cluster in Openshift
Deploying Percona XtraDB Cluster in OpenshiftDeploying Percona XtraDB Cluster in Openshift
Deploying Percona XtraDB Cluster in Openshift
 
Couch to open_stack_keystone
Couch to open_stack_keystoneCouch to open_stack_keystone
Couch to open_stack_keystone
 
OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...
OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...
OpenNebulaConf 2016 - Evolution of OpenNebula at Netways by Sebastian Saemann...
 
2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com2015 DockerCon Using Docker in production at bity.com
2015 DockerCon Using Docker in production at bity.com
 
Docker command
Docker commandDocker command
Docker command
 
CoreOS intro
CoreOS introCoreOS intro
CoreOS intro
 
Building a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitchBuilding a network emulator with Docker and Open vSwitch
Building a network emulator with Docker and Open vSwitch
 
VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話VyOS Users Meeting #2, VyOSのVXLANの話
VyOS Users Meeting #2, VyOSのVXLANの話
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu VenugopalDocker Meetup: Docker Networking 1.11, by Madhu Venugopal
Docker Meetup: Docker Networking 1.11, by Madhu Venugopal
 
Docker and Fargate
Docker and FargateDocker and Fargate
Docker and Fargate
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
 
Kubernetes 1001
Kubernetes 1001Kubernetes 1001
Kubernetes 1001
 

Ähnlich wie Seamless migration from nova network to neutron in e bay production

OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał DubielOpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
eurobsdcon
 

Ähnlich wie Seamless migration from nova network to neutron in e bay production (20)

Open stack networking_101_part-2_tech_deep_dive
Open stack networking_101_part-2_tech_deep_diveOpen stack networking_101_part-2_tech_deep_dive
Open stack networking_101_part-2_tech_deep_dive
 
DCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep diveDCUS17 : Docker networking deep dive
DCUS17 : Docker networking deep dive
 
Cutting through the fog of cloud
Cutting through the fog of cloudCutting through the fog of cloud
Cutting through the fog of cloud
 
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał DubielOpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
OpenStack and OpenContrail for FreeBSD platform by Michał Dubiel
 
Open stack networking_101_update_2014
Open stack networking_101_update_2014Open stack networking_101_update_2014
Open stack networking_101_update_2014
 
Bare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and ChefBare Metal to OpenStack with Razor and Chef
Bare Metal to OpenStack with Razor and Chef
 
Software Defined Datacenter
Software Defined DatacenterSoftware Defined Datacenter
Software Defined Datacenter
 
[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR
 
Service Delivery Assembly Line with Vagrant, Packer, and Ansible
Service Delivery Assembly Line with Vagrant, Packer, and AnsibleService Delivery Assembly Line with Vagrant, Packer, and Ansible
Service Delivery Assembly Line with Vagrant, Packer, and Ansible
 
Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1Harmonia open iris_basic_v0.1
Harmonia open iris_basic_v0.1
 
5. hands on - building local development environment with Open Mano
5. hands on - building local development environment with Open Mano5. hands on - building local development environment with Open Mano
5. hands on - building local development environment with Open Mano
 
Small Python Tools for Software Release Engineering
Small Python Tools for Software Release EngineeringSmall Python Tools for Software Release Engineering
Small Python Tools for Software Release Engineering
 
Postgres the hardway
Postgres the hardwayPostgres the hardway
Postgres the hardway
 
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/StableSR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
SR-IOV, KVM and Emulex OneConnect 10Gbps cards on Debian/Stable
 
VMware vCHS, Puppet, and Project Zombie - PuppetConf 2013
VMware vCHS, Puppet, and Project Zombie - PuppetConf 2013VMware vCHS, Puppet, and Project Zombie - PuppetConf 2013
VMware vCHS, Puppet, and Project Zombie - PuppetConf 2013
 
Openstack Networking Internals - first part
Openstack Networking Internals - first partOpenstack Networking Internals - first part
Openstack Networking Internals - first part
 
VMworld 2013: The Story Behind Designing and Building a Distributed Automatio...
VMworld 2013: The Story Behind Designing and Building a Distributed Automatio...VMworld 2013: The Story Behind Designing and Building a Distributed Automatio...
VMworld 2013: The Story Behind Designing and Building a Distributed Automatio...
 
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017  - ...
Intel's Out of the Box Network Developers Ireland Meetup on March 29 2017 - ...
 
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google CloudDrupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
Drupaljam 2017 - Deploying Drupal 8 onto Hosted Kubernetes in Google Cloud
 
Openstack Study Nova 1
Openstack Study Nova 1Openstack Study Nova 1
Openstack Study Nova 1
 

Kürzlich hochgeladen

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Kürzlich hochgeladen (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

Seamless migration from nova network to neutron in e bay production

  • 1. Seamless migration from Nova-network to Neutron in eBay production Chengyuan Li, Han Zhou
  • 2. 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
  • 4. Havana Neutron + SDN Controller Presentation Title Goes Here 4
  • 5. 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 VM VM Compute Node Folsom OS Controller Nodes Havana OS Controller Nodes NSX Nodes
  • 6. 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. Glance DB Presentation Title Goes Here 6 Keystone DB Nova DB Neutron DB export, import, db_sync Glance DB Keystone DB Nova DB folsom havana nova.networks nova.fixed_ips net-create subnet-create
  • 7. Control Plane Migration • Enable fake driver in nova-compute, and register to Controller. • Create port in Neutron and Attach port to VM Neutron DB NSX Controller 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 VM vnet Havana Openstack Controller
  • 8. Control Plane Migration • Security Group Presentation Title Goes Here 8 {“remote_group_id”: “<self security group uuid>”, "direction": "ingress", "ethertype": "IPv4"}, {“remote_group_id”: “<self security group uuid>”, "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
  • 9. Data Plane Migration Presentation Title Goes Here 9 VM br0 vnetx eth0 Host IP Linux bridge Open vSwitch VM VM • Install Open vSwitch
  • 10. Data Plane Migration Presentation Title Goes Here 10 • Remove VM interfaces from Linux bridge • Rename to tapxxxxx (Havana convention) • Remove physical interface from Linux bridge • Remove Linux bridge VM br0 vnetx eth0 Host IP Linux bridge Open vSwitch VM VM tapxxxx Host IP
  • 11. Data Plane Migration Presentation Title Goes Here 11 • 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 VM eth0 Open vSwitch VM VM br-int br0 Host IP tapxxxx
  • 12. Data Plane Migration Presentation Title Goes Here 12 VM eth0 Open vSwitch VM 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=<neutron port id> -- set Interface tapxxxx external-ids:attached-mac=<mac> -- set Interface tapxxxx external-ids:iface-status=active • Set SDN controller # ovs-vsctl set-manager <NSX controller IP> OVSDB OpenFlow NSX Controller tapxxxx
  • 13. 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 <new xml> • Problem: Runtime information is not updated: VM reset will fail! • Hack: – Update libvirt runtime configuration under: /var/run/libvirt/qemu/<instance>.xml – Restart libvirtd service Presentation Title Goes Here 13
  • 14. Rollback • You never know … •Support rollback – Revert the steps •Automation Presentation Title Goes Here 14
  • 15. All in One neutron.create_port(new_port) nova.interface_attach(port_id, "", "") folsom havana Presentation Title Goes Here 15 VM (DHCP) vnet eth0 Nova-compute Nova-network dnsmasq Nova-compute (fake driver) br0 HV IP HV IP OVSDB Linux bridge Havana Openstack Controller create port in NSX controller /etc/sysconfig/network-scripts/ifcfg-ethx /var/run/libvirt/qemu/<instance>.xml br-int br0 Open vSwitch To NSX Controller openflow From NSX Controller
  • 16. Demo