[one-users] Vm migration
Rangababu Chakravarthula
rbabu at hexagrid.com
Wed Mar 10 15:11:13 PST 2010
I see it did not come thru to the mailing list as text.
I am sending it again with additional information.
Do we have to modify libvirtd.conf and libvirt-bin as given here?
http://www.opennebula.org/documentation:archives:rel1.2:kvmg
Also, according to this URL
http://www.linux-kvm.org/page/Migration
vm should be started with
-incoming tcp:0:4444
I dont see that for the VM's we started using opennebula.
Here is the log from /var/log/libvirt/qemu/one-<vmid>.log
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
/usr/bin/kvm -S -M pc-0.11 -m 256 -smp 1 -name one-522 -uuid
aa300199-abfc-40b5-e168-56450872b1b0 -monitor
unix:/var/run/libvirt/qemu/one-522.monitor,server,nowait -boot d -drive
file=/mnt/sharedstorage/522/images/disk.0,if=ide,index=0 -drive
file=/mnt/sharedstorage/522/images/disk.1,if=ide,media=cdrom,index=1 -net
nic,macaddr=00:d5:d3:01:5e:c9,vlan=0,name=nic.0 -net
tap,fd=30,vlan=0,name=tap.0 -serial none -parallel none -usb -usbdevice
tablet -vnc 0.0.0.0:106 -vga cirrus
Ranga
On Sun, Mar 7, 2010 at 10:45 PM, Rangababu Chakravarthula <
rbabu at hexagrid.com> wrote:
> Javier
> Do we have to modify libvirtd.conf and libvirt-bin as given here?
> http://www.opennebula.org/documentation:archives:rel1.2:kvmg
>
> But I see one_vmm_kvm.rb having the following
> std_action("MIGRATE", "migrate --live #{args[3]}
> qemu+ssh://#{args[4]}/session", args)
>
> Do we need to modify one_vmm_kvm.rb to use tcp?
>
>
> Javier Fontan wrote:
>
>
> Hello,
>
> If you don't specify VM_DIR in the configuration then VM_DIR will be var
> directory from you frontend OpenNebula installation. That directory must be
> seen in the same place in front end and nodes so live migration can be
> performed. If you have that directory mounted in other path in your nodes
> then you need to specify it with VM_DIR in the configuration file.
>
> Bye
>
> On Mon, Jan 11, 2010 at 11:07 PM, Rangababu Chakravarthula <
> rbabu at hexagrid.com> wrote:
>
>> Hello
>>
>> We are using Opennebula 1.2 with KVM hypervisor. We are using the third
>> example given in the Storage guide where VM_DIR is not used and only images
>> directory is shared. We commented out the VM_DIR in oned.conf and are using
>> the modified tm_ln and tm_clone scripts.
>>
>> In a different section of the document it says
>> *Note that the <VM_DIR> should be shared for most hypervisors to be able
>> to perform live migrations.
>>
>> *So will it possible for us to do live migration?
>>
>> Rangababu
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
> DSA Research Group: http://dsa-research.org
> Globus GridWay Metascheduler: http://www.GridWay.org
> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100310/db658812/attachment-0003.htm>
More information about the Users
mailing list