[one-users] TM question about rescheduling a vm

Carlos Martín Sánchez cmartin at opennebula.org
Wed Dec 12 07:07:12 PST 2012


Hi,

There is no 'resched' driver action, the command just marks the VM to be
rescheduled. The scheduler then migrates or live-migrates these VMs
depending on the LIVE_RESCHED attribute of sched.conf [1]

Regards

[1] http://opennebula.org/documentation:rel3.8:schg
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmartin at opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>



On Tue, Dec 11, 2012 at 8:32 PM, Gary S. Cuozzo <gary at isgsoftware.net>wrote:

> Hello,
> I have developed my own TM driver for a NFS based datastore using ZFS.  It
> works well so far, except in the case of using the "onevm resched <id>"
> command.
>
> The failure happens because my TM relies on pre/postmigrate scripts to
> mount/umount ZFS datastores on the hosts as vm's move around.  In the case
> of the resched command, the pre/postmigrate scripts don't get called, so
> the vm cannot start on the target host because the disk images are not
> available.
>
> In my use case, there isn't much difference between the live migration and
> the saveas/checkpoint way the resched works.  Can the pre/postmigrate
> scripts be called for the resched?  If not, is there some other way I can
> get them called so I can setup/teardown my nfs mounts?
>
> Thanks for any help,
> gary
>
>
> _______________________________________________
> 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/20121212/289f285e/attachment-0002.htm>


More information about the Users mailing list