Jump to: navigation, search

Difference between revisions of "Neutron/MigrationFromNovaNetwork/HowTo"

Line 28: Line 28:
 
* python-libvirt should also be at version 1.2.5
 
* python-libvirt should also be at version 1.2.5
  
 +
<br/>
 
==== Upgrading libvirt library  ====
 
==== Upgrading libvirt library  ====
  

Revision as of 18:50, 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. To upgrade this library, please follow steps described here
  • python-libvirt should also be at version 1.2.5


Upgrading libvirt library

Use following steps to upgrade libvirt library:

Check present version by using "virsh --version". If the present version is at 1.2.5, skip rest of this section, otherwise continue