[one-users] Fault Tolerance and shared storage
Tino Vazquez
cvazquez at c12g.com
Wed Mar 26 09:57:41 PDT 2014
Hi,
Thanks for the info.
The hook for host error in OpenNebula 4.4 allows to define one, and only
one, of the "-r" and "-d" flags:
* -r will "delete --recreate" the VM in the failed host, this will go
through the epilog_delete phase, and it should erase the sym links and
launch the VM again. This is probably what you want, please come back if
the problem does not go away
* -d will "delete" the VM in the failed host, but won't launch the VM
again.
These two are mutually exclusive.
Regards,
-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:48, Nuno Serro <nserro at reitoria.ulisboa.pt> wrote:
> Hello Tino,
>
> We are using version 4.4.1. If you need any details on the configuration I
> can provide them.
>
>
>
> 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
>
>
>
>
> On 26-03-2014 16:44, Tino Vazquez wrote:
>
> 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 <%2B351%20210%20443%20566> - 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
>>
>>
>
>
> _______________________________________________
> 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/bc41de32/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3273 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140326/bc41de32/attachment-0004.gif>
-------------- 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/bc41de32/attachment-0005.gif>
More information about the Users
mailing list