Quantum Converting Plugins

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
(Created page with "= Converting Plugins = This page will address converting plugins: * OpenvSwitch to LinuxBridge * LinuxBridge to OpenvSwitch There are two things to note: 1. Running the quan...")
 
(LinuxBridge to OpenvSwitch)
 
Line 62: Line 62:
 
4. Start openvswitch
 
4. Start openvswitch
  
     chkconfig openvswitch of
+
     chkconfig openvswitch off
 
     service openvswitch start
 
     service openvswitch start
  

Latest revision as of 10:04, 7 March 2013

[edit] Converting Plugins

This page will address converting plugins:

  • OpenvSwitch to LinuxBridge
  • LinuxBridge to OpenvSwitch

There are two things to note: 1. Running the quantum-server-setup script resets the Quantum database 2. There is currently no migration from one Quantum database to another, that is, if one has a existing Quantum setup for LinuxBridge and they want to move this to OpenvSwitch then it is not possible. The networks, subnets etc. will need to be recreated.

[edit] OpenvSwitch to LinuxBridge

1. Stop all running instances

2. Terminate the OpenvSwitch services

   chkconfig openvswitch off
   service openvswitch stop
   chkconfig quantum-openvswitch-agent off
   service quantum-openvswitch-agent stop
   chkconfig quantum-ovs-cleanup off

3. Install linuxbridge plugin and agent

   yum install openstack-quantum-linuxbridge

4. Run the installation scripts selecting linuxbridge as the plugin

   quantum-server-setup
   quantum-dhcp-setup
   quantum-l3-setup

5. Ensure that all Quantum services are configured and running

   service quantum-server restart
   service quantum-linuxbridge-agent start
   chkconfig quantum-linuxbridge-agent on
   service quantum-dhcp-agent restart
   service quantum-l3-agent restart

6. Retstart nova compute

   service openstack-nova-compute restart

[edit] LinuxBridge to OpenvSwitch

1. Stop all running instances

2. Terminate the LinuxBridge services

   chkconfig quantum-linuxbridge-agent off
   service quantum-linuxbridge-agent stop

3. Install openvswitch plugin and agent

   yum install openstack-quantum-openvswitch

4. Start openvswitch

   chkconfig openvswitch off
   service openvswitch start

5. Configure the intgration bridges

    ovs-vsctl add-br br-int
    ovs-vsctl add-br br-ex

6. Run the installation scripts selecting openvswitch as the plugin

   quantum-server-setup
   quantum-dhcp-setup
   quantum-l3-setup

7. Ensure that all Quantum services are configured and running

   chkconfig quantum-ovs-cleanup on
   service quantum-server restart
   service quantum-openvswitch-agent start
   chkconfig quantum-openvswitch-agent on
   service quantum-dhcp-agent restart
   service quantum-l3-agent restart

4. Retstart nova compute

   service openstack-nova-compute restart