[one-users] CLVM - Clustered snapshots are not yet supported

Marlok Tamás tmarlok at sztaki.hu
Mon Jun 24 07:17:01 PDT 2013


Hi!

If you have a working CLVM, then live migration should work with shared LVM
as well. Live migration is not working with pure LVM (only with workarounds)

FYI: If you are planning to update to 4.0, you should read the last comment
in here: http://dev.opennebula.org/issues/1341#note-4 (unfortunately auto
format crossed out half of my comment, but I hope it is still readable)

TL;DR:
We modified the original LVM driver, so it can work bot with LVM and CLVM

Cheers,
tmarlok


On Sat, Jun 22, 2013 at 2:46 PM, <chenxiang at aquala-tech.com> wrote:

> As documented, live migration is not working. Is CLVM working in 4.0?
>
>
> Chen Xiang
>
> > A quick update -- I did managed to get Share LVM working according to the
> > documentation on the following wiki page:
> >
> > http://wiki.opennebula.org/shared_lvm
> >
> > Best regards,
> >
> > Chen Xiang
> >
> >> Hi,
> >>
> >> I am trying to use the CLVM setup for a three server cluster -- one
> >> front
> >> end (3.8.3) with two nodes. All three servers have Ubuntu 12.04 with
> >> KVM,
> >> and I am able to make CLVM worked across the cluster.
> >>
> >> Then I created a LVM datastore, then created an image inside that
> >> datastore, then a template based on that image, which was successful.
> >> The
> >> problem raised when I tried to deploy the VM, with the following VM log:
> >>
> >> oneadmin at opennebula:~/var/vms/66$ more vm.log
> >> Sat Jun 22 11:51:57 2013 [DiM][I]: New VM state is ACTIVE.
> >> Sat Jun 22 11:51:57 2013 [LCM][I]: New VM state is PROLOG.
> >> Sat Jun 22 11:51:57 2013 [VM][I]: Virtual Machine has no context
> >> Sat Jun 22 11:51:58 2013 [TM][I]: Command execution fail:
> >> /srv/cloud/one/var/remotes/tm/lvm/clone opennebula:vg_clvm.lv-one-22
> >> kvm01:/srv/cloud/one/var//datastores/106/66/disk.0 66 104
> >> Sat Jun 22 11:51:58 2013 [TM][E]: clone: Command "    set -e
> >> Sat Jun 22 11:51:58 2013 [TM][I]: mkdir -p
> >> /srv/cloud/one/var/datastores/106/66
> >> Sat Jun 22 11:51:58 2013 [TM][I]: sudo lvcreate -s -L512 -n
> >> lv-one-22-66-0
> >> /dev/vg_clvm/lv-one-22
> >> Sat Jun 22 11:51:58 2013 [TM][I]: ln -s "/dev/vg_clvm/lv-one-22-66-0"
> >> "/srv/cloud/one/var/datastores/106/66/disk.0"" failed:   Clustered
> >> snapshots are not yet supported.
> >> Sat Jun 22 11:51:58 2013 [TM][E]: Error cloning /dev/vg_clvm/lv-one-22
> >> to
> >> /dev/vg_clvm/lv-one-22-66-0
> >> Sat Jun 22 11:51:58 2013 [TM][I]: ExitCode: 5
> >> Sat Jun 22 11:51:58 2013 [TM][E]: Error executing image transfer script:
> >> Error cloning /dev/vg_clvm/lv-one-22 to /dev/vg_clvm/lv-one-22-66-0
> >> Sat Jun 22 11:51:58 2013 [DiM][I]: New VM state is FAILED
> >>
> >> Any ideas?
> >>
> >> Chen Xiang
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opennebula.org
> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>
> >
> >
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130624/d9dfeb7e/attachment-0002.htm>


More information about the Users mailing list