[one-users] Question about 3.8.1 TM premigrate

Joaquin Villanueva jvillanueva at acb.es
Tue Nov 20 01:59:58 PST 2012


Hi Ruben,

Thanks for your clarification. I think the best approach will be iterate
all the disks within the shared TM premigrate script and call each of
the TM drivers needed.

Best regards,

El 19/11/12 16:50, Ruben S. Montero escribió:
> Hi,
>
> Probably this is not very well explained in the documentation. Notes
> on premigrate/postmigrate:
>
> 1.- These scripts are to be executed before and after calling the
> live-migrate operation of the hypervisor
>
> 2.- The pre/post migrate scripts are place holders to put all the
> operations needed to work with the VM disks before/after the
> live-migration
>
> 3.- The scripts are not called for each DISK but just once for the
> whole VM. Within the scripts you can iterate over the disks.
>
> 4.- As the VM is running, it is homed in the system datastore, so the
> scripts invoked are those of the TM used by the system datastore
> (shared in your case)
>
> As you suggest, in you case you just need to copy the pre/postmigrate
> scripts from the eqliscsi TM to the shared one.
>
> Hope it is a bit clearer now
>
> Cheers
>
> Ruben
>
>
> On Mon, Nov 19, 2012 at 11:15 AM, Joaquin Villanueva
> <jvillanueva at acb.es <mailto:jvillanueva at acb.es>> wrote:
>
>     Hi all,
>
>     After succesful update from 3.6 to 3.8.1, we're testing the
>     premigrate/postmigrate feature. We're using a shared system
>     datastore, and all the VM have iscsi volumes attached. The
>     premigrate feature is really useful for this scenario, letting us
>     to login into the iscsi volumes before migration without need for
>     a more complex setup involving qemu scripts at the hosts.
>
>     We're using a modified version of the iscsi DATASTORE / TM
>     drivers, adapted to our Equallogic setup. These drivers are added
>     to the opennebula config as new driver (eqliscsi), and all the
>     other features run as expected.
>
>     But there's some questions about the premigrate/postmigrate feature:
>
>     - There's premigrate/postmigrate scripts at every TM driver, but
>     the only one called when doing a VM migration was the shared TM.
>     - The eqliscsi TM premigrate scripts must be called from the
>     shared TM?
>     - It's planed to call every premigrate script from every datastore
>     used inside the VM?
>
>     I'm thinking in a scenario where one VM has different disks from
>     different datastores attached and need to do some operations
>     before/after migration. The premigrate/postmigrate scripts must be
>     called at least for every different TM driver needed.
>
>     Maybe I'm mixing some concepts between datastore and tm drivers,
>     but some help to define the correct way to manage this scenario
>     wil be grealty appreciated.
>
>     Best regards,
>
>
>     -- 
>
>
>     *Joaquín Villanueva Adrián*
>
>     Director Técnico ACB.COM <http://ACB.COM>
>
>
>     <http://www.acb.com/>
>
>     	
>
>     *ASOCIACIÓN CLUBS DE BALONCESTO*
>
>     	
>
>     <http://www.acb.com/>
>
>
>     Tel
>
>     	
>
>     +34 934 17 24 04 <tel:%2B34%20934%2017%2024%2004>
>
>     Móvil
>
>     	
>
>     +34 678 47 38 68 <tel:%2B34%20678%2047%2038%2068>
>
>     Fax
>
>     	
>
>     +34 934 18 23 94 <tel:%2B34%20934%2018%2023%2094>
>
>
>     www.acb.com <http://www.acb.com/>
>
>     Iradier, 37 - E 08017 - Barcelona
>
>
>     /Advertencia de privacidad: Este mensaje y los documentos que en
>     su caso consten como anexos, son confidenciales. Así pues, si lo
>     reciben por error, les solicitamos nos lo comuniquen y se
>     abstengan de realizar copias del mismo o entregarlo a otro
>     destinatario. A los efectos de la Ley 15/1999, de Protección de
>     Datos de Carácter Personal, les informamos que los datos de
>     carácter personal que figuran en esta comunicación están incluidos
>     en un fichero automatizado cuyo responsable es ACB. Si desea
>     ejercitar los derechos de acceso, rectificación, cancelación y
>     oposición, diríjanse por escrito a la dirección de c/ Iradier, 37
>     - 08017 (Barcelona) o al siguiente correo electrónico:
>     secretaria at acb.es <mailto:secretaria at acb.es>/
>
>
>     /Privacy warning: This message and any attachments are
>     confidential. Therefore, if you are not the intended addressee of
>     this message, please delete it immediately without copying or
>     forwarding it and inform the sender. For the purpose of the Law
>     15/1999, about protection of personal data, we inform you that the
>     personal data contained in this message are included in a
>     database, responsibility of ACB. In order to access, rectify,
>     cancel and opposite any of these data, please write to C/ Iradier,
>     37 - 08017 (Barcelona) or to: secretaria at acb.es
>     <mailto:secretaria at acb.es>/
>
>
>     _______________________________________________
>     Users mailing list
>     Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>     http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> -- 
> Ruben S. Montero, PhD
> Project co-Lead and Chief Architect
> OpenNebula - The Open Source Solution for Data Center Virtualization
> www.OpenNebula.org <http://www.OpenNebula.org> |
> rsmontero at opennebula.org <mailto:rsmontero at opennebula.org> | @OpenNebula

-- 


*Joaquín Villanueva Adrián*

Director Técnico ACB.COM


<http://www.acb.com/>

	

*ASOCIACIÓN CLUBS DE BALONCESTO*

	

<http://www.acb.com/>


Tel

	

+34 934 17 24 04

Móvil

	

+34 678 47 38 68

Fax

	

+34 934 18 23 94


www.acb.com <http://www.acb.com/>

Iradier, 37 - E 08017 - Barcelona


/Advertencia de privacidad: Este mensaje y los documentos que en su caso
consten como anexos, son confidenciales. Así pues, si lo reciben por
error, les solicitamos nos lo comuniquen y se abstengan de realizar
copias del mismo o entregarlo a otro destinatario. A los efectos de la
Ley 15/1999, de Protección de Datos de Carácter Personal, les informamos
que los datos de carácter personal que figuran en esta comunicación
están incluidos en un fichero automatizado cuyo responsable es ACB. Si
desea ejercitar los derechos de acceso, rectificación, cancelación y
oposición, diríjanse por escrito a la dirección de c/ Iradier, 37 -
08017 (Barcelona) o al siguiente correo electrónico: secretaria at acb.es
<mailto:secretaria at acb.es>/


/Privacy warning: This message and any attachments are confidential.
Therefore, if you are not the intended addressee of this message, please
delete it immediately without copying or forwarding it and inform the
sender. For the purpose of the Law 15/1999, about protection of personal
data, we inform you that the personal data contained in this message are
included in a database, responsibility of ACB. In order to access,
rectify, cancel and opposite any of these data, please write to C/
Iradier, 37 - 08017 (Barcelona) or to: secretaria at acb.es
<mailto:secretaria at acb.es>/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121120/7728103f/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firma_acb.jpg
Type: image/jpeg
Size: 4440 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121120/7728103f/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: firma_liga_endesa.png
Type: image/png
Size: 2632 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121120/7728103f/attachment-0002.png>


More information about the Users mailing list