Neutron/MigrationFromNovaNetwork/HowTo
Contents
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
- Update Devstack to use Nova Network by applying devstack patch in devstack directory
- Apply novaclient patch in /opt/stack/python-novaclient directory
- Now create few servers (VMs) by using nova boot command
- Now modify nova.conf to use neutron
- 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