[Fiware-lab-help] RV: Some problem with Snapshots

José Ignacio Carretero Guarde jicg at tid.es
Wed Jan 29 18:12:53 CET 2014


Well --- You need to prepare your VM to create an snapshot. We do it the
easy way, but we shouldn't do it like that.

You need to take care of files your App need to boot. I mean if Mongodb
is used, you should stop MongoDB before creating the snapshot or the
image will contain the mongo lock file. I you use Mysql, it'd be better
to stop mysql or the socket file will be there in the image and MySQL
may refuse to start... But those tips depends on your applications.

Hope it helps.

Best regards,
José Ignacio.



El 29/01/14 18:08, Luigi Ernesto Papino escribió:
> Ok, perfect, it seems to works now. Really Thanks!
>
> There are other tips like this? I'm using apache, php, mysql and
> Xdebug. Mysql does not work, maybe I need to perform some task before
> doing the snapshot, of which I am not aware of?
>
>     #2002 - Can't connect to local MySQL server through socket
>     '/var/lib/mysql/mysql.sock' (111)
>     The server is not responding (or the local server's socket is not
>     correctly configured).
>
>
>
> On 29 January 2014 17:25, José Ignacio Carretero Guarde <jicg at tid.es
> <mailto:jicg at tid.es>> wrote:
>
>     Ok, when you create an snapshot, you must delete
>     /etc/udev/rules.d/*net*
>     -- This is why the mac address is stored here. And when you boot
>     another
>     VM from an instance,
>
>     I didn't do that the first time because I understood Javier that you
>     were already advised to do so. Now It should be ok the image.
>
>     Best regards,
>     José Ignacio.
>
>     El 29/01/14 16:59, Luigi Ernesto Papino escribió:
>
>         Sorry for the duplicated email. I forgotten to add Jose in the
>         conversation.
>
>         However, No, sorry. I have created a new Instance form this
>         snapshot
>         "KTmpOrionAppe", and the machine "Appetitoo10" from thisInline
>         images
>
>         1 snapshot is still unreachable, both from public and private
>         address.
>
>
>
>         On 29 January 2014 16:08, javier cerviño <jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>
>         <mailto:jcervino at dit.upm.es <mailto:jcervino at dit.upm.es>>> wrote:
>
>             Ivan was not on copy. Ivan, Jose Ignacio added a new
>         snapshot of
>             your instance.
>
>             ---------- Forwarded message ----------
>             From: *José Ignacio Carretero Guarde* <jicg at tid.es
>         <mailto:jicg at tid.es>
>             <mailto:jicg at tid.es <mailto:jicg at tid.es>>>
>             Date: 29 January 2014 09:57
>             Subject: Re: RV: Some problem with Snapshots
>             To: HENAR MUÑOZ FRUTOS <henar at tid.es <mailto:henar at tid.es>
>         <mailto:henar at tid.es <mailto:henar at tid.es>>>
>             Cc: Javier Cerviño <jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es> <mailto:jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>>>
>
>
>             I've just taken a snapshot of your VM -- You can find it
>         with name
>             "KTmpOrionAppe". May it be useful?
>
>             Best regards,
>             José Ignacio.
>
>
>             El 29/01/14 15:15, José Ignacio Carretero Guarde escribió:
>
>                 Hola Ivan,
>
>                 Can you, please, tell me the VM you can't snapshot?
>
>                 You can answer just to myself in order to avoid
>         spammig Henar
>                 and Javier.
>
>                 Thank you,
>                 JOsé Ignacio.
>
>                 El 29/01/14 14:22, HENAR MUÑOZ FRUTOS escribió:
>
>
>                     *De:*javier cerviño [mailto:jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>
>                     <mailto:jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>>]
>                     *Enviado el:* miércoles, 29 de enero de 2014 14:19
>                     *Para:* HENAR MUÑOZ FRUTOS
>                     *CC:* ivan at pushapp.me <mailto:ivan at pushapp.me>
>         <mailto:ivan at pushapp.me <mailto:ivan at pushapp.me>>
>
>                     *Asunto:* Some problem with Snapshots
>
>                     Hi Henar,
>
>                     Ivan's team (he's cc'ed and their tenant ID ends with
>                     2021) has some
>                     problems using Snapshots and I think you can help
>         them:
>
>                     1.- Now Cloud can't create new snapshots from the
>                     instances Orion
>                     Broker & Appe. Some time ago they could.
>
>                     2.- Instances launched from snapshots are not
>         reachable
>                     through their
>                     public or private IPs. Henar, you told me it they
>         should
>                     delete a
>                     file prior to create the instance in order to make the
>                     snapshot's
>                     network work when launched.
>
>                     Furthermore, Cloud Portal does not delete
>         Snapshots. (I'm
>                     working on
>                     this one right now so don't care about this).
>
>                     Thanks!
>
>                     Cheers,
>                     Javier.
>
>
>
>
>             ________________________________
>
>             Este mensaje se dirige exclusivamente a su destinatario. Puede
>             consultar nuestra política de envío y recepción de correo
>             electrónico en el enlace situado más abajo.
>             This message is intended exclusively for its addressee. We
>         only
>             send and receive email on the basis of the terms set out at:
>         http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
>
>
>
>         Sorry for the duplicated email. I forgotten to add Jose in the
>         conversation.
>
>         However, No, sorry. I have created a new Instance form this
>         snapshot
>         "KTmpOrionAppe", and the machine "Appetitoo10" from thisInline
>         images
>
>         1 snapshot is still unreachable, both from public and private
>         address.
>
>
>
>         On 29 January 2014 16:08, javier cerviño <jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>
>         <mailto:jcervino at dit.upm.es <mailto:jcervino at dit.upm.es>>> wrote:
>
>             Ivan was not on copy. Ivan, Jose Ignacio added a new
>         snapshot of
>             your instance.
>
>             ---------- Forwarded message ----------
>             From: *José Ignacio Carretero Guarde* <jicg at tid.es
>         <mailto:jicg at tid.es>
>             <mailto:jicg at tid.es <mailto:jicg at tid.es>>>
>             Date: 29 January 2014 09:57
>             Subject: Re: RV: Some problem with Snapshots
>             To: HENAR MUÑOZ FRUTOS <henar at tid.es <mailto:henar at tid.es>
>         <mailto:henar at tid.es <mailto:henar at tid.es>>>
>             Cc: Javier Cerviño <jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es> <mailto:jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>>>
>
>
>             I've just taken a snapshot of your VM -- You can find it
>         with name
>             "KTmpOrionAppe". May it be useful?
>
>             Best regards,
>             José Ignacio.
>
>
>             El 29/01/14 15:15, José Ignacio Carretero Guarde escribió:
>
>                 Hola Ivan,
>
>                 Can you, please, tell me the VM you can't snapshot?
>
>                 You can answer just to myself in order to avoid
>         spammig Henar
>                 and Javier.
>
>                 Thank you,
>                 JOsé Ignacio.
>
>                 El 29/01/14 14:22, HENAR MUÑOZ FRUTOS escribió:
>
>
>                     *De:*javier cerviño [mailto:jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>
>                     <mailto:jcervino at dit.upm.es
>         <mailto:jcervino at dit.upm.es>>]
>                     *Enviado el:* miércoles, 29 de enero de 2014 14:19
>                     *Para:* HENAR MUÑOZ FRUTOS
>                     *CC:* ivan at pushapp.me <mailto:ivan at pushapp.me>
>         <mailto:ivan at pushapp.me <mailto:ivan at pushapp.me>>
>
>                     *Asunto:* Some problem with Snapshots
>
>                     Hi Henar,
>
>                     Ivan's team (he's cc'ed and their tenant ID ends with
>                     2021) has some
>                     problems using Snapshots and I think you can help
>         them:
>
>                     1.- Now Cloud can't create new snapshots from the
>                     instances Orion
>                     Broker & Appe. Some time ago they could.
>
>                     2.- Instances launched from snapshots are not
>         reachable
>                     through their
>                     public or private IPs. Henar, you told me it they
>         should
>                     delete a
>                     file prior to create the instance in order to make the
>                     snapshot's
>                     network work when launched.
>
>                     Furthermore, Cloud Portal does not delete
>         Snapshots. (I'm
>                     working on
>                     this one right now so don't care about this).
>
>                     Thanks!
>
>                     Cheers,
>                     Javier.
>
>
>
>
>             ________________________________
>
>             Este mensaje se dirige exclusivamente a su destinatario. Puede
>             consultar nuestra política de envío y recepción de correo
>             electrónico en el enlace situado más abajo.
>             This message is intended exclusively for its addressee. We
>         only
>             send and receive email on the basis of the terms set out at:
>         http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
>
>
>
>     ________________________________
>
>     Este mensaje se dirige exclusivamente a su destinatario. Puede
>     consultar nuestra política de envío y recepción de correo
>     electrónico en el enlace situado más abajo.
>     This message is intended exclusively for its addressee. We only
>     send and receive email on the basis of the terms set out at:
>     http://www.tid.es/ES/PAGINAS/disclaimer.aspx
>
>


________________________________

Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx



More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy