Jump to: navigation, search

Difference between revisions of "Neutron/MigrationFromNovaNetwork/HowTo"

Line 13: Line 13:
  
 
NOTE: Before proceeding with the migration process, please ensure that your system meets the [[#Prerequisites|Prerequisites]]
 
NOTE: Before proceeding with the migration process, please ensure that your system meets the [[#Prerequisites|Prerequisites]]
 
  
 
<br />
 
<br />
*<big> Update Devstack to use Nova Network by applying [http://paste.openstack.org/show/84178/ devstack patch] in devstack directory </big>
+
#<big> Update Devstack to use Nova Network by applying [http://paste.openstack.org/show/84178/ devstack patch] in devstack directory </big>
 +
#<big> Apply [http://paste.openstack.org/show/84117/ novaclient patch] in /opt/stack/python-novaclient directory </big>
 +
#<big> Now create few servers (VMs) by using nova boot  command </big>
 +
#<big> Now modify nova.conf to use neutron </big>
 +
#<big> Migrate a VM to form Nova network to Neutron by issuing "nova migration-to-neutron <vm-id> <neutron-net-id>"</big>
  
  
Line 22: Line 25:
 
Prior to starting the migrating process ensure that following requirements  are met:
 
Prior to starting the migrating process ensure that following requirements  are met:
  
* libvirt library should be at version 1.2.5  
+
* libvirt library should be at version 1.2.5.
 
* python-libvirt should also be at version 1.2.5
 
* python-libvirt should also be at version 1.2.5
  
 
+
==== Upgrade libvirt library  ====
<br />
 
*<big> Update Devstack to use Nova Network </big>
 
<br />
 
  Apply [http://paste.openstack.org/show/84178/ devstack patch] in devstack directory
 
 
 
== Upgrade libvirt library  ==
 

Revision as of 18:16, 10 July 2014

Overview

This wiki describes step-by-step procedure for migrating servers from Nova network to Neutron.


How to test migration process

Following section is written with the intent for the readers to try the migration process before actually moving existing servers (VMs).

In this section, we create VMs using Nova network, and then perform migration steps to move them over to Netutron network. This test process is performed by using devstack.

NOTE: Before proceeding with the migration process, please ensure that your system meets the Prerequisites


  1. Update Devstack to use Nova Network by applying devstack patch in devstack directory
  2. Apply novaclient patch in /opt/stack/python-novaclient directory
  3. Now create few servers (VMs) by using nova boot command
  4. Now modify nova.conf to use neutron
  5. Migrate a VM to form Nova network to Neutron by issuing "nova migration-to-neutron <vm-id> <neutron-net-id>"


Prerequisites

Prior to starting the migrating process ensure that following requirements are met:

  • libvirt library should be at version 1.2.5.
  • python-libvirt should also be at version 1.2.5

Upgrade libvirt library