← Back to team overview

openstack team mailing list archive

Re: Nova - Switch Network mode

 

I don't think you can keep the same ip addresses. You will have to manually stop vms and recreate themn in libvirt with new ip addresses, while making sure to manually create all of the db tables for networks properly.

Your best bet might be to snapshot all of your vms into glance, delete and reinstall nova in vlan mode, and relaunch the vms from the snapshots.


Alternatively, you could try installing a vlan version somewhere new, running a new vm for each vm in your old system, then manually stopping those vms and overwriting their disk files with your old disk files and restarting. The guest os might complain about the change in mac address though, so you may have to vnc in and manually fix some networking issues in your guests.

Vish


On Jan 4, 2013, at 3:32 AM, Bruno Parreira <bsendas@xxxxxxxxx> wrote:

> Even being extremely difficult what would have to be done? we can stop the VMs if that helps.
> 
> Bruno
> 
> Enviado do meu iPad
> 
> No dia 03/01/2013, às 21:18, Vishvananda Ishaya <vishvananda@xxxxxxxxx> escreveu:
> 
>> This will be extremely difficult. I wouldn't recommend it.  It would probably be easier to make a manual cloudpipe instance instead of having nova manage it. You will just have to do some tweaking of the nwfilter rules of the vm. An even easier solution would be to just make a bastion vm that the collaborators can ssh through.
>> 
>> Vish
>> 
>> On Jan 3, 2013, at 12:05 PM, bruno sendas <bsendas@xxxxxxxxx> wrote:
>> 
>>> Hi,
>>> 
>>> We have OpenStack Folsom deployed in one computer where there are several VM's running and we want to instantiate cloudpipe to  provide access to external collaborators. 
>>> 
>>> The problem is that the network was deployed using Flat DHCP mode and now we have to change it to VLAN mode, is it possible to change the networking mode without having to shutdown the VM's ? Can anybody give the main steps or tips to change the networking mode in the least disrupting way?
>>> 
>>> Kind regards,
>>> Bruno Sendas _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>> 



References