[one-users] Fault Tolerance and shared storage

Tino Vazquez cvazquez at c12g.com
Wed Mar 26 09:44:44 PDT 2014


Hi Nuno,

What version of OpenNebula are you using?

Best,

-Tino


--
OpenNebula - Flexible Enterprise Cloud Made Simple

--
Constantino Vázquez Blanco, PhD, MSc
Senior Infrastructure Architect at C12G Labs
www.c12g.com | @C12G | es.linkedin.com/in/tinova

--
Confidentiality Warning: The information contained in this e-mail and any
accompanying documents, unless otherwise expressly indicated, is
confidential and privileged, and is intended solely for the person and/or
entity to whom it is addressed (i.e. those identified in the "To" and "cc"
box). They are the property of C12G Labs S.L.. Unauthorized distribution,
review, use, disclosure, or copying of this communication, or any part
thereof, is strictly prohibited and may be unlawful. If you have received
this e-mail in error, please notify us immediately by e-mail at
abuse at c12g.com and delete the e-mail and attachments and any copy from your
system. C12G thanks you for your cooperation.


On 26 March 2014 17:29, Nuno Serro <nserro at reitoria.ulisboa.pt> wrote:

>  Hello,
>
> We've started using a system datastore whith a shared storage in a
> clustered fs, so we could start testing the live migrate functionality. The
> live migrate is working as expected, but when testing the fault tolerance
> using the host_hook, we noticed the following error:
>
> [TM][I]:  ln -s "/dev/vg-nebula/lv-one-144"
> "/var/lib/one/datastores/109/393/disk.0"" failed: ln: failed to create
> symbolic link `/var/lib/one/datastores/109/393/disk.0': File exists
> [TM][E]: Error linking /dev/vg-nebula/lv-one-144
>
> I understand the error. When I kill one node and host_hook kicks in, being
> the storage shared between nodes, the symlinks to the images are already
> there.
>
> My question is regarding the hook definition:
>
> HOST_HOOK = [
>     name      = "error",
>     on        = "ERROR",
>     command   = "ft/host_error.rb",
>     arguments = "$ID -r",
>     remote    = "no" ]
>
> Is it possible to configure the hook to delete the VM, and afterwards
> creating it? We tried combining "-d" and "-r" flags but only one flag seems
> to be used.
>
> Thanks in advance.
>
> Regards,
>
>  --
>
>   Nuno Serro
> Coordenador
> Núcleo de Infraestruturas e Telecomunicações
> Departamento de Informática
>
> Alameda da Universidade  -  Cidade Universitária
> 1649-004 Lisboa    PORTUGAL
> T. +351 210 443 566 - Ext. 19816
> E. nserro at reitoria.ulisboa.pt
> www.ulisboa.pt
>
>
>
>
>
> _______________________________________________
> 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/20140326/b71586d6/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulisboa_reitoria_rgb_mail_170.gif
Type: image/gif
Size: 3273 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140326/b71586d6/attachment-0002.gif>


More information about the Users mailing list